Browse Source

客户列表

zhaoxiaohai 2 years ago
parent
commit
ae1c473072

+ 1 - 0
packageA/setclient/modules/list/index.scss

@@ -56,6 +56,7 @@
                     font-size: 20rpx;
                     font-family: PingFang SC-Regular, PingFang SC;
                     padding: 0 12rpx;
+                    margin-right: 8rpx;
                 }
             }
         }

+ 3 - 1
packageA/setclient/modules/list/index.wxml

@@ -6,7 +6,9 @@
         <view class="mian">
             <view class="label line-1">{{item.enterprisename}}</view>
             <view class="tag-box">
-                <van-tag custom-class='tag' color='#E7EEFF' text-color='#3874F6' round>公海客户</van-tag>
+                <van-tag custom-class='tag' wx:if="{{item.type}}" wx:for-item='tag' color='#E7EEFF' text-color='#3874F6' round>{{item.type}}</van-tag>
+                <van-tag custom-class='tag' wx:for="{{item.tags.systemtag}}" wx:for-item='tag' color='#E7EEFF' text-color='#3874F6' round>{{tag}}</van-tag>
+                <van-tag custom-class='tag' wx:for="{{item.tags.datatag}}" wx:for-item='tag' color='#FFEFD9' text-color='#FA8C16' round>{{tag}}</van-tag>
             </view>
         </view>
         <view class="icon">