瀏覽代碼

样式调整

hangb 7 年之前
父節點
當前提交
9cc8307e92

+ 1 - 1
components/applyPurchase/ApplyInfo.vue

@@ -537,7 +537,7 @@ export default {
       > ul {
       > ul {
         margin-bottom: 29px;
         margin-bottom: 29px;
         font-size:12px;
         font-size:12px;
-        height: 1240px;
+        height: 1235px;
         > li {
         > li {
           position: relative;
           position: relative;
           border: 1px solid #ededed;
           border: 1px solid #ededed;

+ 1 - 2
components/applyPurchase/PublishApply.vue

@@ -6,10 +6,9 @@
 </script>
 </script>
 <style lang="scss">
 <style lang="scss">
   .publish-apply {
   .publish-apply {
-    border:1px solid #f2f1f1;
     border-radius:5px;
     border-radius:5px;
     background: url('/images/applyPurchase/banner.png') center center/cover no-repeat;
     background: url('/images/applyPurchase/banner.png') center center/cover no-repeat;
     height: 400px;
     height: 400px;
-    margin-bottom:10px;
+    margin-bottom:20px;
   }
   }
 </style>
 </style>

+ 4 - 1
components/applyPurchase/articleOne.vue

@@ -504,9 +504,12 @@
     background: #fff;
     background: #fff;
     margin-bottom:30px;
     margin-bottom:30px;
     .title{
     .title{
-      height:30px;
+      height:34px;
+      line-height: 34px;
       background: #2496f1;
       background: #2496f1;
       padding:0 10px;
       padding:0 10px;
+      border-top-left-radius: 5px;
+      border-top-right-radius: 5px;
       span{
       span{
         font-size: 14px;
         font-size: 14px;
         color:#fff;
         color:#fff;

+ 2 - 2
components/brandCenter/BrandIndex.vue

@@ -418,13 +418,13 @@
           vertical-align: middle;
           vertical-align: middle;
           &:hover{
           &:hover{
              background-color: #2496f1;
              background-color: #2496f1;
-             border-radius: 2px;
+             border-radius: 5px;
              color: #fff;
              color: #fff;
            }
            }
         }
         }
         a.active{
         a.active{
           background-color: #2496f1;
           background-color: #2496f1;
-          border-radius: 2px;
+          border-radius: 5px;
           color: #fff;
           color: #fff;
         }
         }
         &:last-child{
         &:last-child{

+ 1 - 1
components/brandCenter/RecommendBrand.vue

@@ -317,7 +317,7 @@
   }
   }
   .recommend-brand .brand-content .brand-index-tab .brand-index-group a.active{
   .recommend-brand .brand-content .brand-index-tab .brand-index-group a.active{
     background-color: #2496f1;
     background-color: #2496f1;
-    border-radius: 2px;
+    border-radius: 5px;
     color: #fff;
     color: #fff;
     /*width: 56px;*/
     /*width: 56px;*/
     /*padding-left: 3px;*/
     /*padding-left: 3px;*/

+ 2 - 0
components/news/Left.vue

@@ -62,6 +62,7 @@
     font-size: 18px!important;
     font-size: 18px!important;
     margin: 0;
     margin: 0;
     font-weight: normal;
     font-weight: normal;
+    border-radius: 5px;
   }
   }
   .hot-news h4 span{
   .hot-news h4 span{
     background: #feb900;
     background: #feb900;
@@ -75,6 +76,7 @@
     font-size: 12px;
     font-size: 12px;
     line-height: 40px;
     line-height: 40px;
     float: left;
     float: left;
+    border-top-left-radius: 5px;
   }
   }
 
 
   .hot-news h4 span:before{
   .hot-news h4 span:before{

+ 4 - 0
components/provider/Carousel.vue

@@ -25,6 +25,10 @@
     },
     },
     mixins: [carousel],
     mixins: [carousel],
     computed: {
     computed: {
+      storeType () {
+        this.activeSlide = 0
+        return this.$store.state.provider.stores.storeType.data
+      },
       banners () {
       banners () {
         if (this.$store.state.carousel.banners) {
         if (this.$store.state.carousel.banners) {
           return this.$store.state.carousel.banners.data.data
           return this.$store.state.carousel.banners.data.data

+ 3 - 2
components/provider/HotCommodity.vue

@@ -4,7 +4,7 @@
       <span>产品推荐</span>
       <span>产品推荐</span>
       <img src="/images/original/line.png" alt=""/>
       <img src="/images/original/line.png" alt=""/>
     </div>
     </div>
-    <div v-if="hotComponents.metadatas || hotComponents.length>0">
+    <div v-if="hotComponents || hotComponents.length>0" class="hot-components">
       <div v-if="hotComponents.length<=2">
       <div v-if="hotComponents.length<=2">
         <ul class="recommend-list clearfix">
         <ul class="recommend-list clearfix">
           <li v-for="(component, index) in hotComponents.slice(0,2)" class="big">
           <li v-for="(component, index) in hotComponents.slice(0,2)" class="big">
@@ -17,7 +17,7 @@
         </ul>
         </ul>
       </div>
       </div>
     </div>
     </div>
-    <div v-swiper:mySwiper="swiperOption" v-if="hotComponents.metadatas && hotComponents.length>2">
+    <div v-swiper:mySwiper="swiperOption" v-if="hotComponents && hotComponents.length>2">
       <div class="swiper-wrapper">
       <div class="swiper-wrapper">
         <div class="swiper-slide" v-if="hotComponents.length>0">
         <div class="swiper-slide" v-if="hotComponents.length>0">
           <ul class="recommend-list clearfix">
           <ul class="recommend-list clearfix">
@@ -74,6 +74,7 @@ export default {
   name: 'hot-commodity',
   name: 'hot-commodity',
   computed: {
   computed: {
     hotComponents () {
     hotComponents () {
+      console.log(this.$store.state.provider.storeCms.hotComponents.data.data)
       return this.$store.state.provider.storeCms.hotComponents.data.data
       return this.$store.state.provider.storeCms.hotComponents.data.data
     },
     },
     // 产品推荐轮播
     // 产品推荐轮播

+ 1 - 1
components/provider/NewStore.vue

@@ -43,7 +43,6 @@ export default {
       return this.$store.state.option.user
       return this.$store.state.option.user
     },
     },
     stores () {
     stores () {
-      console.log(this.$store.state.provider.storeCms.newStores.data)
       return this.$store.state.provider.storeCms.newStores.data ? this.$store.state.provider.storeCms.newStores.data.content : []
       return this.$store.state.provider.storeCms.newStores.data ? this.$store.state.provider.storeCms.newStores.data.content : []
     },
     },
     storeCount () {
     storeCount () {
@@ -73,6 +72,7 @@ export default {
       border-top-right-radius: 5px;
       border-top-right-radius: 5px;
       .title {
       .title {
         font-size: 14px;
         font-size: 14px;
+        font-weight: bold;
         color: #fff;
         color: #fff;
       }
       }
     }
     }

+ 1 - 1
components/provider/RecommendOriginal.vue

@@ -49,7 +49,7 @@ export default {
       line-height: 34px;
       line-height: 34px;
       text-align: center;
       text-align: center;
       span{
       span{
-        font-size: 16px;
+        font-size: 14px;
         color: #333;
         color: #333;
       }
       }
       img{
       img{

+ 1 - 0
components/provider/Suppliers.vue

@@ -156,6 +156,7 @@ export default {
             span{
             span{
               padding-left: 10px;
               padding-left: 10px;
               font-size: 14px;
               font-size: 14px;
+              font-weight: bold;
               color: #fff;
               color: #fff;
             }
             }
             &:first-child {
             &:first-child {

+ 4 - 2
components/supplier/articleTwo.vue

@@ -119,13 +119,15 @@
       }
       }
     }
     }
     .title{
     .title{
-      height:35px;
+      height: 34px;
+      line-height: 34px;
       text-align: center;
       text-align: center;
       background: #2496f1;
       background: #2496f1;
       margin-bottom:5px;
       margin-bottom:5px;
       span{
       span{
         line-height: 35px;
         line-height: 35px;
-        font-size: 18px;
+        font-size: 14px;
+        font-weight: bold;
         color:#fff;
         color:#fff;
       }
       }
     }
     }

+ 6 - 5
components/supplier/merchant.vue

@@ -189,12 +189,13 @@
     background: #fff;
     background: #fff;
     .title{
     .title{
       background: #2496f1;
       background: #2496f1;
-      height:35px;
-      line-height: 35px;
+      height: 34px;
+      line-height: 34px;
       span{
       span{
-        margin-left:10px;
-        font-size: 18px;
-        color:#fff;
+        margin-left: 10px;
+        font-size: 14px;
+        font-weight: bold;
+        color: #fff;
       }
       }
     }
     }
     .search{
     .search{