newRevisit.vue 29 KB

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