quotation.vue 21 KB

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