reviewWork.vue 33 KB

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