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

73 lines
2.7 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/evaluate/evaluate.wxml-->
<view class="evaluate">
<view class="shop">
<view class="goods">
<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">规格: {{good.goods_option_title}}</view>
</view>
<view class="ul price">
<view class="li product_price"><text class="small">{{language['money']}}</text>{{good.goods_price}}</view>
<view class="li option"> ×{{good.total}}</view>
</view>
</view>
</view>
<view class="pjall">
<text style="width: 100%; text-align: left;"> 评论:</text>
<van-cell-group>
<van-field autosize="{{true}}" value="{{comment}}" type="textarea" placeholder="请输入评论内容" border="{{ false }}"
bind:change="commentChange" />
</van-cell-group>
<view class="section otherphoto">
<view class="top">
<view class="span">晒图:</view>
</view>
<view class="imgflex">
<block wx:for-item="val" wx:for="{{fileList4}}" wx:key="index">
<view class="photobox">
<image src="{{val.url}}" mode='widthFix' />
<view class="i" data-index="{{index}}" catchtap="removeImg_1"></view>
</view>
</block>
<view class="photoshow" catchtap="onRead_2">
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png" mode='widthFix' />
</view>
</view>
</view>
<view class="pj">
<view class="span_1">评分:</view>
<van-rate value="{{level}}" bind:change="getStar" />
<view class="span">{{ratetext}}</view>
</view>
<view class="pj" wx:if="{{good.is_install && good.is_install==1}}">
<view class="span_1">{{good.install_another_name.worker_name}}评价:</view>
<van-rate value="{{Installlevel}}" bind:change="getInstallStar" />
<view class="span">{{rateInstalltext}}</view>
</view>
</view>
</view>
<!-- wx:if="{{is_score_latitude}}" -->
<view class="score-box" >
<view class="pj">
<view class="span_1">描述/包装</view>
<van-rate value="{{describeScore}}" bind:change="changeOtherScore" data-param="describeScore" />
</view>
<view class="pj">
<view class="span_1">物流服务/配送</view>
<van-rate value="{{deliveryScore}}" bind:change="changeOtherScore" data-param="deliveryScore"/>
</view>
<view class="pj">
<view class="span_1">服务态度/质量</view>
<van-rate value="{{serviceScore}}" bind:change="changeOtherScore" data-param="serviceScore"/>
</view>
</view>
<view class="submit-tbn">
<van-button type="danger" data-good="{{good}}" size="large" bind:click="toComment">提交评价</van-button>
</view>
</view>