quotation.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896
  1. <template>
  2. <view style="height: 100vh;position: relative;">
  3. <public-module></public-module>
  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 f-c">
  8. <view class="header dis a-c">
  9. <image :src="logoimg" mode="" style="width: 20px;height: 20px;">
  10. </image>
  11. <text
  12. style="font-weight: bold;margin-left: 6px; font-size: 16px;">{{dataInfo.inscompany}}</text>
  13. </view>
  14. <view class="mt-2">
  15. <view class="dis a-c j-start">
  16. <image :src="baojiadanImg" mode="" style="width: 21px;height: 21px;"></image>
  17. <text style="font-weight: bold;color: #333;margin-left: 10px;">{{dataInfo.orderno}}</text>
  18. </view>
  19. <view class="dis a-c j-start mt-2" v-if="dataInfo.jqapplyno">
  20. <view style="color: #333;width: 70px;">投保单号:</view>
  21. <text style="color: #555;">{{dataInfo.jqapplyno}}(交强)</text>
  22. </view>
  23. <view class="dis a-c j-start" v-if="dataInfo.syapplyno">
  24. <view style="color: #333;width: 70px;">投保单号:</view>
  25. <text style="color: #555;">{{dataInfo.syapplyno}}(商业)</text>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. <view style="padding:0 16px;position: relative;">
  31. <view class="information">
  32. <view class="back">
  33. <view class="header dis a-c ">
  34. <view class="line"></view>
  35. <text>车辆信息</text>
  36. </view>
  37. </view>
  38. <view class="content dis f-c ">
  39. <view class="dis a-c ">
  40. <view class="dis j-start">车牌号:</view>
  41. <view>{{dataInfo.licenseno}}</view>
  42. </view>
  43. <view class="dis a-c ">
  44. <view class="dis j-start">车架号:</view>
  45. <view>{{carinfo.frameNo}}</view>
  46. </view>
  47. <view class="dis a-c">
  48. <view class="dis j-start">发动机号:</view>
  49. <view>{{carinfo.engineNo}}</view>
  50. </view>
  51. <view class="dis a-c">
  52. <view class="dis j-start">品牌型号:</view>
  53. <view>{{carinfo.modelcname}}</view>
  54. </view>
  55. <view class="dis a-c">
  56. <view class="dis j-start">座位数:</view>
  57. <view>{{carinfo.seatCount}}</view>
  58. </view>
  59. <view class="dis a-c">
  60. <view class="dis j-start">车辆用途:</view>
  61. <view>{{carinfo.vehicleUse}}</view>
  62. </view>
  63. <view class="dis a-c">
  64. <view class="dis j-start">注册日期:</view>
  65. <view>{{carinfo.registerDate}}</view>
  66. </view>
  67. <view class="dis a-c">
  68. <view class="dis j-start">发证日期:</view>
  69. <view>{{carinfo.issueDate}}</view>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="information">
  74. <view class="back"
  75. style="background: linear-gradient( 180deg, #B9FFF2 0%, rgba(185,255,242,0) 100%);">
  76. <view class="header dis a-c ">
  77. <view class="line" style="background: #0DBDA8;"></view>
  78. <text>人员信息</text>
  79. </view>
  80. </view>
  81. <view class="content1 dis f-c ">
  82. <view class="dis a-c">
  83. <view class=" dis j-start">车主姓名:</view>
  84. <view>{{ownerinfo.name}}</view>
  85. </view>
  86. <view class="dis a-c">
  87. <view>车主身份证号:</view>
  88. <view class="dis j-start">
  89. {{ownerinfo.identifyNumber}}
  90. </view>
  91. </view>
  92. <view class="dis a-c">
  93. <view>投保人姓名:</view>
  94. <view class="dis j-start">{{applyinfo.name}}</view>
  95. </view>
  96. <view class="dis a-c">
  97. <view>投保人身份证号:</view>
  98. <view class="dis j-start">
  99. {{applyinfo.identifyNumber}}
  100. </view>
  101. </view>
  102. <view class="dis a-c">
  103. <view>被保人姓名:</view>
  104. <view class="dis j-start">{{insureinfo.name}}</view>
  105. </view>
  106. <view class="dis a-c">
  107. <view>被保人身份证号:</view>
  108. <view class="dis j-start">
  109. {{insureinfo.identifyNumber}}
  110. </view>
  111. </view>
  112. </view>
  113. </view>
  114. <view class="information">
  115. <view class="back"
  116. style="background: linear-gradient( 180deg, #FFD7C2 0%, rgba(255,215,194,0) 100%)">
  117. <view class="header dis a-c ">
  118. <view class="line" style="background: #FF5600;"></view>
  119. <text>保单信息</text>
  120. </view>
  121. </view>
  122. <view class=" dis f-c policyInfo">
  123. <view class="dis f-c " v-if="dataInfo.jqstartdate">
  124. <view class="dis j-s a-c">
  125. <text class="font-weight" style="color: #6B2709;font-size: 15px;">交强险</text>
  126. <text
  127. style="color: #8B563E;font-size: 13px;">{{dataInfo.jqstartdate}}至{{dataInfo.jqenddate}}</text>
  128. </view>
  129. <u-table border-color="#F8E9E3">
  130. <u-tr>
  131. <u-th>保险产品</u-th>
  132. <u-th>总计(元)</u-th>
  133. </u-tr>
  134. <u-tr>
  135. <u-td>交通事故强制责任险</u-td>
  136. <u-td>¥{{dataInfo.jqpremium}}</u-td>
  137. </u-tr>
  138. </u-table>
  139. </view>
  140. <view class="dis f-c " v-if="dataInfo.systartdate">
  141. <view class="dis j-s a-c">
  142. <text class="font-weight" style="color: #6B2709;font-size: 15px;">商业险</text>
  143. <text
  144. style="color: #8B563E;font-size: 13px;">{{dataInfo.systartdate}}至{{dataInfo.syenddate}}</text>
  145. </view>
  146. <u-table border-color="#F8E9E3">
  147. <u-tr>
  148. <u-th>险种</u-th>
  149. <u-th>保额</u-th>
  150. <u-th>保费(元)</u-th>
  151. </u-tr>
  152. <u-tr v-for="(item,index) in dataInfo.kindinfo" :key="index">
  153. <u-td>{{item.kindName}}</u-td>
  154. <u-td
  155. v-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)">{{item.unitAmount}}/座*{{dataInfo.carinfo.seatCount-1}}</u-td>
  156. <u-td v-else-if="['D3'].includes(item.kindCode)">{{item.amount}}/座*1</u-td>
  157. <u-td
  158. v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)">{{item.deductibleRate}}</u-td>
  159. <u-td
  160. v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(item.kindCode)">{{item.serviceTimes}}/次</u-td>
  161. <u-td v-else>{{item.amount}}</u-td>
  162. <u-td>¥{{item.coveragePremium}}</u-td>
  163. </u-tr>
  164. </u-table>
  165. </view>
  166. <view class="dis f-c mt-3" v-if="dataInfo.jyName">
  167. <view class="dis j-s a-c">
  168. <text class="font-weight" style="color: #6B2709;font-size: 15px;">驾意险</text>
  169. </view>
  170. <text class="tagHeader dis a-c">
  171. <text>{{dataInfo.jyName}}
  172. <view class="tag"></view>
  173. </text>
  174. </text>
  175. <u-table border-color="#F8E9E3" v-if="dataInfo.accidentInfo.length>0">
  176. <u-tr>
  177. <u-th width="50%">保险责任</u-th>
  178. <u-th>保额</u-th>
  179. <u-th>保费(元)</u-th>
  180. </u-tr>
  181. <view class="dis">
  182. <view class="accident dis f-c">
  183. <view class="dis" v-for="(item,index) in dataInfo.accidentInfo" :key="index">
  184. <view style="width: 67%;">{{item.name}}</view>
  185. <view style="width: 33%;">{{item.amount}}</view>
  186. </view>
  187. </view>
  188. <view class="right dis j-c a-c">
  189. {{dataInfo.jypremium}}
  190. </view>
  191. </view>
  192. </u-table>
  193. <u-table border-color="#F8E9E3" v-if="dataInfo.jyName">
  194. <u-tr>
  195. <u-th>座位数</u-th>
  196. <u-th>每份</u-th>
  197. <u-th>份数</u-th>
  198. <u-th>总计</u-th>
  199. </u-tr>
  200. <u-tr>
  201. <u-td>{{dataInfo.carinfo.seatCount}}</u-td>
  202. <u-td>{{dataInfo.jypremium / dataInfo.jyQuantity}}/每份</u-td>
  203. <u-td>{{dataInfo.jyQuantity}}份</u-td>
  204. <u-td>{{dataInfo.jypremium}}</u-td>
  205. </u-tr>
  206. </u-table>
  207. </view>
  208. </view>
  209. </view>
  210. <view class="information">
  211. <view class="back"
  212. style="background: linear-gradient( 180deg, #FFD1D1 0%, rgba(255,209,209,0) 100%);">
  213. <view class="header dis a-c ">
  214. <view class="line" style="background: #FF4D4D;"></view>
  215. <text>保费信息</text>
  216. </view>
  217. </view>
  218. <view class=" content2 dis f-c ">
  219. <view class="dis a-c" v-if="dataInfo.jqpremium">
  220. <view class="dis j-start">交强险:</view>
  221. <view class="font-weight">{{dataInfo.jqpremium}}元</view>
  222. </view>
  223. <view class="dis a-c" v-if="dataInfo.taxamount">
  224. <view class="dis j-start">车船税:</view>
  225. <view class="font-weight">{{dataInfo.taxamount}}元</view>
  226. </view>
  227. <view class="dis a-c" v-if="dataInfo.sypremium">
  228. <view class="dis j-start">车辆商业险:</view>
  229. <view class="font-weight">{{dataInfo.sypremium}}元</view>
  230. </view>
  231. <view class="dis a-c" v-if="dataInfo.jypremium">
  232. <view class="dis j-start">驾意险:</view>
  233. <view class="font-weight">{{dataInfo.jypremium}}元</view>
  234. </view>
  235. <view class="dis a-c">
  236. <view style="color: #FF4D4D;" class="dis j-start">应缴金额:</view>
  237. <view style="color: #FF4D4D;font-weight: bold;">{{dataInfo.sumpremium}}元</view>
  238. </view>
  239. </view>
  240. </view>
  241. </view>
  242. <kxj-watermark type="fixation" color="#333" :texts="texts" :count="12"></kxj-watermark>
  243. </view>
  244. <!-- #ifdef APP-PLUS -->
  245. <view class="fixed-bottom">
  246. <u-button type="primary" :loading="loading" style="background-color:#0052FF;"
  247. @tap="sendPayCode">发送微信</u-button>
  248. </view>
  249. <!-- #endif -->
  250. </view>
  251. </template>
  252. <script>
  253. import {
  254. mapState,
  255. mapMutations
  256. } from 'vuex';
  257. import kxjWatermark from '@/components/common/kxj-watermark/kxj-watermark.vue'
  258. import {
  259. pathToBase64,
  260. base64ToPath
  261. } from '@/common/pdf.js'
  262. export default {
  263. components: {
  264. kxjWatermark
  265. },
  266. data() {
  267. return {
  268. loading: true,
  269. bannerImg: '',
  270. baojiadanImg: "",
  271. texts: [],
  272. payImg: "",
  273. posterUrl: "",
  274. caricon: "", //carlogo
  275. show: false,
  276. companyId: "",
  277. dataInfo: {},
  278. carinfo: {}, //车辆信息
  279. ownerinfo: {}, //车主信息
  280. applyinfo: {}, //投保人信息
  281. insureinfo: {}, //被保人信息
  282. logoimg: "",
  283. businessVehicleUseoptions: [],
  284. outOfBusinessVehicleUseoptions: [],
  285. }
  286. },
  287. computed: {
  288. ...mapState(["userLoginId"])
  289. },
  290. async onLoad(options) {
  291. this.getDicType("businessVehicleUse"); //车辆用途(营业)
  292. this.getDicType("outOfBusinessVehicleUse"); //车辆用途(非营业)
  293. this.texts = [this.userLoginId]
  294. this.companyId = options.companyId;
  295. let params = {
  296. companyId: options.companyId
  297. };
  298. let res = await this.$http.post('/insurance/order/getByCompanyId', params);
  299. var data = res.data;
  300. data.kindinfo.map((ele, index) => {
  301. switch (ele.kindCode) {
  302. case "A":
  303. if (ele.amount == 1) {
  304. ele.amount = "投保"
  305. } else {
  306. ele.amount = ele.amount
  307. }
  308. break;
  309. case "D4":
  310. case "SY_FJ_YBW2":
  311. ele.unitAmount = this.toChinesNum(ele.unitAmount);
  312. break;
  313. case "MJ1":
  314. case "MJ2":
  315. case "MJ3":
  316. case "MJ4":
  317. ele.deductibleRate = ele.deductibleRate + "%";
  318. break;
  319. default:
  320. ele.amount = this.toChinesNum(ele.amount);
  321. }
  322. return ele;
  323. });
  324. this.$base.insCompanyList.map(ele => {
  325. if (ele.name == data.inscompany) {
  326. uni.getImageInfo({
  327. src: ele.icon,
  328. success: image => {
  329. pathToBase64(image.path)
  330. .then(base64 => {
  331. this.logoimg = base64;
  332. })
  333. .catch(error => {});
  334. },
  335. fail: err => {}
  336. });
  337. }
  338. return ele;
  339. })
  340. this.dataInfo = data;
  341. data.carinfo.vehicleUse = data.carinfo.carnature == '02' ? this.dictionaryMatching(this
  342. .outOfBusinessVehicleUseoptions,
  343. data.carinfo
  344. .vehicleUse) : this.dictionaryMatching(this.businessVehicleUseoptions,
  345. data.carinfo
  346. .vehicleUse)
  347. data.ownerinfo.identifyNumber = data.ownerinfo.identifyNumber.slice(0, 4) + '*******' + data.ownerinfo
  348. .identifyNumber.slice(14, 18);
  349. data.applyinfo.identifyNumber = data.applyinfo.identifyNumber.slice(0, 4) + '*******' + data.applyinfo
  350. .identifyNumber.slice(14, 18);
  351. data.insureinfo.identifyNumber = data.insureinfo.identifyNumber.slice(0, 4) + '*******' + data.insureinfo
  352. .identifyNumber.slice(14, 18);
  353. this.carinfo = data.carinfo;
  354. this.ownerinfo = data.ownerinfo;
  355. this.applyinfo = data.applyinfo;
  356. this.insureinfo = data.insureinfo;
  357. uni.getImageInfo({
  358. src: '../../static/image/car-insure/baojiadan.png',
  359. success: image => {
  360. pathToBase64(image.path)
  361. .then(base64 => {
  362. this.bannerImg = base64;
  363. })
  364. .catch(error => {});
  365. },
  366. fail: err => {}
  367. });
  368. uni.getImageInfo({
  369. src: '../../static/image/car-insure/baojiadan1.png',
  370. success: image => {
  371. pathToBase64(image.path)
  372. .then(base64 => {
  373. this.baojiadanImg = base64;
  374. })
  375. .catch(error => {});
  376. },
  377. fail: err => {}
  378. });
  379. },
  380. methods: {
  381. async getDicType(type) {
  382. let res = await this.$http.get('/sysDict/dictDetails/' + type);
  383. if (res.code == 200) {
  384. this[type + 'options'] = res.data.ddList;
  385. // if (type == "trafficManagementVehicleType") {
  386. //
  387. // this.carInfo1.cimodelclass = this.dictionaryMatching(this.vehicleTypeoptions,
  388. // this
  389. // .carInfo
  390. // .cimodelclass)
  391. // }
  392. }
  393. },
  394. //字典name匹配
  395. dictionaryMatching(list, value) {
  396. let obj = list.find(val => val.dictValue == value);
  397. return obj.dictTag;
  398. },
  399. //页面返回按钮
  400. back() {
  401. uni.navigateBack({
  402. delta: 1, // 返回的页面数,如果是1表示返回上一页
  403. success: function() {}
  404. });
  405. },
  406. //本地图片转换成base64
  407. turnBase64Image() {
  408. this.
  409. uni.getImageInfo({
  410. src: img,
  411. success: image => {
  412. pathToBase64(image.path)
  413. .then(base64 => {
  414. this[key] = base64;
  415. })
  416. .catch(error => {});
  417. },
  418. fail: err => {}
  419. });
  420. },
  421. toChinesNum(num) {
  422. let overWan = Math.floor(num / 10000);
  423. let result = overWan + "万";
  424. return result;
  425. },
  426. //分享图片到微信
  427. sendPayCode() {
  428. console.log(this.payImg);
  429. if (this.payImg) {
  430. uni.share({
  431. provider: "weixin",
  432. scene: "WXSceneSession",
  433. type: 2,
  434. imageUrl: this.payImg
  435. })
  436. }
  437. },
  438. //页面截图转路径
  439. receiveRenderData(val) {
  440. this.posterUrl = val.replace(/[\r\n]/g, ''); // 去除base64位中的空格
  441. const imageStr = this.posterUrl;
  442. // 将base64转化为临时地址
  443. base64ToPath(imageStr).then(path => {
  444. this.payImg = path
  445. }).catch(error => {
  446. console.log(error);
  447. });
  448. },
  449. showLoading() {
  450. uni.showLoading({
  451. title: '正在生成图片'
  452. });
  453. },
  454. hideLoading() {
  455. uni.hideLoading();
  456. this.loading = false;
  457. },
  458. },
  459. }
  460. </script>
  461. <script module="canvasImage" lang="renderjs">
  462. import html2canvas from 'html2canvas'
  463. export default {
  464. data() {
  465. return {
  466. }
  467. },
  468. mounted() {
  469. // #ifdef APP-PLUS
  470. setTimeout(() => {
  471. this.canvasImage.generateImage()
  472. }, 1000);
  473. // #endif
  474. },
  475. methods: {
  476. // #ifdef APP-PLUS
  477. generateImage() {
  478. setTimeout(() => {
  479. this.$ownerInstance.callMethod('showLoading')
  480. const dom = document.getElementById('panelcanvas') // 需要生成图片内容的 dom 节点
  481. html2canvas(dom, {
  482. width: dom.clientWidth, //dom 原始宽度
  483. height: dom.clientHeight,
  484. scrollY: 0, // html2canvas默认绘制视图内的页面,需要把scrollY,scrollX设置为0
  485. scrollX: 0,
  486. useCORS: true, //支持跨域
  487. // allowTaint: false,
  488. scale: 3, // 设置生成图片的像素比例,默认是1,如果生成的图片模糊的话可以开启该配置项
  489. }).then((canvas) => {
  490. // 生成成功
  491. this.$ownerInstance.callMethod('hideLoading')
  492. this.$ownerInstance.callMethod('receiveRenderData', canvas.toDataURL('image/png'))
  493. }).catch(err => {
  494. console.log('323213213123_errAlert', `【生成图片失败,请重试】${err}`);
  495. // 生成失败 弹出提示弹窗
  496. this.$ownerInstance.callMethod('_errAlert', `【生成图片失败,请重试】${err}`)
  497. })
  498. }, 300)
  499. }
  500. // #endif
  501. },
  502. }
  503. </script>
  504. <style lang="scss" scoped>
  505. @import '@/style/mixin.scss';
  506. .page {
  507. background-color: #F8FAFE;
  508. padding-bottom: 100px;
  509. box-sizing: border-box;
  510. }
  511. .fixed-bottom {
  512. position: fixed;
  513. bottom: 0;
  514. width: 100%;
  515. height: 62px;
  516. background-color: #FFFFFF;
  517. padding: 16px;
  518. box-shadow: 0px -4px 10px 0px #DAE3F4;
  519. border-radius: 0px 0px 0px 0px;
  520. }
  521. .content {
  522. width: 100%;
  523. height: auto;
  524. padding: 16px 16px 0;
  525. position: relative;
  526. .price {
  527. background: #FFFFFF;
  528. box-shadow: 0px 4px 10px 0px rgba(123, 160, 239, 0.2);
  529. border-radius: 6px;
  530. border: 1px solid #FFFFFF;
  531. padding: 8px;
  532. .header {
  533. padding-bottom: 5px;
  534. border-bottom: 1px solid #E1E1E1;
  535. }
  536. }
  537. }
  538. .information {
  539. width: 100%;
  540. height: auto;
  541. background-color: #fff;
  542. box-shadow: 0px 4px 10px 0px rgba(123, 160, 239, 0.2);
  543. border-radius: 6px;
  544. margin-top: 10px;
  545. .back {
  546. padding: 8px;
  547. background: linear-gradient(180deg, #D5E3FF 0%, rgba(213, 227, 255, 0) 100%);
  548. border-radius: 6px 6px 0 0;
  549. .header {
  550. padding-bottom: 6px;
  551. border-bottom: 1px solid #EEEEEE;
  552. text {
  553. font-weight: bold;
  554. color: #232832;
  555. font-size: 15px;
  556. }
  557. .line {
  558. width: 2px;
  559. height: 14px;
  560. background: #0052FF;
  561. border-radius: 2px;
  562. margin-right: 10px;
  563. }
  564. }
  565. }
  566. .content {
  567. padding: 4px 8px;
  568. >view {
  569. font-size: 14px;
  570. margin-bottom: 4px;
  571. :first-child {
  572. min-width: 70px;
  573. color: #333;
  574. }
  575. :last-child {
  576. color: #666;
  577. }
  578. }
  579. }
  580. .content1 {
  581. padding: 4px 8px;
  582. >view {
  583. font-size: 14px;
  584. margin-bottom: 4px;
  585. :first-child {
  586. width: 120px;
  587. color: #333;
  588. }
  589. :last-child {
  590. color: #666;
  591. }
  592. }
  593. }
  594. .content2 {
  595. padding: 4px 8px;
  596. >view {
  597. font-size: 14px;
  598. margin-bottom: 4px;
  599. :first-child {
  600. width: 100px;
  601. color: #333;
  602. }
  603. :last-child {
  604. color: #666;
  605. }
  606. }
  607. }
  608. .policyInfo {
  609. padding: 4px 8px;
  610. .tagHeader {
  611. font-family: Source Han Sans SC, Source Han Sans SC;
  612. text {
  613. position: relative;
  614. font-weight: bold;
  615. font-size: 13px;
  616. color: #333;
  617. }
  618. .tag {
  619. position: absolute;
  620. left: 0;
  621. bottom: -1px;
  622. width: 50%;
  623. height: 5px;
  624. background: linear-gradient(90deg, #FF884C 0%, rgba(255, 136, 76, 0) 80%);
  625. border-radius: 6px;
  626. }
  627. }
  628. .accident {
  629. width: 75%;
  630. .dis {
  631. border-bottom: 1px solid #F8E9E3;
  632. view {
  633. border-right: 1px solid #F8E9E3;
  634. text-align: center;
  635. padding: 5px 3px;
  636. }
  637. }
  638. }
  639. .right {
  640. width: 25%;
  641. border-right: 1px solid #F8E9E3;
  642. border-bottom: 1px solid #F8E9E3;
  643. padding: 5px 3px;
  644. }
  645. }
  646. }
  647. .Basic-information {
  648. background-color: white;
  649. width: 100%;
  650. height: auto;
  651. .basic-logo {
  652. padding: 10px 16px;
  653. border-bottom: 1px solid #f2f2f2;
  654. image {
  655. width: 50px;
  656. height: 50px;
  657. margin-right: 20px;
  658. }
  659. text {
  660. font-size: 12px;
  661. }
  662. text:first-child {
  663. font-weight: bold;
  664. font-size: 18px;
  665. }
  666. }
  667. .basic-data {
  668. padding: 16px;
  669. .arrange {
  670. margin: 4px 0;
  671. font-size: 14px;
  672. text:first-child {
  673. font-weight: bold;
  674. margin-right: 5px;
  675. }
  676. text:last-child {
  677. color: #606266;
  678. }
  679. &::before {
  680. content: "·";
  681. color: #606266;
  682. margin-right: 10px;
  683. font-weight: bold;
  684. }
  685. }
  686. }
  687. .bjdCarSum {
  688. padding: 10px 16px;
  689. border-bottom: 1px solid #f2f2f2;
  690. font-weight: bold;
  691. font-size: 14px;
  692. }
  693. .coverage {
  694. padding: 10px 16px;
  695. .coverage-title {
  696. width: 100%;
  697. view:first-child {
  698. border-top-left-radius: 8px;
  699. }
  700. view:last-child {
  701. border-top-right-radius: 8px;
  702. }
  703. view:nth-child(2) {
  704. border-left: none;
  705. border-right: none;
  706. }
  707. view {
  708. width: 33.33%;
  709. text-align: center;
  710. background: #ff8f63;
  711. color: #fff;
  712. padding: 6px 16px;
  713. border: 1px solid #fff;
  714. font-size: 12px;
  715. box-sizing: border-box;
  716. }
  717. }
  718. .coverage-sum {
  719. width: 100%;
  720. view {
  721. font-size: 12px;
  722. padding: 6px 16px;
  723. }
  724. }
  725. }
  726. }
  727. .Circle {
  728. position: relative;
  729. &::before {
  730. display: block;
  731. content: "";
  732. position: absolute;
  733. width: 10px;
  734. height: 10px;
  735. background: #92b5fe;
  736. top: -5px;
  737. left: -15px;
  738. border-radius: 50%;
  739. }
  740. &::after {
  741. content: "";
  742. position: absolute;
  743. width: 10px;
  744. height: 10px;
  745. background: #92b5fe;
  746. top: -5px;
  747. right: -15px;
  748. border-radius: 50%;
  749. }
  750. }
  751. .footer-button {
  752. z-index: 9999;
  753. margin-top: 20px;
  754. position: fixed;
  755. bottom: 0;
  756. width: 100%;
  757. background: white;
  758. padding: 10px 20px;
  759. button {
  760. width: 70%;
  761. cursor: pointer;
  762. }
  763. }
  764. .tip {
  765. width: 100%;
  766. background-color: #fff;
  767. border-radius: 10upx;
  768. font-size: 32upx;
  769. font-weight: bold;
  770. margin: 0 auto;
  771. padding: 20px;
  772. box-sizing: border-box;
  773. position: fixed;
  774. bottom: 0;
  775. }
  776. /* 底部的样式Start */
  777. .infoBottom {
  778. height: 140upx;
  779. position: fixed;
  780. bottom: 0;
  781. left: 0;
  782. right: 0;
  783. background: #ea552d;
  784. border-top: 1upx solid #ea552d;
  785. z-index: 99;
  786. margin-top: 100px;
  787. }
  788. .infoBottom>button {
  789. // font-size: 30upx;
  790. background: #fff;
  791. color: #333;
  792. flex: 1;
  793. margin: 0upx 30px;
  794. font-weight: bold;
  795. }
  796. /* 底部的样式End */
  797. .watermark {
  798. position: fixed;
  799. top: 50%;
  800. left: 50%;
  801. transform: translate(-50%, -50%);
  802. font-size: 24px;
  803. color: rgba(0, 0, 0, 0.3);
  804. pointer-events: none;
  805. z-index: 9999;
  806. }
  807. /deep/ {
  808. .u-th {
  809. background-color: #FEF9F6;
  810. }
  811. .u-td {
  812. height: auto;
  813. }
  814. }
  815. </style>