reply.wxml 1.7 KB

1
  1. <view class="container"><view class="reply_btn flex_item"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tabClick',[index]]]]]}}" class="{{['btn',(tabCurrentIndex===index)?'current':'']}}" bindtap="__e">{{''+item.text+"("+item.number+')'}}</view></block></view><swiper class="swiper-box" style="{{'height:'+(maxheight+'px')+';'}}" current="{{tabCurrentIndex}}" duration="300" data-event-opts="{{[['change',[['changeTab',['$event']]]]]}}" bindchange="__e"><block wx:for="{{navList}}" wx:for-item="tabItem" wx:for-index="tabIndex" wx:key="tabIndex"><swiper-item class="tab-content"><scroll-view class="list-scroll-content" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadDate',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{tabItem.orderList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="eva-box"><view class="row-1 flex1"><image class="portrait" src="{{item.avatar}}" mode="aspectFill"></image><view class="right flex1"><view><view class="name flex1"><view>{{item.nickname}}</view></view><uni-rate class="rate" vue-id="{{'28ff8805-1-'+tabIndex+'-'+index}}" disabled="{{true}}" size="10" margin="1" value="{{item.product_score}}" bind:__l="__l"></uni-rate></view><view class="bot"><text class="attr"></text><text class="time">{{item.add_time}}</text></view></view></view><view class="con">{{item.comment}}</view><view class="con_box"><block wx:for="{{item.pics}}" wx:for-item="ls" wx:for-index="__i0__"><view class="con_image"><image src="{{ls}}"></image></view></block></view></view></block><uni-load-more vue-id="{{'28ff8805-2-'+tabIndex}}" status="{{tabItem.loadingType}}" bind:__l="__l"></uni-load-more></scroll-view></swiper-item></block></swiper></view>