dengrui/unpackage/dist/dev/mp-weixin/components/evaluateList.wxml

1 line
1.3 KiB
Plaintext

<view><block wx:for="{{evalArr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{evalArr.length!=0}}"><view class="borbot padding20 bacb"><view class="disac"><image style="width:70rpx;height:70rpx;border-radius:100%;" src="{{item.src}}" mode></image><view class="margin-z20"><view class="fon28">{{item.name}}</view><rate vue-id="{{'38d0ff34-1-'+index}}" size="{{24}}" gutter="{{10}}" value="{{item.xingj}}" readonly="{{true}}" bind:__l="__l"></rate></view></view><view class="{{['fon28','margin-s10','',isShow?'':'clips2']}}" style="color:#686868;">{{item.content}}</view><block wx:if="{{isEval}}"><view><scroll-view scroll-x="true"><view class="disac margin-sx10"><block wx:for="{{item.imgList}}" wx:for-item="itemimg" wx:for-index="indeximg" wx:key="indeximg"><block><image class="margin-y20 flexs radius10" style="width:200rpx;height:200rpx;" src="{{itemimg.src}}" mode data-event-opts="{{[['tap',[['previewImg',[indeximg,'$0'],[[['evalArr','',index,'imgList']]]]]]]}}" bindtap="__e"></image></block></block></view></scroll-view></view></block><view class="fon26 disac margin-s10" style="color:#949494;"><view class="clips1">{{item.title}}</view><view class="margin-z20 flexs">{{item.time}}</view></view></view></block></block><block wx:if="{{evalArr.length==0&&isShow==true}}"><view class="zanwu">暂无更多该商品评论信息</view></block></view>