hiddenDangerRectification.vue 20 KB

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