zhaoxiaohai před 3 roky
rodič
revize
5be2287763

+ 12 - 0
packageA/offers/modules/list/index.scss

@@ -6,6 +6,18 @@
     border-bottom: 1rpx solid #ddd;
     font-family: PingFang SC-Regular, PingFang SC;
 
+    .tag-box {
+        margin-top: 10rpx;
+
+        .tag {
+            height: 40rpx;
+            font-size: 20rpx;
+            font-family: PingFang SC-Regular, PingFang SC;
+            padding: 0 12rpx;
+            margin-right: 8rpx;
+        }
+    }
+
     .title {
         position: relative;
         display: flex;

+ 5 - 0
packageA/offers/modules/list/index.wxml

@@ -4,6 +4,11 @@
         <text class="line-1">单号:{{item.billno}}</text>
         <view class="status" style="background-color: {{backColor.getColor(item.status)}};">{{item.status}}</view>
     </view>
+    <view class="tag-box">
+        <van-tag custom-class='tag' color='#FA8C16' text-color='#fff' round>{{item.quotedpricetype}}</van-tag>
+        <van-tag custom-class='tag' wx:for="{{item.tags.systemtag}}" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{tag}}</van-tag>
+        <van-tag custom-class='tag' wx:for="{{item.tags.datatag}}" wx:for-item='tag' color='#FAAB16' text-color='#fff' round>{{tag}}</van-tag>
+    </view>
     <view class="exp line-1">客户:<text>{{item.enterprisename}}</text></view>
     <view class="exp line-1">报价日期:<text>{{item.billdate}}</text></view>
     <view class="exp line-1">特价:<text>{{item.specialoffer==1?'是':'否'}}</text></view>