hiddenDangerRectification.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842
  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!=''">
  15. 此检查项在当前实验室累计出现<text>{{newData.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">
  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. } from '@/pages_safetyCheck/api/index.js'
  154. export default {
  155. name: "snapshotDetail",
  156. components: {
  157. },
  158. data() {
  159. return {
  160. baseUrl: config.base_url,
  161. inspectionItems: 0, //0有检查项 1无检查项
  162. pageType:null,
  163. form: {
  164. imgDtoList: [],
  165. rectifyProjectName: '',
  166. rectifyProjectUrl: '',
  167. },
  168. newData: {},
  169. optionData: null,
  170. fontNum:0,
  171. rectifyId:null,
  172. editStatus:null,
  173. }
  174. },
  175. onLoad(option) {
  176. let optionData = JSON.parse(decodeURIComponent(option.infoData));
  177. console.log('整改',optionData)
  178. this.$set(this, 'pageType', optionData.pageType);
  179. this.$set(this, 'optionData', optionData);
  180. this.$set(this, 'editStatus', optionData.editStatus);
  181. },
  182. onShow() {
  183. },
  184. mounted() {
  185. this.securityAppCheckDangerGetCheckProDetail();
  186. },
  187. methods: {
  188. //详情
  189. async securityAppCheckDangerGetCheckProDetail() {
  190. let self=this;
  191. let obj = {
  192. planId: this.optionData.checkPlanSetVoList.planId,
  193. planSetId: this.optionData.checkPlanSetVoList.planSetId,
  194. checkCategory: this.optionData.checkCategory,
  195. hazardCheckPro: this.optionData.hazardCheckPro,
  196. subId: this.optionData.subId,
  197. }
  198. const {
  199. data
  200. } = await securityAppCheckDangerGetCheckProDetail(obj);
  201. if (data.code == 200) {
  202. uni.setNavigationBarTitle({
  203. title: data.data.subName + '(' + data.data.roomNum + ')'
  204. })
  205. data.data.checkCollapse=false;
  206. data.data.inspectDot=false;
  207. data.data.checkTime= parseTime(data.data.checkTime, "{y}-{m}-{d}");
  208. if(data.data.checkRectifyVoList[0]){
  209. data.data.checkRectifyVoList.forEach(function(item,index){
  210. item.rectifyTime= parseTime(item.rectifyTime, "{y}-{m}-{d}");
  211. item.reviewTime= parseTime(item.reviewTime, "{y}-{m}-{d}");
  212. item.rectifyCollapse=false;
  213. item.reviewCollapse=false;
  214. if(index==data.data.checkRectifyVoList.length-1){
  215. self.$set(self, 'rectifyId', item.rectifyId);
  216. //编辑数据的时候数据回填
  217. if(self.pageType==1 && self.editStatus){
  218. item.rectifyCollapse=true;
  219. item.reviewTime=null;
  220. self.$set(self.form, 'examineOpinion', item.examineOpinion?item.examineOpinion:'');
  221. self.$set(self.form, 'imgDtoList', item.examineUploadList?item.examineUploadList:[]);
  222. }else if(self.pageType==2 && self.editStatus){
  223. item.reviewCollapse=true;
  224. item.rectifyTime=null;
  225. self.$set(self.form, 'rectifyMeasure', item.rectifyMeasure?item.rectifyMeasure:'');
  226. self.$set(self.form, 'imgDtoList', item.rectifyUploadList?item.rectifyUploadList:[]);
  227. }
  228. }
  229. })
  230. }
  231. this.$set(this, 'newData', data.data);
  232. }
  233. },
  234. // 限制文本框字数
  235. sumfontnum(e) {
  236. this.fontNum = e.detail.value.length
  237. },
  238. //滚动事件
  239. scrollGet() {},
  240. /******文件上传******/
  241. selectFile() {
  242. let self = this;
  243. wx.chooseMessageFile({
  244. count: 1,
  245. type: 'file',
  246. success(res) {
  247. console.log(res)
  248. // tempFilePath可以作为img标签的src属性显示图片
  249. const tempFilePaths = res.tempFiles[0].path
  250. self.form.rectifyProjectName = res.tempFiles[0].name
  251. self.uploadFile(tempFilePaths);
  252. }
  253. })
  254. },
  255. async uploadFile(tempFilePaths) {
  256. var self = this;
  257. uni.showLoading({
  258. title: '上传中',
  259. mask: true
  260. });
  261. uni.uploadFile({
  262. url: config.base_url + '/system/file/upload', //仅为示例,非真实的接口地址
  263. header: {
  264. 'Authorization': uni.getStorageSync('token')
  265. },
  266. filePath: tempFilePaths,
  267. name: 'file',
  268. formData: {
  269. 'user': 'test'
  270. },
  271. success: (uploadFileRes) => {
  272. let res = JSON.parse(uploadFileRes.data);
  273. console.log(res)
  274. if (res.code == 200) {
  275. self.form.rectifyProjectUrl = res.data.url;
  276. } else {
  277. uni.showToast({
  278. title: res.msg,
  279. icon: "none",
  280. mask: true,
  281. duration: 2000
  282. });
  283. }
  284. },
  285. fail: err => {},
  286. complete: () => {
  287. uni.hideLoading()
  288. }
  289. });
  290. },
  291. /******图片上传******/
  292. selectImage() {
  293. let self = this;
  294. if (this.form.imgDtoList.length > 4) {
  295. uni.showToast({
  296. title: '最多上传5张图片',
  297. icon: "none",
  298. mask: true,
  299. duration: 2000
  300. });
  301. return
  302. }
  303. wx.chooseImage({
  304. count: 1,
  305. sizeType: ["original", "compressed"],
  306. sourceType: ["album", "camera"],
  307. success: function(res) {
  308. let tempFilePaths = res.tempFilePaths[0];
  309. console.log(tempFilePaths)
  310. self.uploadImg(tempFilePaths);
  311. }
  312. });
  313. },
  314. async uploadImg(tempFilePaths) {
  315. var self = this;
  316. uni.showLoading({
  317. title: '上传中',
  318. mask: true
  319. });
  320. uni.uploadFile({
  321. url: config.base_url + '/system/file/upload', //仅为示例,非真实的接口地址
  322. header: {
  323. 'Authorization': uni.getStorageSync('token')
  324. },
  325. filePath: tempFilePaths,
  326. name: 'file',
  327. formData: {
  328. 'user': 'test'
  329. },
  330. success: (uploadFileRes) => {
  331. let res = JSON.parse(uploadFileRes.data);
  332. if (res.code == 200) {
  333. this.form.imgDtoList.push({
  334. 'fileUrl': res.data.url,
  335. 'fileName': res.data.name,
  336. 'fileType': 2,
  337. });
  338. console.log(res.data.url)
  339. } else {
  340. uni.showToast({
  341. title: res.msg,
  342. icon: "none",
  343. mask: true,
  344. duration: 2000
  345. });
  346. }
  347. },
  348. fail: err => {},
  349. complete: () => {
  350. uni.hideLoading()
  351. }
  352. });
  353. },
  354. //删除图片
  355. delImg(minIndex) {
  356. this.form.imgDtoList.splice(minIndex, 1);
  357. this.$forceUpdate();
  358. },
  359. //折叠展开
  360. inspectDot(){
  361. this.newData.inspectDot=!this.newData.inspectDot
  362. },
  363. checkCollapse(row){
  364. this.newData.checkCollapse=!this.newData.checkCollapse
  365. },
  366. rectifyCollapse(row){
  367. row.rectifyCollapse=!row.rectifyCollapse
  368. },
  369. reviewCollapse(row){
  370. row.reviewCollapse=!row.reviewCollapse
  371. },
  372. //提交
  373. async submitForm(status) {
  374. let self = this;
  375. if(self.pageType==1){
  376. if(!this.form.examineOpinion){
  377. uni.showToast({
  378. title: '请填写复查验证描述!',
  379. icon: "none",
  380. mask: true,
  381. duration: 2000
  382. });
  383. return
  384. }
  385. if(!this.form.imgDtoList[0]){
  386. uni.showToast({
  387. title: '请选择现场照片!',
  388. icon: "none",
  389. mask: true,
  390. duration: 2000
  391. });
  392. return
  393. }
  394. //复查
  395. let obj = {
  396. rectifyId: this.rectifyId,
  397. examineOpinion: this.form.examineOpinion,
  398. examineResult: status == 1 ? 1 : 0, //1是通过,0是驳回
  399. examineUploadList: this.form.imgDtoList,
  400. }
  401. const {
  402. data
  403. } = await securityAppCheckDangerApprove(obj);
  404. if (data.code == 200) {
  405. uni.showToast({
  406. title: '提交成功',
  407. icon: "none",
  408. mask: true,
  409. duration: 2000
  410. });
  411. let infoData = this.optionData;
  412. uni.redirectTo({
  413. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  414. encodeURIComponent(JSON.stringify(infoData))
  415. });
  416. }
  417. }else if(self.pageType==2){
  418. if(!this.form.rectifyMeasure){
  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. checkCategory: this.optionData.checkCategory,
  439. dangerId: this.newData.dangerId,
  440. rectifyMaterialName: '', //待定字段
  441. rectifyMaterialUrl: '', //待定字段
  442. rectifyMeasure: this.form.rectifyMeasure,
  443. rectifyResult: status == 1 ? true : false, //true已整改false暂无法整改
  444. rectifyUploadList: this.form.imgDtoList,
  445. }
  446. const {
  447. data
  448. } = await securityAppCheckDangerCheckRectify(obj);
  449. if (data.code == 200) {
  450. uni.showToast({
  451. title: '提交成功',
  452. icon: "none",
  453. mask: true,
  454. duration: 2000
  455. });
  456. let infoData = this.optionData;
  457. uni.redirectTo({
  458. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  459. encodeURIComponent(JSON.stringify(infoData))
  460. });
  461. }
  462. }
  463. },
  464. }
  465. }
  466. </script>
  467. <style lang="stylus" scoped>
  468. .snapshotDetail {
  469. height: 100%;
  470. display flex;
  471. box-sizing: border-box;
  472. padding-bottom: 160rpx;
  473. box-sizing: border-box;
  474. #bgColor-A {
  475. color: #FFD400;
  476. }
  477. #bgColor-B {
  478. color: #FF8C00;
  479. }
  480. #bgColor-C {
  481. color: #E11608;
  482. }
  483. #fontColor-A {
  484. color: #FF8C00;
  485. }
  486. #fontColor-B {
  487. color: #16B531;
  488. }
  489. .tip {
  490. width: 750rpx;
  491. height: 80rpx;
  492. background: rgba(255, 140, 0, 0.2);
  493. font-weight: normal;
  494. font-size: 28rpx;
  495. color: #FF8C00;
  496. line-height: 80rpx;
  497. text-align: center;
  498. }
  499. .items {
  500. width: 690rpx;
  501. min-height: 165rpx;
  502. background: #FFFFFF;
  503. border-radius: 20rpx 20rpx 20rpx 20rpx;
  504. margin: 20rpx 0 0 30rpx;
  505. .items-li {
  506. display: flex;
  507. justify-content: space-between;
  508. align-items: center;
  509. padding: 0 30rpx;
  510. box-sizing: border-box;
  511. border-bottom: 1rpx solid #E0E0E0;
  512. >view:nth-of-type(1) {
  513. font-size: 30rpx;
  514. color: #333333;
  515. line-height: 80rpx;
  516. text-align: left;
  517. }
  518. >view:nth-of-type(2) {
  519. font-size: 28rpx;
  520. color: #666666;
  521. line-height: 80rpx;
  522. text-align: left;
  523. display: flex;
  524. justify-content: space-between;
  525. align-items: center;
  526. }
  527. }
  528. .items-t {
  529. border-bottom: 1rpx solid #E0E0E0;
  530. height: 80rpx;
  531. display: flex;
  532. justify-content: flex-start;
  533. align-items: center;
  534. padding: 0 30rpx;
  535. box-sizing: border-box;
  536. .items-t-l {
  537. width: 175rpx;
  538. height: 50rpx;
  539. background: #E11608;
  540. border-radius: 50rpx 50rpx 50rpx 50rpx;
  541. font-size: 30rpx;
  542. color: #FFFFFF;
  543. line-height: 50rpx;
  544. text-align: center;
  545. margin-right: 14rpx;
  546. }
  547. .items-t-r {
  548. font-size: 30rpx;
  549. color: #333333;
  550. line-height: 42rpx;
  551. text-align: left;
  552. }
  553. }
  554. .items-b {
  555. padding: 0 30rpx;
  556. box-sizing: border-box;
  557. height: 80rpx;
  558. font-size: 28rpx;
  559. color: #666666;
  560. line-height: 80rpx;
  561. text-align: left;
  562. }
  563. }
  564. .items-number {
  565. font-size: 24rpx;
  566. color: #3D3D3D;
  567. line-height: 34rpx;
  568. text-align: right;
  569. margin: 20rpx 60rpx 0 0;
  570. >text {
  571. font-size: 24rpx;
  572. color: #FF0000;
  573. line-height: 34rpx;
  574. text-align: right;
  575. }
  576. }
  577. .list {
  578. width: 690rpx;
  579. margin: 20rpx 30rpx 0;
  580. background: #FFFFFF;
  581. border-radius: 20rpx 20rpx 20rpx 20rpx;
  582. .list-li {
  583. display: flex;
  584. justify-content: space-between;
  585. align-items: center;
  586. padding: 0 30rpx;
  587. box-sizing: border-box;
  588. border-bottom: 1rpx solid #E0E0E0;
  589. >view:nth-of-type(1) {
  590. font-size: 30rpx;
  591. color: #333333;
  592. line-height: 80rpx;
  593. text-align: left;
  594. }
  595. >view:nth-of-type(2) {
  596. font-size: 28rpx;
  597. color: #666666;
  598. line-height: 80rpx;
  599. text-align: left;
  600. display: flex;
  601. justify-content: space-between;
  602. align-items: center;
  603. >img {
  604. width: 24rpx;
  605. height: 12rpx;
  606. margin-left: 10rpx;
  607. }
  608. }
  609. }
  610. .list-li-tow {
  611. display: flex;
  612. justify-content: space-between;
  613. align-items: center;
  614. padding: 0 30rpx;
  615. box-sizing: border-box;
  616. border-top: 1rpx solid #E0E0E0;
  617. border-bottom: 1rpx solid #E0E0E0;
  618. >view:nth-of-type(1) {
  619. font-size: 30rpx;
  620. color: #333333;
  621. line-height: 80rpx;
  622. text-align: left;
  623. }
  624. >view:nth-of-type(2) {
  625. font-size: 28rpx;
  626. color: #666666;
  627. line-height: 80rpx;
  628. text-align: left;
  629. display: flex;
  630. justify-content: space-between;
  631. align-items: center;
  632. >img {
  633. width: 30rpx;
  634. height: 28rpx;
  635. margin-left: 10rpx;
  636. }
  637. }
  638. }
  639. .file-li {
  640. display: flex;
  641. justify-content: space-between;
  642. align-items: center;
  643. padding: 0 30rpx;
  644. box-sizing: border-box;
  645. >img:nth-of-type(1) {
  646. width: 30rpx;
  647. height: 30rpx;
  648. }
  649. >view {
  650. flex: 1;
  651. font-size: 28rpx;
  652. color: #333333;
  653. line-height: 80rpx;
  654. text-align: left;
  655. margin: 0 92rpx 0 16rpx;
  656. overflow: hidden;
  657. text-overflow: ellipsis;
  658. white-space: nowrap;
  659. }
  660. >img:nth-of-type(2) {
  661. width: 30rpx;
  662. height: 30rpx;
  663. }
  664. }
  665. .hidden-content {
  666. width: 630rpx;
  667. min-height: 200rpx;
  668. background: #F5F5F5;
  669. border-radius: 20rpx 20rpx 20rpx 20rpx;
  670. margin: 20rpx 30rpx 0;
  671. padding: 20rpx;
  672. box-sizing: border-box;
  673. font-size: 28rpx;
  674. color: #666666;
  675. line-height: 39rpx;
  676. text-align: left;
  677. }
  678. .photo {
  679. display: flex;
  680. justify-content: flex-start;
  681. flex-wrap: wrap;
  682. margin-top: 20rpx;
  683. padding: 0 30rpx;
  684. box-sizing: border-box;
  685. >img {
  686. width: 150rpx;
  687. height: 150rpx;
  688. border-radius: 10rpx 10rpx 10rpx 10rpx;
  689. margin: 0 10rpx 10rpx 0;
  690. }
  691. }
  692. .describe {
  693. width: 636rpx;
  694. height: 120rpx;
  695. border-radius: 10rpx 10rpx 10rpx 10rpx;
  696. border: 1rpx solid #E0E0E0;
  697. margin: 20rpx 0 0 28rpx;
  698. padding: 12rpx 16rpx;
  699. box-sizing: border-box;
  700. }
  701. .check-for-img-max-box {
  702. margin: 20px 28rpx;
  703. .left-title-p {
  704. width: 100%;
  705. text-align: left;
  706. font-size: 30rpx;
  707. font-family: PingFang SC-Medium, PingFang SC;
  708. font-weight: 400;
  709. color: #333333;
  710. line-height: 80rpx;
  711. }
  712. .right-img-box {
  713. .img-box {
  714. display inline-block;
  715. height: 150rpx;
  716. width: 150rpx;
  717. position relative;
  718. margin: 0 14rpx 20rpx 0;
  719. border-radius 10rpx;
  720. overflow hidden;
  721. .img-data {
  722. height: 150rpx;
  723. width: 150rpx;
  724. }
  725. .position-img {
  726. position absolute;
  727. right: 0;
  728. top: 0;
  729. width: 36rpx;
  730. height: 36rpx;
  731. }
  732. }
  733. .img-box:nth-of-type(3n+3) {
  734. margin-right: 0rpx;
  735. }
  736. .add-button {
  737. margin: 0 0rpx 20rpx 0;
  738. border-radius 10rpx;
  739. overflow hidden;
  740. display inline-block;
  741. height: 150rpx;
  742. width: 150rpx;
  743. }
  744. }
  745. }
  746. /* .list-li:last-of-type {
  747. border: none;
  748. } */
  749. }
  750. }
  751. .sub-btn {
  752. display: flex;
  753. justify-content: center;
  754. position: fixed;
  755. left: 30rpx;
  756. bottom: 30rpx;
  757. >view:nth-of-type(1) {
  758. width: 345rpx;
  759. height: 100rpx;
  760. background: #FF8C00;
  761. border-radius: 50rpx 0rpx 0rpx 50rpx;
  762. font-size: 30rpx;
  763. color: #FFFFFF;
  764. line-height: 100rpx;
  765. text-align: center;
  766. }
  767. >view:nth-of-type(2) {
  768. width: 345rpx;
  769. height: 100rpx;
  770. background: #0183FA;
  771. border-radius: 0rpx 50rpx 50rpx 0rpx;
  772. font-size: 30rpx;
  773. color: #FFFFFF;
  774. line-height: 100rpx;
  775. text-align: center;
  776. }
  777. }
  778. </style>