nurseWeChatAppletUI/pages/lookrate/lookrate.vue
2022-12-27 09:22:42 +08:00

67 lines
1.6 KiB
Vue
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.

<template>
<view class="app">
<view class="content">
<view class="detailslist">
<image :src="baseurl+order.attributePitureUrl" mode=""></image>
<view class="model">
<view class="top">
<span>{{order.goodsName}}</span>
<span>{{order.goodsPrice}}</span>
</view>
<view class="bottom">
<span class="box">型号{{order.goodsAttributeName}}</span>
<span class="box">X{{order.goodsCount}}</span>
</view>
</view>
</view>
<view class="payinfo">
<text class="pay">实付款</text>
<text class="price">{{order.totalPrice}}</text>
</view>
</view>
<view class="rate">
<view class="itemimgs" v-for="(item,index) in ratelist.orderEvaluatePictureInfoList">
<image class="itemimg" :src="baseurl+item.evaluatePictureUrl" mode=""></image>
</view>
</view>
<view class="score">
<view class="title">
综合评分
</view>
<u-rate :count="count" v-model="ratelist.compositeScore" size='46' :disabled="true"></u-rate>
<view class="text">
<u-input v-model="ratelist.evaluateContent" type="textarea" placeholder=' ' :clearable='false'
:disabled="true" />
</view>
</view>
</view>
</template>
<script>
import {
lookrate
} from '@/api/lookrate/index.js'
import baseurl from '@/api/baseurl.js'
export default {
data() {
return {
baseurl: null,
order: null,
ratelist: null,
count: 5,
};
},
onLoad(options) {
this.baseurl = baseurl
this.order = JSON.parse(options.item)
lookrate(this.order.goOrderNo).then(res => {
this.ratelist = res.data
})
},
}
</script>
<style lang="scss">
@import './lookrate.scss';
</style>