84 lines
2.9 KiB
Plaintext
84 lines
2.9 KiB
Plaintext
<!--pages/member/myEvaluation/myEvaluation.wxml-->
|
||
<view class="detailed">
|
||
<van-tabs active="{{selected}}" bind:change="swichTabTItem">
|
||
<van-tab title="待评价">
|
||
<block wx:if="{{wait.length>0}}">
|
||
<view wx:for="{{wait}}" wx:key="index" class="listWarp orderhoet">
|
||
<view class="goods" wx:for-item="good" wx:for-index="goodidx" wx:key="{{goodidx}}" wx:for="{{item.has_many_order_goods}}">
|
||
<view class="titleID">订单号:{{item.order_sn}}</view>
|
||
<view class="product">
|
||
<view class="img">
|
||
<image src="{{good.thumb}}" mode='widthFix' />
|
||
</view>
|
||
<view class="warp">
|
||
<view class="top">
|
||
<view class="ul inner">
|
||
<view class="li name">{{good.title}}</view>
|
||
<view class="li option">规格: {{good.goods_option_title}}</view>
|
||
</view>
|
||
<view class="ul price">
|
||
<view class="li commodity_price"><text class="small">{{language['money']}}</text>{{good.price}}
|
||
</view>
|
||
<view class="option li"> ×{{good.total}}</view>
|
||
</view>
|
||
</view>
|
||
<view class="bottom">
|
||
<view class="evaluate">
|
||
<view class="span" data-itemid="{{item.id}}" data-good="{{good}}" catchtap="toComment">去评价</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<block wx:else>
|
||
<view class="nomessage">
|
||
没有更多了
|
||
</view>
|
||
</block>
|
||
</van-tab>
|
||
<van-tab title="已评价">
|
||
<block wx:if="{{comment.length>0}}">
|
||
<view wx:for="{{comment}}" wx:key="index">
|
||
<view class="goodsinfo" wx:for-item="good" wx:for-index="goodidx" wx:key="{{goodidx}}" wx:for="{{item.has_many_order_goods}}">
|
||
<view class="goods">
|
||
<view class="img">
|
||
<image src="{{good.thumb}}" mode='widthFix' />
|
||
</view>
|
||
<view class="warp">
|
||
<view class="top">
|
||
<view class="ul inner">
|
||
<view class="name li">{{good.title}}</view>
|
||
<view class="option li">规格: {{good.goods_option_title}}</view>
|
||
</view>
|
||
|
||
<view class="ul price">
|
||
<view class="li commodity_price"><text class="small">{{language['money']}}</text>{{good.price}}</view>
|
||
<view class="li option"> ×{{good.total}}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="butts">
|
||
<span catchtap="opration" class="span" data-good="{{good}}">查看评价</span>
|
||
<view
|
||
wx:for-item="btn" wx:for-index="btnindex" wx:key="{{btnindex}}" wx:for="{{good.buttons}}"
|
||
wx:if="{{btn.name != '查看评价'}}"
|
||
class="span {{btn.value==1?'add-evaluate':''}}"
|
||
catchtap="opration" data-good="{{good}}" data-btn="{{btn}}"
|
||
>{{btn.name}}</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<block wx:else>
|
||
<view class="nomessage">
|
||
没有更多了
|
||
</view>
|
||
</block>
|
||
</van-tab>
|
||
</van-tabs>
|
||
</view>
|
||
<!--<shopfoot></shopfoot>-->
|