hiddenDangerItemsDetail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703
  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!=''">
  20. <view>检查要点</view>
  21. <view>
  22. <img src="@/pages_safetyCheck/images/icon_06.png">
  23. </view>
  24. </view>
  25. <view v-if="newData.hazardCheckName!=''" class="hidden-content">{{newData.hazardCheckPoint}}
  26. </view>
  27. <view class="list-li" @click="checkCollapse()">
  28. <view>{{newData.checkFlag?'检查结果':'检查隐患'}}</view>
  29. <view :id="newData.checkFlag?'fontColor-B':'fontColor-C'">
  30. {{newData.checkFlag?'符合':'不符合'}}
  31. <img v-if="!newData.checkCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  32. <img v-if="newData.checkCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  33. </view>
  34. </view>
  35. <view v-if="newData.checkCollapse">
  36. <view class="hidden-content" v-if="!newData.checkFlag">{{newData.hazardDescribe}}
  37. </view>
  38. <view class="photo">
  39. <img v-for="(item,index) in newData.yhDtoList" :src="baseUrl+item.fileUrl">
  40. </view>
  41. <view class="list-li">
  42. <view>姓名:</view>
  43. <view>{{newData.checkUserName}}</view>
  44. </view>
  45. <view class="list-li">
  46. <view>检查时间</view>
  47. <view>{{newData.checkTime}}</view>
  48. </view>
  49. </view>
  50. <view v-if="pageType==1 || pageType==2" v-for="(item,index) in newData.checkRectifyVoList" :key="index">
  51. <view class="list-li" v-if="item.rectifyTime" @click="rectifyCollapse(item)">
  52. <view>隐患整改</view>
  53. <view :id="item.rectifyResult?'fontColor-B':(item.rectifyResult?'fontColor-C':'')">
  54. {{item.rectifyResult?'已整改':(item.rectifyResult?'暂无法整改':'')}}
  55. <img v-if="!item.rectifyCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  56. <img v-if="item.rectifyCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  57. </view>
  58. </view>
  59. <view v-if="item.rectifyCollapse && item.rectifyTime">
  60. <view class="hidden-content">{{item.rectifyMeasure}}
  61. </view>
  62. <view class="photo" @click="lockImg(item.rectifyUploadList)">
  63. <img v-for="(item2,index2) in item.rectifyUploadList" :src="baseUrl+item2.fileUrl">
  64. </view>
  65. <view class="list-li">
  66. <view>姓名:</view>
  67. <view>{{item.rectifyName}}</view>
  68. </view>
  69. <view class="list-li">
  70. <view>整改时间</view>
  71. <view>{{item.rectifyTime}}</view>
  72. </view>
  73. </view>
  74. <view class="list-li" v-if="item.reviewTime" @click="reviewCollapse(item)">
  75. <view>复查验证</view>
  76. <view :id="item.examineResult?'fontColor-B':(item.examineResult?'fontColor-C':'')">
  77. {{item.examineResult?'复查完毕':(item.examineResult?'退回整改':'')}}
  78. <img v-if="!item.reviewCollapse" src="@/pages_safetyCheck/images/icon_06.png">
  79. <img v-if="item.reviewCollapse" src="@/pages_safetyCheck/images/icon_06_1.png">
  80. </view>
  81. </view>
  82. <view v-if="item.reviewCollapse && item.reviewTime">
  83. <view class="hidden-content" >{{item.examineOpinion}}
  84. </view>
  85. <view class="photo" @click="lockImg(item.examineUploadList)">
  86. <img v-for="(item3,index3) in item.examineUploadList" :src="baseUrl+item3.fileUrl">
  87. </view>
  88. <view class="list-li">
  89. <view>姓名:</view>
  90. <view>{{item.reviewName}}</view>
  91. </view>
  92. <view class="list-li">
  93. <view>复查时间</view>
  94. <view>{{item.reviewTime}}</view>
  95. </view>
  96. </view>
  97. </view>
  98. </view>
  99. </scroll-view>
  100. <view class="sub-btn" v-if="pageType==0 && !newData.checkFlag">
  101. <view @click="submitBtn(1)">编辑</view>
  102. <view @click="submitBtn(2)">继续检查</view>
  103. </view>
  104. <view class="sub-btn" v-if="pageType==1">
  105. <view @click="submitBtn(1)">编辑</view>
  106. <view @click="submitBtn(2)">继续复查</view>
  107. </view>
  108. <view class="sub-btn" v-if="pageType==2">
  109. <view @click="submitBtn(1)">编辑</view>
  110. <view @click="submitBtn(2)">继续整改</view>
  111. </view>
  112. <view v-if="pageType==0 && newData.checkFlag" @click="submitBtn(2)" class="sub-btn-tow">继续检查</view>
  113. </view>
  114. </template>
  115. <script>
  116. import {
  117. config
  118. } from '@/api/request/config.js'
  119. import {
  120. parseTime
  121. } from '@/component/public.js'
  122. import {
  123. securityAppCheckPlanCheckInfo,
  124. securityDraftFindBySetOptionId,
  125. securityAppCheckPhotoGetCheckNumBySub,
  126. securityAppCheckDangerGetCheckProDetail,
  127. } from '@/pages_safetyCheck/api/index.js'
  128. export default {
  129. name: "snapshotDetail",
  130. components: {
  131. },
  132. data() {
  133. return {
  134. baseUrl: config.base_url,
  135. inspectionItems: 0, //0有检查项 1无检查项
  136. newData: {},
  137. setOptionId: '',
  138. manageId: '',
  139. subId: '',
  140. hazardCheckPro: '',
  141. hazardCheckNum: 0,
  142. pageType: 0, //0检查 1复查 2整改
  143. itemsStatus:'',
  144. optionData:null,
  145. lotName: null,
  146. }
  147. },
  148. onLoad(option) {
  149. let optionData = JSON.parse(decodeURIComponent(option.infoData));
  150. console.log('详情',optionData)
  151. this.$set(this, 'lotName',
  152. optionData.pageType == 0 ? optionData.checkPlanSetVoList.checkName : (
  153. optionData.checkPlanSetVoList.overdueUnrectify ? '整改期限' + optionData.checkPlanSetVoList
  154. .checkStartTime +
  155. '(逾期未完成整改关闭实验室)' : '整改期限' + optionData.checkPlanSetVoList.checkStartTime));
  156. this.$set(this, 'pageType', optionData.pageType);
  157. this.$set(this, 'itemsStatus', optionData.itemsStatus);
  158. this.$set(this, 'setOptionId', optionData.setOptionId);
  159. this.$set(this, 'manageId', optionData.manageId);
  160. this.$set(this, 'subId', optionData.subId);
  161. this.$set(this, 'hazardCheckPro', optionData.hazardCheckPro);
  162. this.$set(this, 'optionData', optionData);
  163. },
  164. onShow() {
  165. },
  166. mounted() {
  167. if(this.pageType==0){
  168. //检查
  169. if(this.itemsStatus==0 || this.itemsStatus==1){
  170. //开始检查-提交的详情
  171. this.securityAppCheckPlanCheckInfo();
  172. }else if(this.itemsStatus==2){
  173. //保存草稿详情
  174. this.securityDraftFindBySetOptionId();
  175. }
  176. }else if(this.pageType==1 || this.pageType==2){
  177. //复查-整改
  178. this.securityAppCheckDangerGetCheckProDetail();
  179. }
  180. this.securityAppCheckPhotoGetCheckNumBySub();
  181. },
  182. methods: {
  183. //滚动事件
  184. scrollGet() {},
  185. //获取检查提交详情
  186. async securityAppCheckPlanCheckInfo() {
  187. let obj = {
  188. setOptionId: this.setOptionId,
  189. manageId: this.manageId,
  190. }
  191. const {
  192. data
  193. } = await securityAppCheckPlanCheckInfo(obj);
  194. if (data.code == 200) {
  195. uni.setNavigationBarTitle({
  196. title: data.data.subName + '(' + (this.pageType == 0 ? data.data.roomNum : data.data
  197. .subRoom) + ')'
  198. })
  199. data.data.checkCollapse=true;
  200. this.$set(this, 'newData', data.data);
  201. this.$set(this.newData, 'checkTime', parseTime(data.data.checkTime, "{y}-{m}-{d}"));
  202. }
  203. },
  204. //获取草稿详情
  205. async securityDraftFindBySetOptionId() {
  206. let obj = {
  207. setOptionId: this.setOptionId,
  208. }
  209. const {
  210. data
  211. } = await securityDraftFindBySetOptionId(obj);
  212. if (data.code == 200) {
  213. uni.setNavigationBarTitle({
  214. title: this.optionData.subName + '(' + (this.pageType == 0 ? this.optionData.roomNum : this.optionData.subRoom) + ')'
  215. })
  216. data.data.checkCollapse=true;
  217. this.$set(this, 'newData', data.data);
  218. this.$set(this.newData, 'checkPlanSetVoList', this.optionData.checkPlanSetVoList);
  219. this.$set(this.newData, 'subName', this.optionData.subName);
  220. this.$set(this.newData, 'roomNum', this.optionData.roomNum);
  221. this.$set(this.newData, 'checkTime', parseTime(data.data.checkTime, "{y}-{m}-{d}"));
  222. }
  223. },
  224. //整改详情
  225. async securityAppCheckDangerGetCheckProDetail() {
  226. let obj = {
  227. planId: this.optionData.checkPlanSetVoList.planId,
  228. planSetId: this.optionData.checkPlanSetVoList.planSetId,
  229. checkCategory: this.optionData.checkCategory,
  230. hazardCheckPro: this.optionData.hazardCheckPro,
  231. subId: this.optionData.subId,
  232. }
  233. const {
  234. data
  235. } = await securityAppCheckDangerGetCheckProDetail(obj);
  236. if (data.code == 200) {
  237. uni.setNavigationBarTitle({
  238. title: data.data.subName + '(' + data.data.roomNum + ')'
  239. })
  240. data.data.checkCollapse=false;
  241. data.data.checkTime= parseTime(data.data.checkTime, "{y}-{m}-{d}");
  242. data.data.checkRectifyVoList.forEach(function(item,index){
  243. item.rectifyTime= parseTime(item.rectifyTime, "{y}-{m}-{d}");
  244. item.reviewTime= parseTime(item.reviewTime, "{y}-{m}-{d}");
  245. item.rectifyCollapse=false;
  246. item.reviewCollapse=false;
  247. if(index==data.data.checkRectifyVoList.length-1){
  248. item.rectifyCollapse=true;
  249. item.reviewCollapse=true;
  250. }
  251. })
  252. this.$set(this, 'newData', data.data);
  253. }
  254. },
  255. //获取检查项在当前实验室出现的次数
  256. async securityAppCheckPhotoGetCheckNumBySub() {
  257. let obj = {
  258. subId: this.subId,
  259. hazardCheckPro: this.hazardCheckPro,
  260. }
  261. const {
  262. data
  263. } = await securityAppCheckPhotoGetCheckNumBySub(obj);
  264. if (data.code == 200) {
  265. this.$set(this, 'hazardCheckNum', data.data);
  266. }
  267. },
  268. //检查-按钮
  269. submitBtn(status) {
  270. if (status == 1) {
  271. //编辑
  272. if(this.pageType==0){
  273. //检查
  274. let infoData = {
  275. setOptionId: this.setOptionId,
  276. manageId: this.manageId,
  277. subId: this.subId,
  278. hazardCheckPro: this.hazardCheckPro,
  279. pageType: this.pageType,
  280. itemsStatus: this.itemsStatus,
  281. checkPlanSetVoList: this.optionData.checkPlanSetVoList,
  282. };
  283. uni.redirectTo({
  284. url: '/pages_safetyCheck/views/inspectManage/inspectAdd?infoData=' + encodeURIComponent(
  285. JSON
  286. .stringify(infoData))
  287. });
  288. }else if(this.pageType==1){
  289. //复核
  290. let infoData = {
  291. subId: this.subId,
  292. hazardCheckPro: this.hazardCheckPro,
  293. checkCategory:this.optionData.checkCategory,
  294. pageType: this.pageType,
  295. itemsStatus: this.itemsStatus,
  296. checkPlanSetVoList: this.optionData.checkPlanSetVoList,
  297. };
  298. uni.redirectTo({
  299. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' + encodeURIComponent(
  300. JSON
  301. .stringify(infoData))
  302. });
  303. }else if(this.pageType==2){
  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. };
  313. uni.redirectTo({
  314. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerRectification?infoData=' + encodeURIComponent(
  315. JSON
  316. .stringify(infoData))
  317. });
  318. }
  319. } else if (status == 2) {
  320. //继续检查
  321. let infoData = {
  322. subId: this.subId,
  323. checkCategory:this.optionData.checkCategory,
  324. subName: this.newData.subName,
  325. roomNum: this.newData.roomNum,
  326. manageId: this.manageId,
  327. checkPlanSetVoList: this.optionData.checkPlanSetVoList,
  328. pageType: this.pageType,
  329. };
  330. uni.redirectTo({
  331. url: '/pages_safetyCheck/views/itemsManage/hiddenDangerItems?infoData=' +
  332. encodeURIComponent(JSON
  333. .stringify(infoData))
  334. });
  335. }
  336. },
  337. //图片预览
  338. lockImg(list) {
  339. if (!list[0]) {
  340. return
  341. }
  342. let urlList = [];
  343. for (let i = 0; i < list.length; i++) {
  344. urlList.push(config.base_url + list[i].photoUrl)
  345. }
  346. wx.previewImage({
  347. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  348. current: '', // 当前显示图片的http链接,默认是第一个
  349. success: function(res) {},
  350. fail: function(res) {},
  351. complete: function(res) {},
  352. })
  353. },
  354. //折叠展开
  355. checkCollapse(row){
  356. this.newData.checkCollapse=!this.newData.checkCollapse
  357. },
  358. rectifyCollapse(row){
  359. row.rectifyCollapse=!row.rectifyCollapse
  360. },
  361. reviewCollapse(row){
  362. row.reviewCollapse=!row.reviewCollapse
  363. },
  364. //整改页面
  365. rectificationBtn() {
  366. let self = this;
  367. let infoData = self.newData;
  368. console.log(self.newData)
  369. uni.navigateTo({
  370. url: '/pages_safetyCheck/views/itemsManage/snapshotRectification?infoData=' +
  371. encodeURIComponent(JSON.stringify(infoData))
  372. });
  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>