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.
 
 
 
 
high-mini/unpackage/dist/dev/mp-weixin/pages/goods/ratings/ratings.wxml

1 lines
3.0 KiB

<view><video hidden="{{!(isPlayVideo)}}" class="myVideo" id="myVideo" src="{{videoSrc}}" show-fullscreen-btn="{{showFullscreenBtn}}" direction="{{videoDirection}}" show-play-btn="{{showPlayBtn}}" data-event-opts="{{[['pause',[['videoPause',['$event']]]],['fullscreenchange',[['viderFullscreen',['$event']]]]]}}" bindpause="__e" bindfullscreenchange="__e"><cover-image class="stopPlayVideoBtn" src="/static/img/close.png" data-event-opts="{{[['tap',[['stopPlayVideo',['$event']]]]]}}" bindtap="__e"></cover-image></video><view class="content"><view class="label"><block wx:for="{{labelList}}" wx:for-item="label" wx:for-index="index" wx:key="type"><view data-event-opts="{{[['tap',[['loadRatings',[index]]]]]}}" class="{{[(index==labelIndex)?'on':'']}}" bindtap="__e">{{''+label.name+"("+label.number+')'}}</view></block></view><view class="list"><block wx:for="{{ratingsList}}" wx:for-item="row" wx:for-index="Rindex" wx:key="Rindex"><view class="row"><view class="left"><view class="face"><image src="{{row.face}}"></image></view></view><view class="right"><view class="name-date"><view class="username">{{''+row.username+''}}</view><view class="date">{{''+row.date+''}}</view></view><view class="spec">{{''+row.spec+''}}</view><view class="first"><view class="rat">{{''+row.first.content+''}}</view><view class="img-video"><block wx:for="{{row.first.video}}" wx:for-item="item" wx:for-index="__i0__" wx:key="path"><view data-event-opts="{{[['tap',[['playVideo',['$0'],[[['ratingsList','',Rindex],['first.video','path',item.path,'path']]]]]]]}}" class="box" bindtap="__e"><image mode="aspectFill" src="{{item.img}}"></image><view class="playbtn"><view class="icon bofang"></view></view></view></block><block wx:for="{{row.first.img}}" wx:for-item="item" wx:for-index="__i1__" wx:key="*this"><view data-event-opts="{{[['tap',[['showBigImg',['$0','$1'],[[['ratingsList','',Rindex],['first.img','',__i1__]],[['ratingsList','',Rindex,'first.img']]]]]]]}}" class="box" bindtap="__e"><image mode="aspectFill" src="{{item}}"></image></view></block></view></view><block wx:if="{{row.append}}"><view class="append"><view class="date">{{''+row.append.date+'天后追加'}}</view><view class="rat">{{''+row.append.content+''}}</view><view class="img-video"><block wx:for="{{row.append.video}}" wx:for-item="item" wx:for-index="__i2__" wx:key="path"><view data-event-opts="{{[['tap',[['playVideo',['$0'],[[['ratingsList','',Rindex],['append.video','path',item.path,'path']]]]]]]}}" class="box" bindtap="__e"><image mode="aspectFill" src="{{item.img}}"></image><view class="playbtn"><view class="icon bofang"></view></view></view></block><block wx:for="{{row.append.img}}" wx:for-item="item" wx:for-index="__i3__" wx:key="*this"><view data-event-opts="{{[['tap',[['showBigImg',['$0','$1'],[[['ratingsList','',Rindex],['append.img','',__i3__]],[['ratingsList','',Rindex,'append.img']]]]]]]}}" class="box" bindtap="__e"><image mode="aspectFill" src="{{item}}"></image></view></block></view></view></block></view></view></block></view></view></view>