hiddenDangerItemsDetail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  1. <!-- 检查详情 -->
  2. <template>
  3. <view class="snapshotDetail">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <!-- <view class="tip" v-if="pageType==0">{{optionData.checkPlanSetVoList.checkName}}</view>
  6. <view class="tip-tow" v-if="pageType==1 || pageType==2">{{optionData.checkPlanSetVoList.checkName}}</view> -->
  7. <view class="lotName" :class="pageType != 0?'lotNameOne':''" v-if="lotName">{{lotName}}</view>
  8. <view class="items">
  9. <view class="items-t" v-if="newData.hazardCheckName!=''">
  10. <view class="items-t-r">{{newData.hazardCheckCode}} {{newData.hazardCheckName}}</view>
  11. </view>
  12. <view class="items-b" v-if="newData.hazardCheckName!=''">< {{newData.hazardCheckCode2}}
  13. {{newData.hazardCheckName2}} < {{newData.hazardCheckCode1}} {{newData.hazardCheckName1}}
  14. </view>
  15. </view>
  16. <view class="items-number" v-if="newData.hazardCheckName!=''" @click="hiddenDangerClick()">
  17. 此检查项在当前实验室累计出现<text>{{hazardCheckNum}}</text>次隐患</view>
  18. <view class="list">
  19. <view class="list-li" v-if="newData.hazardCheckName!=''" @click="inspectDot()">
  20. <view>检查要点</view>
  21. <view>
  22. <img v-if="!newData.inspectDot" src="@/pages_safetyCheck/images/icon_06.png">
  23. <img v-if="newData.inspectDot" src="@/pages_safetyCheck/images/icon_06_1.png">
  24. </view>
  25. </view>
  26. <view v-if="newData.hazardCheckName!='' && newData.inspectDot" class="hidden-content">{{newData.hazardCheckPoint}}
  27. </view>
  28. <view class="list-li" @click="checkCollapse()">
  29. <view>{{newData.checkFlag?'检查结果':'检查隐患'}}</view>
  30. <view :id="newData.checkFlag?'fontColor-B':'fontColor-C'">
  31. {{newData.checkFlag?'符合':'不符合'}}
  32. <img v-if="!newData.checkCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  33. <img v-if="newData.checkCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  34. </view>
  35. </view>
  36. <view v-if="newData.checkCollapse">
  37. <view class="hidden-content" v-if="!newData.checkFlag">{{newData.hazardDescribe}}
  38. </view>
  39. <view v-if="pageType==0" class="photo" @click="lockImg(newData.photoList)">
  40. <img v-for="(item,index) in newData.photoList" :src="baseUrl+item.fileUrl">
  41. </view>
  42. <view v-if="pageType==1 || pageType==2" class="photo" @click="lockImg(newData.yhDtoList)">
  43. <img v-for="(item,index) in newData.yhDtoList" :src="baseUrl+item.fileUrl">
  44. </view>
  45. <view class="list-li">
  46. <view>姓名:</view>
  47. <view>{{newData.checkUserName}}</view>
  48. </view>
  49. <view class="list-li">
  50. <view>检查时间</view>
  51. <view>{{newData.checkTime}}</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="@/pages_safetyCheck/images/icon_06.png">
  60. <img v-if="item.rectifyCollapse" src="@/pages_safetyCheck/images/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="@/pages_safetyCheck/images/icon_06.png">
  83. <img v-if="item.reviewCollapse" src="@/pages_safetyCheck/images/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>
  103. </scroll-view>
  104. <view class="sub-btn" v-if="pageType==0 && newData.checkSetProgress !=100 && !hiddenDangerRecordStatus">
  105. <view @click="submitBtn(1)">编辑</view>
  106. <view @click="submitBtn(2)">继续检查</view>
  107. </view>
  108. <!-- <view class="sub-btn" v-if="pageType==1 && !hiddenDangerRecordStatus">
  109. <view @click="submitBtn(1)">编辑</view>
  110. <view @click="submitBtn(2)">继续复查</view>
  111. </view> -->
  112. <view class="sub-btn-tow" v-if="pageType==1 && !hiddenDangerRecordStatus" @click="submitBtn(2)">继续复查</view>
  113. <view class="sub-btn" v-if="pageType==2 && !hiddenDangerRecordStatus && !newData.finishRectify">
  114. <view @click="submitBtn(1)">编辑</view>
  115. <view @click="submitBtn(2)">继续整改</view>
  116. </view>
  117. <view v-if="pageType==0 && newData.checkFlag && !hiddenDangerRecordStatus" @click="submitBtn(2)" class="sub-btn-tow">继续检查</view>
  118. </view>
  119. </template>
  120. <script>
  121. import {
  122. config
  123. } from '@/api/request/config.js'
  124. import {
  125. parseTime
  126. } from '@/component/public.js'
  127. import {
  128. securityAppCheckPlanCheckInfo,
  129. securityDraftFindBySetOptionId,
  130. securityAppCheckPhotoGetCheckNumBySub,
  131. securityAppCheckDangerGetCheckProDetail,
  132. } from '@/pages_safetyCheck/api/index.js'
  133. export default {
  134. name: "snapshotDetail",
  135. components: {
  136. },
  137. data() {
  138. return {
  139. baseUrl: config.base_url,
  140. inspectionItems: 0, //0有检查项 1无检查项
  141. newData: {},
  142. setOptionId: '',
  143. manageId: '',
  144. subId: '',
  145. hazardCheckPro: '',
  146. hazardCheckNum: 0,
  147. pageType: 0, //0检查 1复查 2整改
  148. itemsStatus:'',
  149. optionData:null,
  150. lotName: null,
  151. hiddenDangerRecordStatus: null,//判断是否是从隐患列表页面跳转过来
  152. }
  153. },
  154. onLoad(option) {
  155. let optionData = JSON.parse(decodeURIComponent(option.infoData));
  156. console.log('详情',optionData)
  157. this.$set(this, 'lotName',
  158. optionData.pageType == 0 ? optionData.checkPlanSetVoList.checkName : (
  159. optionData.checkPlanSetVoList.overdueUnrectify ? '整改期限' + optionData.checkPlanSetVoList
  160. .checkStartTime +
  161. '(逾期未完成整改关闭实验室)' : '整改期限' + optionData.checkPlanSetVoList.checkStartTime));
  162. this.$set(this, 'pageType', optionData.pageType);
  163. this.$set(this, 'itemsStatus', optionData.itemsStatus);
  164. this.$set(this, 'setOptionId', optionData.setOptionId);
  165. this.$set(this, 'manageId', optionData.manageId);
  166. this.$set(this, 'subId', optionData.subId);
  167. this.$set(this, 'hazardCheckPro', optionData.hazardCheckPro);
  168. this.$set(this, 'hiddenDangerRecordStatus', optionData.hiddenDangerRecordStatus);
  169. this.$set(this, 'optionData', optionData);
  170. },
  171. onShow() {
  172. },
  173. mounted() {
  174. if(this.pageType==0){
  175. //检查
  176. if(this.itemsStatus==0 || this.itemsStatus==1){
  177. //开始检查-提交的详情
  178. this.securityAppCheckPlanCheckInfo();
  179. }else if(this.itemsStatus==2){
  180. //保存草稿详情
  181. this.securityDraftFindBySetOptionId();
  182. }
  183. }else if(this.pageType==1 || this.pageType==2){
  184. //复查-整改
  185. this.securityAppCheckDangerGetCheckProDetail();
  186. }
  187. this.securityAppCheckPhotoGetCheckNumBySub();
  188. },
  189. methods: {
  190. //滚动事件
  191. scrollGet() {},
  192. //获取检查提交详情
  193. async securityAppCheckPlanCheckInfo() {
  194. let obj = {
  195. setOptionId: this.setOptionId,
  196. manageId: this.manageId,
  197. }
  198. const {
  199. data
  200. } = await securityAppCheckPlanCheckInfo(obj);
  201. if (data.code == 200) {
  202. uni.setNavigationBarTitle({
  203. title: data.data.subName + '(' + (this.pageType == 0 ? data.data.roomNum : data.data
  204. .subRoom) + ')'
  205. })
  206. data.data.checkCollapse=true;
  207. data.data.inspectDot=false;
  208. this.$set(this, 'newData', data.data);
  209. this.$set(this.newData, 'checkTime', parseTime(data.data.checkTime, "{y}-{m}-{d}"));
  210. }
  211. },
  212. //获取草稿详情
  213. async securityDraftFindBySetOptionId() {
  214. let obj = {
  215. setOptionId: this.setOptionId,
  216. }
  217. const {
  218. data
  219. } = await securityDraftFindBySetOptionId(obj);
  220. if (data.code == 200) {
  221. uni.setNavigationBarTitle({
  222. title: this.optionData.subName + '(' + (this.pageType == 0 ? this.optionData.roomNum : this.optionData.subRoom) + ')'
  223. })
  224. data.data.checkCollapse=true;
  225. data.data.inspectDot=false;
  226. this.$set(this, 'newData', data.data);
  227. this.$set(this.newData, 'checkPlanSetVoList', this.optionData.checkPlanSetVoList);
  228. this.$set(this.newData, 'subName', this.optionData.subName);
  229. this.$set(this.newData, 'roomNum', this.optionData.roomNum);
  230. this.$set(this.newData, 'checkTime', parseTime(data.data.checkTime, "{y}-{m}-{d}"));
  231. }
  232. },
  233. //整改详情
  234. async securityAppCheckDangerGetCheckProDetail() {
  235. let obj = {
  236. planId: this.optionData.checkPlanSetVoList.planId,
  237. planSetId: this.optionData.checkPlanSetVoList.planSetId,
  238. checkCategory: this.optionData.checkCategory,
  239. hazardCheckPro: this.optionData.hazardCheckPro,
  240. subId: this.optionData.subId,
  241. }
  242. const {
  243. data
  244. } = await securityAppCheckDangerGetCheckProDetail(obj);
  245. if (data.code == 200) {
  246. uni.setNavigationBarTitle({
  247. title: data.data.subName + '(' + data.data.roomNum + ')'
  248. })
  249. data.data.checkCollapse=false;
  250. data.data.inspectDot=false;
  251. data.data.checkTime= parseTime(data.data.checkTime, "{y}-{m}-{d}");
  252. data.data.checkRectifyVoList.forEach(function(item,index){
  253. item.rectifyTime= parseTime(item.rectifyTime, "{y}-{m}-{d}");
  254. item.reviewTime= parseTime(item.reviewTime, "{y}-{m}-{d}");
  255. item.rectifyCollapse=false;
  256. item.reviewCollapse=false;
  257. if(index==data.data.checkRectifyVoList.length-1){
  258. item.rectifyCollapse=true;
  259. item.reviewCollapse=true;
  260. }
  261. })
  262. this.$set(this, 'newData', data.data);
  263. }
  264. },
  265. //获取检查项在当前实验室出现的次数
  266. async securityAppCheckPhotoGetCheckNumBySub() {
  267. let obj = {
  268. subId: this.subId,
  269. hazardCheckPro: this.hazardCheckPro,
  270. }
  271. const {
  272. data
  273. } = await securityAppCheckPhotoGetCheckNumBySub(obj);
  274. if (data.code == 200) {
  275. this.$set(this, 'hazardCheckNum', data.data);
  276. }
  277. },
  278. hiddenDangerClick(row) {
  279. if(!this.hiddenDangerRecordStatus){
  280. let infoData = this.optionData;
  281. infoData.subName=this.newData.subName;
  282. infoData.roomNum=this.newData.roomNum;
  283. infoData.hiddenDangerRecordStatus = true;//判断是否跳转隐患列表
  284. uni.redirectTo({
  285. url: '/pages_safetyCheck/views/inspectManage/hiddenDangerRecord?infoData=' +
  286. encodeURIComponent(JSON.stringify(infoData))
  287. });
  288. }
  289. },
  290. //检查-按钮
  291. submitBtn(status) {
  292. if (status == 1) {
  293. //编辑
  294. if(this.pageType==0){
  295. //检查
  296. let infoData = this.optionData;
  297. infoData.editStatus = true;
  298. uni.redirectTo({
  299. url: '/pages_safetyCheck/views/inspectManage/inspectAdd?infoData=' + encodeURIComponent(
  300. JSON
  301. .stringify(infoData))
  302. });
  303. }else if(this.pageType==1){
  304. //复核
  305. let infoData = {
  306. subId: this.subId,
  307. hazardCheckPro: this.hazardCheckPro,
  308. checkCategory:this.optionData.checkCategory,
  309. pageType: this.pageType,
  310. itemsStatus: this.itemsStatus,
  311. checkPlanSetVoList: this.optionData.checkPlanSetVoList,
  312. editStatus:true,
  313. };
  314. uni.redirectTo({
  315. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' + encodeURIComponent(
  316. JSON
  317. .stringify(infoData))
  318. });
  319. }else if(this.pageType==2){
  320. //整改
  321. let infoData = {
  322. subId: this.subId,
  323. hazardCheckPro: this.hazardCheckPro,
  324. checkCategory:this.optionData.checkCategory,
  325. pageType: this.pageType,
  326. itemsStatus: this.itemsStatus,
  327. checkPlanSetVoList: this.optionData.checkPlanSetVoList,
  328. editStatus:true,
  329. };
  330. uni.redirectTo({
  331. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' + encodeURIComponent(
  332. JSON
  333. .stringify(infoData))
  334. });
  335. }
  336. } else if (status == 2) {
  337. //继续检查
  338. let infoData = this.optionData;
  339. uni.redirectTo({
  340. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  341. encodeURIComponent(JSON
  342. .stringify(infoData))
  343. });
  344. }
  345. },
  346. //图片预览
  347. lockImg(list) {
  348. if (!list[0]) {
  349. return
  350. }
  351. let urlList = [];
  352. for (let i = 0; i < list.length; i++) {
  353. urlList.push(config.base_url + list[i].fileUrl)
  354. }
  355. wx.previewImage({
  356. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  357. current: '', // 当前显示图片的http链接,默认是第一个
  358. success: function(res) {},
  359. fail: function(res) {},
  360. complete: function(res) {},
  361. })
  362. },
  363. //折叠展开
  364. inspectDot(){
  365. this.newData.inspectDot=!this.newData.inspectDot
  366. },
  367. checkCollapse(row){
  368. this.newData.checkCollapse=!this.newData.checkCollapse
  369. },
  370. rectifyCollapse(row){
  371. row.rectifyCollapse=!row.rectifyCollapse
  372. },
  373. reviewCollapse(row){
  374. row.reviewCollapse=!row.reviewCollapse
  375. },
  376. }
  377. }
  378. </script>
  379. <style lang="stylus" scoped>
  380. .snapshotDetail {
  381. height: 100%;
  382. display flex;
  383. box-sizing: border-box;
  384. padding-bottom: 160rpx;
  385. box-sizing: border-box;
  386. #bgColor-A {
  387. color: #FFD400;
  388. }
  389. #bgColor-B {
  390. color: #FF8C00;
  391. }
  392. #bgColor-C {
  393. color: #E11608;
  394. }
  395. #fontColor-A {
  396. color: #0183FA;
  397. }
  398. #fontColor-B {
  399. color: #16B531;
  400. }
  401. #fontColor-C {
  402. color: #FF8C00;
  403. }
  404. .tip {
  405. width: 750rpx;
  406. height: 80rpx;
  407. background: rgba(1, 131, 250, 0.2);
  408. border-radius: 0rpx 0rpx 0rpx 0rpx;
  409. font-size: 30rpx;
  410. color: #0183FA;
  411. line-height: 80rpx;
  412. text-align: center;
  413. }
  414. .tip-tow {
  415. width: 750rpx;
  416. height: 80rpx;
  417. background: rgba(255, 140, 0, 0.2);
  418. border-radius: 0rpx 0rpx 0rpx 0rpx;
  419. font-size: 30rpx;
  420. color: #FF8C00;
  421. line-height: 80rpx;
  422. text-align: center;
  423. }
  424. .lotName {
  425. height: 70rpx;
  426. line-height: 70rpx;
  427. font-size: 28rpx;
  428. background: rgba(1, 131, 250, 0.2);
  429. color: #0183FA;
  430. text-align: center;
  431. }
  432. .lotNameOne {
  433. background: #F7E0C4;
  434. color: #FF8C00;
  435. }
  436. .items {
  437. width: 690rpx;
  438. min-height: 165rpx;
  439. background: #FFFFFF;
  440. border-radius: 20rpx 20rpx 20rpx 20rpx;
  441. margin: 20rpx 0 0 30rpx;
  442. .items-li {
  443. display: flex;
  444. justify-content: space-between;
  445. align-items: center;
  446. padding: 0 30rpx;
  447. box-sizing: border-box;
  448. border-bottom: 1rpx solid #E0E0E0;
  449. >view:nth-of-type(1) {
  450. font-size: 30rpx;
  451. color: #333333;
  452. line-height: 80rpx;
  453. text-align: left;
  454. }
  455. >view:nth-of-type(2) {
  456. font-size: 28rpx;
  457. color: #666666;
  458. line-height: 80rpx;
  459. text-align: left;
  460. display: flex;
  461. justify-content: space-between;
  462. align-items: center;
  463. }
  464. }
  465. .items-t {
  466. border-bottom: 1rpx solid #E0E0E0;
  467. height: 80rpx;
  468. display: flex;
  469. justify-content: flex-start;
  470. align-items: center;
  471. padding: 0 30rpx;
  472. box-sizing: border-box;
  473. .items-t-l {
  474. width: 175rpx;
  475. height: 50rpx;
  476. background: #E11608;
  477. border-radius: 50rpx 50rpx 50rpx 50rpx;
  478. font-size: 30rpx;
  479. color: #FFFFFF;
  480. line-height: 50rpx;
  481. text-align: center;
  482. margin-right: 14rpx;
  483. }
  484. .items-t-r {
  485. font-size: 30rpx;
  486. color: #333333;
  487. line-height: 42rpx;
  488. text-align: left;
  489. }
  490. }
  491. .items-b {
  492. padding: 0 30rpx;
  493. box-sizing: border-box;
  494. height: 80rpx;
  495. font-size: 28rpx;
  496. color: #666666;
  497. line-height: 80rpx;
  498. text-align: left;
  499. }
  500. }
  501. .items-number {
  502. font-size: 24rpx;
  503. color: #3D3D3D;
  504. line-height: 34rpx;
  505. text-align: right;
  506. margin: 20rpx 60rpx 0 0;
  507. >text {
  508. font-size: 24rpx;
  509. color: #FF0000;
  510. line-height: 34rpx;
  511. text-align: right;
  512. }
  513. }
  514. .list {
  515. width: 690rpx;
  516. margin: 20rpx 30rpx 0;
  517. background: #FFFFFF;
  518. border-radius: 20rpx 20rpx 20rpx 20rpx;
  519. .list-li {
  520. display: flex;
  521. justify-content: space-between;
  522. align-items: center;
  523. padding: 0 30rpx;
  524. box-sizing: border-box;
  525. border-bottom: 1rpx solid #E0E0E0;
  526. >view:nth-of-type(1) {
  527. font-size: 30rpx;
  528. color: #333333;
  529. line-height: 80rpx;
  530. text-align: left;
  531. }
  532. >view:nth-of-type(2) {
  533. font-size: 28rpx;
  534. color: #666666;
  535. line-height: 80rpx;
  536. text-align: left;
  537. display: flex;
  538. justify-content: space-between;
  539. align-items: center;
  540. >img {
  541. width: 24rpx;
  542. height: 12rpx;
  543. margin-left: 10rpx;
  544. }
  545. }
  546. }
  547. .file-li {
  548. display: flex;
  549. justify-content: space-between;
  550. align-items: center;
  551. padding: 0 30rpx;
  552. box-sizing: border-box;
  553. >img:nth-of-type(1) {
  554. width: 30rpx;
  555. height: 30rpx;
  556. }
  557. >view {
  558. flex: 1;
  559. font-size: 28rpx;
  560. color: #333333;
  561. line-height: 80rpx;
  562. text-align: left;
  563. margin: 0 92rpx 0 16rpx;
  564. overflow: hidden;
  565. text-overflow: ellipsis;
  566. white-space: nowrap;
  567. }
  568. >img:nth-of-type(2) {
  569. width: 30rpx;
  570. height: 30rpx;
  571. }
  572. }
  573. .hidden-content {
  574. width: 630rpx;
  575. min-height: 120rpx;
  576. background: #F5F5F5;
  577. border-radius: 20rpx 20rpx 20rpx 20rpx;
  578. margin: 20rpx 30rpx 0;
  579. padding: 20rpx;
  580. box-sizing: border-box;
  581. font-size: 28rpx;
  582. color: #666666;
  583. line-height: 39rpx;
  584. text-align: left;
  585. }
  586. .photo {
  587. display: flex;
  588. justify-content: flex-start;
  589. flex-wrap: wrap;
  590. margin-top: 20rpx;
  591. padding: 0 30rpx;
  592. box-sizing: border-box;
  593. >img {
  594. width: 150rpx;
  595. height: 150rpx;
  596. border-radius: 10rpx 10rpx 10rpx 10rpx;
  597. margin: 0 10rpx 10rpx 0;
  598. }
  599. >img:nth-of-type(4) {
  600. margin-right: 0;
  601. }
  602. }
  603. /* .list-li:last-of-type {
  604. border: none;
  605. } */
  606. }
  607. }
  608. .sub-btn {
  609. display: flex;
  610. justify-content: center;
  611. position: fixed;
  612. left: 30rpx;
  613. bottom: 30rpx;
  614. >view:nth-of-type(1) {
  615. width: 345rpx;
  616. height: 100rpx;
  617. background: #FF8C00;
  618. border-radius: 50rpx 0rpx 0rpx 50rpx;
  619. font-size: 30rpx;
  620. color: #FFFFFF;
  621. line-height: 100rpx;
  622. text-align: center;
  623. }
  624. >view:nth-of-type(2) {
  625. width: 345rpx;
  626. height: 100rpx;
  627. background: #0183FA;
  628. border-radius: 0rpx 50rpx 50rpx 0rpx;
  629. font-size: 30rpx;
  630. color: #FFFFFF;
  631. line-height: 100rpx;
  632. text-align: center;
  633. }
  634. }
  635. .sub-btn-tow {
  636. width: 686rpx;
  637. height: 100rpx;
  638. background: #0183FA;
  639. border-radius: 50rpx 50rpx 50rpx 50rpx;
  640. position: fixed;
  641. left: 30rpx;
  642. bottom: 30rpx;
  643. font-weight: 400;
  644. font-size: 30rpx;
  645. color: #FFFFFF;
  646. line-height: 100rpx;
  647. text-align: center;
  648. }
  649. </style>