zhaoxiaohai 3 سال پیش
والد
کامیت
c772bb85f1

+ 2 - 2
packageA/offers/modules/list/index.wxml

@@ -6,8 +6,8 @@
     </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>
+        <van-tag custom-class='tag' wx:for="{{item.tags.systemtag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{tag}}</van-tag>
+        <van-tag custom-class='tag' wx:for="{{item.tags.datatag}}" wx:key="index" wx:for-item='tag' color='#FAAB16' text-color='#fff' round>{{tag}}</van-tag>
     </view>
     <view class="exp line-1">项目:<text>{{item.projectname||' --'}}</text></view>
     <view class="exp line-1">客户:<text>{{item.enterprisename||' --'}}</text></view>

+ 2 - 2
packageA/opponent/modules/list/index.wxml

@@ -8,8 +8,8 @@
             <view class="tag-box">
                 <van-tag custom-class='tag' wx:if="{{item.important == 1 && edit}}" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>主要威胁</van-tag>
                 <van-tag custom-class='tag' wx:if="{{item.type}}" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{item.type}}</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>
+                <van-tag custom-class='tag' wx:for="{{item.tags.systemtag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{tag}}</van-tag>
+                <van-tag custom-class='tag' wx:for="{{item.tags.datatag}}" wx:key="index" wx:for-item='tag' color='#FAAB16' text-color='#fff' round>{{tag}}</van-tag>
             </view>
         </view>
         <view class="icon">

+ 2 - 2
packageA/publicCustomer/modules/list/index.wxml

@@ -7,8 +7,8 @@
             <view class="label line-1">{{item.enterprisename}}</view>
             <view class="tag-box">
                 <van-tag custom-class='tag' wx:if="{{item.type}}" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{item.type}}</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>
+                <van-tag custom-class='tag' wx:for="{{item.tags.systemtag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{tag}}</van-tag>
+                <van-tag custom-class='tag' wx:for="{{item.tags.datatag}}" wx:key="index" wx:for-item='tag' color='#FAAB16' text-color='#fff' round>{{tag}}</van-tag>
             </view>
         </view>
         <view class="icon">

+ 2 - 2
packageA/setclient/modules/list/index.wxml

@@ -7,8 +7,8 @@
             <view class="label line-1">{{item.enterprisename}}</view>
             <view class="tag-box">
                 <van-tag custom-class='tag' wx:if="{{item.type}}" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{item.type}}</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>
+                <van-tag custom-class='tag' wx:for="{{item.tags.systemtag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{tag}}</van-tag>
+                <van-tag custom-class='tag' wx:for="{{item.tags.datatag}}" wx:key="index" wx:for-item='tag' color='#FAAB16' text-color='#fff' round>{{tag}}</van-tag>
             </view>
         </view>
         <view class="icon">

+ 2 - 2
packageA/work/modules/list/index.wxml

@@ -5,8 +5,8 @@
         <view class="status" style="background-color: {{backColor.getColor(item.status)}};">{{item.status}}</view>
     </view>
     <view class="tag-box">
-        <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>
+        <van-tag custom-class='tag' wx:for="{{item.tags.systemtag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{tag}}</van-tag>
+        <van-tag custom-class='tag' wx:for="{{item.tags.datatag}}"  wx:key="index" wx:for-item='tag' color='#FAAB16' text-color='#fff' round>{{tag}}</van-tag>
     </view>
     <view class="exp line-1">开始时间:<text>{{item.starttime}}</text></view>
     <view class="exp line-1">截止时间:<text>{{item.endtime}}</text></view>