hiddenDangerRectification.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  1. <!-- 检查项隐患项整改 -->
  2. <template>
  3. <view class="snapshotDetail">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <view class="tip">整改期限{{optionData.checkPlanSetVoList.checkStartTime}}(逾期未完成整改关闭实验室)</view>
  6. <view class="items" v-if="newData.hazardCheckName!=''">
  7. <view class="items-t">
  8. <view class="items-t-r">{{newData.hazardCheckCode}} {{newData.hazardCheckName}}</view>
  9. </view>
  10. <view class="items-b">< {{newData.hazardCheckCode2}}
  11. {{newData.hazardCheckName2}} < {{newData.hazardCheckCode1}} {{newData.hazardCheckName1}}
  12. </view>
  13. </view>
  14. <view class="items-number" v-if="newData.hazardCheckName!=''" @click="hiddenDangerClick()">
  15. 此检查项在当前实验室累计出现<text>{{hazardCheckNum}}</text>次隐患</view>
  16. <view class="list">
  17. <view class="list-li" v-if="newData.hazardCheckName!=''" @click="inspectDot()">
  18. <view>检查要点</view>
  19. <view>
  20. <img v-if="!newData.inspectDot" src="@/pages_safetyCheck/images/icon_06.png">
  21. <img v-if="newData.inspectDot" src="@/pages_safetyCheck/images/icon_06_1.png">
  22. </view>
  23. </view>
  24. <view v-if="newData.hazardCheckName!='' && newData.inspectDot" class="hidden-content">{{newData.hazardCheckPoint}}
  25. </view>
  26. <view class="list-li" @click="checkCollapse()">
  27. <view>检查隐患</view>
  28. <view :id="newData.checkFlag?'fontColor-B':'fontColor-A'">
  29. {{newData.checkFlag?'符合':'不符合 '}}
  30. <img v-if="!newData.checkCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  31. <img v-if="newData.checkCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  32. </view>
  33. </view>
  34. <view v-if="newData.checkCollapse">
  35. <view class="hidden-content" v-if="!newData.checkFlag">{{newData.hazardDescribe}}
  36. </view>
  37. <view class="photo" @click="lockImg(newData.yhDtoList)">
  38. <img v-for="(item,index) in newData.yhDtoList" :src="baseUrl+item.fileUrl">
  39. </view>
  40. <view class="list-li">
  41. <view>姓名:</view>
  42. <view>{{newData.checkUserName}}</view>
  43. </view>
  44. <view class="list-li">
  45. <view>检查时间</view>
  46. <view>{{newData.checkTime}}</view>
  47. </view>
  48. </view>
  49. <view v-if="pageType==1 || pageType==2" v-for="(item,index) in newData.checkRectifyVoList" :key="index">
  50. <view class="list-li" v-if="item.rectifyTime" @click="rectifyCollapse(item)">
  51. <view>隐患整改</view>
  52. <view :id="item.rectifyResult?'fontColor-B':(item.rectifyResult?'fontColor-C':'')">
  53. {{item.rectifyResult?'已整改':(item.rectifyResult?'暂无法整改':'')}}
  54. <img v-if="!item.rectifyCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  55. <img v-if="item.rectifyCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  56. </view>
  57. </view>
  58. <view v-if="item.rectifyCollapse && item.rectifyTime">
  59. <view class="hidden-content">{{item.rectifyMeasure}}
  60. </view>
  61. <view class="photo" @click="lockImg(item.rectifyUploadList)">
  62. <img v-for="(item2,index2) in item.rectifyUploadList" :src="baseUrl+item2.fileUrl">
  63. </view>
  64. <view class="list-li">
  65. <view>姓名:</view>
  66. <view>{{item.rectifyName}}</view>
  67. </view>
  68. <view class="list-li">
  69. <view>整改时间</view>
  70. <view>{{item.rectifyTime}}</view>
  71. </view>
  72. </view>
  73. <view class="list-li" v-if="item.reviewTime" @click="reviewCollapse(item)">
  74. <view>复查验证</view>
  75. <view :id="item.examineResult?'fontColor-B':'fontColor-C'">
  76. {{item.examineResult?'复查完毕':'退回整改'}}
  77. <img v-if="!item.reviewCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  78. <img v-if="item.reviewCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  79. </view>
  80. </view>
  81. <view v-if="item.reviewCollapse && item.reviewTime">
  82. <view class="hidden-content" >{{item.examineOpinion}}
  83. </view>
  84. <view class="photo" @click="lockImg(item.examineUploadList)">
  85. <img v-for="(item3,index3) in item.examineUploadList" :src="baseUrl+item3.fileUrl">
  86. </view>
  87. <view class="list-li">
  88. <view>姓名:</view>
  89. <view>{{item.reviewName}}</view>
  90. </view>
  91. <view class="list-li">
  92. <view>复查时间</view>
  93. <view>{{item.reviewTime}}</view>
  94. </view>
  95. </view>
  96. </view>
  97. <view class="list-li">
  98. <view v-if="pageType==1">复查验证</view>
  99. <view v-if="pageType==2">隐患整改({{fontNum}}/500)</view>
  100. <view>
  101. <img src="@/pages_safetyCheck/images/icon_06.png">
  102. </view>
  103. </view>
  104. <textarea v-if="pageType==1" class="describe" type="text" v-model="form.examineOpinion" maxlength="500"
  105. placeholder="请填写隐患描述"
  106. placeholder-style="font-size:24rpx;color:#999;"></textarea>
  107. <textarea v-if="pageType==2" class="describe" type="text" v-model="form.rectifyMeasure" maxlength="500"
  108. @input="sumfontnum" placeholder="立整立改的请填写相关文字及整改前后照片对比等,不能立整立改的请说明原因并附整改计划、措施等"
  109. placeholder-style="font-size:24rpx;color:#999;"></textarea>
  110. <view class="check-for-img-max-box">
  111. <view class="left-title-p"></view>
  112. <view class="right-img-box">
  113. <view class="img-box" v-for="(imgUrl,imgIndex) in form.imgDtoList" :key="imgIndex">
  114. <img class="img-data" :src="baseUrl+imgUrl.fileUrl">
  115. <img class="position-img" src="@/pages_safetyCheck/images/icon_ssp_closure.png"
  116. @click="delImg(imgIndex)">
  117. </view>
  118. <img class="add-button" src="@/pages_safetyCheck/images/img_ssp_pz@1x.png"
  119. @click="selectImage()" v-if="form.imgDtoList.length<6">
  120. </view>
  121. </view>
  122. <!-- <view class="list-li-tow">
  123. <view>整改方案(上传文件)</view>
  124. <view @click="selectFile()">
  125. <img src="@/pages_safetyCheck/images/icon_aqjc_sc.png">
  126. </view>
  127. </view>
  128. <view class="file-li" v-if="form.rectifyProjectName">
  129. <img src="@/pages_safetyCheck/images/icon_djc_wj.png">
  130. <view>{{form.rectifyProjectName}}</view>
  131. <img src="@/pages_safetyCheck/images/icon_yybz_sc.png">
  132. </view> -->
  133. </view>
  134. </scroll-view>
  135. <view class="sub-btn">
  136. <view @click="submitForm(2)">{{pageType==1?'退回整改':'暂无法整改'}}</view>
  137. <view @click="submitForm(1)">{{pageType==1?'复查完毕':'完成整改'}}</view>
  138. </view>
  139. </view>
  140. </template>
  141. <script>
  142. import {
  143. parseTime
  144. } from '@/component/public.js'
  145. import {
  146. config
  147. } from '@/api/request/config.js'
  148. import {
  149. securityAppCheckPhotoUpdate,
  150. securityAppCheckDangerGetCheckProDetail,
  151. securityAppCheckDangerCheckRectify,
  152. securityAppCheckDangerApprove,
  153. securityAppCheckPhotoGetCheckNumBySub,
  154. } from '@/pages_safetyCheck/api/index.js'
  155. export default {
  156. name: "snapshotDetail",
  157. components: {
  158. },
  159. data() {
  160. return {
  161. baseUrl: config.base_url,
  162. inspectionItems: 0, //0有检查项 1无检查项
  163. pageType:null,
  164. form: {
  165. imgDtoList: [],
  166. rectifyProjectName: '',
  167. rectifyProjectUrl: '',
  168. },
  169. hazardCheckNum: 0,
  170. newData: {},
  171. optionData: null,
  172. fontNum:0,
  173. rectifyId:null,
  174. editStatus:null,
  175. }
  176. },
  177. onLoad(option) {
  178. let optionData = JSON.parse(decodeURIComponent(option.infoData));
  179. this.$set(this, 'pageType', optionData.pageType);
  180. this.$set(this, 'optionData', optionData);
  181. this.$set(this, 'editStatus', optionData.editStatus);
  182. },
  183. onShow() {
  184. },
  185. mounted() {
  186. this.securityAppCheckDangerGetCheckProDetail();
  187. this.securityAppCheckPhotoGetCheckNumBySub();
  188. },
  189. methods: {
  190. //详情
  191. async securityAppCheckDangerGetCheckProDetail() {
  192. let self=this;
  193. let obj = {
  194. planId: this.optionData.checkPlanSetVoList.planId,
  195. planSetId: this.optionData.checkPlanSetVoList.planSetId,
  196. checkCategory: this.optionData.checkCategory,
  197. hazardCheckPro: this.optionData.hazardCheckPro,
  198. subId: this.optionData.subId,
  199. }
  200. const {
  201. data
  202. } = await securityAppCheckDangerGetCheckProDetail(obj);
  203. if (data.code == 200) {
  204. uni.setNavigationBarTitle({
  205. title: data.data.subName + '(' + data.data.roomNum + ')'
  206. })
  207. data.data.checkCollapse=false;
  208. data.data.inspectDot=false;
  209. data.data.checkTime= parseTime(data.data.checkTime, "{y}-{m}-{d}");
  210. if(data.data.checkRectifyVoList[0]){
  211. data.data.checkRectifyVoList.forEach(function(item,index){
  212. item.rectifyTime= parseTime(item.rectifyTime, "{y}-{m}-{d}");
  213. item.reviewTime= parseTime(item.reviewTime, "{y}-{m}-{d}");
  214. item.rectifyCollapse=false;
  215. item.reviewCollapse=false;
  216. if(index==data.data.checkRectifyVoList.length-1){
  217. self.$set(self, 'rectifyId', item.rectifyId);
  218. //编辑数据的时候数据回填
  219. if(self.pageType==1 && self.editStatus){
  220. item.rectifyCollapse=true;
  221. item.reviewTime=null;
  222. self.$set(self.form, 'examineOpinion', item.examineOpinion?item.examineOpinion:'');
  223. self.$set(self.form, 'imgDtoList', item.examineUploadList?item.examineUploadList:[]);
  224. }else if(self.pageType==2 && self.editStatus){
  225. item.reviewCollapse=true;
  226. item.rectifyTime=null;
  227. self.$set(self.form, 'rectifyMeasure', item.rectifyMeasure?item.rectifyMeasure:'');
  228. self.$set(self.form, 'imgDtoList', item.rectifyUploadList?item.rectifyUploadList:[]);
  229. }
  230. }
  231. })
  232. }
  233. this.$set(this, 'newData', data.data);
  234. }
  235. },
  236. // 限制文本框字数
  237. sumfontnum(e) {
  238. this.fontNum = e.detail.value.length
  239. },
  240. //获取检查项在当前实验室出现的次数
  241. async securityAppCheckPhotoGetCheckNumBySub() {
  242. let obj = {
  243. subId: this.optionData.subId,
  244. hazardCheckPro: this.optionData.hazardCheckPro,
  245. }
  246. const {
  247. data
  248. } = await securityAppCheckPhotoGetCheckNumBySub(obj);
  249. if (data.code == 200) {
  250. this.$set(this, 'hazardCheckNum', data.data);
  251. }
  252. },
  253. hiddenDangerClick(row) {
  254. let infoData = this.optionData;
  255. infoData.subName=this.newData.subName;
  256. infoData.roomNum=this.newData.roomNum;
  257. infoData.hiddenDangerRecordStatus = true;//判断是否跳转隐患列表
  258. uni.redirectTo({
  259. url: '/pages_safetyCheck/views/inspectManage/hiddenDangerRecord?infoData=' +
  260. encodeURIComponent(JSON.stringify(infoData))
  261. });
  262. },
  263. //图片预览
  264. lockImg(list) {
  265. if (!list[0]) {
  266. return
  267. }
  268. let urlList = [];
  269. for (let i = 0; i < list.length; i++) {
  270. urlList.push(config.base_url + list[i].fileUrl)
  271. }
  272. wx.previewImage({
  273. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  274. current: '', // 当前显示图片的http链接,默认是第一个
  275. success: function(res) {},
  276. fail: function(res) {},
  277. complete: function(res) {},
  278. })
  279. },
  280. //滚动事件
  281. scrollGet() {},
  282. /******文件上传******/
  283. selectFile() {
  284. let self = this;
  285. wx.chooseMessageFile({
  286. count: 1,
  287. type: 'file',
  288. success(res) {
  289. console.log(res)
  290. // tempFilePath可以作为img标签的src属性显示图片
  291. const tempFilePaths = res.tempFiles[0].path
  292. self.form.rectifyProjectName = res.tempFiles[0].name
  293. self.uploadFile(tempFilePaths);
  294. }
  295. })
  296. },
  297. async uploadFile(tempFilePaths) {
  298. var self = this;
  299. uni.showLoading({
  300. title: '上传中',
  301. mask: true
  302. });
  303. uni.uploadFile({
  304. url: config.base_url + '/system/file/upload', //仅为示例,非真实的接口地址
  305. header: {
  306. 'Authorization': uni.getStorageSync('token')
  307. },
  308. filePath: tempFilePaths,
  309. name: 'file',
  310. formData: {
  311. 'user': 'test'
  312. },
  313. success: (uploadFileRes) => {
  314. let res = JSON.parse(uploadFileRes.data);
  315. console.log(res)
  316. if (res.code == 200) {
  317. self.form.rectifyProjectUrl = res.data.url;
  318. } else {
  319. uni.showToast({
  320. title: res.msg,
  321. icon: "none",
  322. mask: true,
  323. duration: 2000
  324. });
  325. }
  326. },
  327. fail: err => {},
  328. complete: () => {
  329. uni.hideLoading()
  330. }
  331. });
  332. },
  333. /******图片上传******/
  334. selectImage() {
  335. let self = this;
  336. if (this.form.imgDtoList.length > 4) {
  337. uni.showToast({
  338. title: '最多上传5张图片',
  339. icon: "none",
  340. mask: true,
  341. duration: 2000
  342. });
  343. return
  344. }
  345. wx.chooseImage({
  346. count: 1,
  347. sizeType: ["original", "compressed"],
  348. sourceType: ["album", "camera"],
  349. success: function(res) {
  350. let tempFilePaths = res.tempFilePaths[0];
  351. console.log(tempFilePaths)
  352. self.uploadImg(tempFilePaths);
  353. }
  354. });
  355. },
  356. async uploadImg(tempFilePaths) {
  357. var self = this;
  358. uni.showLoading({
  359. title: '上传中',
  360. mask: true
  361. });
  362. uni.uploadFile({
  363. url: config.base_url + '/system/file/upload', //仅为示例,非真实的接口地址
  364. header: {
  365. 'Authorization': uni.getStorageSync('token')
  366. },
  367. filePath: tempFilePaths,
  368. name: 'file',
  369. formData: {
  370. 'user': 'test'
  371. },
  372. success: (uploadFileRes) => {
  373. let res = JSON.parse(uploadFileRes.data);
  374. if (res.code == 200) {
  375. this.form.imgDtoList.push({
  376. 'fileUrl': res.data.url,
  377. 'fileName': res.data.name,
  378. 'fileType': 2,
  379. });
  380. console.log(res.data.url)
  381. } else {
  382. uni.showToast({
  383. title: res.msg,
  384. icon: "none",
  385. mask: true,
  386. duration: 2000
  387. });
  388. }
  389. },
  390. fail: err => {},
  391. complete: () => {
  392. uni.hideLoading()
  393. }
  394. });
  395. },
  396. //删除图片
  397. delImg(minIndex) {
  398. this.form.imgDtoList.splice(minIndex, 1);
  399. this.$forceUpdate();
  400. },
  401. //折叠展开
  402. inspectDot(){
  403. this.newData.inspectDot=!this.newData.inspectDot
  404. },
  405. checkCollapse(row){
  406. this.newData.checkCollapse=!this.newData.checkCollapse
  407. },
  408. rectifyCollapse(row){
  409. row.rectifyCollapse=!row.rectifyCollapse
  410. },
  411. reviewCollapse(row){
  412. row.reviewCollapse=!row.reviewCollapse
  413. },
  414. //提交
  415. async submitForm(status) {
  416. let self = this;
  417. if(self.pageType==1){
  418. if(!this.form.examineOpinion){
  419. uni.showToast({
  420. title: '请填写复查验证描述!',
  421. icon: "none",
  422. mask: true,
  423. duration: 2000
  424. });
  425. return
  426. }
  427. if(!this.form.imgDtoList[0]){
  428. uni.showToast({
  429. title: '请选择现场照片!',
  430. icon: "none",
  431. mask: true,
  432. duration: 2000
  433. });
  434. return
  435. }
  436. //复查
  437. let obj = {
  438. rectifyId: this.rectifyId,
  439. examineOpinion: this.form.examineOpinion,
  440. examineResult: status == 1 ? 1 : 0, //1是通过,0是驳回
  441. examineUploadList: this.form.imgDtoList,
  442. }
  443. const {
  444. data
  445. } = await securityAppCheckDangerApprove(obj);
  446. if (data.code == 200) {
  447. uni.showToast({
  448. title: '提交成功',
  449. icon: "none",
  450. mask: true,
  451. duration: 2000
  452. });
  453. let infoData = this.optionData;
  454. uni.redirectTo({
  455. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  456. encodeURIComponent(JSON.stringify(infoData))
  457. });
  458. }
  459. }else if(self.pageType==2){
  460. if(!this.form.rectifyMeasure){
  461. uni.showToast({
  462. title: '请填写隐患整改描述!',
  463. icon: "none",
  464. mask: true,
  465. duration: 2000
  466. });
  467. return
  468. }
  469. if(!this.form.imgDtoList[0]){
  470. uni.showToast({
  471. title: '请选择现场照片!',
  472. icon: "none",
  473. mask: true,
  474. duration: 2000
  475. });
  476. return
  477. }
  478. //整改
  479. let obj = {
  480. checkCategory: this.optionData.checkCategory,
  481. dangerId: this.newData.dangerId,
  482. rectifyMaterialName: '', //待定字段
  483. rectifyMaterialUrl: '', //待定字段
  484. rectifyMeasure: this.form.rectifyMeasure,
  485. rectifyResult: status == 1 ? true : false, //true已整改false暂无法整改
  486. rectifyUploadList: this.form.imgDtoList,
  487. }
  488. const {
  489. data
  490. } = await securityAppCheckDangerCheckRectify(obj);
  491. if (data.code == 200) {
  492. uni.showToast({
  493. title: '提交成功',
  494. icon: "none",
  495. mask: true,
  496. duration: 2000
  497. });
  498. let infoData = this.optionData;
  499. uni.redirectTo({
  500. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  501. encodeURIComponent(JSON.stringify(infoData))
  502. });
  503. }
  504. }
  505. },
  506. }
  507. }
  508. </script>
  509. <style lang="stylus" scoped>
  510. .snapshotDetail {
  511. height: 100%;
  512. display flex;
  513. box-sizing: border-box;
  514. padding-bottom: 160rpx;
  515. box-sizing: border-box;
  516. #bgColor-A {
  517. color: #FFD400;
  518. }
  519. #bgColor-B {
  520. color: #FF8C00;
  521. }
  522. #bgColor-C {
  523. color: #E11608;
  524. }
  525. #fontColor-A {
  526. color: #FF8C00;
  527. }
  528. #fontColor-B {
  529. color: #16B531;
  530. }
  531. .tip {
  532. width: 750rpx;
  533. height: 80rpx;
  534. background: rgba(255, 140, 0, 0.2);
  535. font-weight: normal;
  536. font-size: 28rpx;
  537. color: #FF8C00;
  538. line-height: 80rpx;
  539. text-align: center;
  540. }
  541. .items {
  542. width: 690rpx;
  543. min-height: 165rpx;
  544. background: #FFFFFF;
  545. border-radius: 20rpx 20rpx 20rpx 20rpx;
  546. margin: 20rpx 0 0 30rpx;
  547. .items-li {
  548. display: flex;
  549. justify-content: space-between;
  550. align-items: center;
  551. padding: 0 30rpx;
  552. box-sizing: border-box;
  553. border-bottom: 1rpx solid #E0E0E0;
  554. >view:nth-of-type(1) {
  555. font-size: 30rpx;
  556. color: #333333;
  557. line-height: 80rpx;
  558. text-align: left;
  559. }
  560. >view:nth-of-type(2) {
  561. font-size: 28rpx;
  562. color: #666666;
  563. line-height: 80rpx;
  564. text-align: left;
  565. display: flex;
  566. justify-content: space-between;
  567. align-items: center;
  568. }
  569. }
  570. .items-t {
  571. border-bottom: 1rpx solid #E0E0E0;
  572. height: 80rpx;
  573. display: flex;
  574. justify-content: flex-start;
  575. align-items: center;
  576. padding: 0 30rpx;
  577. box-sizing: border-box;
  578. .items-t-l {
  579. width: 175rpx;
  580. height: 50rpx;
  581. background: #E11608;
  582. border-radius: 50rpx 50rpx 50rpx 50rpx;
  583. font-size: 30rpx;
  584. color: #FFFFFF;
  585. line-height: 50rpx;
  586. text-align: center;
  587. margin-right: 14rpx;
  588. }
  589. .items-t-r {
  590. font-size: 30rpx;
  591. color: #333333;
  592. line-height: 42rpx;
  593. text-align: left;
  594. }
  595. }
  596. .items-b {
  597. padding: 0 30rpx;
  598. box-sizing: border-box;
  599. height: 80rpx;
  600. font-size: 28rpx;
  601. color: #666666;
  602. line-height: 80rpx;
  603. text-align: left;
  604. }
  605. }
  606. .items-number {
  607. font-size: 24rpx;
  608. color: #3D3D3D;
  609. line-height: 34rpx;
  610. text-align: right;
  611. margin: 20rpx 60rpx 0 0;
  612. >text {
  613. font-size: 24rpx;
  614. color: #FF0000;
  615. line-height: 34rpx;
  616. text-align: right;
  617. }
  618. }
  619. .list {
  620. width: 690rpx;
  621. margin: 20rpx 30rpx 0;
  622. background: #FFFFFF;
  623. border-radius: 20rpx 20rpx 20rpx 20rpx;
  624. .list-li {
  625. display: flex;
  626. justify-content: space-between;
  627. align-items: center;
  628. padding: 0 30rpx;
  629. box-sizing: border-box;
  630. border-bottom: 1rpx solid #E0E0E0;
  631. >view:nth-of-type(1) {
  632. font-size: 30rpx;
  633. color: #333333;
  634. line-height: 80rpx;
  635. text-align: left;
  636. }
  637. >view:nth-of-type(2) {
  638. font-size: 28rpx;
  639. color: #666666;
  640. line-height: 80rpx;
  641. text-align: left;
  642. display: flex;
  643. justify-content: space-between;
  644. align-items: center;
  645. >img {
  646. width: 24rpx;
  647. height: 12rpx;
  648. margin-left: 10rpx;
  649. }
  650. }
  651. }
  652. .list-li-tow {
  653. display: flex;
  654. justify-content: space-between;
  655. align-items: center;
  656. padding: 0 30rpx;
  657. box-sizing: border-box;
  658. border-top: 1rpx solid #E0E0E0;
  659. border-bottom: 1rpx solid #E0E0E0;
  660. >view:nth-of-type(1) {
  661. font-size: 30rpx;
  662. color: #333333;
  663. line-height: 80rpx;
  664. text-align: left;
  665. }
  666. >view:nth-of-type(2) {
  667. font-size: 28rpx;
  668. color: #666666;
  669. line-height: 80rpx;
  670. text-align: left;
  671. display: flex;
  672. justify-content: space-between;
  673. align-items: center;
  674. >img {
  675. width: 30rpx;
  676. height: 28rpx;
  677. margin-left: 10rpx;
  678. }
  679. }
  680. }
  681. .file-li {
  682. display: flex;
  683. justify-content: space-between;
  684. align-items: center;
  685. padding: 0 30rpx;
  686. box-sizing: border-box;
  687. >img:nth-of-type(1) {
  688. width: 30rpx;
  689. height: 30rpx;
  690. }
  691. >view {
  692. flex: 1;
  693. font-size: 28rpx;
  694. color: #333333;
  695. line-height: 80rpx;
  696. text-align: left;
  697. margin: 0 92rpx 0 16rpx;
  698. overflow: hidden;
  699. text-overflow: ellipsis;
  700. white-space: nowrap;
  701. }
  702. >img:nth-of-type(2) {
  703. width: 30rpx;
  704. height: 30rpx;
  705. }
  706. }
  707. .hidden-content {
  708. width: 630rpx;
  709. min-height: 200rpx;
  710. background: #F5F5F5;
  711. border-radius: 20rpx 20rpx 20rpx 20rpx;
  712. margin: 20rpx 30rpx 0;
  713. padding: 20rpx;
  714. box-sizing: border-box;
  715. font-size: 28rpx;
  716. color: #666666;
  717. line-height: 39rpx;
  718. text-align: left;
  719. }
  720. .photo {
  721. display: flex;
  722. justify-content: flex-start;
  723. flex-wrap: wrap;
  724. margin-top: 20rpx;
  725. padding: 0 30rpx;
  726. box-sizing: border-box;
  727. >img {
  728. width: 150rpx;
  729. height: 150rpx;
  730. border-radius: 10rpx 10rpx 10rpx 10rpx;
  731. margin: 0 10rpx 10rpx 0;
  732. }
  733. }
  734. .describe {
  735. width: 636rpx;
  736. height: 120rpx;
  737. border-radius: 10rpx 10rpx 10rpx 10rpx;
  738. border: 1rpx solid #E0E0E0;
  739. margin: 20rpx 0 0 28rpx;
  740. padding: 12rpx 16rpx;
  741. box-sizing: border-box;
  742. }
  743. .check-for-img-max-box {
  744. margin: 20px 28rpx;
  745. .left-title-p {
  746. width: 100%;
  747. text-align: left;
  748. font-size: 30rpx;
  749. font-family: PingFang SC-Medium, PingFang SC;
  750. font-weight: 400;
  751. color: #333333;
  752. line-height: 80rpx;
  753. }
  754. .right-img-box {
  755. .img-box {
  756. display inline-block;
  757. height: 150rpx;
  758. width: 150rpx;
  759. position relative;
  760. margin: 0 14rpx 20rpx 0;
  761. border-radius 10rpx;
  762. overflow hidden;
  763. .img-data {
  764. height: 150rpx;
  765. width: 150rpx;
  766. }
  767. .position-img {
  768. position absolute;
  769. right: 0;
  770. top: 0;
  771. width: 36rpx;
  772. height: 36rpx;
  773. }
  774. }
  775. .img-box:nth-of-type(3n+3) {
  776. margin-right: 0rpx;
  777. }
  778. .add-button {
  779. margin: 0 0rpx 20rpx 0;
  780. border-radius 10rpx;
  781. overflow hidden;
  782. display inline-block;
  783. height: 150rpx;
  784. width: 150rpx;
  785. }
  786. }
  787. }
  788. /* .list-li:last-of-type {
  789. border: none;
  790. } */
  791. }
  792. }
  793. .sub-btn {
  794. display: flex;
  795. justify-content: center;
  796. position: fixed;
  797. left: 30rpx;
  798. bottom: 30rpx;
  799. >view:nth-of-type(1) {
  800. width: 345rpx;
  801. height: 100rpx;
  802. background: #FF8C00;
  803. border-radius: 50rpx 0rpx 0rpx 50rpx;
  804. font-size: 30rpx;
  805. color: #FFFFFF;
  806. line-height: 100rpx;
  807. text-align: center;
  808. }
  809. >view:nth-of-type(2) {
  810. width: 345rpx;
  811. height: 100rpx;
  812. background: #0183FA;
  813. border-radius: 0rpx 50rpx 50rpx 0rpx;
  814. font-size: 30rpx;
  815. color: #FFFFFF;
  816. line-height: 100rpx;
  817. text-align: center;
  818. }
  819. }
  820. </style>