yuminge-app/yun-min-program-plugin-master/packageD/member/myOrder/evaluate/evaluate.wxml

58 lines
2.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--pages/member/myOrder/evaluate/evaluate.wxml-->
<view class="evaluate">
<view class="shop">
<view class="add">
<view class="add_left">
<icon class="iconfont icon-icon_location"></icon>
</view>
<view class="ul add_center" wx:if="{{type === 'delivery'}}">
<view class="li">补货商:{{distributor.realname}} ({{distributor.mobile}})</view>
</view>
<view class="ul add_center" wx:if="{{type !== 'delivery'}}">
<view class="li">配送站:{{distributor.realname}} {{distributor.mobile}}</view>
</view>
</view>
<view class="goods" wx:for-item="good" wx:for="{{order_list}}" wx:key="index">
<view class="img">
<image src="{{good.thumb}}" mode='widthFix' />
</view>
<view class="warp">
<view class="ul inner">
<view class="li name">{{good.title}}</view>
<view class="li option" wx:if="{{good.goods_option_title}}">规格: {{good.goods_option_title}}</view>
</view>
<view class="ul price">
<view class="li product_price">
<text class="small">{{language['money']}}</text>{{good.gross_price}}
</view>
<view class="li option"> ×{{good.total}}</view>
</view>
</view>
</view>
<view class="pjall">
<view class="pj" wx:if="{{type === 'delivery'}}">
<text class="span span_1">评分:</text>
<van-rate value="{{level}}" bind:change="getStar" />
<text class="span">{{ratetext.text1}}</text>
</view>
<view class="pj" wx:if="{{type !== 'delivery'}}">
<text class="span span_1">满意度:</text>
<van-rate value="{{level}}" bind:change="getStar" />
<text class="span">{{ratetext.text1}}</text>
</view>
<view class="pj" wx:if="{{type !== 'delivery'}}">
<text class="span span_1"> 时效:</text>
<van-rate value="{{level2}}" bind:change="getStar_2" />
<text class="span">{{ratetext.text2}}</text>
</view>
<van-cell-group>
<van-field autosize="{{true}}" value="{{comment}}" type="textarea" placeholder="请输入评论内容" border="{{ false }}"
bind:change="commentChange" />
</van-cell-group>
</view>
</view>
<view class="submit-tbn">
<van-button type="danger" size="large" bind:click="toComment">提交评价</van-button>
</view>
</view>