newRevisit.vue 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133
  1. <template>
  2. <view>
  3. <!-- 头部背景 -->
  4. <view class="title"
  5. style="background: url('https://mall.zhaijieshi.cc/file/wx-huawang/bj5.png') no-repeat center center; height: 196rpx;">
  6. <view class="title-wenzi">
  7. 花王保洁客户回访
  8. </view>
  9. </view>
  10. <view class="top-block">
  11. <view class="title">尊敬的客户,您的反馈是我们提供更好的服务的基石:</view>
  12. <view class="slogan">您的满意是我们服务第一优先级</view>
  13. </view>
  14. <!-- 服务信息 -->
  15. <view class="service-block">
  16. <view class="title">
  17. <view>服务信息</view>
  18. </view>
  19. <view class="content">
  20. <view class="service-times">
  21. {{ tradeOrder.serviceNumber }}
  22. </view>
  23. <view class="item">
  24. <text>服务内容:</text>
  25. {{ tradeOrder.itemName }}
  26. </view>
  27. <view class="item">
  28. <text>服务时间:</text>
  29. {{ tradeOrder.beginDate }} {{ tradeOrder.serviceTime }}
  30. </view>
  31. <!-- <view class="item">
  32. <text>服务人员:</text>
  33. {{ tradeOrder.workerName }}
  34. </view> -->
  35. </view>
  36. </view>
  37. <view class="duoren" v-if="bookServantList.length>1">
  38. <text>本次服务为多人服务,请为每位服务者评价</text>
  39. </view>
  40. <view v-for="(bk, bkindex) in bookServantList" :key="bkindex">
  41. <!-- 是否满意 -->
  42. <view class="service-satisfy">
  43. <view class="satisfy-title">
  44. <view class="dot"></view>
  45. <!-- <view class="text">您对本次的服务是否满意?</view> -->
  46. <view class="name">服务者[{{bk.workerName}}]</view>
  47. <view class="skill">服务项目:{{bk.skillName}}</view>
  48. <view class="msg">已对服务者匿名</view>
  49. </view>
  50. <view class="satisfy-select">
  51. <view data-satisfy="1" :class="bk.satisfy == '1' ? 'yes' : ''" @tap="selectSatisfy(1,bk)">满意</view>
  52. <view data-satisfy="2" :class="bk.satisfy == '2' ? 'no' : ''" @tap="selectSatisfy(2,bk)">不满意</view>
  53. <view data-satisfy="3" :class="bk.satisfy == '3' ? 'common' : ''" @tap="selectSatisfy(3,bk)">一般</view>
  54. </view>
  55. <!-- 满意 -->
  56. <view class="satisfy-result" v-if="bk.satisfy == 1">
  57. <view>感谢您的认可,您的认可是我们前行的动力! 如果有需求,您可以长期购买周期单,可以指定阿姨,价格更优惠!</view>
  58. </view>
  59. <!-- 一般 -->
  60. <view class="satisfy-common" v-if="bk.satisfy == 3">诚邀您对我们提出宝贵意见,我们会积极改进,为您提供更好的服务。</view>
  61. <!-- 不满意 -->
  62. <view class="satisfy-common" v-if="bk.satisfy == 2">抱歉给您带来不好的服务体验,我们的工作人员会在第一时间联系您提供后续服务!</view>
  63. </view>
  64. <!-- 一般备注 -->
  65. <view class="remark-wrapper" v-if="bk.satisfy == 3">
  66. <view class="tips">1. 请输入您想和我们说的话:</view>
  67. <textarea @input="remarkInput" :data-idx="bkindex" placeholder="感谢您的耐心与支持" class="textarea" :value="bk.remark"
  68. placeholder-style="color: #E8E8E8;font-size:30rpx;" />
  69. </view>
  70. <!-- 题目 -->
  71. <view class="topic-block" v-if="bk.satisfy == 2">
  72. <!-- 题目选择 -->
  73. <view class="topic-item">
  74. <view class="issue">1. 请选择您发现的问题?</view>
  75. <view class="answer">
  76. <view :class="(item.checked ? 'selected-answer' : 'common-answer') + ' answer-item'"
  77. :data-checked="item.checked" :data-index="index" @tap="questionClick(bk,index,item.checked,bkindex)"
  78. v-for="(item, index) in bk.consultList" :key="index">
  79. {{ item.name }}
  80. </view>
  81. </view>
  82. </view>
  83. <view class="topic-item" v-for="(item1, index1) in bk.questionList" :key="index1">
  84. <view class="issue">
  85. <view class="dot"></view>
  86. <view>
  87. <text>{{ item1.name }}</text>
  88. <text class="refer">具体问题</text>
  89. </view>
  90. </view>
  91. <view class="answer">
  92. <view :class="(item1.consultId == item2.id ? 'selected-answer' : 'common-answer') + ' answer-item'"
  93. :data-id="item2.id" :data-answer="item2.name" :data-index1="index1" @tap="answerClick(bk,item2.id,item2.name,index1,bkindex)"
  94. v-for="(item2, index2) in item1.children" :key="index2">
  95. {{ item2.name }}
  96. </view>
  97. </view>
  98. </view>
  99. </view>
  100. <view class="remark-wrapper" v-if="bk.satisfy == 2">
  101. <view class="tips">2. 请输入具体问题描述:</view>
  102. <textarea @input="detailInput" :data-idx="bkindex" placeholder="感谢您的耐心与支持" class="textarea" :value="bk.detail"
  103. placeholder-style="color: #E8E8E8;font-size:30rpx;" />
  104. <!-- 图片上传 -->
  105. <view class="upload-wrapper">
  106. <view class="img-item" v-for="(item, index) in bk.imgList" :key="index">
  107. <image mode="aspectFill" :src="item" class="user-upload" @tap="previewImg(bk.imgList,item)" :data-img="item"></image>
  108. <image class="close-img" mode="aspectFill" src="/static/images/icon-close.png" @tap="delImg(bk,index)"
  109. :data-index="index"></image>
  110. </view>
  111. <view class="upload" @tap="uploadImg(bk.imgList)">
  112. <image mode="aspectFill" src="/static/images/icon-add.png"></image>
  113. <view>上传照片</view>
  114. </view>
  115. </view>
  116. </view>
  117. </view>
  118. <view class="submit-btn" @tap="sumitRevisit" v-if="!isFinished && isCanSumit">提交</view>
  119. <view class="submit-btn disable-btn" v-else>提交</view>
  120. <!-- 展示弹框 -->
  121. <van-overlay :show="showOverLay" @click="onClickHide" z-index=999 root-portal='true'>
  122. <view class="overLay-block">
  123. <view class="title-icon">
  124. <image src="https://mall.zhaijieshi.cc/file/wx-huawang/g.png" style="height:91rpx;width: 129rpx;">
  125. </image>
  126. </view>
  127. <text class="tips-content">
  128. 满意度提交成功
  129. </text>
  130. <text class="tips-content1">您的反馈,是我们提升的最大动力~</text>
  131. </view>
  132. </van-overlay>
  133. <!-- 加企微 -->
  134. <view v-if="qrImg"
  135. style="display: flex; align-items: center; height: 100%; justify-content: center; flex-direction: column">
  136. <view class="qr-title">
  137. <div class="sub-title2">鲸致生活管家</div>
  138. <div style="padding: 20rpx; height: 400rpx">
  139. <image class="qrcode" :show-menu-by-longpress="true" :src="qrImg" />
  140. </div>
  141. <text class="qr-title1" v-if="qrImg">长按识别二维码</text>
  142. <text class="qr-title2" v-if="qrImg">添加我的企业微信</text>
  143. </view>
  144. </view>
  145. <!-- 手机号一键授权 -->
  146. <view v-if="loginShow" @tap="onOverlayHide">
  147. <view class="wrapper">
  148. <view class="block">
  149. <button class="submit-btn" open-type="getPhoneNumber"
  150. @getphonenumber="getPhoneNumber">手机号一键登录</button>
  151. </view>
  152. </view>
  153. </view>
  154. </view>
  155. </template>
  156. <script>
  157. const util = require('../../../utils/util.js');
  158. const api = require('../../../config/api.js');
  159. //获取应用实例
  160. const app = getApp();
  161. export default {
  162. data() {
  163. return {
  164. consultList: [],
  165. questionList: [],
  166. imgList: [],
  167. remark: '',
  168. detail: '',
  169. satisfy: '',
  170. bookTradeNo: '',
  171. type: '',
  172. isFinished: false,
  173. tradeOrder: {
  174. itemName: '',
  175. serviceNumber: '',
  176. beginDate: '',
  177. serviceTime: '',
  178. workerName: ''
  179. },
  180. bookServantList:[],
  181. code: '',
  182. loginShow: false,
  183. isCanSumit: false,
  184. //加企微二维码
  185. qrImg: '',
  186. obj1: '',
  187. obj2: '',
  188. isUnMask: '',
  189. showOverLay: false,
  190. orderId: ''
  191. };
  192. },
  193. onLoad: function(options) {
  194. console.log('options', options);
  195. if (options) {
  196. this.setData({
  197. bookTradeNo: options.id ? options.id : ''
  198. // type:options.type
  199. });
  200. }
  201. if (options.scene != undefined && options.scene != '') {
  202. let scene = decodeURIComponent(options.scene);
  203. this.setData({
  204. bookTradeNo: scene.split(',')[1]
  205. // type:options.type
  206. });
  207. }
  208. this.getOrderDetail();
  209. },
  210. /**
  211. * 生命周期函数--监听页面显示
  212. */
  213. onShow: function(options) {
  214. // this.getOrderDetail();
  215. },
  216. methods: {
  217. getOrderDetail() {
  218. util.request(
  219. api.getTradeOrderList, {
  220. bookDetailId: this.bookTradeNo
  221. },
  222. 'GET'
  223. )
  224. .then((res) => {
  225. if (res.errno === 0) {
  226. console.log(res);
  227. let svlist=res.data.bookServantList;
  228. svlist.forEach(s=>{
  229. s.consultList= [];
  230. s.questionList= [];
  231. s.imgList= [];
  232. s.satisfy= '';
  233. s.detail='';
  234. s.remark='';
  235. })
  236. this.setData({
  237. tradeOrder: res.data,
  238. isCanSumit: true,
  239. qrImg: res.data.qrUrl,
  240. orderId: res.data.orderId,
  241. bookServantList:svlist
  242. });
  243. // 获取题目
  244. this.getConsoultType();
  245. } else {
  246. uni.showToast({
  247. title: res.errmsg,
  248. icon: 'none',
  249. duration: 2000
  250. });
  251. }
  252. })
  253. .catch((err) => {
  254. console.log(err);
  255. });
  256. },
  257. getConsoultType() {
  258. util.request(
  259. api.getConsoultType, {
  260. type: this.tradeOrder.goodsType
  261. },
  262. 'GET'
  263. )
  264. .then((res) => {
  265. if (res.errno === 0) {
  266. console.log(res);
  267. let list = res.data[0].children;
  268. list.forEach((item) => {
  269. item.checked = false;
  270. });
  271. this.setData({
  272. consultList: list
  273. });
  274. this.bookServantList.forEach(s=>{
  275. s.consultList=JSON.parse(JSON.stringify(list));;
  276. })
  277. } else {
  278. uni.showToast({
  279. title: res.errmsg,
  280. icon: 'none',
  281. duration: 2000
  282. });
  283. }
  284. })
  285. .catch((err) => {
  286. console.log(err);
  287. });
  288. },
  289. questionClick(row,index,checked,bkindex) {
  290. console.log(row,index,checked);
  291. let dd=this.bookServantList;
  292. dd[bkindex].consultList[index].checked= !checked;
  293. let current = row.consultList.filter((item) => {
  294. return item.checked;
  295. });
  296. dd[bkindex].questionList=current;
  297. this.setData({
  298. bookServantList: dd
  299. });
  300. console.log(current);
  301. // let checked = e.currentTarget.dataset.checked;
  302. // let index = e.currentTarget.dataset.index;
  303. // let item = `consultList[${index}].checked`;
  304. // this.setData({
  305. // [item]: !checked
  306. // });
  307. // let current = this.consultList.filter((item) => {
  308. // return item.checked;
  309. // });
  310. // this.setData({
  311. // questionList: current
  312. // });
  313. },
  314. selectSatisfy(type,row) {
  315. console.log(row)
  316. row.satisfy=type;
  317. // let result = e.currentTarget.dataset.satisfy;
  318. // this.setData({
  319. // satisfy: result
  320. // });
  321. },
  322. remarkInput(e) {
  323. console.log(e);
  324. let dd=this.bookServantList;
  325. dd[e.currentTarget.dataset.idx].remark=e.detail.value;
  326. this.setData({
  327. bookServantList:dd
  328. });
  329. // this.setData({
  330. // remark: e.detail.value
  331. // });
  332. },
  333. detailInput(e) {
  334. console.log(e);
  335. let dd=this.bookServantList;
  336. dd[e.currentTarget.dataset.idx].detail=e.detail.value;
  337. this.setData({
  338. bookServantList:dd
  339. });
  340. console.log(dd[e.currentTarget.dataset.idx].detail);
  341. // this.setData({
  342. // detail: e.detail.value
  343. // });
  344. },
  345. previewImg(imgList,item) {
  346. uni.previewImage({
  347. current: item,
  348. // 当前显示图片的http链接
  349. urls: imgList // 需要预览的图片http链接列表
  350. });
  351. // let img = e.currentTarget.dataset.img;
  352. // let imgs = this.imgList;
  353. // uni.previewImage({
  354. // current: img,
  355. // // 当前显示图片的http链接
  356. // urls: imgs // 需要预览的图片http链接列表
  357. // });
  358. },
  359. delImg(e) {
  360. let imgs = row.imgList;
  361. // let index = e.currentTarget.dataset.index;
  362. imgs.splice(index, 1);
  363. // this.setData({
  364. // imgList: imgs
  365. // });
  366. },
  367. uploadImg(listimg) {
  368. if (listimg.length >= 9) {
  369. uni.showToast({
  370. title: '最多上传9张图片',
  371. icon: 'none',
  372. duration: 2000
  373. });
  374. return false;
  375. }
  376. let that = this;
  377. let count = 9 - listimg.length;
  378. uni.chooseImage({
  379. count: count,
  380. sizeType: ['original', 'compressed'],
  381. sourceType: ['album', 'camera'],
  382. success: function (res) {
  383. console.log(res);
  384. let tempFilePaths = res.tempFilePaths;
  385. // for(let i=0;i<tempFilePaths.length;i++){
  386. // if(imgs.length>=9){
  387. // that.setData({
  388. // imgList:imgs
  389. // });
  390. // return false;
  391. // }else{
  392. // imgs.push(tempFilePaths[i]);
  393. // }
  394. // }
  395. // that.setData({
  396. // imgList:imgs
  397. // });
  398. // console.log(that.data.imgList);
  399. uni.showLoading({
  400. title: '上传中...'
  401. });
  402. for (let i = 0; i < tempFilePaths.length; i++) {
  403. let imgs = listimg;
  404. if (imgs.length >= 9) {
  405. // that.setData({
  406. // imgList: imgs
  407. // });
  408. return false;
  409. } else {
  410. uni.uploadFile({
  411. url: api.StorageUpload,
  412. filePath: tempFilePaths[i],
  413. name: 'file',
  414. success(res) {
  415. console.log(res);
  416. let data = JSON.parse(res.data);
  417. if (data.errno == 0) {
  418. imgs.push(data.data.url);
  419. // that.setData({
  420. // imgList: imgs
  421. // });
  422. } else {
  423. console.log('上传失败');
  424. }
  425. }
  426. });
  427. }
  428. }
  429. uni.hideLoading();
  430. }
  431. });
  432. },
  433. answerClick(row,id,answer,index1,index) {
  434. let dd=this.bookServantList;
  435. dd[index].questionList[index1].consultId=id;
  436. dd[index].questionList[index1].consultName=answer;
  437. this.setData({
  438. bookServantList:dd
  439. });
  440. console.log(row.questionList);
  441. // let index1 = e.currentTarget.dataset.index1;
  442. // let answer = e.currentTarget.dataset.answer;
  443. // let id = e.currentTarget.dataset.id;
  444. // let obj1 = `questionList[${index1}].consultId`;
  445. // let obj2 = `questionList[${index1}].consultName`;
  446. // this.setData({
  447. // [obj1]: id,
  448. // [obj2]: answer
  449. // });
  450. // console.log(this.questionList);
  451. },
  452. maskClick(e) {
  453. let answer = e.currentTarget.dataset.answer;
  454. this.setData({
  455. isUnMask: answer
  456. });
  457. },
  458. getPhoneNumber(e) {
  459. console.log(e.detail);
  460. let params = {
  461. // type:'保洁',
  462. code: this.code,
  463. encryptedData: e.detail.encryptedData,
  464. iv: e.detail.iv,
  465. bookTradeNo: this.bookTradeNo
  466. };
  467. util.request(api.loginCusTel, params, 'POST').then((res) => {
  468. if (res.errno === 0) {
  469. console.log(res);
  470. this.setData({
  471. loginShow: false
  472. });
  473. if (res.data.tradeOrder == null || res.data.tradeOrder == '') {
  474. uni.showToast({
  475. title: '您还没有购买过任何商品,如有疑问,欢迎咨询4009218787',
  476. icon: 'none',
  477. duration: 2000
  478. });
  479. } else {
  480. this.setData({
  481. tradeOrder: res.data.tradeOrder
  482. });
  483. this.getConsoultType();
  484. }
  485. } else {
  486. this.setData({
  487. loginShow: true
  488. });
  489. uni.showToast({
  490. title: res.errmsg,
  491. icon: 'none',
  492. duration: 2000
  493. });
  494. let that = this;
  495. uni.login({
  496. success(res) {
  497. console.log(res);
  498. if (res.code) {
  499. that.setData({
  500. code: res.code
  501. });
  502. }
  503. }
  504. });
  505. }
  506. });
  507. },
  508. sumitRevisit() {
  509. let req=[];
  510. let that =this;
  511. // this.bookServantList.forEach(sv=>{
  512. for(let k=0;k<this.bookServantList.length;k++){
  513. let sv=this.bookServantList[k];
  514. let params = {
  515. detailServantId:sv.detailServantId,
  516. bookTime: sv.bookTime,
  517. bookTradeNo: that.tradeOrder.bookTradeNo,
  518. cusTel: that.tradeOrder.cusPhone,
  519. degree: sv.satisfy,
  520. type: that.tradeOrder.goodsType,
  521. worderNo: sv.workerNo,
  522. workerName: sv.workerName
  523. };
  524. if(sv.satisfy==''){
  525. uni.showToast({
  526. title: '辛苦您为每位服务者进行评价~',
  527. icon: 'none',
  528. duration: 2000
  529. });
  530. return false;
  531. }
  532. if (sv.satisfy == 2) {
  533. let isEmpty = sv.questionList.some((item) => {
  534. return item.consultId == undefined || item.consultId == '';
  535. });
  536. if (isEmpty) {
  537. uni.showToast({
  538. title: '请选择具体问题',
  539. icon: 'none',
  540. duration: 2000
  541. });
  542. return false;
  543. } else if (sv.detail == '') {
  544. uni.showToast({
  545. title: '请输入具体问题描述',
  546. icon: 'none',
  547. duration: 2000
  548. });
  549. return false;
  550. } else {
  551. let title = [];
  552. let titleId = [];
  553. let consultId = [];
  554. let consultName = [];
  555. sv.questionList.forEach((item) => {
  556. title.push(item.name);
  557. titleId.push(item.id);
  558. consultId.push(item.consultId);
  559. consultName.push(item.consultName);
  560. });
  561. params.title = title.join(',');
  562. params.titleId = titleId.join(',');
  563. params.consultId = consultId.join(',');
  564. params.consultName = consultName.join(',');
  565. params.question = sv.detail;
  566. params.imgSrc = sv.imgList.join(',');
  567. }
  568. } else if (sv.satisfy == 3) {
  569. if (sv.remark == '') {
  570. uni.showToast({
  571. title: '请填写建议',
  572. icon: 'none',
  573. duration: 2000
  574. });
  575. return false;
  576. } else {
  577. params.question = sv.remark;
  578. }
  579. }
  580. req.push(params);
  581. }
  582. uni.showLoading({
  583. title: '加载中...'
  584. });
  585. console.log(req);
  586. util.request(api.saveVisitBatch, req, 'POST')
  587. .then((res) => {
  588. uni.hideLoading();
  589. if (res.errno === 0) {
  590. console.log(res);
  591. uni.showToast({
  592. title: '提交成功',
  593. icon: 'success',
  594. duration: 2000
  595. });
  596. this.setData({
  597. isFinished: true
  598. });
  599. } else {
  600. uni.showToast({
  601. title: res.errmsg,
  602. icon: 'none',
  603. duration: 2000
  604. });
  605. }
  606. })
  607. .catch((err) => {
  608. uni.hideLoading();
  609. });
  610. },
  611. goDetail() {
  612. uni.navigateTo({
  613. url: '/pages/qwOrderDetail/qwOrderDetail?payId=' + this.tradeOrder.payId
  614. });
  615. },
  616. onClickHide() {
  617. this.setData({
  618. showOverLay: false
  619. })
  620. },
  621. onOverlayHide() {}
  622. }
  623. };
  624. </script>
  625. <style>
  626. page {
  627. background: #f3f3f3;
  628. padding-bottom: 80rpx;
  629. color: #333;
  630. }
  631. view,
  632. text {
  633. font-size: 30rpx;
  634. }
  635. .top-img {
  636. width: 750rpx;
  637. height: 178rpx;
  638. display: block;
  639. }
  640. .top-block {
  641. margin: 12rpx 0 12rpx;
  642. background: #ffffff;
  643. padding: 24rpx 24rpx 14rpx;
  644. }
  645. .top-block .title {
  646. line-height: 42rpx;
  647. height: 42rpx;
  648. white-space: nowrap;
  649. }
  650. .top-block .slogan {
  651. height: 42rpx;
  652. line-height: 42rpx;
  653. color: #999;
  654. margin-top: 12rpx;
  655. }
  656. .bottom-img {
  657. position: fixed;
  658. bottom: 0;
  659. left: 0;
  660. right: 0;
  661. width: 750rpx;
  662. }
  663. .service-satisfy {
  664. padding: 24rpx 24rpx 34rpx;
  665. background: #fff;
  666. margin: 0 0 24rpx;
  667. }
  668. .satisfy-title {
  669. height: 48rpx;
  670. display: flex;
  671. align-items: center;
  672. }
  673. .satisfy-title .dot {
  674. width: 12rpx;
  675. height: 12rpx;
  676. background: #d77958;
  677. border-radius: 12rpx;
  678. margin-right: 16rpx;
  679. }
  680. .satisfy-title .text {
  681. font-size: 34rpx;
  682. line-height: 48rpx;
  683. }
  684. .satisfy-title .name {
  685. font-size: 36rpx;
  686. line-height: 48rpx;
  687. font-weight: bold;
  688. }
  689. .satisfy-title .skill {
  690. font-size: 26rpx;
  691. /* line-height: 48rpx; */
  692. margin-left: 20rpx;
  693. width:300rpx;
  694. overflow: hidden;
  695. color:#A9A9A9;
  696. }
  697. .satisfy-title .msg {
  698. font-size: 26rpx;
  699. /* line-height: 48rpx; */
  700. width:200rpx;
  701. position: absolute;
  702. right:0;
  703. color:#A9A9A9;
  704. }
  705. .satisfy-select {
  706. margin: 24rpx 0;
  707. display: flex;
  708. height: 72rpx;
  709. justify-content: space-between;
  710. }
  711. .satisfy-select view {
  712. width: 218rpx;
  713. height: 72rpx;
  714. line-height: 72rpx;
  715. background: #f5f5f5;
  716. border-radius: 8rpx;
  717. text-align: center;
  718. }
  719. .satisfy-select view.yes {
  720. background-size: 40rpx 32rpx;
  721. background-color: #feebd7;
  722. color: #333;
  723. }
  724. .satisfy-select view.no {
  725. background-size: 40rpx 32rpx;
  726. background-color: #fff1f0;
  727. color: #f5222d;
  728. }
  729. .satisfy-select view.common {
  730. background-size: 40rpx 32rpx;
  731. background-color: #f0f5ff;
  732. color: rgba(0, 0, 0, 0.45);
  733. }
  734. .satisfy-result view {
  735. line-height: 46rpx;
  736. color: #999;
  737. }
  738. .satisfy-result image {
  739. margin: 6rpx 0 -34rpx;
  740. width: 702rpx;
  741. height: 142rpx;
  742. }
  743. .satisfy-common {
  744. color: #999;
  745. line-height: 46rpx;
  746. }
  747. .remark-wrapper {
  748. padding: 24rpx;
  749. background: #fff;
  750. margin-bottom: 24rpx;
  751. }
  752. .remark-wrapper .tips {
  753. font-size: 34rpx;
  754. line-height: 48tpx;
  755. margin-bottom: 18rpx;
  756. }
  757. .remark-wrapper .textarea {
  758. width: 702rpx;
  759. height: 174rpx;
  760. border-radius: 12rpx;
  761. border: 1rpx solid #dadada;
  762. padding: 12rpx 12rpx 12rpx 24rpx;
  763. line-height: 42rpx;
  764. box-sizing: border-box;
  765. color: #666;
  766. }
  767. .upload-wrapper {
  768. margin: 18rpx -20rpx 56rpx 0;
  769. display: flex;
  770. flex-wrap: wrap;
  771. }
  772. .upload {
  773. width: 160rpx;
  774. height: 160rpx;
  775. background: #fafafa;
  776. border-radius: 2rpx;
  777. border: 1rpx solid #d9d9d9;
  778. display: flex;
  779. align-items: center;
  780. flex-direction: column;
  781. justify-content: center;
  782. margin-right: 16rpx;
  783. box-sizing: border-box;
  784. }
  785. .upload image {
  786. width: 38rpx;
  787. height: 38rpx;
  788. margin-bottom: 22rpx;
  789. }
  790. .upload view {
  791. font-weight: 400;
  792. color: #c5c3c3;
  793. line-height: 48rpx;
  794. font-size: 26rpx;
  795. }
  796. .img-item {
  797. width: 160rpx;
  798. height: 160rpx;
  799. background: #fff;
  800. border-radius: 2rpx;
  801. border: 1rpx solid #d9d9d9;
  802. margin: 0 20rpx 24rpx 0;
  803. padding: 8rpx;
  804. position: relative;
  805. box-sizing: border-box;
  806. }
  807. .img-item .user-upload {
  808. width: 144rpx;
  809. height: 144rpx;
  810. }
  811. .img-item .close-img {
  812. width: 28rpx;
  813. height: 28rpx;
  814. position: absolute;
  815. top: 0;
  816. right: 0;
  817. }
  818. .service-block {
  819. margin-bottom: 10rpx;
  820. background: #fff;
  821. font-size: 30rpx;
  822. }
  823. .service-block .title {
  824. height: 90rpx;
  825. line-height: 90rpx;
  826. padding: 0 24rpx;
  827. border-bottom: 1rpx solid #eeeeee;
  828. display: flex;
  829. align-items: center;
  830. justify-content: space-between;
  831. }
  832. view.view-detail {
  833. color: #d77958;
  834. font-size: 28rpx;
  835. }
  836. .service-block .content {
  837. padding: 20rpx 24rpx;
  838. position: relative;
  839. }
  840. .service-block .item {
  841. line-height: 56rpx;
  842. color: #666;
  843. }
  844. .service-block .item text {
  845. color: #999;
  846. }
  847. .service-times {
  848. position: absolute;
  849. top: 22rpx;
  850. right: 48rpx;
  851. color: #666;
  852. }
  853. .topic-block {}
  854. .topic-item {
  855. padding: 24rpx 24rpx 32rpx;
  856. background: #fff;
  857. margin-bottom: 12rpx;
  858. font-size: 34rpx;
  859. }
  860. .topic-item .issue {
  861. /* height: 48rpx; */
  862. line-height: 48rpx;
  863. margin-bottom: 22rpx;
  864. display: flex;
  865. }
  866. .issue .dot {
  867. width: 12rpx;
  868. height: 12rpx;
  869. background: #d77958;
  870. border-radius: 12rpx;
  871. margin-right: 12rpx;
  872. margin-top: 18rpx;
  873. }
  874. .issue text {
  875. font-size: 34rpx;
  876. }
  877. .issue .refer {
  878. color: #c5c5c5;
  879. margin-left: 12rpx;
  880. font-size: 30rpx;
  881. font-weight: 400;
  882. }
  883. .topic-item .answer {
  884. flex-wrap: wrap;
  885. display: flex;
  886. }
  887. .answer .answer-item {
  888. min-width: 160rpx;
  889. padding: 0 20rpx;
  890. height: 72rpx;
  891. line-height: 72rpx;
  892. border-radius: 8rpx;
  893. text-align: center;
  894. color: #333;
  895. font-size: 28rpx;
  896. margin: 0 20rpx 24rpx 0;
  897. box-sizing: border-box;
  898. }
  899. .answer .common-answer {
  900. background: #f5f5f5;
  901. color: #333;
  902. }
  903. .topic-item .answer .selected-answer {
  904. background: url('https://mall.zhaijieshi.cc/file/wx-huawang/gou.png') no-repeat right bottom;
  905. background-size: 40rpx 32rpx;
  906. background-color: #feebd7;
  907. color: #d77958;
  908. }
  909. .submit-btn {
  910. width: 702rpx;
  911. height: 88rpx;
  912. background: #d77958;
  913. border-radius: 88rpx;
  914. margin: 0 24rpx 60rpx;
  915. line-height: 88rpx;
  916. font-size: 32rpx;
  917. color: #fff;
  918. text-align: center;
  919. margin-top: 100rpx;
  920. }
  921. .submit-btn.disable-btn {
  922. background: #ccc;
  923. box-shadow: 4rpx 4rpx 10rpx 0rpx rgba(201, 205, 207, 0.25);
  924. }
  925. .topic-item .answer.unmask {
  926. justify-content: flex-start;
  927. }
  928. .topic-item .answer.unmask view {
  929. margin-right: 24rpx;
  930. }
  931. .wrapper {
  932. display: flex;
  933. align-items: center;
  934. justify-content: center;
  935. height: 100%;
  936. }
  937. .block {
  938. width: 700rpx;
  939. height: 300rpx;
  940. padding-top: 200rpx;
  941. background-color: #fff;
  942. border-radius: 20rpx;
  943. }
  944. .block .submit-btn {
  945. width: 600rpx;
  946. margin: 0 50rpx 0;
  947. }
  948. .qr-title {
  949. padding: 20rpx 0;
  950. display: flex;
  951. flex-direction: column;
  952. justify-content: center;
  953. align-items: center;
  954. /* background-image: url("https://7a68-zhaijieshi-3guecm78383ca692-1307626841.tcb.qcloud.la/wx/img/bk.png"); */
  955. background-size: 100% 100%;
  956. width: 575rpx;
  957. margin-top: -50px;
  958. }
  959. .qr-title1 {
  960. height: 22px;
  961. line-height: 22px;
  962. font-size: 15px;
  963. font-weight: 400;
  964. /* color: #8E9499; */
  965. margin: 10rpx 0;
  966. letter-spacing: 8rpx;
  967. }
  968. .qr-title2 {
  969. height: 24px;
  970. font-size: 15px;
  971. line-height: 25px;
  972. font-weight: 400;
  973. /* color: #8E9499; */
  974. }
  975. .sub-title2 {
  976. height: 34px;
  977. line-height: 34px;
  978. font-size: 20px;
  979. color: #000000;
  980. margin: 10rpx 0;
  981. font-weight: 600;
  982. margin-top: 20px;
  983. }
  984. .qrcode {
  985. width: 393rpx;
  986. height: 393rpx;
  987. }
  988. .title-wenzi {
  989. font-size: 54rpx;
  990. color: #FFFFFF;
  991. text-shadow: 0px 4px 7px #AE6B2B;
  992. padding: 83rpx 0 0 38rpx;
  993. font-style: normal;
  994. }
  995. .overLay-block {
  996. width: 652rpx;
  997. height: 538rpx;
  998. background-color: #fff;
  999. position: absolute;
  1000. top: 50%;
  1001. left: 50%;
  1002. transform: translate(-50%,-50%);
  1003. border-radius: 16rpx;
  1004. }
  1005. .title-icon {
  1006. padding: 60rpx 272rpx;
  1007. height: 255rpx;
  1008. background: #d77958;
  1009. border-radius: 16rpx 16rpx 0 0;
  1010. background: url('https://mall.zhaijieshi.cc/file/wx-huawang/bj3.png') no-repeat center center;
  1011. background-size: 100% 102%;
  1012. }
  1013. .tips-content {
  1014. font-weight: bold;
  1015. font-size: 36rpx;
  1016. display: block;
  1017. width: 574rpx;
  1018. text-align: center;
  1019. margin: 32rpx 40rpx;
  1020. }
  1021. .tips-content1 {
  1022. color: #999;
  1023. display: block;
  1024. margin-left: 112rpx;
  1025. font-size: 29rpx;
  1026. }
  1027. .duoren{
  1028. background-color: #feebd7;
  1029. color: #d77958;
  1030. padding-left: 20rpx;
  1031. margin-top: 8rpx;
  1032. margin-bottom: 20rpx;
  1033. }
  1034. </style>