hiddenDangerRectification.vue 23 KB

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