reviewWork.vue 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880
  1. <template>
  2. <div class="work-wrap">
  3. <custom-header name="农事成效"></custom-header>
  4. <div class="work-content recheck-title">
  5. <div class="tabs-content-item">
  6. <div class="common-card-title">
  7. <img class="icon" src="@/assets/img/home/label-icon.png" alt="" />
  8. <span>农事信息</span>
  9. </div>
  10. <div class="info-box">
  11. <div class="info-l">
  12. <img class="farm-img" src="@/assets/img/gallery/farm-img.png" alt="" />
  13. </div>
  14. <div class="info-r">
  15. <div class="farm-name">{{ workItem.farmName }}</div>
  16. <div class="info-item">
  17. <div class="info-name">农事名称:</div>
  18. <div class="info-value">{{ workItem.farmWorkName }} ({{ workItem.executeDate }})</div>
  19. </div>
  20. <div class="info-item">
  21. <div class="info-name">农事目的:</div>
  22. <div class="info-value">{{ workItem.farmWorkTypeName || workItem.condition }}</div>
  23. </div>
  24. <div class="info-item">
  25. <div class="info-name">肥药处方:</div>
  26. <div class="info-value">
  27. <div class="rescription" v-if="workItem?.prescriptionList">
  28. <span
  29. v-for="(fertilizer, fertilizerI) in workItem.prescriptionList"
  30. :key="fertilizerI"
  31. >
  32. <span
  33. v-for="(pest, pestI) in fertilizer.pesticideFertilizerList"
  34. :key="'sub' + pestI"
  35. >
  36. {{ pest.defaultName }}
  37. <span
  38. v-if="
  39. pestI !== fertilizer.pesticideFertilizerList.length - 1 ||
  40. fertilizerI !== workItem.prescriptionList.length - 1
  41. "
  42. >
  43. +
  44. </span>
  45. </span>
  46. </span>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="info-box subject-content">
  53. <div class="subject-box">
  54. <div class="subject-item cost-l">
  55. <img class="subject-img" src="@/assets/img/gallery/capital.png" alt="" />
  56. <div class="subject-tag">
  57. {{ workItem.executeMain }}
  58. <el-icon class="right-icon" size="10"><ArrowRight /></el-icon>
  59. </div>
  60. </div>
  61. <div class="subject-item cost-l">
  62. <img class="subject-img" src="@/assets/img/gallery/capital.png" alt="" />
  63. <div class="subject-tag">
  64. {{ workItem.serviceMain }}
  65. <el-icon class="right-icon" size="10"><ArrowRight /></el-icon>
  66. </div>
  67. </div>
  68. <div class="subject-item">
  69. <img class="subject-img" :src="workItem.expertIcon" alt="" />
  70. <div class="subject-tag">
  71. {{ workItem.expertName }}
  72. <el-icon class="right-icon" size="10"><ArrowRight /></el-icon>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. <div class="tabs-content-item">
  79. <div class="common-card-title">
  80. <img class="icon" src="@/assets/img/home/label-icon.png" alt="" />
  81. <span>投入成本</span>
  82. </div>
  83. <div class="info-box cost-wrap">
  84. <div class="subject-box cost-box">
  85. <div class="subject-item cost-item cost-l">
  86. <div class="cost-title">农资投入(元)</div>
  87. <div class="cost-text subject-tag PangMenZhengDao-FONT">
  88. {{
  89. workItem?.cost?.pesticideFertilizerCost
  90. ? workItem.cost?.pesticideFertilizerCost
  91. : "35元"
  92. }}
  93. </div>
  94. </div>
  95. <div class="subject-item cost-item">
  96. <div class="cost-title">农服投入(元)</div>
  97. <div class="cost-text subject-tag PangMenZhengDao-FONT">
  98. {{
  99. workItem?.cost?.farmWorkServiceCost ? workItem.cost?.farmWorkServiceCost : "1125元"
  100. }}
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. <div class="tabs-content-item">
  107. <div class="common-card-title">
  108. <img class="icon" src="@/assets/img/home/label-icon.png" alt="" />
  109. <span>复核成效</span>
  110. </div>
  111. <div class="info-box bottom-box">
  112. <div class="result-box">
  113. <div class="result-text">
  114. 通过精准农业技术的应用,作物产量实现了两位数的增长,病虫害的发生率大幅下降,土壤肥力的提升
  115. </div>
  116. </div>
  117. <div class="recheck-box" v-if="workItem?.farmId">
  118. <div class="recheck-ablum">
  119. <!-- <div class="img-list over-img-box">
  120. <album-carousel7d
  121. :key="1"
  122. :farmId="workItem.farmId"
  123. :farmWork="{
  124. beforeExecuteDate: workItem.beforeExecuteDate,
  125. executeDate: workItem.executeDate,
  126. }"
  127. ></album-carousel7d>
  128. </div> -->
  129. <div class="img-list" v-if="!workItem.reviewImage.length && workItem.activeStatus === 0">
  130. <div
  131. class="recheck-text-wrap no-events"
  132. :class="{
  133. active: !diffInDays(workItem.reviewDate) > 0 && curRole === '0',
  134. 'yse-events': curRole === '0' && !diffInDays(workItem.reviewDate) > 0,
  135. 'center-wrap': !imageArr.length,
  136. }"
  137. >
  138. <div class="date" v-show="workItem.reviewDate">{{ workItem.reviewDate }}</div>
  139. <upload
  140. exampleImg
  141. @handleUpload="handleUpload"
  142. class="upload-wrap"
  143. :style="{
  144. height:
  145. imageArr.length && !diffInDays(workItem.reviewDate) > 0
  146. ? 'auto'
  147. : '254px',
  148. }"
  149. >
  150. <template
  151. v-if="
  152. diffInDays(workItem.reviewDate) == 0 ||
  153. diffInDays(workItem.reviewDate) == null
  154. "
  155. >
  156. <img
  157. class="img-icon"
  158. :src="
  159. require(`@/assets/img/gallery/img-icon${
  160. curRole === '0' ? '-act' : ''
  161. }.png`)
  162. "
  163. alt=""
  164. />
  165. <div class="recheck-text">
  166. {{ curRole === "2" ? "等待农户上传" : "点击上传照片" }}
  167. </div>
  168. <div
  169. class="recheck-desc"
  170. v-show="curRole === '2' && diffInDays(workItem.reviewDate) != 0"
  171. >
  172. (已逾期{{ diffInDays(workItem.reviewDate, "add") }}天)
  173. </div>
  174. </template>
  175. <template v-else>
  176. <img class="img-icon" src="@/assets/img/gallery/img-icon.png" alt="" />
  177. <div class="recheck-text">等待复核</div>
  178. <div class="recheck-desc">
  179. (剩余{{ diffInDays(workItem.reviewDate) }}天)
  180. </div>
  181. </template>
  182. </upload>
  183. <div
  184. class="submit"
  185. v-show="imageArr.length && !diffInDays(workItem.reviewDate) > 0"
  186. @click="handleSubmit('reviewImage')"
  187. >
  188. 确认上传
  189. </div>
  190. </div>
  191. </div>
  192. <div class="img-list over-img-box" v-if="workItem.reviewImage.length">
  193. <album-carousel
  194. :key="2"
  195. :farmId="workItem.farmId"
  196. :lock="false"
  197. :images="handleConversion(workItem.reviewImage)"
  198. ></album-carousel>
  199. </div>
  200. <div class="img-list" v-if="!workItem.reviewImage2.length && workItem.activeStatus === 0">
  201. <div
  202. class="recheck-text-wrap no-events"
  203. :class="{
  204. active: !diffInDays(workItem.reviewDate2) > 0 && curRole === '0',
  205. 'yse-events': curRole === '0' && !diffInDays(workItem.reviewDate2) > 0,
  206. 'center-wrap': !imageArr2.length,
  207. }"
  208. >
  209. <div class="date" v-show="workItem.reviewDate2">{{ workItem.reviewDate2 }}</div>
  210. <upload
  211. exampleImg
  212. @handleUpload="handleUpload2"
  213. class="upload-wrap"
  214. :style="{
  215. height:
  216. imageArr2.length && !diffInDays(workItem.reviewDate2) > 0
  217. ? 'auto'
  218. : '254px',
  219. }"
  220. >
  221. <template
  222. v-if="
  223. diffInDays(workItem.reviewDate2) == 0 ||
  224. diffInDays(workItem.reviewDate2) == null
  225. "
  226. >
  227. <img
  228. class="img-icon"
  229. :src="
  230. require(`@/assets/img/gallery/img-icon${
  231. curRole === '0' ? '-act' : ''
  232. }.png`)
  233. "
  234. alt=""
  235. />
  236. <div class="recheck-text">
  237. {{ curRole === "2" ? "等待农户上传" : "点击上传照片" }}
  238. </div>
  239. <div
  240. class="recheck-desc"
  241. v-show="curRole === '2' && diffInDays(workItem.reviewDate2) != 0"
  242. >
  243. (已逾期{{ diffInDays(workItem.reviewDate2, "add") }}天)
  244. </div>
  245. </template>
  246. <template v-else>
  247. <img class="img-icon" src="@/assets/img/gallery/img-icon.png" alt="" />
  248. <div class="recheck-text">等待复核</div>
  249. <div class="recheck-desc" v-show="diffInDays(workItem.reviewDate2) >= 0">
  250. (剩余{{ diffInDays(workItem.reviewDate2) }}天)
  251. </div>
  252. </template>
  253. </upload>
  254. <div
  255. class="submit"
  256. v-show="imageArr2.length && !diffInDays(workItem.reviewDate2) > 0"
  257. @click="handleSubmit('reviewImage2')"
  258. >
  259. 确认上传
  260. </div>
  261. </div>
  262. </div>
  263. <div class="img-list over-img-box" v-if="workItem.reviewImage2.length">
  264. <album-carousel
  265. :key="2"
  266. :farmId="workItem.farmId"
  267. :lock="false"
  268. :images="handleConversion(workItem.reviewImage2)"
  269. ></album-carousel>
  270. </div>
  271. </div>
  272. </div>
  273. </div>
  274. </div>
  275. <!-- 按钮 -->
  276. <div class="up-btn-group" v-show="isPlan">
  277. <template v-if="curRole === '2'">
  278. <div
  279. class="up-btn"
  280. :class="{ btn: workItem.executeEvidence && workItem.executeEvidence.length }"
  281. v-show="workItem.reviewImage && !workItem.reviewImage.length"
  282. >
  283. 提醒农户拍照
  284. </div>
  285. <div
  286. class="up-btn orange"
  287. @click="toUpload"
  288. :class="{ btn: workItem.reviewImage && workItem.reviewImage.length }"
  289. v-show="workItem.executeEvidence && !workItem.executeEvidence.length"
  290. >
  291. 上传农事凭证
  292. </div>
  293. </template>
  294. <template v-else>
  295. <div
  296. class="up-btn btn"
  297. @click="handleContact"
  298. v-show="workItem.reviewImage && workItem.reviewImage.length && !imageArr2.length"
  299. >
  300. 联系专家
  301. </div>
  302. </template>
  303. </div>
  304. </div>
  305. <!-- 上传图片弹窗 -->
  306. <upload-popup :executionData="workItem"></upload-popup>
  307. </div>
  308. </template>
  309. <script setup>
  310. import { Tab, Tabs } from "vant";
  311. import customHeader from "@/components/customHeader.vue";
  312. import { onMounted, ref, onDeactivated,onActivated } from "vue";
  313. import { useRoute, useRouter } from "vue-router";
  314. import upload from "@/components/upload";
  315. import AlbumCarousel7d from "@/components/album_compoents/albumCarousel7d";
  316. import AlbumCarousel from "@/components/album_compoents/albumCarousel";
  317. import eventBus from "@/api/eventBus";
  318. import { ElMessage } from "element-plus";
  319. import uploadPopup from "@/components/popup/uploadPopup.vue";
  320. import { deepClone } from "@/common/commonFun";
  321. const route = useRoute();
  322. const workItem = ref({
  323. farmName: "测试农场",
  324. farmWorkName: "测试农事",
  325. executeDate:'2025-09-01',
  326. farmWorkTypeName: "测试农事类型",
  327. condition: "测试农事类型",
  328. farmWorkType: "叶面施",
  329. prescriptionList: [
  330. {
  331. defaultName: "营养",
  332. pesticideFertilizerList: [
  333. {
  334. defaultName: "尿素",
  335. },
  336. ],
  337. },
  338. ],
  339. executeMain: "叶面施",
  340. serviceMain: "广州泽秾丰农资有限公司",
  341. expertName: "测试专家",
  342. expertIcon: "https://birdseye-img.sysuimars.com/birdseye-look-mini/Group%201321316260.png",
  343. cost: {
  344. pesticideFertilizerCost: 1125,
  345. farmWorkServiceCost: 35,
  346. },
  347. reviewImage: [],
  348. reviewImage2: [],
  349. reviewDate: "2025-09-01",
  350. reviewDate2: "2025-09-01",
  351. activeStatus: 0,
  352. executeEvidence: [],
  353. farmId: 1,
  354. libId: 1,
  355. uniqueId: 1,
  356. isPlan: false,
  357. curRole: "",
  358. farmId: 766,
  359. libId: 1,
  360. uniqueId: null,
  361. });
  362. const curRole = ref("");
  363. const farmId = ref(null);
  364. const libId = ref(null);
  365. const uniqueId = ref(null);
  366. // 农事规划页面-显示上传农事凭证按钮
  367. const isPlan = ref(false);
  368. const diffInDays = (date, type = "minus") => {
  369. const targetDate = new Date(date);
  370. const currentDate = new Date(); // 获取当前系统时间
  371. let diffInMs;
  372. if (type === "minus") {
  373. diffInMs = targetDate - currentDate;
  374. } else {
  375. diffInMs = currentDate - targetDate;
  376. }
  377. const day = Math.floor(diffInMs / (1000 * 60 * 60 * 24));
  378. return day + 1 >= 0 ? day + 1 : null;
  379. };
  380. onActivated(() => {
  381. window.scrollTo(0, 0);
  382. curRole.value = localStorage.getItem("SET_USER_CUR_ROLE");
  383. farmId.value = route.query.farmId;
  384. libId.value = route.query.libId;
  385. uniqueId.value = route.query.id;
  386. isPlan.value = route.query.isPlan ? true : false;
  387. // getDetail(true);
  388. eventBus.on("confirm:callback", confirmCallback);
  389. });
  390. const handleConversion = (data) => {
  391. const arr = data.map((item) => {
  392. return {
  393. ...item,
  394. filename: item.imgUrl,
  395. uploadDate: item.date,
  396. district: "",
  397. };
  398. });
  399. return arr;
  400. };
  401. const defaultWorkData = ref({});
  402. const getDetail = (isUpdate) => {
  403. VE_API.farm.fetchFarmWorkList({ farmId: farmId.value, libId: libId.value, id: uniqueId.value }).then(({ data }) => {
  404. workItem.value = data[0];
  405. defaultWorkData.value = deepClone(data[0]);
  406. if (isUpdate) {
  407. eventBus.emit("chart:updateOption", "");
  408. }
  409. });
  410. };
  411. //确认上传
  412. const handleSubmit = (image) => {
  413. const params = {
  414. ...defaultWorkData.value,
  415. orderStatus: 6,
  416. };
  417. if (image === "reviewImage") {
  418. params.reviewImage = imageArr.value;
  419. } else {
  420. params.reviewImage2 = imageArr2.value;
  421. }
  422. VE_API.order.confirm(params).then(({ code }) => {
  423. if (code === 0) {
  424. getDetail();
  425. ElMessage.success("您已上传成功");
  426. imageArr.value = [];
  427. imageArr2.value = [];
  428. }
  429. });
  430. };
  431. onDeactivated(() => {
  432. workItem.value = {};
  433. eventBus.off("confirm:callback", confirmCallback);
  434. });
  435. function confirmCallback() {
  436. getDetail();
  437. }
  438. //联系专家
  439. const handleContact = () => {
  440. router.push(`/dialogue?userId=${workItem.value.expert}&name=${workItem.value.expertUserName}`);
  441. };
  442. const imageArr = ref([]);
  443. const handleUpload = ({ imgArr }) => {
  444. imageArr.value = imgArr.map((item) => {
  445. return {
  446. imgUrl: item,
  447. };
  448. });
  449. };
  450. const imageArr2 = ref([]);
  451. const handleUpload2 = ({ imgArr }) => {
  452. imageArr2.value = imgArr.map((item) => {
  453. return {
  454. imgUrl: item,
  455. };
  456. });
  457. };
  458. const router = useRouter();
  459. // 上传照片
  460. function toUpload() {
  461. eventBus.emit("uploadUopup:show", { isPlanVal: true });
  462. }
  463. </script>
  464. <style lang="scss" scoped>
  465. .work-wrap {
  466. .center-wrap {
  467. ::v-deep {
  468. .van-uploader__wrapper {
  469. justify-content: center;
  470. }
  471. }
  472. }
  473. .work-content {
  474. padding-top: 1px;
  475. background: #f5f5f5;
  476. padding-bottom: 12px;
  477. font-size: 14px;
  478. height: calc(100vh - 40px);
  479. box-sizing: border-box;
  480. overflow: auto;
  481. &.recheck-title {
  482. padding-bottom: 26px;
  483. .common-card-title {
  484. font-size: 16px;
  485. display: flex;
  486. align-items: center;
  487. .icon {
  488. width: 14px;
  489. height: 8px;
  490. padding-right: 6px;
  491. }
  492. }
  493. }
  494. .up-btn-group {
  495. position: fixed;
  496. bottom: 80px;
  497. left: 12px;
  498. display: flex;
  499. justify-content: center;
  500. width: calc(100% - 24px);
  501. .up-btn {
  502. background: linear-gradient(45deg, #9fd5ff, #2199f8);
  503. flex: 1;
  504. height: 40px;
  505. border: 2px solid rgba(255, 255, 255, 0.66);
  506. color: #fff;
  507. font-size: 14px;
  508. border-radius: 40px;
  509. line-height: 38px;
  510. text-align: center;
  511. box-sizing: border-box;
  512. }
  513. .orange {
  514. margin-left: 12px;
  515. background: linear-gradient(45deg, #ffd887, #ed9e1e);
  516. }
  517. .btn {
  518. width: 200px;
  519. flex: none;
  520. }
  521. }
  522. .tabs-content-item {
  523. padding: 12px 12px 16px 12px;
  524. margin: 0 12px;
  525. border-radius: 8px;
  526. background: #fff;
  527. margin-top: 12px;
  528. position: relative;
  529. .card-title {
  530. display: flex;
  531. justify-content: space-between;
  532. align-items: center;
  533. padding-bottom: 10px;
  534. .card-title-l {
  535. display: flex;
  536. align-items: center;
  537. font-size: 16px;
  538. .icon {
  539. width: 14px;
  540. height: 8px;
  541. padding-right: 6px;
  542. }
  543. }
  544. .card-title-r {
  545. font-size: 14px;
  546. color: #2199f8;
  547. }
  548. }
  549. .result-box {
  550. padding-bottom: 12px;
  551. }
  552. .info-box {
  553. &.subject-content {
  554. border: none;
  555. }
  556. &.cost-wrap {
  557. padding-top: 8px;
  558. }
  559. &.bottom-box {
  560. flex-direction: column;
  561. }
  562. // margin-top: 12px;
  563. border-top: 1px solid #f5f5f5;
  564. padding-top: 12px;
  565. display: flex;
  566. align-items: center;
  567. .info-l {
  568. .farm-img {
  569. width: 78px;
  570. width: 78px;
  571. border-radius: 8px;
  572. object-fit: scale-down;
  573. }
  574. }
  575. .info-r {
  576. padding-left: 12px;
  577. }
  578. .farm-name {
  579. font-weight: bold;
  580. font-size: 14px;
  581. color: #000;
  582. padding-bottom: 4px;
  583. }
  584. .info-item {
  585. display: flex;
  586. font-size: 12px;
  587. .info-name {
  588. color: #bbbbbb;
  589. flex: none;
  590. }
  591. .info-value {
  592. color: #666666;
  593. }
  594. }
  595. .info-item + .info-item {
  596. margin-top: 4px;
  597. }
  598. }
  599. .subject-box {
  600. width: 100%;
  601. display: flex;
  602. align-items: center;
  603. justify-content: space-around;
  604. background: #fafafa;
  605. .subject-item {
  606. border-radius: 8px;
  607. padding: 4px 4px;
  608. display: flex;
  609. flex-direction: column;
  610. align-items: center;
  611. justify-content: center;
  612. width: 33%;
  613. .subject-img {
  614. width: 30px;
  615. height: 30px;
  616. object-fit: cover;
  617. border-radius: 50%;
  618. padding-bottom: 4px;
  619. }
  620. .subject-tag {
  621. font-size: 12px;
  622. padding: 2px 3px 3px 8px;
  623. background: #e0efff;
  624. color: #2199f8;
  625. border-radius: 4px;
  626. &.cost-text {
  627. margin-left: 8px;
  628. font-size: 16px;
  629. color: #2199f8;
  630. padding: 1px 8px;
  631. }
  632. }
  633. }
  634. .subject-item + .subject-item {
  635. margin-left: 6px;
  636. }
  637. .cost-l {
  638. position: relative;
  639. &::after {
  640. content: "";
  641. position: absolute;
  642. right: 0;
  643. top: 16px;
  644. height: calc(100% - 32px);
  645. width: 1px;
  646. background: rgba(0, 0, 0, 0.05);
  647. }
  648. }
  649. }
  650. .cost-box {
  651. border-radius: 5px;
  652. background: none;
  653. .cost-item {
  654. display: flex;
  655. align-items: center;
  656. flex-direction: row;
  657. }
  658. .subject-item {
  659. background: none;
  660. width: 50%;
  661. }
  662. .cost-l {
  663. position: relative;
  664. &::after {
  665. content: "";
  666. position: absolute;
  667. right: 0;
  668. top: 0;
  669. height: 100%;
  670. width: 1px;
  671. background: rgba(0, 0, 0, 0.05);
  672. }
  673. }
  674. .cost-text {
  675. font-size: 16px;
  676. color: #2199f8;
  677. padding-bottom: 5px;
  678. }
  679. }
  680. .recheck-box,
  681. .recheck-ablum {
  682. width: 100%;
  683. }
  684. .evaluate {
  685. background: #fff;
  686. border-radius: 5px;
  687. padding: 4px 8px 10px 8px;
  688. margin-right: 8px;
  689. .evaluate-title {
  690. font-size: 16px;
  691. font-weight: 500;
  692. display: flex;
  693. align-items: center;
  694. justify-content: space-between;
  695. margin-bottom: 8px;
  696. .more {
  697. font-size: 14px;
  698. color: #999999;
  699. font-weight: 400;
  700. display: flex;
  701. align-items: center;
  702. }
  703. }
  704. .rate {
  705. display: flex;
  706. justify-content: space-between;
  707. ::v-deep {
  708. .el-rate {
  709. --el-rate-icon-margin: 0;
  710. }
  711. .el-rate--small .el-rate__icon {
  712. font-size: 12px;
  713. }
  714. }
  715. .rate-item {
  716. display: flex;
  717. align-items: center;
  718. border-radius: 4px;
  719. padding: 4px 0px;
  720. font-size: 11px;
  721. .name {
  722. margin-right: 2px;
  723. color: #666666;
  724. position: relative;
  725. top: 2px;
  726. }
  727. .num {
  728. color: #f3c11d;
  729. margin-left: 2px;
  730. }
  731. }
  732. .line {
  733. width: 1px;
  734. height: 12px;
  735. background: #cdd7e1;
  736. position: relative;
  737. top: 13px;
  738. margin: 0 3px;
  739. }
  740. }
  741. .comment {
  742. // margin-top: 12px;
  743. .user-info {
  744. display: flex;
  745. align-items: center;
  746. margin-bottom: 2px;
  747. .user-name {
  748. font-weight: 500;
  749. margin-left: 8px;
  750. span {
  751. font-weight: 400;
  752. font-size: 12px;
  753. color: #999999;
  754. }
  755. }
  756. }
  757. }
  758. }
  759. .result-text {
  760. font-size: 12px;
  761. color: #666666;
  762. line-height: 18px;
  763. }
  764. .img-list + .img-list,
  765. .upload-wrap {
  766. margin-top: 12px;
  767. }
  768. .over-img-box {
  769. ::v-deep {
  770. img {
  771. border-radius: 8px;
  772. }
  773. }
  774. }
  775. .img-list {
  776. width: 100%;
  777. }
  778. .upload-wrap {
  779. display: flex;
  780. flex-direction: column;
  781. justify-content: center;
  782. height: 254px;
  783. width: 100%;
  784. padding: 25px 0 12px 10px;
  785. box-sizing: border-box;
  786. }
  787. .recheck-text-wrap {
  788. width: 100%;
  789. border-radius: 8px;
  790. background: #f2f3f5;
  791. color: #666666;
  792. font-size: 14px;
  793. position: relative;
  794. &.active {
  795. background: rgba(33, 153, 248, 0.1);
  796. border: 1px solid #2199f8;
  797. color: #2199f8;
  798. .date {
  799. background: linear-gradient(170deg, #9fd5ff, #2199f8);
  800. }
  801. .recheck-desc {
  802. color: #2199f8;
  803. }
  804. }
  805. .submit {
  806. background: #2199f8;
  807. border-radius: 4px;
  808. padding: 8px;
  809. font-size: 16px;
  810. color: #fff;
  811. margin: 0 10px 16px;
  812. text-align: center;
  813. }
  814. .date {
  815. position: absolute;
  816. top: 0;
  817. left: 0;
  818. background: #bebebe;
  819. border-radius: 8px 0 8px 0;
  820. color: #fff;
  821. font-size: 12px;
  822. padding: 3px 6px;
  823. font-family: "PangMenZhengDao";
  824. }
  825. .recheck-text {
  826. padding: 8px 0 2px 0;
  827. }
  828. .recheck-desc {
  829. font-size: 12px;
  830. color: #999999;
  831. }
  832. .img-icon {
  833. width: 40px;
  834. height: 40px;
  835. }
  836. }
  837. .sub-title {
  838. display: flex;
  839. align-items: center;
  840. justify-content: center;
  841. .sub-line {
  842. width: 12px;
  843. height: 2px;
  844. border-radius: 1px;
  845. background: #d9d9d9;
  846. }
  847. .sub-name {
  848. padding: 0 5px;
  849. font-size: 14px;
  850. color: #666666;
  851. }
  852. }
  853. }
  854. }
  855. }
  856. </style>