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.
 
 
 

1 lines
4.2 KiB

<view class="wanl-comment"><view class="edgeInsetTop"></view><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view class="subject margin-lr-bj bg-white radius-bock margin-bottom-bj"><view class="goods padding-bj"><view class="cu-avatar radius-bock" style="{{'background-image:'+('url('+item.g0+')')+';'}}"></view><view class="content"><view class="text-lg text-cut"><text>{{item.$orig.title}}</text></view><view class="wanl-gray-dark">{{item.$orig.difference}}</view></view></view><view class="comment padding-lr-bj padding-top-bj"><view class="comment-title">宝贝评价</view><view class="comment-operate"><view data-event-opts="{{[['tap',[['stateType',[0,index]]]]]}}" class="{{['item',(item.$orig.state==0)?'action':'']}}" bindtap="__e"><text class="wlIcon-haoping"></text>好评</view><view data-event-opts="{{[['tap',[['stateType',[1,index]]]]]}}" class="{{['item',(item.$orig.state==1)?'action':'']}}" bindtap="__e"><text class="wlIcon-chaping"></text>中评</view><view data-event-opts="{{[['tap',[['stateType',[2,index]]]]]}}" class="{{['item',(item.$orig.state==2)?'action':'']}}" bindtap="__e"><text class="wlIcon-chaping"></text>差评</view></view></view><view class="describe cu-form-group margin-bj radius-bock padding-bj"><textarea maxlength="-1" placeholder="评价下商品~" data-event-opts="{{[['input',[['__set_model',['$0','comment','$event',[]],[[['goodsList','id',item.$orig.id]]]]]]]}}" value="{{item.$orig.comment}}" bindinput="__e"></textarea></view><view></view><view class="upload cu-form-group padding-lr-bj"><view class="grid col-4 grid-square flex-sub"><block wx:for="{{item.l0}}" wx:for-item="vo" wx:for-index="key" wx:key="key"><view data-event-opts="{{[['tap',[['viewImage',[index,key]]]]]}}" class="bg-img" bindtap="__e"><image src="{{vo.g1}}" mode="aspectFill"></image><view data-event-opts="{{[['tap',[['delImg',[index,key]]]]]}}" class="cu-tag bg-red" catchtap="__e"><text class="wlIcon-31guanbi"></text></view></view></block><block wx:if="{{item.g2<4}}"><view data-event-opts="{{[['tap',[['chooseImage',[index]]]]]}}" class="solids" bindtap="__e"><text class="wlIcon-tupian1"></text></view></block></view></view></view></block><block wx:if="{{shop.shopname}}"><view class="operate margin-bj padding-bj bg-white radius-bock"><view data-event-opts="{{[['tap',[['onShop',['$0'],['shop.id']]]]]}}" class="operate-title" bindtap="__e"><text class="wlIcon-dianpu1 margin-right-sm"></text>{{''+shop.shopname+''}}</view><view class="score"><view class="title">描述相符</view><wanl-rate vue-id="122452d3-1" quantity="{{5}}" current="{{shop.describe}}" size="{{25}}" normal="#cad0cc" active="#ff4e02" hollow="{{true}}" data-event-opts="{{[['^change',[['describeChange']]]]}}" bind:change="__e" bind:__l="__l"></wanl-rate><view class="margin-left wanl-gray-light">{{''+shop.describeInfo+''}}</view></view><view class="score"><view class="title">物流服务</view><wanl-rate vue-id="122452d3-2" quantity="{{5}}" current="{{shop.logistics}}" size="{{25}}" normal="#cad0cc" active="#ff4e02" hollow="{{true}}" data-event-opts="{{[['^change',[['logisticsChange']]]]}}" bind:change="__e" bind:__l="__l"></wanl-rate><view class="margin-left wanl-gray-light">{{''+shop.logisticsInfo+''}}</view></view><view class="score"><view class="title">发货速度</view><wanl-rate vue-id="122452d3-3" quantity="{{5}}" current="{{shop.service}}" size="{{25}}" normal="#cad0cc" active="#ff4e02" hollow="{{true}}" data-event-opts="{{[['^change',[['serviceChange']]]]}}" bind:change="__e" bind:__l="__l"></wanl-rate><view class="margin-left wanl-gray-light">{{''+shop.serviceInfo+''}}</view></view><view class="score"><view class="title">服务态度</view><wanl-rate vue-id="122452d3-4" quantity="{{5}}" current="{{shop.deliver}}" size="{{25}}" normal="#cad0cc" active="#ff4e02" hollow="{{true}}" data-event-opts="{{[['^change',[['deliverChange']]]]}}" bind:change="__e" bind:__l="__l"></wanl-rate><view class="margin-left wanl-gray-light">{{''+shop.deliverInfo+''}}</view></view></view></block><view class="edgeInsetBottom"></view><view class="wanlian cu-bar tabbar foot flex flex-direction"><button data-event-opts="{{[['tap',[['addData']]]]}}" class="cu-btn wanl-bg-orange lg" bindtap="__e">发布评论</button></view></view>