2022-03-17 07:49:07 +00:00
|
|
|
|
<template>
|
|
|
|
|
<view>
|
2022-03-18 07:11:46 +00:00
|
|
|
|
<status-nav navBarTitle="我要评价" returnColor="#c2c2c2"></status-nav>
|
|
|
|
|
<container-subgroup>
|
|
|
|
|
<view slot="content" style="margin: 0 -30rpx;">
|
|
|
|
|
<view class="bacf fon28 pad-sx30 pad-zy40">
|
2022-03-18 11:01:31 +00:00
|
|
|
|
<view class=" bold disjbac fw line-h50">
|
|
|
|
|
<view class="mar-y20">长沙XXXXXXXXX项目名称</view>
|
2022-03-18 07:11:46 +00:00
|
|
|
|
<view>GD20220108-1002</view>
|
|
|
|
|
</view>
|
2022-03-18 11:01:31 +00:00
|
|
|
|
<view class="mar-s10 mar-x30" style="color: #6b6a6a;">服务时间:2022-01-11 15 : 27</view>
|
2022-03-18 07:11:46 +00:00
|
|
|
|
<view class="radius20 pad30 dis" style="border: 2rpx solid #dcdcdc;">
|
|
|
|
|
<image src="/static/public/icon-evaluate-pen.png" mode="widthFix" lazy-load style="width: 25rpx;height: 30rpx;"></image>
|
2022-03-18 11:01:31 +00:00
|
|
|
|
<textarea v-model="serviceExperience" class="fon24 mar-z20 width100" style="height: 200rpx;" placeholder="写下您的服务体验,帮助我们更好的管理提升" placeholder-style="font-size:24rpx;color: #aaaaaa;" />
|
2022-03-18 07:11:46 +00:00
|
|
|
|
</view>
|
|
|
|
|
<view class="fon30 bold mar-sx30">上传图片</view>
|
|
|
|
|
<view class="disac">
|
2022-03-18 11:01:31 +00:00
|
|
|
|
<view @tap="chooseImg(index)" class="mar-y20" v-for="(item,index) in imgList" :key="index" style="background-color: #dcdcdc;">
|
2022-03-18 07:11:46 +00:00
|
|
|
|
<view v-if="item.imgsrc==''" class="evaluate-addimg" style="width: 142rpx;height: 142rpx;"></view>
|
2022-03-18 11:01:31 +00:00
|
|
|
|
<image v-else :src="item.imgsrc" mode="aspectFill" lazy-load style="width: 142rpx;height: 142rpx;vertical-align: middle;"></image>
|
2022-03-18 07:11:46 +00:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2022-03-18 11:01:31 +00:00
|
|
|
|
<view class="bacf fon28 pad-sx30 pad-zy40 mar-s20">
|
|
|
|
|
<view class="fon30 bold mar-sx30">您的评价</view>
|
|
|
|
|
<view class="mar-s40 mar-x50" style="color: #545454;">
|
|
|
|
|
<view class="mar-x40 disac"><text class="mar-y40">技术服务</text><rate :size="42" :gutter="40" :curentClick="0" v-model="rateNum" @change="chooseRate"></rate></view>
|
|
|
|
|
<view class="disac"><text class="mar-y40">客服态度</text><rate :size="42" :gutter="40" :curentClick="1" v-model="attitudeNum" @change="chooseRate"></rate></view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 提交保存 -->
|
|
|
|
|
<view class="person-btn" style="margin-top: 50rpx;">提交保存</view>
|
2022-03-18 07:11:46 +00:00
|
|
|
|
</view>
|
|
|
|
|
</container-subgroup>
|
2022-03-17 07:49:07 +00:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2022-03-18 11:01:31 +00:00
|
|
|
|
import rate from '@/components/rate.vue';
|
2022-03-17 07:49:07 +00:00
|
|
|
|
export default {
|
2022-03-18 11:01:31 +00:00
|
|
|
|
components:{
|
|
|
|
|
rate
|
|
|
|
|
},
|
2022-03-17 07:49:07 +00:00
|
|
|
|
data() {
|
|
|
|
|
return {
|
2022-03-18 11:01:31 +00:00
|
|
|
|
imgList:[//上传图片数组
|
2022-03-18 07:11:46 +00:00
|
|
|
|
{imgsrc:''},
|
|
|
|
|
{imgsrc:''},
|
|
|
|
|
{imgsrc:''}
|
2022-03-18 11:01:31 +00:00
|
|
|
|
],
|
|
|
|
|
rateNum:5,//技术服务评分
|
|
|
|
|
attitudeNum:5,//客服态度评分
|
|
|
|
|
serviceExperience:''//服务体验
|
2022-03-17 07:49:07 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
2022-03-18 11:01:31 +00:00
|
|
|
|
// 选择图片
|
|
|
|
|
chooseImg(index){
|
|
|
|
|
uni.chooseImage({
|
|
|
|
|
count:1,
|
|
|
|
|
sourceType:['album','camera'],
|
|
|
|
|
sizeType:['compressed'],
|
|
|
|
|
success: (res) => {
|
|
|
|
|
this.imgList[index].imgsrc = res.tempFilePaths[0];
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
chooseRate(arr){
|
|
|
|
|
switch (arr[1]){
|
|
|
|
|
case 0:
|
|
|
|
|
this.rateNum = arr[0];
|
|
|
|
|
break;
|
|
|
|
|
case 1:
|
|
|
|
|
this.attitudeNum = arr[0];
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
},
|
2022-03-17 07:49:07 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
|
|
</style>
|