Selaa lähdekoodia

订单产品明细样式修改

xiaohaizhao 2 vuotta sitten
vanhempi
commit
fa189cd306

+ 1 - 1
packageA/orderForm/modules/product/list/index.scss

@@ -47,7 +47,7 @@
         .title {
           display: flex;
           width: 90%;
-          height: 40rpx;
+          min-height: 40rpx;
           font-size: 28rpx;
           font-weight: 600;
           color: #333333;

+ 4 - 11
packageA/orderForm/modules/product/list/index.wxml

@@ -8,10 +8,7 @@
                 <text wx:else class="err">暂无图片</text>
             </view>
             <view class="dec">
-                <view class="title">
-                    <text class="line-1">{{item.itemname}}</text>
-                    <text class="tag" wx:if="{{item.stockstatus}}">{{item.stockstatus}}</text>
-                </view>
+                <view class="title">{{item.itemname}}</view>
                 <view class="subfield">
                     编号:{{item.itemno}}
                 </view>
@@ -19,13 +16,9 @@
                     <text class="line-1" style="margin-right: 6rpx;">型号:{{item.model||' --'}}</text>
                     <text class="line-1">规格:{{item.spec||' --'}}</text>
                 </view>
-                <!-- <view class="subfield">
-                    <text class="line-1" style="margin-right: 6rpx;">材质:{{item.material||' --'}}</text>
-                    <text class="line-1">标准:{{item.standards||' --'}}</text>
-                </view> -->
-                <view style="margin-top: 8rpx;">
-                    <text class="price">{{handleHide.query(item.price,hidePrice)}}</text>
-                    <!-- <text class="old-price">{{handleHide.query(item.marketprice,hidePrice)}}</text> -->
+                <view class="subfield" style="margin-top: 8rpx;">
+                    <text class="price" style="margin-right: 6rpx;">{{handleHide.query(item.price,hidePrice)}}</text>
+                    <text style="font-weight: 600;color: #666;">库存:{{item.invbalqty-item.unsoldqty>=0?'有货':'缺货'}}</text>
                 </view>
             </view>
             <view wx:if="{{!disabled}}" class="delete" data-item="{{item}}" catchtap="deleteProduct">