hiddenDangerRectification.vue 23 KB

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