hiddenDangerRectification.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891
  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 > 5) {
  338. uni.showToast({
  339. title: '最多上传6张图片',
  340. icon: "none",
  341. mask: true,
  342. duration: 2000
  343. });
  344. return
  345. }
  346. wx.chooseImage({
  347. count: 6,
  348. sizeType: ["original", "compressed"],
  349. sourceType: ["album", "camera"],
  350. success: function(res) {
  351. if (res.tempFilePaths[0]) {
  352. res.tempFilePaths.forEach(function(item, index) {
  353. self.uploadImg(item);
  354. })
  355. }
  356. }
  357. });
  358. },
  359. async uploadImg(tempFilePaths) {
  360. var self = this;
  361. uni.showLoading({
  362. title: '上传中',
  363. mask: true
  364. });
  365. uni.uploadFile({
  366. url: config.base_url + '/system/file/upload', //仅为示例,非真实的接口地址
  367. header: {
  368. 'Authorization': uni.getStorageSync('token')
  369. },
  370. filePath: tempFilePaths,
  371. name: 'file',
  372. formData: {
  373. 'user': 'test'
  374. },
  375. success: (uploadFileRes) => {
  376. let res = JSON.parse(uploadFileRes.data);
  377. if (res.code == 200) {
  378. this.form.imgDtoList.push({
  379. 'fileUrl': res.data.url,
  380. 'fileName': res.data.name,
  381. 'fileType': 2,
  382. });
  383. console.log(res.data.url)
  384. } else {
  385. uni.showToast({
  386. title: res.msg,
  387. icon: "none",
  388. mask: true,
  389. duration: 2000
  390. });
  391. }
  392. },
  393. fail: err => {},
  394. complete: () => {
  395. uni.hideLoading()
  396. }
  397. });
  398. },
  399. //删除图片
  400. delImg(minIndex) {
  401. this.form.imgDtoList.splice(minIndex, 1);
  402. this.$forceUpdate();
  403. },
  404. //折叠展开
  405. inspectDot(){
  406. this.newData.inspectDot=!this.newData.inspectDot
  407. },
  408. checkCollapse(row){
  409. this.newData.checkCollapse=!this.newData.checkCollapse
  410. },
  411. rectifyCollapse(row){
  412. row.rectifyCollapse=!row.rectifyCollapse
  413. },
  414. reviewCollapse(row){
  415. row.reviewCollapse=!row.reviewCollapse
  416. },
  417. //提交
  418. async submitForm(status) {
  419. let self = this;
  420. if(self.pageType==1){
  421. if(!this.form.examineOpinion && status==2){
  422. uni.showToast({
  423. title: '请填写复查验证描述!',
  424. icon: "none",
  425. mask: true,
  426. duration: 2000
  427. });
  428. return
  429. }
  430. if(!this.form.imgDtoList[0] && status==2){
  431. uni.showToast({
  432. title: '请选择现场照片!',
  433. icon: "none",
  434. mask: true,
  435. duration: 2000
  436. });
  437. return
  438. }
  439. //复查
  440. let obj = {
  441. rectifyId: this.rectifyId,
  442. examineOpinion: this.form.examineOpinion,
  443. examineResult: status == 1 ? 1 : 0, //1是通过,0是驳回
  444. examineUploadList: this.form.imgDtoList,
  445. }
  446. const {
  447. data
  448. } = await securityAppCheckDangerApprove(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. }else if(self.pageType==2){
  463. if(!this.form.rectifyMeasure && status==2){
  464. uni.showToast({
  465. title: '请填写隐患整改描述!',
  466. icon: "none",
  467. mask: true,
  468. duration: 2000
  469. });
  470. return
  471. }
  472. if(!this.form.imgDtoList[0] && status==2){
  473. uni.showToast({
  474. title: '请选择现场照片!',
  475. icon: "none",
  476. mask: true,
  477. duration: 2000
  478. });
  479. return
  480. }
  481. //整改
  482. let obj = {
  483. checkCategory: this.optionData.checkCategory,
  484. dangerId: this.newData.dangerId,
  485. rectifyMaterialName: '', //待定字段
  486. rectifyMaterialUrl: '', //待定字段
  487. rectifyMeasure: this.form.rectifyMeasure,
  488. rectifyResult: status == 1 ? true : false, //true已整改false暂无法整改
  489. rectifyUploadList: this.form.imgDtoList,
  490. }
  491. const {
  492. data
  493. } = await securityAppCheckDangerCheckRectify(obj);
  494. if (data.code == 200) {
  495. uni.showToast({
  496. title: '提交成功',
  497. icon: "none",
  498. mask: true,
  499. duration: 2000
  500. });
  501. let infoData = this.optionData;
  502. uni.redirectTo({
  503. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItemsDetail?infoData=' +
  504. encodeURIComponent(JSON.stringify(infoData))
  505. });
  506. }
  507. }
  508. },
  509. }
  510. }
  511. </script>
  512. <style lang="stylus" scoped>
  513. .snapshotDetail {
  514. height: 100%;
  515. display flex;
  516. box-sizing: border-box;
  517. padding-bottom: 160rpx;
  518. box-sizing: border-box;
  519. #bgColor-A {
  520. color: #FFD400;
  521. }
  522. #bgColor-B {
  523. color: #FF8C00;
  524. }
  525. #bgColor-C {
  526. color: #E11608;
  527. }
  528. #fontColor-A {
  529. color: #FF8C00;
  530. }
  531. #fontColor-B {
  532. color: #16B531;
  533. }
  534. .tip {
  535. width: 750rpx;
  536. height: 80rpx;
  537. background: rgba(255, 140, 0, 0.2);
  538. font-weight: normal;
  539. font-size: 28rpx;
  540. color: #FF8C00;
  541. line-height: 80rpx;
  542. text-align: center;
  543. }
  544. .items {
  545. width: 690rpx;
  546. min-height: 165rpx;
  547. background: #FFFFFF;
  548. border-radius: 20rpx 20rpx 20rpx 20rpx;
  549. margin: 20rpx 0 0 30rpx;
  550. .items-li {
  551. display: flex;
  552. justify-content: space-between;
  553. align-items: center;
  554. padding: 0 30rpx;
  555. box-sizing: border-box;
  556. border-bottom: 1rpx solid #E0E0E0;
  557. >view:nth-of-type(1) {
  558. font-size: 30rpx;
  559. color: #333333;
  560. line-height: 80rpx;
  561. text-align: left;
  562. }
  563. >view:nth-of-type(2) {
  564. font-size: 28rpx;
  565. color: #666666;
  566. line-height: 80rpx;
  567. text-align: left;
  568. display: flex;
  569. justify-content: space-between;
  570. align-items: center;
  571. }
  572. }
  573. .items-t {
  574. border-bottom: 1rpx solid #E0E0E0;
  575. height: 80rpx;
  576. display: flex;
  577. justify-content: flex-start;
  578. align-items: center;
  579. padding: 0 30rpx;
  580. box-sizing: border-box;
  581. .items-t-l {
  582. width: 175rpx;
  583. height: 50rpx;
  584. background: #E11608;
  585. border-radius: 50rpx 50rpx 50rpx 50rpx;
  586. font-size: 30rpx;
  587. color: #FFFFFF;
  588. line-height: 50rpx;
  589. text-align: center;
  590. margin-right: 14rpx;
  591. }
  592. .items-t-r {
  593. font-size: 30rpx;
  594. color: #333333;
  595. line-height: 42rpx;
  596. text-align: left;
  597. }
  598. }
  599. .items-b {
  600. padding: 0 30rpx;
  601. box-sizing: border-box;
  602. height: 80rpx;
  603. font-size: 28rpx;
  604. color: #666666;
  605. line-height: 80rpx;
  606. text-align: left;
  607. }
  608. }
  609. .items-number {
  610. font-size: 24rpx;
  611. color: #3D3D3D;
  612. line-height: 34rpx;
  613. text-align: right;
  614. margin: 20rpx 60rpx 0 0;
  615. >text {
  616. font-size: 24rpx;
  617. color: #FF0000;
  618. line-height: 34rpx;
  619. text-align: right;
  620. }
  621. }
  622. .list {
  623. width: 690rpx;
  624. margin: 20rpx 30rpx 0;
  625. background: #FFFFFF;
  626. border-radius: 20rpx 20rpx 20rpx 20rpx;
  627. .list-li {
  628. display: flex;
  629. justify-content: space-between;
  630. align-items: center;
  631. padding: 0 30rpx;
  632. box-sizing: border-box;
  633. border-bottom: 1rpx solid #E0E0E0;
  634. >view:nth-of-type(1) {
  635. font-size: 30rpx;
  636. color: #333333;
  637. line-height: 80rpx;
  638. text-align: left;
  639. }
  640. >view:nth-of-type(2) {
  641. font-size: 28rpx;
  642. color: #666666;
  643. line-height: 80rpx;
  644. text-align: left;
  645. display: flex;
  646. justify-content: space-between;
  647. align-items: center;
  648. >img {
  649. width: 24rpx;
  650. height: 12rpx;
  651. margin-left: 10rpx;
  652. }
  653. }
  654. }
  655. .list-li-tow {
  656. display: flex;
  657. justify-content: space-between;
  658. align-items: center;
  659. padding: 0 30rpx;
  660. box-sizing: border-box;
  661. border-top: 1rpx solid #E0E0E0;
  662. border-bottom: 1rpx solid #E0E0E0;
  663. >view:nth-of-type(1) {
  664. font-size: 30rpx;
  665. color: #333333;
  666. line-height: 80rpx;
  667. text-align: left;
  668. }
  669. >view:nth-of-type(2) {
  670. font-size: 28rpx;
  671. color: #666666;
  672. line-height: 80rpx;
  673. text-align: left;
  674. display: flex;
  675. justify-content: space-between;
  676. align-items: center;
  677. >img {
  678. width: 30rpx;
  679. height: 28rpx;
  680. margin-left: 10rpx;
  681. }
  682. }
  683. }
  684. .file-li {
  685. display: flex;
  686. justify-content: space-between;
  687. align-items: center;
  688. padding: 0 30rpx;
  689. box-sizing: border-box;
  690. >img:nth-of-type(1) {
  691. width: 30rpx;
  692. height: 30rpx;
  693. }
  694. >view {
  695. flex: 1;
  696. font-size: 28rpx;
  697. color: #333333;
  698. line-height: 80rpx;
  699. text-align: left;
  700. margin: 0 92rpx 0 16rpx;
  701. overflow: hidden;
  702. text-overflow: ellipsis;
  703. white-space: nowrap;
  704. }
  705. >img:nth-of-type(2) {
  706. width: 30rpx;
  707. height: 30rpx;
  708. }
  709. }
  710. .hidden-content {
  711. width: 630rpx;
  712. min-height: 200rpx;
  713. background: #F5F5F5;
  714. border-radius: 20rpx 20rpx 20rpx 20rpx;
  715. margin: 20rpx 30rpx 0;
  716. padding: 20rpx;
  717. box-sizing: border-box;
  718. font-size: 28rpx;
  719. color: #666666;
  720. line-height: 39rpx;
  721. text-align: left;
  722. }
  723. .photo {
  724. display: flex;
  725. justify-content: flex-start;
  726. flex-wrap: wrap;
  727. margin-top: 20rpx;
  728. padding: 0 30rpx;
  729. box-sizing: border-box;
  730. >img {
  731. width: 150rpx;
  732. height: 150rpx;
  733. border-radius: 10rpx 10rpx 10rpx 10rpx;
  734. margin: 0 10rpx 10rpx 0;
  735. }
  736. >img:nth-of-type(4) {
  737. margin-right: 0;
  738. }
  739. }
  740. .describe {
  741. width: 636rpx;
  742. height: 120rpx;
  743. border-radius: 10rpx 10rpx 10rpx 10rpx;
  744. border: 1rpx solid #E0E0E0;
  745. margin: 20rpx 0 0 28rpx;
  746. padding: 12rpx 16rpx;
  747. box-sizing: border-box;
  748. }
  749. .check-for-img-max-box {
  750. margin: 20px 28rpx;
  751. .left-title-p {
  752. width: 100%;
  753. text-align: left;
  754. font-size: 30rpx;
  755. font-family: PingFang SC-Medium, PingFang SC;
  756. font-weight: 400;
  757. color: #333333;
  758. line-height: 80rpx;
  759. }
  760. .right-img-box {
  761. .img-box {
  762. display inline-block;
  763. height: 150rpx;
  764. width: 150rpx;
  765. position relative;
  766. margin: 0 10rpx 20rpx 0;
  767. border-radius 10rpx;
  768. overflow hidden;
  769. .img-data {
  770. height: 150rpx;
  771. width: 150rpx;
  772. }
  773. .position-img {
  774. position absolute;
  775. right: 0;
  776. top: 0;
  777. width: 36rpx;
  778. height: 36rpx;
  779. }
  780. }
  781. .img-box:nth-of-type(4n+4) {
  782. margin-right: 0rpx;
  783. }
  784. .add-button {
  785. margin: 0 0rpx 20rpx 0;
  786. border-radius 10rpx;
  787. overflow hidden;
  788. display inline-block;
  789. height: 150rpx;
  790. width: 150rpx;
  791. }
  792. }
  793. }
  794. /* .list-li:last-of-type {
  795. border: none;
  796. } */
  797. }
  798. }
  799. .sub-btn {
  800. display: flex;
  801. justify-content: center;
  802. position: fixed;
  803. left: 30rpx;
  804. bottom: 30rpx;
  805. >view:nth-of-type(1) {
  806. width: 345rpx;
  807. height: 100rpx;
  808. background: #FF8C00;
  809. border-radius: 50rpx 0rpx 0rpx 50rpx;
  810. font-size: 30rpx;
  811. color: #FFFFFF;
  812. line-height: 100rpx;
  813. text-align: center;
  814. }
  815. >view:nth-of-type(2) {
  816. width: 345rpx;
  817. height: 100rpx;
  818. background: #0183FA;
  819. border-radius: 0rpx 50rpx 50rpx 0rpx;
  820. font-size: 30rpx;
  821. color: #FFFFFF;
  822. line-height: 100rpx;
  823. text-align: center;
  824. }
  825. }
  826. </style>