reviewWork.vue 33 KB

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