xuqiang vor 4 Jahren
Ursprung
Commit
9515db3941

+ 11 - 8
src/pages/Home.vue

@@ -51,7 +51,7 @@
                 </swiper>
             </div>
         </div>
-        <van-sticky :offset-top="118">
+        <van-sticky :offset-top="125">
             <div class="tab">
                 <img
                     class="imges"
@@ -129,12 +129,11 @@ export default {
 .container {
     padding-bottom: 460px;
     .top {
-        padding: 0 16px;
         .address {
-            padding-top: 60px;
+            padding: 60px 0 0 16px;
             .flex();
             .avatar {
-                margin: 0 6px 0 16px;
+                margin-right: 6px;
                 width: 48px;
                 height: 48px;
                 border-radius: 8px !important;
@@ -147,7 +146,7 @@ export default {
             }
             .mytest {
                 .mytest();
-                height: 118px;
+                height: 122px;
                 img {
                     width: 100vw;
                     display: block;
@@ -155,6 +154,7 @@ export default {
             }
         }
         .con {
+            padding: 0 16px;
             .mytest2 {
                 .mytest();
                 height: 288px;
@@ -186,6 +186,7 @@ export default {
             .swiper {
                 width: 100%;
                 height: 160px;
+                margin-bottom: 20px;
                 img {
                     width: 100%;
                     height: 100%;
@@ -197,13 +198,15 @@ export default {
         .flex();
         padding: 0 16px;
         background: #fff;
+        height: 44px;
         .tabs {
             font-size: 16px;
             font-weight: 400;
             color: #c8c9cc;
             line-height: 22px;
-            z-index: 999;
-            margin: 26px 34px 0 0;
+            z-index: 88;
+            margin: 9px 34px 0 0;
+            // margin: 26px 34px 0 0;
             padding-bottom: 10px;
             &.active {
                 font-size: 18px;
@@ -224,7 +227,7 @@ export default {
             position: absolute;
             width: 16px;
             height: 16px;
-            padding: 12px 0 0 72px;
+            padding-left: 72px;
         }
     }
     .conTent {

+ 3 - 3
src/pages/merchantorders.vue

@@ -347,21 +347,21 @@ export default {
         --sidebar-padding: 12px 8px 12px 12px;
     }
     /deep/ .van-stepper__minus {
-        width: 28px;
+        width: 24px;
         height: 24px;
         background: @prim;
         border-radius: 2px;
         color: #fff;
     }
     /deep/ .van-stepper__plus {
-        width: 28px;
+        width: 24px;
         height: 24px;
         border-radius: 2px;
         background: @prim;
         color: #fff;
     }
     /deep/ .van-stepper__input {
-        width: 28px;
+        width: 24px;
         height: 24px;
         background: #f5f7fa;
         border-radius: 2px;

+ 6 - 5
src/pages/shoppingCart.vue

@@ -2,7 +2,6 @@
 {
     "navigationBarTextStyle": "white",
     "navigationStyle": "custom",
-    "backgroundColorTop":'#159EFF',
 }
 </config>
 <template>
@@ -212,19 +211,21 @@ export default {
         .button();
     }
     /deep/ .van-stepper__minus {
-        width: 28px;
+        width: 24px;
         height: 24px;
         background: @prim;
+        border-radius: 2px;
         color: #fff;
     }
     /deep/ .van-stepper__plus {
-        width: 28px;
+        width: 24px;
         height: 24px;
         background: @prim;
+        border-radius: 2px;
         color: #fff;
     }
     /deep/ .van-stepper__input {
-        width: 28px;
+        width: 24px;
         height: 24px;
         background: #f5f7fa;
         border-radius: 2px;
@@ -317,7 +318,7 @@ export default {
             }
         }
         .border {
-            border: 1px solid @bg;
+            border-bottom: 1px solid @bg;
             margin: 10px 12px 10px 43px;
         }
         .pay {

+ 3 - 3
src/pages/storedetails.vue

@@ -194,21 +194,21 @@ export default {
         .button();
     }
     /deep/ .van-stepper__minus {
-        width: 28px;
+        width: 24px;
         height: 24px;
         background: @prim;
         border-radius: 2px;
         color: #fff;
     }
     /deep/ .van-stepper__plus {
-        width: 28px;
+        width: 24px;
         height: 24px;
         background: @prim;
         border-radius: 2px;
         color: #fff;
     }
     /deep/ .van-stepper__input {
-        width: 28px;
+        width: 24px;
         height: 24px;
         background: #f5f7fa;
         border-radius: 2px;

+ 1 - 1
src/styles/common.less

@@ -90,7 +90,7 @@
      line-height: 24px;
 }
 .add(){
-     width: 28px;
+     width: 24px;
      height: 24px;
      background: @prim;
      line-height: 24px;