Browse Source

ie样式兼容处理

yangc 8 years ago
parent
commit
c2a065812b
3 changed files with 15 additions and 3 deletions
  1. 9 0
      assets/scss/common.scss
  2. 3 2
      components/main/Search.vue
  3. 3 1
      components/searchStore/StoreContent.vue

+ 9 - 0
assets/scss/common.scss

@@ -614,6 +614,15 @@ div.el-tree-node__content{
 .select-adder {
   background:url("../../static/images/all/xiala.png") right no-repeat #fff !important;
   background-position-x: 100% !important;
+  /*将默认的select选择框样式清除*/
+  appearance:none;
+  -moz-appearance:none;
+  -webkit-appearance:none;
+  -ms-appearance:none;
+
+}
+.select-adder::-ms-expand {
+  display: none;
 }
 .componentDetail .el-dialog--tiny{
   width: 320px !important;

+ 3 - 2
components/main/Search.vue

@@ -167,7 +167,7 @@
     height: 40px;
     position: relative;
     .search-input{
-      width: 371px;
+      width: 372px;
       float: left;
     }
     .search-input, .search-btn {
@@ -180,10 +180,11 @@
       border: #5078cb 2px solid;
       height: 40px;
       border-right: none;
+      margin-right: -1px;
     }
     .search-btn {
       font-size: 16px;
-      width: 78px;
+      width: 79px;
       border-radius: 0;
     }
     .search-hot ul li a{

+ 3 - 1
components/searchStore/StoreContent.vue

@@ -242,6 +242,8 @@
   .store-component-list {
     display: inline-block;
     margin-right: 6px;
+    width: 834px;
+    float: right;
   }
   .store-component-list >li {
     display: inline-block;
@@ -263,7 +265,7 @@
     color: #fff;
   }
   .store-component-list >li img {
-    width: 150px;
+    width: 149px;
     height:114px;
   }
   .store-component-list >li .describe-list {