pingDetail.wxml 3.3 KB
<view><u-navbar vue-id="85909c26-1" title="评论详情" autoBack="{{true}}" placeholder="{{true}}" bind:__l="__l"></u-navbar><u-divider vue-id="85909c26-2" bind:__l="__l"></u-divider><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view class="pingBox"><view class="pTopBox flexJ"><view class="avatarBox flexA"><image src="{{item.$orig.user_avatar}}" mode="scaleToFill"></image><view>{{item.$orig.username}}</view></view><view class="zanBox flexA"><image src="{{item.$orig.is_favorite==0?'/static/zan1.png':'/static/zan11.png'}}" mode="scaleToFill" data-event-opts="{{[['tap',[['getCommentFavorite',['$0',index,'$1'],[[['pingList','id',item.$orig.id,'is_favorite']],[['pingList','id',item.$orig.id,'id']]]]]]]}}" bindtap="__e"></image><view>{{item.$orig.favorite_num}}</view></view></view><view class="contentBox">{{item.$orig.comment}}</view><view class="timeBox flexA"><view>{{item.g0}}</view><view data-event-opts="{{[['tap',[['huiHandler',['$0','$1'],[[['pingList','id',item.$orig.id,'id']],[['pingList','id',item.$orig.id,'username']]]]]]]}}" class="flexC" style="margin-left:34rpx;" bindtap="__e">回复</view></view><u-divider vue-id="{{'85909c26-3-'+index}}" text="全部回复" bind:__l="__l"></u-divider><block wx:if="{{item.$orig.child.length}}"><view class="hPBox"><block wx:for="{{item.l0}}" wx:for-item="it" wx:for-index="idx" wx:key="id"><view><view class="pTopBox flexJ"><view class="avatarBox flexA"><image src="{{it.$orig.user_avatar}}" mode="scaleToFill"></image><view>{{it.$orig.username}}</view></view><view class="zanBox flexA"><image src="{{it.$orig.is_favorite==0?'/static/zan1.png':'/static/zan11.png'}}" mode="scaleToFill" data-event-opts="{{[['tap',[['getCommentFavoriteZZ',['$0',idx,'$1','$2'],[[['pingList','id',item.$orig.id],['child','id',it.$orig.id,'is_favorite']],[['pingList','id',item.$orig.id],['child','id',it.$orig.id,'id']],[['pingList','id',item.$orig.id]]]]]]]}}" bindtap="__e"></image><view>{{it.$orig.favorite_num}}</view></view></view><view class="huifu chao"><text style="margin-right:8rpx;">{{it.$orig.comment}}</text><text class="huifuText">回复</text><text class="nameText">{{it.$orig.tousername+":"}}</text></view><view class="timeBox flexA" style="margin-top:24rpx;"><view>{{it.g1}}</view><view data-event-opts="{{[['tap',[['huiHandler',['$0','$1'],[[['pingList','id',item.$orig.id],['child','id',it.$orig.id,'id']],[['pingList','id',item.$orig.id],['child','id',it.$orig.id,'username']]]]]]]}}" class="flexC" style="margin-left:16rpx;" bindtap="__e">回复</view></view><u-divider vue-id="{{'85909c26-4-'+index+'-'+idx}}" bind:__l="__l"></u-divider></view></block></view></block></view></block><block wx:if="{{huiState}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="maskBox flexC" bindtap="__e"><view data-event-opts="{{[['tap',[['abb',['$event']]]]]}}" class="huiBox flexA" catchtap="__e"><view class="zIndex">{{"回复"+huiName+":"}}</view><view style="margin-left:-84rpx;"><u-search vue-id="85909c26-5" searchIconColor="#F7F8FA" placeholder=" " bgColor="#F7F8FA" clearabled="{{false}}" showAction="{{false}}" value="{{huiValue}}" data-event-opts="{{[['^search',[['huifuHandler']]],['^input',[['__set_model',['','huiValue','$event',[]]]]]]}}" bind:search="__e" bind:input="__e" bind:__l="__l"></u-search></view></view></view></block><view class="fffBox"></view></view>