You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.4 KiB
34 lines
1.4 KiB
<view class="tag-list">
|
|
<view wx:for="{{tabList}}"
|
|
class="tag {{item.value === tabValue?'cur':''}}"
|
|
wx:key="index"
|
|
bind:tap="tabChange"
|
|
data-index="{{item.value}}">
|
|
{{item.label}}
|
|
</view>
|
|
</view>
|
|
<view class="problem-list">
|
|
<view class="problem-item" bind:tap="gotopage" data-obj="{{item}}" wx:for="{{data[tabValue]}}" wx:key="index" wx:if="{{index<3}}">
|
|
<view class="frequency {{item.amount < 10?'blue':item.amount > 10 && item.amount < 20?'orange':'purple'}}">
|
|
<view>
|
|
<view class="num">{{item.amount}}</view>
|
|
<view class="txt">次数</view>
|
|
</view>
|
|
</view>
|
|
<view class="right-con">
|
|
<view class="right-con-txt">
|
|
{{item.content}}
|
|
</view>
|
|
<view class="right-con-address" >
|
|
<block wx:if="{{tabValue === 'mobileEvent'}}">
|
|
<image src="../../../../images/statistics/avatar.png" mode="widthFix" class="icon"/>
|
|
<text class="right-con-address-txt"> {{item.mobile}}</text>
|
|
</block>
|
|
<block wx:else>
|
|
<image src="../../../../images/statistics/address.png" mode="widthFix" class="icon"/>
|
|
<text class="right-con-address-txt"> {{item.name ? item.name : ''}} {{item.address}}</text>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|