Browse Source

小程序:个人中心

panyong 2 years ago
parent
commit
6e06f96d4f

+ 2 - 4
htmldev/wxMini/pages/businessGoodsEdit/businessGoodsEdit.scss

@@ -60,7 +60,6 @@ label {
 .btn-upload {
   width: 93rpx;
   height: 94rpx;
-  background: pink;
 }
 
 .tip {
@@ -130,10 +129,9 @@ label {
   align-items: center;
   justify-content: space-between;
   padding: 22rpx 0 16rpx;
-  border-bottom: 2rpx solid rgba(231, 231, 231, 1);
 
   .value {
-    width: 568rpx;
+    width: 562rpx;
     line-height: 42rpx;
     font-size: 28rpx;
     color: rgba(107, 133, 89, 1);
@@ -145,9 +143,9 @@ label {
   }
 
   .arrow {
+    margin-left: 6rpx;
     width: 9rpx;
     height: 15rpx;
-    background: pink;
   }
 }
 

+ 10 - 11
htmldev/wxMini/pages/businessGoodsEdit/businessGoodsEdit.wxml

@@ -89,18 +89,14 @@
           <text>商品分类</text>
         </label>
         <view class="value placeholder">请选择商品分类</view>
-        <image class="arrow" src=""></image>
+        <image class="arrow" src="../../image/businessGoodsEdit/arrow.png"></image>
       </view>
-      <view class="name">
+      <view class="type">
         <label>
           <text>商品品牌</text>
         </label>
-        <view class="value">
-          <input
-            value=""
-            placeholder="输入商品品牌"
-            placeholder-class="placeholder"></input>
-        </view>
+        <view class="value placeholder">请选择商品品牌</view>
+        <image class="arrow" src="../../image/businessGoodsEdit/arrow.png"></image>
       </view>
       <view class="name">
         <label>
@@ -108,7 +104,7 @@
         </label>
         <view class="value">
           <input
-            value=""
+            value="{{form.product_spec}}"
             placeholder="输入商品规格"
             placeholder-class="placeholder"></input>
         </view>
@@ -118,9 +114,12 @@
           <text>单 位</text>
         </label>
         <view class="value placeholder">请选择商品单位</view>
-        <image class="arrow" src=""></image>
+        <image class="arrow" src="../../image/businessGoodsEdit/arrow.png"></image>
       </view>
-      <view class="name">
+      <!-- todo -->
+      <view
+        class="name"
+        wx:if="{{!!form.id}}">
         <label>
           <text>商品货号</text>
         </label>