榆山数据端小程序
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.
 
 

15 lines
711 B

<!-- 最热评论 -->
<view class="hottoptit">
<text>最热评论Top10</text>
</view>
<view class="content" wx:for="{{list}}" wx:key="id">
<view class="list">
<image src="../../../../images/first.png" alt="" class="image" wx:if="{{index=='0'}}" />
<image src="../../../../images/second.png" alt="" class="image" wx:if="{{index=='1'}}" />
<image src="../../../../images/three.png" alt="" class="image" wx:if="{{index=='2'}}" />
<text class="image image-margin" wx:if="{{index >=3}}">{{index+1}}</text>
<text class="text">{{item.content}}</text>
<text class="num">{{item.likeCount + item.unLikeCount + item.replyCount}}</text>
<text class="attitude">表态</text>
</view>
</view>