hiddenDangerRectification.vue 25 KB

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