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