Browse Source

解决店铺样式受其他样式的影响

huangb 7 years ago
parent
commit
328263b49a
2 changed files with 38 additions and 39 deletions
  1. 36 0
      assets/scss/common.scss
  2. 2 39
      components/applyPurchase/ApplyInfo.vue

+ 36 - 0
assets/scss/common.scss

@@ -902,3 +902,39 @@ img.new-animate{
 .block {
   display: block;
 }
+
+
+//求购搜索
+.apply-info .apply-info-title .search .search-content-pc {
+  position: relative;
+  input {
+    width: 283px!important;
+    height: 32px;
+    border: 1px solid #2496f1;
+    line-height: 32px;
+    font-size: 13px;
+    margin-top: 14px;
+    border: {
+      top-right-radius: 0;
+      bottom-right-radius: 0;
+    }
+  }
+  span.input-group-btn .btn{
+    top: 7px;
+    display: inline-block;
+    width: 69px;
+    color: #fff;
+    background: #2496f1;
+    text-align: center;
+    margin: 0 6px 0 -1px;
+    border: {
+      top-right-radius: 3px;
+      bottom-right-radius: 3px;
+    }
+    cursor: pointer;
+  }
+  ul{
+    left: 0 !important ;
+    top: 46px !important ;
+  }
+}

+ 2 - 39
components/applyPurchase/ApplyInfo.vue

@@ -371,7 +371,7 @@ export default {
   }
 }
 </script>
-<style lang="scss">
+<style lang="scss" scoped>
   .apply-info {
     margin: 0 auto;
     .apply-info-title {
@@ -759,7 +759,7 @@ export default {
       }
     }
   }
-  .empty{
+  .apply-info .apply-info-list .empty{
     text-align: center;
     height: 1235px;
     line-height: 250px;
@@ -770,41 +770,4 @@ export default {
       margin-left: 10px;
     }
   }
-  .page-wrap {
-    text-align: right;
-    float: none;
-  }
-  .apply-info .apply-info-title .search .search-content-pc {
-    position: relative;
-    input {
-      width: 283px!important;
-      height: 32px;
-      border: 1px solid #2496f1;
-      line-height: 32px;
-      font-size: 13px;
-      margin-top: 14px;
-      border: {
-        top-right-radius: 0;
-        bottom-right-radius: 0;
-      }
-    }
-    span.input-group-btn .btn{
-      top: 7px;
-      display: inline-block;
-      width: 69px;
-      color: #fff;
-      background: #2496f1;
-      text-align: center;
-      margin: 0 6px 0 -1px;
-      border: {
-        top-right-radius: 3px;
-        bottom-right-radius: 3px;
-      }
-      cursor: pointer;
-    }
-    ul{
-      left: 0 !important ;
-      top: 46px !important ;
-    }
-  }
 </style>