瀏覽代碼

客户列表

zhaoxiaohai 2 年之前
父節點
當前提交
ae1c473072
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 1 0
      packageA/setclient/modules/list/index.scss
  2. 3 1
      packageA/setclient/modules/list/index.wxml

+ 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">