detail.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  1. <template>
  2. <div class="repair-detail-box">
  3. <div
  4. :class="[
  5. 'repair-content',
  6. detailStatus === 'unAcceptance' ? 'fixed-page-content' : 'page-content',
  7. ]"
  8. >
  9. <div class="white-box page-1">
  10. <div class="cell-item">
  11. <p class="label">当前企业</p>
  12. <p class="tit">{{ detail.companyName }}</p>
  13. </div>
  14. <!-- <div class="cell-item">
  15. <p class="label">您是想</p>
  16. <div class="tit">{{ detail.type === "1" ? "填单" : "咨询" }}</div>
  17. </div> -->
  18. <div class="cell-item">
  19. <p class="label">快捷选择</p>
  20. <div class="tit">{{ detail.serviceType }}</div>
  21. </div>
  22. <div class="block-cell-item">
  23. <p class="label">工单描述</p>
  24. <div class="tit">
  25. <div class="textarea">
  26. {{ detail.description == null ? "" : detail.description }}
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="white-box page-2">
  32. <!-- <div class="cell-item">
  33. <p class="label">位置</p>
  34. <div class="tit">{{ detail.position === "1" ? "室内" : "公区" }}</div>
  35. </div> -->
  36. <div class="block-cell-item">
  37. <p class="label">补充说明</p>
  38. <div class="tit">
  39. <ul class="annex-list-box">
  40. <li
  41. @click="lookLookpng(explainAnnexList, index)"
  42. class="annex-item"
  43. v-for="(item, index) in explainAnnexList"
  44. :key="index"
  45. >
  46. <img :src="item" alt="" />
  47. </li>
  48. </ul>
  49. </div>
  50. </div>
  51. <div class="cell-item flex-item">
  52. <p class="label">填单人</p>
  53. <p class="tit tel-box">
  54. <span>{{ userId2 }}</span>
  55. <TelNum :num="detail.phone" v-if="detail.phone" :showTel="false" />
  56. </p>
  57. </div>
  58. <div class="cell-item">
  59. <p class="label">填单时间</p>
  60. <p class="tit">{{ detail.createdAt }}</p>
  61. </div>
  62. </div>
  63. <div
  64. class="white-box page-3 form-part"
  65. style="margin-bottom: 100rpx; padding-bottom: 100rpx"
  66. >
  67. <div class="custom-item-tit">
  68. <p class="tit">处理情况</p>
  69. </div>
  70. <div class="block-cell-item">
  71. <p class="label">处理进展</p>
  72. <div class="tit">
  73. <van-steps
  74. :active="stepActive"
  75. :active-color="'#6600FF'"
  76. :steps="processSteps"
  77. >
  78. </van-steps>
  79. </div>
  80. </div>
  81. <div
  82. v-if="detail.status == 'unAcceptance'"
  83. class="cell-item flex-item"
  84. style="width: 100%; min-height: 88rpx; padding: 0"
  85. @click="openPicker()"
  86. >
  87. <div class="label">处理人</div>
  88. <div class="tit">
  89. {{ detail.handleUserName != null ? detail.handleUserName : "" }}
  90. <!-- {{ detail.handleUserName == null }} -->
  91. </div>
  92. </div>
  93. <div
  94. v-else
  95. class="cell-item flex-item"
  96. style="width: 100%; min-height: 88rpx; padding: 0"
  97. >
  98. <div class="label">处理人</div>
  99. <div class="tit">
  100. {{ detail.handleUserName != null ? detail.handleUserName : "" }}
  101. <!-- {{ detail.handleUserName == null }} -->
  102. </div>
  103. </div>
  104. <div
  105. v-if="detail.wanderAboutStatus == '未流转'"
  106. class="cell-item flex-item"
  107. style="width: 100%; min-height: 88rpx; padding: 0"
  108. @click="openPicker2()"
  109. >
  110. <div class="label">流转给</div>
  111. <div class="tit">
  112. {{ wanderAboutUserName != null ? wanderAboutUserName : "" }}
  113. <!-- {{ detail.handleUserName == null }} -->
  114. </div>
  115. </div>
  116. <van-popup
  117. :show="showPicker"
  118. position="bottom"
  119. round
  120. :closeable="false"
  121. :close-on-click-overlay="false"
  122. >
  123. <div style="display: flex; justify-content: space-between">
  124. <div style="margin: 32rpx" @click="closePopup()">取消</div>
  125. <div style="margin: 32rpx" @click="getSelectValue()">确认</div>
  126. </div>
  127. <uni-easyinput
  128. v-model="name"
  129. placeholder="请输入内容"
  130. @confirm="getName"
  131. @iconClick="getName"
  132. suffixIcon="search"
  133. ></uni-easyinput>
  134. <div style="height: 50vh">
  135. <div
  136. class="list-row1"
  137. v-for="(item, index) in columns"
  138. :key="index"
  139. style="justify-content: space-between"
  140. >
  141. {{ item.text }}
  142. <van-checkbox
  143. :name="item.value"
  144. @change="onChange($event, index)"
  145. v-model="item.checked"
  146. >
  147. </van-checkbox>
  148. </div>
  149. </div>
  150. </van-popup>
  151. <div class="custom-item-tit">
  152. <p class="tit">备注</p>
  153. </div>
  154. <div class="custom-textarea-box">
  155. <uni-easyinput
  156. type="textarea"
  157. class="bgcF9F9F9 height218rpx"
  158. v-model="params.remark"
  159. autoHeight
  160. placeholder="请填写"
  161. show-word-limit
  162. :disabled="detail.status !== 'unAcceptance'"
  163. >
  164. </uni-easyinput>
  165. </div>
  166. </div>
  167. <!-- -->
  168. <!-- <div
  169. class="white-box page-4"
  170. v-if="detailStatus === 'processed' && detail.isUser === 'true'"
  171. style="padding-bottom: 120rpx"
  172. >
  173. <div class="custom-item-tit">
  174. <p class="tit">服务评价</p>
  175. </div>
  176. <div class="custom-white-box-content">
  177. <div class="evaluate-box">
  178. <p class="evaluate-left">企业对本次服务的评价</p>
  179. <div class="evaluate-right">
  180. <van-rate
  181. :vlaue="evaluateVal"
  182. color="#ffd21e"
  183. @change="getRate"
  184. />
  185. </div>
  186. </div>
  187. </div>
  188. </div> -->
  189. </div>
  190. <!-- v-if="detailStatus === 'processed' && detail.isUser === 'true'" -->
  191. <!-- <div
  192. class="repair-bottom bottom-button"
  193. v-if="detailStatus === 'processed' && detail.isUser === 'true'"
  194. >
  195. <button class="btn" @click="onPinConfirm">评价提交</button>
  196. </div> -->
  197. <div
  198. class="repair-bottom bottom-button"
  199. v-if="detail.status === 'unAcceptance'"
  200. >
  201. <button class="btn" style="width: 100%" @click="onConfirm()">派单</button>
  202. </div>
  203. </div>
  204. </template>
  205. <script>
  206. import vanPopup from "../../../wxcomponents/weapp/dist/popup/index";
  207. import vanRate from "../../../wxcomponents/weapp/dist/rate/index";
  208. import TelNum from "../../subPackages/components/tel-number";
  209. // import { getRepairDispatchById, getDispatchToPerson } from "../../service/api_repair";
  210. import {
  211. getByCodes,
  212. getRepairDispatchById,
  213. getUserLocalStorageInfo,
  214. getDispatchToPerson,
  215. editRepair,
  216. editWanderAboutStatus,
  217. } from "@/js_sdk/http";
  218. import Toast from "../../../wxcomponents/weapp/dist/toast/toast";
  219. // import Base from "@/pages/base/base";
  220. // import { editRepair } from "@/service/api_repair";
  221. // import { getCompanyById } from "@/service/api_road_show";
  222. // import { Toast, ImagePreview } from "vant";
  223. export default {
  224. components: {
  225. TelNum,
  226. vanPopup,
  227. vanRate,
  228. },
  229. data() {
  230. return {
  231. columns2: [],
  232. name2: "",
  233. dic_key: ["QUICK_SELECTION", "REPAIR_STATUS"],
  234. dic_SelectList: {},
  235. detailId: "", // 详情id
  236. value: "",
  237. showPicker2: false,
  238. showPicker: false,
  239. name: "",
  240. columns: [],
  241. result: [],
  242. pickerValue: 0,
  243. handleUserNames: "",
  244. handleUserIds: "",
  245. detailStatus: "unAcceptance", // 1 待派单 2已派单
  246. explainAnnexList: [
  247. {
  248. type: "image",
  249. url: "",
  250. },
  251. ], // 说明附件 type image、图片 video、视频
  252. processedAnnexList: [
  253. {
  254. type: "image",
  255. url: "",
  256. },
  257. ], // 附件 type image、图片 video、视频
  258. stepActive: 0, // 当前处理到哪一步
  259. processSteps: [
  260. {
  261. id: 1,
  262. status: 1,
  263. text: "上报",
  264. },
  265. {
  266. id: 2,
  267. status: 1,
  268. text: "已受理",
  269. },
  270. {
  271. id: 3,
  272. status: 1,
  273. text: "已处理",
  274. },
  275. // {
  276. // id: 4,
  277. // status: 0,
  278. // text: "评价",
  279. // },
  280. ], // 处理流程
  281. evaluateVal: 0, // 评分
  282. id: "",
  283. detail: {},
  284. wanderAboutUserName: "",
  285. wanderAboutUserId: "",
  286. isSelectedIndex: 0,
  287. fileUrlList: [],
  288. pingParams: {
  289. id: "",
  290. evaluateNum: "",
  291. score: "",
  292. },
  293. lzPopuStatus: false,
  294. userId2: "",
  295. params: {
  296. id: "",
  297. status: "acceptance",
  298. dispatchUserId:
  299. getUserLocalStorageInfo().user.id +
  300. "-" +
  301. getUserLocalStorageInfo().user.truename +
  302. "-" +
  303. getUserLocalStorageInfo().user.phone, // getUserLocalStorageInfo().user.current
  304. dispatchTime: this.$common.transServDate(new Date()),
  305. handleUserId: "",
  306. remark: "",
  307. },
  308. };
  309. },
  310. onLoad(option) {
  311. console.log(option);
  312. this.id = option.id;
  313. this.getByCodes();
  314. getDispatchToPerson({ groupId: "", name: "" }).then((res) => {
  315. this.columns = res.data;
  316. });
  317. getDispatchToPerson({ groupId: "", name: "" }).then((res) => {
  318. this.columns2 = res.data;
  319. console.log(this.columns2);
  320. console.log(res.data);
  321. });
  322. },
  323. methods: {
  324. async editWanderAboutStatus() {
  325. try {
  326. if (!this.wanderAboutUserName || this.wanderAboutUserName.length == 0) {
  327. return;
  328. }
  329. let param = {
  330. id: this.id,
  331. wanderAboutUserId: this.wanderAboutUserId,
  332. };
  333. let data = await editWanderAboutStatus(param);
  334. console.log(data);
  335. if (data.code == 200) {
  336. this.$showToast("订单已流转");
  337. uni.navigateBack({});
  338. }
  339. } catch (error) {
  340. console.log(error);
  341. }
  342. },
  343. changelzPopuStatus(status) {
  344. this.lzPopuStatus = status;
  345. },
  346. liuzhuan() {
  347. console.log(this.columns2[pickerValue]);
  348. console.log(123);
  349. },
  350. closePopup() {
  351. this.showPicker = false;
  352. },
  353. closePopup2() {
  354. this.showPicker2 = false;
  355. },
  356. getRowValue(event) {
  357. console.log(event.detail);
  358. this.result = event.detail;
  359. },
  360. getName2() {
  361. console.log(123, this.name);
  362. let that = this;
  363. getDispatchToPerson({ name: this.name2, groupId: "" }).then((res) => {
  364. that.columns2 = res.data;
  365. that.pickerValue = 0;
  366. that.$forceUpdate();
  367. });
  368. },
  369. getName() {
  370. console.log(123, this.name);
  371. let that = this;
  372. getDispatchToPerson({ name: this.name, groupId: "" }).then((res) => {
  373. that.columns = res.data;
  374. that.$forceUpdate();
  375. });
  376. },
  377. lookLookpng(imgList, i) {
  378. console.log(imgList);
  379. uni.previewImage({
  380. urls: imgList,
  381. longPressActions: {
  382. itemList: ["发送给朋友", "保存图片", "收藏"],
  383. success: function (data) {
  384. console.log(data);
  385. },
  386. fail: function (err) {
  387. console.log(err);
  388. },
  389. },
  390. });
  391. },
  392. openPicker() {
  393. this.showPicker = true;
  394. },
  395. openPicker2() {
  396. this.showPicker2 = true;
  397. },
  398. closePicker() {
  399. this.showPicker = false;
  400. },
  401. closePicker2() {
  402. this.showPicker2 = false;
  403. },
  404. async getByCodes() {
  405. let data = await getByCodes(JSON.stringify(this.dic_key));
  406. this.dic_SelectList = this.$common.handleDicList(data);
  407. this.getDetailById();
  408. },
  409. onSelect(event) {
  410. let val = event.detail.value;
  411. this.value = val.text;
  412. this.params.handleUserId = val.value + "-" + val.text;
  413. this.showPicker = false;
  414. },
  415. onChange2(event, i) {
  416. console.log(event);
  417. console.log(i);
  418. this.columns2[i].checked = event.detail;
  419. },
  420. onChange(event, i) {
  421. console.log(event);
  422. console.log(i);
  423. this.columns[i].checked = event.detail;
  424. },
  425. getSelectValue2() {
  426. let wanderAboutUserId = [];
  427. let wanderAboutUserName = [];
  428. for (let i = 0; i < this.columns2.length; i++) {
  429. const element = this.columns2[i];
  430. if (element.checked) {
  431. wanderAboutUserName.push(element.text);
  432. wanderAboutUserId.push(element.value);
  433. }
  434. }
  435. console.log(this.handleUserNames.split(","));
  436. let AllwanderAboutUserName = Array.from(
  437. new Set(
  438. wanderAboutUserName.concat(
  439. this.wanderAboutUserName.length > 0
  440. ? this.wanderAboutUserName.split(",")
  441. : []
  442. )
  443. )
  444. );
  445. let AllHandleUserIds = Array.from(
  446. new Set(
  447. wanderAboutUserId.concat(
  448. this.wanderAboutUserId.length > 0
  449. ? this.wanderAboutUserId.split(",")
  450. : []
  451. )
  452. )
  453. );
  454. this.wanderAboutUserName = AllwanderAboutUserName.toString();
  455. this.wanderAboutUserId = AllHandleUserIds.toString();
  456. this.$forceUpdate();
  457. this.showPicker2 = false;
  458. },
  459. getSelectValue() {
  460. let handleUserNames = [];
  461. let handleUserIds = [];
  462. for (let i = 0; i < this.columns.length; i++) {
  463. const element = this.columns[i];
  464. if (element.checked) {
  465. handleUserNames.push(element.text);
  466. handleUserIds.push(element.value);
  467. }
  468. }
  469. console.log(this.handleUserNames.split(","));
  470. let AllHandleUserNames = Array.from(
  471. new Set(
  472. handleUserNames.concat(
  473. this.handleUserNames.length > 0
  474. ? this.handleUserNames.split(",")
  475. : []
  476. )
  477. )
  478. );
  479. console.log(AllHandleUserNames);
  480. let AllHandleUserIds = Array.from(
  481. new Set(
  482. handleUserIds.concat(
  483. this.handleUserIds.length > 0 ? this.handleUserIds.split(",") : []
  484. )
  485. )
  486. );
  487. this.detail.handleUserName = AllHandleUserNames.toString();
  488. this.params.handleUserId = AllHandleUserIds.toString();
  489. console.log(this.columns);
  490. this.$forceUpdate();
  491. this.showPicker = false;
  492. },
  493. onPinConfirm(value) {
  494. this.pingParams.evaluateNum = this.pingParams.evaluateNum + 1;
  495. this.pingParams.score = this.pingParams.score + this.evaluateVal;
  496. this.pingParams.status = "evaluated";
  497. editRepair(this.pingParams).then((res) => {
  498. this.$showToast("评价成功");
  499. uni.navigateBack({});
  500. });
  501. },
  502. onConfirm() {
  503. let that = this;
  504. if (
  505. !that.params.handleUserId ||
  506. that.params.handleUserId == null ||
  507. that.params.handleUserId === "" ||
  508. that.params.handleUserId.length == 0
  509. ) {
  510. this.$showToast("请选择处理人");
  511. return;
  512. }
  513. this.params.id = that.id;
  514. that.params.updatedBy = getUserLocalStorageInfo().user.id;
  515. editRepair(that.params).then((res) => {
  516. this.$showToast("派单成功");
  517. uni.navigateBack({});
  518. });
  519. },
  520. open(item, index) {
  521. //
  522. let that = this;
  523. let fileUrlViewList = that.detail.fileUrlViewList.map((e) => {
  524. return e.url;
  525. });
  526. uni.previewImage({
  527. urls: fileUrlViewList,
  528. });
  529. },
  530. getDetailById() {
  531. const _this = this;
  532. getRepairDispatchById(_this.id).then((res) => {
  533. if (res.data) {
  534. const det = _this.getItemJson(res.data);
  535. this.detail = det;
  536. this.explainAnnexList = det.fileUrlViewList;
  537. this.processedAnnexList = det.handleUrlList;
  538. this.detailStatus = det.status;
  539. this.params.handleUserId = det.handleUserId;
  540. this.value = det.dispatchUserId;
  541. if (det.handleUserId != null && det.handleUserId !== "") {
  542. const test = det.handleUserId.split("-");
  543. this.value = test[1] + "-" + test[2];
  544. }
  545. if (det.userId != null && det.userId !== "") {
  546. const test = det.userId.split("-");
  547. this.userId2 = test[1] + "-" + test[2];
  548. }
  549. this.params.remark = det.remark;
  550. this.pingParams = {
  551. id: det.id,
  552. evaluateNum: det.evaluateNum,
  553. score: det.score,
  554. };
  555. // this.evaluateVal = ((det.score == null ? 0 : det.score) / (det.evaluateNum == null ? 1 : det.evaluateNum))
  556. }
  557. // const item = _this.getItemJson(res)
  558. });
  559. },
  560. getRate(event) {
  561. this.evaluateVal = event;
  562. },
  563. getItemJson: function (item) {
  564. // item.releaseTime = this.$common.transBaseDateTime(item.releaseTime);
  565. // item.createdAt = this.$common.transBaseDateTime(item.createdAt);
  566. item.serviceType =
  567. this.dic_SelectList.QUICK_SELECTION[item.serviceType - 1].label;
  568. // if (item.handleUserId) {
  569. // item.handlePhone = item.handleUserId.split("-")[1];
  570. // }
  571. // item.handleTime = this.$common.transDate(item.handleTime);
  572. switch (item.status) {
  573. case "unAcceptance":
  574. this.stepActive = 0;
  575. break;
  576. case "acceptance":
  577. this.stepActive = 1;
  578. break;
  579. case "evaluated":
  580. this.stepActive = 3;
  581. break;
  582. case "processed":
  583. this.stepActive = 2;
  584. break;
  585. }
  586. const fileUrls = item.fileUrl ? item.fileUrl.split(",") : [];
  587. console.log("files你到底是干嘛的", fileUrls);
  588. const fileUrlViews = [];
  589. if (fileUrls !== null && fileUrls.length > 0) {
  590. fileUrls.forEach((item) => {
  591. item =
  592. this.$constant.BASE_URI + "/wx/fileController/download/" + item;
  593. fileUrlViews.push(item);
  594. });
  595. }
  596. item.fileUrlViewList = fileUrlViews;
  597. const handleUrls = item.handleUrl ? item.handleUrl.split(",") : [];
  598. console.log(handleUrls);
  599. const handleUrl = [];
  600. if (handleUrls !== null && handleUrls.length > 0) {
  601. handleUrls.forEach((item) => {
  602. if (item.url) {
  603. const ul = {
  604. type: "image",
  605. url: item.url,
  606. };
  607. handleUrl.push(ul);
  608. }
  609. });
  610. }
  611. item.handleUrlList = handleUrl;
  612. console.log(item);
  613. return item;
  614. },
  615. /**
  616. *
  617. */
  618. quickSelect(item) {
  619. if (this.quickSleced.val && this.quickSleced.val === item.val) {
  620. this.quickSleced = {};
  621. } else {
  622. this.quickSleced = item;
  623. }
  624. },
  625. /**
  626. * 上传文件
  627. */
  628. afterRead(file) {
  629. console.log(file);
  630. },
  631. },
  632. };
  633. </script>
  634. <style lang="scss" >
  635. .list-row1 {
  636. width: calc(100% - 64rpx);
  637. padding: 16rpx 32rpx 18rpx 32rpx;
  638. background: #ffffff;
  639. display: flex;
  640. //height: 278rpx;
  641. border-radius: 8rpx 8rpx 8rpx 8rpx;
  642. }
  643. .bottom-button {
  644. position: fixed;
  645. z-index: 99;
  646. bottom: 0;
  647. left: 0;
  648. width: 100%;
  649. height: 160rpx;
  650. padding: 35rpx 30rpx;
  651. background-color: #fff;
  652. display: flex;
  653. align-items: center;
  654. justify-content: space-around;
  655. box-sizing: border-box;
  656. .btn {
  657. height: 100%;
  658. line-height: 80rpx;
  659. width: 40%;
  660. color: #fff;
  661. background-color: #6600ff;
  662. font-size: 34rpx;
  663. border-radius: 10rpx;
  664. }
  665. }
  666. .titname {
  667. margin-top: 10rpx;
  668. margin-bottom: 10rpx;
  669. }
  670. .repair-detail-box {
  671. // width: 100%;
  672. // height: 100%;
  673. .page-1 {
  674. .textarea {
  675. padding: 20rpx;
  676. border-radius: 10rpx;
  677. background: $page-color-base;
  678. box-sizing: border-box;
  679. }
  680. }
  681. .page-3 {
  682. padding-bottom: 100rpx;
  683. .input-item {
  684. padding: 0;
  685. }
  686. .custom-item-tit {
  687. height: 13.333vw;
  688. font-size: 4.267vw;
  689. color: #333;
  690. padding: 2.667vw 0;
  691. position: relative;
  692. display: -webkit-box;
  693. display: -ms-flexbox;
  694. display: flex;
  695. -webkit-box-pack: justify;
  696. -ms-flex-pack: justify;
  697. justify-content: space-between;
  698. -webkit-box-align: center;
  699. -ms-flex-align: center;
  700. align-items: center;
  701. -webkit-box-sizing: border-box;
  702. box-sizing: border-box;
  703. .tit {
  704. &::after {
  705. content: "";
  706. width: 0.8vw;
  707. height: 90%;
  708. background-color: #976dec;
  709. border-radius: 0.4vw;
  710. position: absolute;
  711. left: 0;
  712. top: 50%;
  713. -webkit-transform: translateY(-50%);
  714. transform: translateY(-50%);
  715. }
  716. }
  717. }
  718. .tit {
  719. padding-left: 2.667vw;
  720. position: relative;
  721. }
  722. }
  723. .page-4 {
  724. .custom-item-tit {
  725. height: 13.333vw;
  726. font-size: 4.267vw;
  727. color: #333;
  728. padding: 2.667vw 0;
  729. position: relative;
  730. display: -webkit-box;
  731. display: -ms-flexbox;
  732. display: flex;
  733. -webkit-box-pack: justify;
  734. -ms-flex-pack: justify;
  735. justify-content: space-between;
  736. -webkit-box-align: center;
  737. -ms-flex-align: center;
  738. align-items: center;
  739. -webkit-box-sizing: border-box;
  740. box-sizing: border-box;
  741. .tit {
  742. &::after {
  743. content: "";
  744. width: 0.8vw;
  745. height: 90%;
  746. background-color: #976dec;
  747. border-radius: 0.4vw;
  748. position: absolute;
  749. left: 0;
  750. top: 50%;
  751. -webkit-transform: translateY(-50%);
  752. transform: translateY(-50%);
  753. }
  754. }
  755. }
  756. .tit {
  757. padding-left: 2.667vw;
  758. position: relative;
  759. }
  760. s .evaluate-box {
  761. padding: 20rpx 30rpx;
  762. background: $page-color-base;
  763. border: 2rpx solid #ebedf0;
  764. border-radius: 100rpx;
  765. display: flex;
  766. align-items: center;
  767. justify-content: space-between;
  768. box-sizing: border-box;
  769. }
  770. }
  771. .annex-list-box {
  772. display: flex;
  773. flex-wrap: wrap;
  774. &::after {
  775. display: block;
  776. content: "";
  777. width: 30%;
  778. height: 0rpx;
  779. }
  780. .annex-item {
  781. width: 240rpx;
  782. height: 240rpx;
  783. border: 2rpx solid $text4;
  784. margin-bottom: 20rpx;
  785. position: relative;
  786. overflow: hidden;
  787. > img {
  788. width: 240rpx;
  789. height: 240rpx;
  790. position: absolute;
  791. top: 0;
  792. left: 0;
  793. right: 0;
  794. bottom: 0;
  795. margin: auto;
  796. display: block;
  797. }
  798. video {
  799. width: 100%;
  800. height: 100%;
  801. }
  802. }
  803. }
  804. .tel-box {
  805. display: flex;
  806. align-items: center;
  807. /deep/ .custom-tel-component {
  808. margin-left: 20rpx;
  809. }
  810. }
  811. }
  812. </style>
  813. <style lang="scss">
  814. .image-repairDispatch-box {
  815. .van-image-preview__close-icon {
  816. color: #fff;
  817. font-size: 64rpx;
  818. }
  819. }
  820. </style>