priceComparison.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. <template>
  2. <view style="height: 100vh;position: relative;">
  3. <service-widget @btnClick="btn_click"></service-widget>
  4. <view class="page" id="panelcanvas">
  5. <image :src="bannerImg" mode="" style="width: 100%;height: 450px;position: absolute;"></image>
  6. <view class="content">
  7. <view class="price dis a-c j-c">
  8. <image :src="iconImg" mode="" style="width: 20px;height: 20px;">
  9. </image>
  10. <text style="font-weight: bold;margin-left: 6px; font-size: 16px;">比价报价单</text>
  11. </view>
  12. <view
  13. style="background-color: #fff;border-radius:0 0 6px 6px ; box-shadow: 0px 4px 10px 0px rgba(123,160,239,0.2);"
  14. class="dis a-c j-c p-2 ">
  15. <view style="font-size: 15px;font-weight: bold;" class="dis j-s a-c ">
  16. <text style="color: #232832;">订单编号:{{insOrderVo.orderNo}}</text>
  17. </view>
  18. </view>
  19. </view>
  20. <view style="padding:0 16px;position: relative;">
  21. <view class="information">
  22. <text class="title">车辆信息</text>
  23. <view class="dis j-s a-c">
  24. <text>车牌号:</text>
  25. <text>{{insOrderVo.licenseNo}}</text>
  26. </view>
  27. <view class="dis j-s a-c">
  28. <text>品牌型号:</text>
  29. <text>{{ insOrderVo.modelcname}}</text>
  30. </view>
  31. <view class="dis j-s a-c">
  32. <text>车架号:</text>
  33. <text>{{ insOrderVo.frameNo}}</text>
  34. </view>
  35. <view class="dis j-s a-c">
  36. <text>发动机号:</text>
  37. <text>{{ insOrderVo.engineNo}}</text>
  38. </view>
  39. <view class="dis j-s a-c">
  40. <text>座位数:</text>
  41. <text>{{ insOrderVo.seatCount}}</text>
  42. </view>
  43. </view>
  44. <view class="information">
  45. <text class="title">人员信息</text>
  46. <view class="dis j-s a-c">
  47. <text>车主姓名:</text>
  48. <text>{{ insOrderVo.carOwnerName}}</text>
  49. </view>
  50. <view class="dis j-s a-c">
  51. <text>车主身份证号:</text>
  52. <text>{{ insOrderVo.ownerIdentifyNumber}}</text>
  53. </view>
  54. <view class="dis j-s a-c">
  55. <text>投保人姓名:</text>
  56. <text>{{ insOrderVo.applyName}}</text>
  57. </view>
  58. <view class="dis j-s a-c">
  59. <text>投保人身份证号:</text>
  60. <text>{{ insOrderVo.applyIdentifyNumber}}</text>
  61. </view>
  62. <view class="dis j-s a-c">
  63. <text>被保人姓名:</text>
  64. <text>{{ insOrderVo.insuredName}}</text>
  65. </view>
  66. <view class="dis j-s a-c">
  67. <text>被保人身份证号:</text>
  68. <text>{{ insOrderVo.insuredNumber}}</text>
  69. </view>
  70. </view>
  71. <view class="information">
  72. <text class="title">保费信息</text>
  73. <view class="dis j-start a-c" v-if="insOrderVo.jqstartDate">
  74. <text>交强起保日期:</text>
  75. <text style="letter-spacing: 1px;">{{ insOrderVo.jqstartDate}}</text>
  76. </view>
  77. <view class="dis j-start a-c" v-if="insOrderVo.jqendDate">
  78. <text>交强终保日期:</text>
  79. <text style="letter-spacing: 1px;">{{ insOrderVo.jqendDate}}</text>
  80. </view>
  81. <view class="dis j-start a-c" v-if="insOrderVo.systartDate">
  82. <text>商业起保日期:</text>
  83. <text style="letter-spacing: 1px;">{{ insOrderVo.systartDate}}</text>
  84. </view>
  85. <view class="dis j-start a-c" v-if="insOrderVo.syendDate">
  86. <text>商业终保日期:</text>
  87. <text style="letter-spacing: 1px;">{{ insOrderVo.syendDate}}</text>
  88. </view>
  89. </view>
  90. <view class="information1" v-for="(item,index) in subOrderVos" :key="index">
  91. <view class="title dis a-c j-s">
  92. <text>{{item.companyName}}</text>
  93. <text>总保费¥{{item.sumpremium}}</text>
  94. </view>
  95. <view class="dis f-c" v-if="item.jqpremium">
  96. <view class="dis a-c j-s" style="margin-bottom: 5px;">
  97. <text>交强险:</text>
  98. <text>¥{{item.jqpremium}}</text>
  99. </view>
  100. <view class="dis f-c" style="background-color: #F9F9F9;border-radius: 10px;padding: 6px;">
  101. <view class="dis j-s a-c" style="border-bottom: 1px solid #f2f2f2;">
  102. <text style="color: rgba(35,40,50,0.8)">险别/名称</text>
  103. <text style="color: rgba(35,40,50,0.8)">保额</text>
  104. </view>
  105. <view class="dis j-s a-c" v-for="(jqInsuranceitem,jqInsuranceindex) in item.jqInsuranceType"
  106. :key="jqInsuranceindex" style="margin-top: 6px;">
  107. <text>{{jqInsuranceitem.name}}</text>
  108. <text>{{jqInsuranceitem.amount}}</text>
  109. </view>
  110. </view>
  111. </view>
  112. <view class="dis j-s a-c" v-if="item.taxaMount">
  113. <text>车船税:</text>
  114. <text>¥{{ item.taxaMount}}</text>
  115. </view>
  116. <view class="dis f-c" v-if="item.sypremium">
  117. <view class="dis a-c j-s ">
  118. <text>商业险:</text>
  119. <text>¥{{ item.sypremium}}</text>
  120. </view>
  121. <view class=" dis j-s f-c p-2"
  122. style="border: none;background-color: #F9F9F9;border-radius: 10px;">
  123. <view class="dis j-s a-c" style="border-bottom: 1px solid #f2f2f2;">
  124. <view class="dis j-start" style="width: 50%;">
  125. <text style="color: rgba(35,40,50,0.8)">险别/名称</text>
  126. </view>
  127. <view class="dis j-c" style="width: 25%;">
  128. <text style="color: rgba(35,40,50,0.8)">保额</text>
  129. </view>
  130. <view class="dis j-end" style="width: 25%;">
  131. <text style="color: rgba(35,40,50,0.8)">保费(元)</text>
  132. </view>
  133. </view>
  134. <view class="coverage-sum dis j-s" v-for="(kindinfoitem,kindinfoindex) in item.kindinfo"
  135. :key="kindinfoindex" style="margin-top: 6px;">
  136. <view style="width: 50%;" class="dis a-c j-start">
  137. <text>{{kindinfoitem.kindName}}</text>
  138. </view>
  139. <view style="width: 25%;" class="dis a-c j-c"
  140. v-if="['D4', 'SY_FJ_YBW2'].includes(kindinfoitem.kindCode)">
  141. <text>{{kindinfoitem.unitAmount}}/座*{{insOrderVo.seatCount-1}}</text>
  142. </view>
  143. <view style="width: 25%;" class="dis a-c j-c"
  144. v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(kindinfoitem.kindCode)">
  145. <text>{{kindinfoitem.deductibleRate}}</text>
  146. </view>
  147. <view style="width: 25%;" class="dis a-c j-c"
  148. v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(kindinfoitem.kindCode)">
  149. <text>{{kindinfoitem.serviceTimes}}/次</text>
  150. </view>
  151. <view style="width: 25%;" class="dis a-c j-c" v-else>
  152. <text>{{kindinfoitem.amount}}</text>
  153. </view>
  154. <view style="width: 25%;" class="dis a-c j-end">
  155. <text>¥{{kindinfoitem.coveragePremium}}</text>
  156. </view>
  157. </view>
  158. </view>
  159. </view>
  160. <view class="dis f-c" v-if="item.jypremium">
  161. <view class="dis a-c j-s">
  162. <text>附加险:意外险</text>
  163. <text>¥{{ item.jypremium}}</text>
  164. </view>
  165. <view class=" dis j-s f-c p-2" v-if="item.accidentInfo.length>0"
  166. style="border: none;background-color: #F9F9F9;border-radius: 10px;">
  167. <view class="dis j-s a-c" style="border-bottom: 1px solid #f2f2f2;">
  168. <view class="dis j-start" style="width: 50%;">
  169. <text style="color: rgba(35,40,50,0.8)">险别/名称</text>
  170. </view>
  171. <view class="dis j-c" style="width: 25%;">
  172. <text style="color: rgba(35,40,50,0.8)">保额</text>
  173. </view>
  174. <view class="dis j-end" style="width: 25%;">
  175. <text style="color: rgba(35,40,50,0.8)">保费(元)</text>
  176. </view>
  177. </view>
  178. <view class="coverage-sum dis j-s"
  179. v-for="(accidentInfoitem,accidentInfoindex) in item.accidentInfo"
  180. :key="accidentInfoindex" style="margin-top: 6px;">
  181. <view style="width: 50%;" class="dis a-c j-start">
  182. <text>{{accidentInfoitem.name}}</text>
  183. </view>
  184. <view style="width: 25%;" class="dis a-c j-c">
  185. <text>{{accidentInfoitem.amount}}</text>
  186. </view>
  187. <view style="width: 25%;" class="dis a-c j-c">
  188. <text>{{accidentInfoitem.premium}}</text>
  189. </view>
  190. </view>
  191. </view>
  192. </view>
  193. </view>
  194. <view class="information2">
  195. <view class="dis j-s a-c" v-for="(item,index) in parityPriceVo" :key="index">
  196. <view class="dis j-c a-c p-1"
  197. :class="{ 'active': items.flag == true, 'active1': items.yzhFlag == true }"
  198. v-for="(items,indexs) in item" :key="indexs">{{items.value}}
  199. </view>
  200. </view>
  201. </view>
  202. <view class="massage dis a-c j-start">
  203. <image :src="jianyitoubaoImg" mode="" style="width: 105px;height: 25px;"></image>
  204. <text>{{companyName}}, 报价最低!</text>
  205. </view>
  206. </view>
  207. </view>
  208. <view class="fixed-bottom">
  209. <u-button type="primary" style="background-color:#23C1CB;" @tap="sendPayCode">发送微信</u-button>
  210. </view>
  211. </view>
  212. </template>
  213. <script>
  214. import {
  215. mapState,
  216. mapMutations
  217. } from 'vuex';
  218. import {
  219. pathToBase64,
  220. base64ToPath
  221. } from '@/common/pdf.js'
  222. export default {
  223. data() {
  224. return {
  225. texts: [],
  226. payImg: "",
  227. posterUrl: "",
  228. show: false,
  229. insOrderVo: {},
  230. subOrderVos: [],
  231. parityPriceVo: [],
  232. companyName: "",
  233. bannerImg: "",
  234. iconImg: "",
  235. jianyitoubaoImg: "",
  236. }
  237. },
  238. computed: {
  239. ...mapState(["userLoginId"])
  240. },
  241. async onLoad(options) {
  242. let item = JSON.parse(options.subOrderNoslist);
  243. let params = {
  244. subOrderNos: item,
  245. }
  246. let res = await this.$http.post('/insurance/order/getInquiryDetalsBySubOrderNos', params);
  247. if (res.code == '200') {
  248. res.data.subOrderVos.map(val => {
  249. val.kindinfo.map((ele, index) => {
  250. switch (ele.kindCode) {
  251. case "A":
  252. if (ele.amount == 1) {
  253. ele.amount = "投保"
  254. } else {
  255. ele.amount = ele.amount
  256. }
  257. break;
  258. case "D4":
  259. case "SY_FJ_YBW2":
  260. ele.unitAmount = this.toChinesNum(ele.unitAmount);
  261. break;
  262. case "MJ1":
  263. case "MJ2":
  264. case "MJ3":
  265. case "MJ4":
  266. ele.deductibleRate = ele.deductibleRate + "%";
  267. break;
  268. default:
  269. ele.amount = this.toChinesNum(ele.amount);
  270. }
  271. return ele;
  272. });
  273. })
  274. this.companyName = res.data.companyName;
  275. this.insOrderVo = res.data.insOrderVo;
  276. this.subOrderVos = res.data.subOrderVos;
  277. this.parityPriceVo = res.data.parityPriceVo;
  278. }
  279. uni.getImageInfo({
  280. src: '../../static/image/car-insure/bijiadan.png',
  281. success: image => {
  282. pathToBase64(image.path)
  283. .then(base64 => {
  284. this.bannerImg = base64;
  285. })
  286. .catch(error => {});
  287. },
  288. fail: err => {}
  289. });
  290. uni.getImageInfo({
  291. src: '../../static/image/car-insure/bijia.png',
  292. success: image => {
  293. pathToBase64(image.path)
  294. .then(base64 => {
  295. this.iconImg = base64;
  296. })
  297. .catch(error => {});
  298. },
  299. fail: err => {}
  300. });
  301. uni.getImageInfo({
  302. src: '../../static/image/car-insure/jianyitoubao.png',
  303. success: image => {
  304. pathToBase64(image.path)
  305. .then(base64 => {
  306. this.jianyitoubaoImg = base64;
  307. })
  308. .catch(error => {});
  309. },
  310. fail: err => {}
  311. });
  312. },
  313. methods: {
  314. btn_click() {
  315. uni.navigateTo({
  316. url: '/pages/chat/chat'
  317. })
  318. },
  319. //页面返回按钮
  320. back() {
  321. uni.navigateBack({
  322. delta: 1, // 返回的页面数,如果是1表示返回上一页
  323. success: function() {}
  324. });
  325. },
  326. //分享图片到微信
  327. sendPayCode() {
  328. if (this.payImg) {
  329. uni.share({
  330. provider: "weixin",
  331. scene: "WXSceneSession",
  332. type: 2,
  333. imageUrl: this.payImg
  334. })
  335. }
  336. },
  337. toChinesNum(num) {
  338. let overWan = Math.floor(num / 10000);
  339. let result = overWan + "万";
  340. return result;
  341. },
  342. //页面截图转路径
  343. receiveRenderData(val) {
  344. this.posterUrl = val.replace(/[\r\n]/g, ''); // 去除base64位中的空格
  345. const imageStr = this.posterUrl;
  346. // 将base64转化为临时地址
  347. base64ToPath(imageStr).then(path => {
  348. this.payImg = path
  349. }).catch(error => {});
  350. },
  351. showLoading() {
  352. uni.showLoading({
  353. title: '正在生成图片'
  354. });
  355. },
  356. hideLoading() {
  357. uni.hideLoading();
  358. },
  359. },
  360. }
  361. </script>
  362. <script module="canvasImage" lang="renderjs">
  363. import html2canvas from 'html2canvas'
  364. export default {
  365. data() {
  366. return {
  367. }
  368. },
  369. mounted() {
  370. // #ifdef APP-PLUS
  371. setTimeout(() => {
  372. this.canvasImage.generateImage()
  373. }, 1000);
  374. // #endif
  375. },
  376. methods: {
  377. // #ifdef APP-PLUS
  378. generateImage() {
  379. setTimeout(() => {
  380. this.$ownerInstance.callMethod('showLoading')
  381. const dom = document.getElementById('panelcanvas') // 需要生成图片内容的 dom 节点
  382. html2canvas(dom, {
  383. width: dom.clientWidth, //dom 原始宽度
  384. height: dom.clientHeight,
  385. scrollY: 0, // html2canvas默认绘制视图内的页面,需要把scrollY,scrollX设置为0
  386. scrollX: 0,
  387. useCORS: true, //支持跨域
  388. // allowTaint: false,
  389. scale: 3, // 设置生成图片的像素比例,默认是1,如果生成的图片模糊的话可以开启该配置项
  390. }).then((canvas) => {
  391. // 生成成功
  392. this.$ownerInstance.callMethod('hideLoading')
  393. this.$ownerInstance.callMethod('receiveRenderData', canvas.toDataURL('image/png'))
  394. }).catch(err => {
  395. // 生成失败 弹出提示弹窗
  396. this.$ownerInstance.callMethod('_errAlert', `【生成图片失败,请重试】${err}`)
  397. })
  398. }, 300)
  399. }
  400. // #endif
  401. },
  402. }
  403. </script>
  404. <style lang="scss" scoped>
  405. @import '@/style/mixin.scss';
  406. .page {
  407. background-color: #F8FEFE;
  408. padding-bottom: 100px;
  409. box-sizing: border-box;
  410. }
  411. .active {
  412. background-color: #FFF5F3;
  413. }
  414. .active1 {
  415. color: #FF5600 !important;
  416. font-weight: bold;
  417. }
  418. .massage {
  419. width: 100%;
  420. height: 41px;
  421. background: linear-gradient(90deg, #FFDCCD 0%, #FFF1EE 100%);
  422. border-radius: 0px 0px 6px 6px;
  423. padding: 10px;
  424. text {
  425. font-size: 15px;
  426. font-weight: bold;
  427. color: #FF5600;
  428. margin-left: 10px;
  429. }
  430. }
  431. .fixed-bottom {
  432. position: fixed;
  433. bottom: 0;
  434. width: 100%;
  435. height: 62px;
  436. background-color: #FFFFFF;
  437. padding: 16px;
  438. box-shadow: 0px -4px 10px 0px #DAE3F4;
  439. border-radius: 0px 0px 0px 0px;
  440. }
  441. .content {
  442. width: 100%;
  443. height: auto;
  444. padding: 16px 16px 0;
  445. position: relative;
  446. .price {
  447. width: 100%;
  448. height: 40px;
  449. background: #FFFFFF;
  450. border-radius: 6px 6px 0px 0px;
  451. }
  452. }
  453. .information {
  454. width: 100%;
  455. height: auto;
  456. background-color: #fff;
  457. box-shadow: 0px 4px 10px 0px rgba(35, 193, 203, 0.2);
  458. border-radius: 6px;
  459. margin-top: 10px;
  460. padding: 10px 10px 0;
  461. >view {
  462. padding: 10px 0;
  463. border-bottom: 1px solid #f2f2f2;
  464. text {
  465. font-size: 14px;
  466. color: #232832;
  467. }
  468. }
  469. .title {
  470. font-size: 15px;
  471. color: #232832;
  472. font-weight: bold;
  473. }
  474. :last-child {
  475. border: none;
  476. }
  477. }
  478. .information1 {
  479. width: 100%;
  480. height: auto;
  481. background-color: #fff;
  482. box-shadow: 0px 4px 10px 0px rgba(35, 193, 203, 0.2);
  483. border-radius: 6px;
  484. margin-top: 10px;
  485. >view {
  486. padding: 10px;
  487. border-bottom: 1px solid #f2f2f2;
  488. text {
  489. font-size: 14px;
  490. color: #232832;
  491. }
  492. }
  493. >view:first-child {
  494. border: none;
  495. background-color: #DCF5F6;
  496. border-radius: 6px 6px 0 0;
  497. text:nth-child(1) {
  498. font-weight: bold;
  499. color: #232832;
  500. font-size: 14px;
  501. }
  502. text:nth-child(2) {
  503. font-weight: bold;
  504. color: #088F98;
  505. font-size: 14px;
  506. }
  507. }
  508. :last-child {
  509. border: none;
  510. }
  511. }
  512. .information2 {
  513. width: 100%;
  514. height: auto;
  515. background-color: #fff;
  516. box-shadow: 0px 4px 10px 0px rgba(35, 193, 203, 0.2);
  517. border-radius: 6px;
  518. margin-top: 10px;
  519. >view {
  520. view {
  521. width: 25%;
  522. font-size: 14px;
  523. color: #232832;
  524. }
  525. }
  526. >view:first-child {
  527. border: none;
  528. background-color: #DCF5F6;
  529. border-radius: 6px 6px 0 0;
  530. font-weight: bold;
  531. }
  532. .title {
  533. font-size: 15px;
  534. color: #232832;
  535. font-weight: bold;
  536. }
  537. :last-child {
  538. border: none;
  539. }
  540. }
  541. .Basic-information {
  542. background-color: white;
  543. width: 100%;
  544. height: auto;
  545. .basic-logo {
  546. padding: 10px 16px;
  547. border-bottom: 1px solid #f2f2f2;
  548. image {
  549. width: 50px;
  550. height: 50px;
  551. margin-right: 20px;
  552. }
  553. text {
  554. font-size: 12px;
  555. }
  556. text:first-child {
  557. font-weight: bold;
  558. font-size: 18px;
  559. }
  560. }
  561. .basic-data {
  562. padding: 16px;
  563. .arrange {
  564. margin: 4px 0;
  565. font-size: 14px;
  566. text:first-child {
  567. font-weight: bold;
  568. margin-right: 5px;
  569. }
  570. text:last-child {
  571. color: #606266;
  572. }
  573. &::before {
  574. content: "·";
  575. color: #606266;
  576. margin-right: 10px;
  577. font-weight: bold;
  578. }
  579. }
  580. }
  581. .bjdCarSum {
  582. padding: 10px 16px;
  583. border-bottom: 1px solid #f2f2f2;
  584. font-weight: bold;
  585. font-size: 14px;
  586. }
  587. .coverage {
  588. padding: 10px 16px;
  589. .coverage-title {
  590. width: 100%;
  591. view:first-child {
  592. border-top-left-radius: 8px;
  593. }
  594. view:last-child {
  595. border-top-right-radius: 8px;
  596. }
  597. view:nth-child(2) {
  598. border-left: none;
  599. border-right: none;
  600. }
  601. view {
  602. width: 33.33%;
  603. text-align: center;
  604. background: #ff8f63;
  605. color: #fff;
  606. padding: 6px 16px;
  607. border: 1px solid #fff;
  608. font-size: 12px;
  609. box-sizing: border-box;
  610. }
  611. }
  612. .coverage-sum {
  613. width: 100%;
  614. view {
  615. font-size: 12px;
  616. padding: 6px 16px;
  617. }
  618. }
  619. }
  620. }
  621. .Circle {
  622. position: relative;
  623. &::before {
  624. display: block;
  625. content: "";
  626. position: absolute;
  627. width: 10px;
  628. height: 10px;
  629. background: #92b5fe;
  630. top: -5px;
  631. left: -15px;
  632. border-radius: 50%;
  633. }
  634. &::after {
  635. content: "";
  636. position: absolute;
  637. width: 10px;
  638. height: 10px;
  639. background: #92b5fe;
  640. top: -5px;
  641. right: -15px;
  642. border-radius: 50%;
  643. }
  644. }
  645. .footer-button {
  646. z-index: 9999;
  647. margin-top: 20px;
  648. position: fixed;
  649. bottom: 0;
  650. width: 100%;
  651. background: white;
  652. padding: 10px 20px;
  653. button {
  654. width: 70%;
  655. cursor: pointer;
  656. }
  657. }
  658. .tip {
  659. width: 100%;
  660. background-color: #fff;
  661. border-radius: 10upx;
  662. font-size: 32upx;
  663. font-weight: bold;
  664. margin: 0 auto;
  665. padding: 20px;
  666. box-sizing: border-box;
  667. position: fixed;
  668. bottom: 0;
  669. }
  670. /* 底部的样式Start */
  671. .infoBottom {
  672. height: 140upx;
  673. position: fixed;
  674. bottom: 0;
  675. left: 0;
  676. right: 0;
  677. background: #ea552d;
  678. border-top: 1upx solid #ea552d;
  679. z-index: 99;
  680. margin-top: 100px;
  681. }
  682. .infoBottom>button {
  683. // font-size: 30upx;
  684. background: #fff;
  685. color: #333;
  686. flex: 1;
  687. margin: 0upx 30px;
  688. font-weight: bold;
  689. }
  690. /* 底部的样式End */
  691. .watermark {
  692. position: fixed;
  693. top: 50%;
  694. left: 50%;
  695. transform: translate(-50%, -50%);
  696. font-size: 24px;
  697. color: rgba(0, 0, 0, 0.3);
  698. pointer-events: none;
  699. z-index: 9999;
  700. }
  701. </style>