hiddenDangerItemsDetail.vue 19 KB

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