Browse Source

小程序:商家端-商品添加

panyong 2 years ago
parent
commit
ca5fcef674

+ 1 - 22
htmldev/wxMini/pages/businessGoodsEdit/businessGoodsEdit.scss

@@ -30,14 +30,6 @@ label {
   }
 }
 
-.van-uploader-wrap {
-  margin: 0 16rpx 16rpx 0;
-
-  &:nth-of-type(4n) {
-    margin: 0;
-  }
-}
-
 .van-uploader__wrapper {
   .van-uploader__preview {
     &:nth-of-type(4n) {
@@ -50,18 +42,7 @@ label {
   .value {
     display: flex;
     flex-flow: row wrap;
-    margin: 30rpx 0 45rpx;
-  }
-
-  .van-uploader__preview,
-  .van-uploader__upload {
-    margin: 0 !important;
-  }
-}
-
-.swiper-photo {
-  .value {
-    margin-top: 43rpx;
+    padding: 40rpx 0 24rpx;
   }
 }
 
@@ -73,11 +54,9 @@ label {
 .tip {
   width: 100%;
   padding-bottom: 20rpx;
-  margin-top: 40rpx;
   line-height: 42rpx;
   font-size: 24rpx;
   color: rgba(153, 153, 153, 1);
-  border-bottom: 2rpx solid rgba(231, 231, 231, 1);
 }
 
 .name {

+ 2 - 2
htmldev/wxMini/pages/businessGoodsEdit/businessGoodsEdit.wxml

@@ -21,7 +21,7 @@
           </view>
         </view>
       </view>
-      <view class="swiper-photo">
+      <view class="photo">
         <label>
           <text>商品轮播图</text>
           <text>({{form.product_rotation_img_list.length}}/{{product_rotation_img_list_max}})</text>
@@ -41,7 +41,7 @@
           </view>
         </view>
       </view>
-      <view class="swiper-photo">
+      <view class="photo">
         <label>
           <text>商品详情图</text>
           <text>({{form.product_detail_img_list.length}}/{{product_detail_img_list_max}})</text>