comment-list.wxml 4.1 KB

1
  1. <mescroll-uni vue-id="35524efc-1" top="80rpx" down="{{downOption}}" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" class="data-v-7b02c904 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="comment-list data-v-7b02c904"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="comment-item bg-white m-t-20 data-v-7b02c904"><block wx:if="{{type==1}}"><view class="data-v-7b02c904"><view class="m-l-20 data-v-7b02c904"><shop-title vue-id="{{('35524efc-2-'+index)+','+('35524efc-1')}}" shop="{{item.$orig.shop}}" class="data-v-7b02c904" bind:__l="__l"></shop-title></view><block wx:for="{{item.l0}}" wx:for-item="gitem" wx:for-index="gindex" wx:key="gindex"><view class="data-v-7b02c904"><router-link vue-id="{{('35524efc-3-'+index+'-'+gindex)+','+('35524efc-1')}}" to="{{gitem.a0}}" class="data-v-7b02c904" bind:__l="__l" vue-slots="{{['default']}}"><view class="comment-goods flex data-v-7b02c904"><u-image vue-id="{{('35524efc-4-'+index+'-'+gindex)+','+('35524efc-3-'+index+'-'+gindex)}}" width="160rpx" height="160rpx" border-radius="6rpx" src="{{gitem.$orig.goods_item.image}}" class="data-v-7b02c904" bind:__l="__l"></u-image><view class="goods-desc flex-1 m-l-24 data-v-7b02c904"><view class="goods-name line-2 data-v-7b02c904">{{gitem.$orig.goods_name}}</view><view class="m-t-10 xs muted line-1 data-v-7b02c904">{{gitem.$orig.goods_item.spec_value_str}}</view><view class="flex row-between m-t-20 data-v-7b02c904"><price-format vue-id="{{('35524efc-5-'+index+'-'+gindex)+','+('35524efc-3-'+index+'-'+gindex)}}" price="{{gitem.$orig.goods_price}}" subscript-size="{{26}}" first-size="{{30}}" second-size="{{30}}" class="data-v-7b02c904" bind:__l="__l"></price-format><view class="nr data-v-7b02c904">{{"x"+gitem.$orig.goods_num}}</view></view></view></view></router-link><router-link vue-id="{{('35524efc-6-'+index+'-'+gindex)+','+('35524efc-1')}}" to="{{gitem.a1}}" class="data-v-7b02c904" bind:__l="__l" vue-slots="{{['default']}}"><view class="evaluate-footer flex row-right data-v-7b02c904"><view class="btn flex row-center primary br60 data-v-7b02c904">评价商品</view></view></router-link></view></block></view></block><block wx:if="{{type==2}}"><view class="data-v-7b02c904"><view class="p-20 data-v-7b02c904"><view class="p-b-20 time data-v-7b02c904"><view class="muted xs data-v-7b02c904">{{"评价时间: "+item.$orig.create_time}}</view></view><block wx:if="{{item.$orig.comment}}"><view class="m-t-20 data-v-7b02c904">{{''+item.$orig.comment+''}}</view></block><block wx:if="{{item.g0}}"><view class="flex flex-wrap m-t-20 data-v-7b02c904"><block wx:for="{{item.$orig.goods_comment_image_arr}}" wx:for-item="iitem" wx:for-index="idx" wx:key="idx"><view data-event-opts="{{[['tap',[['previewImage',['$0',idx,'$event'],[[['list','',index,'goods_comment_image_arr']]]]]]]}}" class="comment-img data-v-7b02c904" bindtap="__e"><u-image vue-id="{{('35524efc-7-'+index+'-'+idx)+','+('35524efc-1')}}" width="160rpx" height="160rpx" border-radius="6rpx" src="{{iitem}}" class="data-v-7b02c904" bind:__l="__l"></u-image></view></block></view></block><view class="comment-goods flex bg-body m-t-20 data-v-7b02c904"><u-image vue-id="{{('35524efc-8-'+index)+','+('35524efc-1')}}" width="160rpx" height="160rpx" border-radius="6rpx" src="{{item.$orig.goods_item.image}}" class="data-v-7b02c904" bind:__l="__l"></u-image><view class="goods-desc flex-1 m-l-24 data-v-7b02c904"><view class="goods-name line-2 data-v-7b02c904">{{item.$orig.goods.name}}</view><view class="m-t-10 xs muted line-1 data-v-7b02c904">{{item.$orig.goods_item.spec_value_str}}</view><view class="flex m-t-10 data-v-7b02c904"><view class="sm m-r-10 muted data-v-7b02c904">评分</view><u-rate vue-id="{{('35524efc-9-'+index)+','+('35524efc-1')}}" disabled="{{true}}" value="{{item.$orig.goods_comment}}" active-color="{{colorConfig.primary}}" size="{{36}}" class="data-v-7b02c904" bind:__l="__l"></u-rate></view></view></view></view></view></block></view></block></view></mescroll-uni>