quoteDetail.vue 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278
  1. <template>
  2. <view class=" ">
  3. <view class=" page dis f-c" id="panelcanvas" style="position: relative;">
  4. <image class="back" :src="detailbackimg" mode=""></image>
  5. <uni-NavBar headerTitle="订单详情" background="transparent" :isSlot="false" :rightSlot="true">
  6. <template #rightSlot>
  7. <view class="dis f-c a-c mr-3" @click="getWechatCustomer">
  8. <image src="/static/icon/customerService.png" mode="" style="width: 48rpx;height: 48rpx;">
  9. </image>
  10. <text style="font-size: 20rpx;color: #333;">客服</text>
  11. </view>
  12. <view class="dis f-c a-c " @click="share">
  13. <image src="/static/icon/share.png" mode="" style="width: 48rpx;height: 48rpx;"></image>
  14. <text style="font-size: 20rpx;color: #333;">分享</text>
  15. </view>
  16. </template>
  17. </uni-NavBar>
  18. <view class="statusFeedbackArea" v-for="(item,index) in statusList" :key="index"
  19. v-if="item.value==orderStatus">
  20. <view class="dis f-c a-start">
  21. <text>{{item.text}}</text>
  22. <div class="dis a-c mt-2" v-if="orderStatus==3">
  23. <text class="text mr-2">核保时间可能较长,如长时间无结果</text>
  24. <u-icon name="reload" color="#333" size="18"></u-icon>
  25. <text style="font-size: 28rpx;" @click="refreshUnderwriting">点此刷新</text>
  26. </div>
  27. <div class="dis a-c mt-2" v-if="orderStatus==4">
  28. <text class="text mr-2">已经完成支付</text>
  29. <u-icon name="reload" color="#333" size="18"></u-icon>
  30. <text style="font-size: 28rpx;" @click="refreshPayment">点此刷新</text>
  31. </div>
  32. </view>
  33. </view>
  34. <view class="details-content">
  35. <view class="company-header dis a-c j-s">
  36. <view class="dis a-c">
  37. <image class="logo mr-1" :src="insCompanyVo.logo" mode=""></image>
  38. <text class="title">{{companyName}}</text>
  39. </view>
  40. <view class="price dis a-c">
  41. <text class="mr-1">保费合计</text>
  42. <text>¥{{costs.sumPremium}}</text>
  43. </view>
  44. </view>
  45. <view class="contentTabs">
  46. <u-tabs :list="contentTabslist" @click="click" :activeStyle="{color:'#333',fontWeight:'bold'}"
  47. :inactiveStyle="{color:'#999'}" :current="current" :scrollable="false" lineColor="#FDE935"
  48. lineWidth="60rpx"></u-tabs>
  49. <view class="scroll-content">
  50. <template v-if="current==0">
  51. <carViewVue title="车辆信息" :info="carInfoVo" :infoB="carInfoVo1"></carViewVue>
  52. <userViewVue title="车主信息" :info="ownersInfo"
  53. :headerStyle="{background:'linear-gradient( 180deg, #FFF8F8 0%, #FFFFFF 100%)'}">
  54. </userViewVue>
  55. <userViewVue title="投保人信息" :info="policyHolderInfo"
  56. :headerStyle="{background:'linear-gradient( 180deg, #F3F9FF 0%, #FFFFFF 100%)'}">
  57. </userViewVue>
  58. <userViewVue title="被保人信息" :info="insuredPersonInfo"
  59. :headerStyle="{background:'linear-gradient( 180deg, #F9F6FF 0%, #FFFFFF 100%)'}">
  60. </userViewVue>
  61. </template>
  62. <insuranceInfoVue v-if="current==1" @viewDiscount="viewDiscountShow=true"
  63. @vvTaxDetails="vvTaxDetailsShow=true" costs :ciRiskInfoVo="ciRiskInfoVo"
  64. :biRiskInfoVo="biRiskInfoVo" :costs="costs" :policy="policy" :scoreVo="scoreVo"
  65. :accidentalDrivings="accidentalDrivings" :kindInfoVo="kindInfoVo"
  66. :vehicleAndVesselTaxVo="vehicleAndVesselTaxVo" :insFeeOrders="insFeeOrders"
  67. :costRatio="costRatio" :car_tax_codeoptions="car_tax_codeoptions"
  68. @updateDiscount="updateDiscountShow=true" @customerRightsDetail="customerRightsDetail">
  69. </insuranceInfoVue>
  70. <template v-if="current==2">
  71. <imageDataVue @previewImage="previewImage" @delCheckImage="delCheckImage"
  72. :imageCollection="imageCollection" @chooseImage="chooseImage"></imageDataVue>
  73. </template>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. <view class="footer dis ">
  79. <view class="btn dis a-c j-c " @click="modificationPlan" v-if="['1'].includes(orderStatus)">
  80. <text>修改方案</text>
  81. </view>
  82. <view class="btn dis a-c j-c " @click="toCarInfo" v-if="['1'].includes(orderStatus)">
  83. <text>修改信息</text>
  84. </view>
  85. <view class="btn dis a-c j-c" v-if="['1'].includes(orderStatus)" @click="underwritingShow = true">
  86. <text>立即核保</text>
  87. </view>
  88. <view class="btn dis a-c j-c " v-if="['3'].includes(orderStatus)">
  89. <text>删除订单</text>
  90. </view>
  91. <view class="btn dis a-c j-c " v-if="['4'].includes(orderStatus)" @click="revokePaymentCode">
  92. <text>撤销支付码</text>
  93. </view>
  94. <view class="btn dis a-c j-c" @tap="payNow" v-if="['4'].includes(orderStatus)">
  95. <text>立即支付</text>
  96. </view>
  97. <view class="btn dis a-c j-c" v-if="['7'].includes(orderStatus)">
  98. <uni-cloudPopup text="更多操作" color="#1f1f1f" size="17" :buttons="['修改方案','修改信息','删除订单']"
  99. @click="cloudPopupChange"></uni-cloudPopup>
  100. </view>
  101. <view class="btn dis a-c j-c " v-if="['8','7'].includes(orderStatus)">
  102. <text>重新报价</text>
  103. </view>
  104. <view class="btn dis a-c j-c " v-if="['7'].includes(orderStatus)" @click="underwritingShow = true">
  105. <text>重新核保</text>
  106. </view>
  107. <view class="btn dis a-c j-c " @click="ePolicy" v-if="['5'].includes(orderStatus)">
  108. <text>下载电子保单</text>
  109. </view>
  110. </view>
  111. <uni-Popup :show="viewDiscountShow" @close='viewDiscountShow=false' headerTitle="商业险折扣系数" overflow="auto"
  112. :headerStyle="{fontSize:'36rpx'}" maxHeight="580rpx">
  113. <template #content>
  114. <view class="viewDiscount">
  115. <view class="dis a-c j-s top mb-2">
  116. <text>313213</text>
  117. <text>321321321</text>
  118. </view>
  119. <view class="center">
  120. <view class="dis a-c j-s">
  121. <text>NCD系数</text>
  122. <text>0.8</text>
  123. </view>
  124. <view class="dis a-c j-s">
  125. <text>交通违法系数</text>
  126. <text>0.8</text>
  127. </view>
  128. <view class="dis a-c j-s">
  129. <text>自主定价系数</text>
  130. <text>0.8</text>
  131. </view>
  132. <view class="dis a-c j-s">
  133. <text>自主渠道系数</text>
  134. <text>0.8</text>
  135. </view>
  136. </view>
  137. <text class="formula">商业险折扣系数 = NCD系数 * 交通违法系数 * 自主定价系数 * 自主渠道系数。</text>
  138. </view>
  139. </template>
  140. </uni-Popup>
  141. <uni-Popup :show="updateDiscountShow" @close="updateDiscountShow=false" :closeable="false"
  142. headerTitle="商业险折扣系数修改" overflow="auto" :headerStyle="{fontSize:'36rpx'}" maxHeight="980rpx" mode="center"
  143. width="90%">
  144. <template #content>
  145. <view class="updateDiscount">
  146. <text class="text ">商业险折扣系数和自主定价系数只能修改一个,修改后系统会重新报价,计算修改后的保费</text>
  147. <u-radio-group v-model="value" placement="column" class="mt-3 " activeColor="#FDE935"
  148. iconColor='#333'>
  149. <u-radio label="明月几时有" style="align-items: baseline;">
  150. <view class="dis f-c " style="width: 100%;">
  151. <view class="dis a-start input mb-1">
  152. <text>商业险折扣系数</text>
  153. <text>(0.8521252)</text>
  154. </view>
  155. <u--input placeholder="请输入内容" clearable></u--input>
  156. </view>
  157. </u-radio>
  158. <u-radio label="明月几时有" class="mt-3" style="align-items: baseline;">
  159. <view class="dis f-c " style="width: 100%;">
  160. <view class="dis a-c input mb-1">
  161. <text>自主定价系数</text>
  162. <text>(0.8)</text>
  163. </view>
  164. <u--input placeholder="输入1—100的数字" clearable></u--input>
  165. </view>
  166. </u-radio>
  167. </u-radio-group>
  168. <view class="btn dis mt-3">
  169. <u-button class="mr-2" type="primary" shape="circle" :plain="true" text="关闭" color="#DDDDDD"
  170. @click="updateDiscountShow=false" :customStyle="{color:'#333'}"></u-button>
  171. <u-button type="primary" shape="circle" text="确定" color="#FDE935"
  172. :customStyle="{color:'#1f1f1f'}"></u-button>
  173. </view>
  174. </view>
  175. </template>
  176. </uni-Popup>
  177. <!-- 右上角分享功能 -->
  178. <uni-share :show="shareShow" @close="shareShow=false" @weixin="weixin" @userSmsShare="userSmsShare"
  179. @copyLink="copyLink" @saveToAlbum="saveToAlbum" @closeModal="closeShareModal">
  180. </uni-share>
  181. <!-- 确认核保提示 -->
  182. <uni-PopupMessage :show="underwritingShow" @close='underwritingShow=false' @cancelEvent='underwritingShow=false'
  183. @confirmEvent="underwritingEvent">
  184. <template #content>
  185. <view class="dis a-c j-c ">
  186. 是否确认提交核保
  187. </view>
  188. </template>
  189. </uni-PopupMessage>
  190. <!-- 取消核保提示 -->
  191. <uni-PopupMessage :show="cancelUnderwritingShow" @close='cancelUnderwritingShow=false'
  192. @cancelEvent='cancelUnderwritingShow=false' @confirmEvent="cancelUnderwritingEvent">
  193. <template #content>
  194. <view class="dis a-c j-c ">
  195. 您将取消核保,请确认是否继续该操作
  196. </view>
  197. </template>
  198. </uni-PopupMessage>
  199. <!-- 删除订单提示 -->
  200. <uni-PopupMessage :show="deleteOrderShow" @close='deleteOrderShow=false' @cancelEvent='deleteOrderEvent'
  201. headerTitle="删除订单确认" @confirmEvent="deleteOrderShow=false" cancelText="确认删除" confirmText="关闭">
  202. <template #content>
  203. <view class="dis a-c j-c ">
  204. 删除订单后,订单核保请求将取消,订单以及报价记录将清楚不可见,是否确认继续操作
  205. </view>
  206. </template>
  207. </uni-PopupMessage>
  208. <!-- 撤销支付码提示 -->
  209. <uni-PopupMessage :show="revokePaymentShow" @close='revokePaymentShow=false' @cancelEvent='revokePaymentEvent'
  210. headerTitle="撤销支付码" @confirmEvent="revokePaymentShow=false" cancelText="确认撤销" confirmText="关闭">
  211. <template #content>
  212. <view class="dis a-c j-c ">
  213. 撤销支付码后,订单将关闭,不再支持进行任何操作,请确认是否撤销?
  214. </view>
  215. </template>
  216. </uni-PopupMessage>
  217. <uni-Popup :show="vvTaxDetailsShow" @close='vvTaxDetailsShow=false' headerTitle="车船税" overflow="auto"
  218. maxHeight="580rpx">
  219. <template #content>
  220. <view class="vvTaxDetails-cell dis f-c ">
  221. <view class="cell-item dis a-c j-s">
  222. <text>车船税</text>
  223. <text>{{taxRelifFlagName}}</text>
  224. </view>
  225. <template>
  226. <view class="cell-item dis a-c j-s"
  227. v-if="vehicleAndVesselTaxVo.taxRelifFlag == 2 || vehicleAndVesselTaxVo.taxRelifFlag == 3">
  228. <text>减免税凭证号</text>
  229. <text>{{vehicleAndVesselTaxVo.extendChar2}}</text>
  230. </view>
  231. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag == 4">
  232. <text>完税凭证号</text>
  233. <text>{{vehicleAndVesselTaxVo.paidFreeCertificate}}</text>
  234. </view>
  235. <view class="cell-item dis a-c j-s"
  236. v-if="vehicleAndVesselTaxVo.taxRelifFlag == 2 || vehicleAndVesselTaxVo.taxRelifFlag == 3">
  237. <text>减免税原因</text>
  238. <text>{{vehicleAndVesselTaxVo.relifReason}}</text>
  239. </view>
  240. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag == 3">
  241. <text>减税比例</text>
  242. <text>{{vehicleAndVesselTaxVo.taxRelief}}</text>
  243. </view>
  244. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag !=1">
  245. <text>税务机关代码</text>
  246. <text>{{vehicleAndVesselTaxVo.taxComCode}}</text>
  247. </view>
  248. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag !=1">
  249. <text>税务机关名称</text>
  250. <text>{{vehicleAndVesselTaxVo.taxComName}}</text>
  251. </view>
  252. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag ==4">
  253. <text>完税凭证填发日期</text>
  254. <text>{{vehicleAndVesselTaxVo.taxDocumentDate}}</text>
  255. </view>
  256. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag ==4">
  257. <text>完税凭证地区</text>
  258. <text>{{vehicleAndVesselTaxVo.taxPaidAreaCode}}</text>
  259. </view>
  260. </template>
  261. </view>
  262. </template>
  263. </uni-Popup>
  264. <!-- 图片预览组件 -->
  265. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  266. <u-loading-page :loading="loading" style="z-index: 999999;" loading-text="核保中" bg-color="rgb(0 ,0 ,0 ,0.4)"
  267. color="#fff"></u-loading-page>
  268. <!-- 自定义加载动画 -->
  269. <global-loading :show="loadingShow" :text="loadingText"></global-loading>
  270. </view>
  271. </template>
  272. <script>
  273. import store from '@/store';
  274. import carViewVue from './modules/carView.vue'; //车辆信息
  275. import userViewVue from './modules/userView.vue'; //人员信息
  276. import insuranceInfoVue from './modules/insuranceInfo.vue'; //投保人信息
  277. import imageDataVue from './modules/imageData.vue'; //影像信息
  278. import previewImage from '@/components/previewImage/previewImage.vue'; //引用插件
  279. import {
  280. pathToBase64,
  281. base64ToPath
  282. } from '@/common/pdf.js'
  283. import {
  284. turnBase64Image,
  285. dictionaryMatch
  286. } from '@/plugins/utils.js';
  287. export default {
  288. components: {
  289. carViewVue,
  290. userViewVue,
  291. insuranceInfoVue,
  292. imageDataVue,
  293. previewImage
  294. },
  295. data() {
  296. return {
  297. loadingShow: false,
  298. loadingText: '加载中', //加载提示文字
  299. loading: false,
  300. insCompanyVo: {}, //保险公司信息
  301. vvTaxDetailsShow: false, //车船税详情弹窗
  302. //车船税form
  303. vehicleAndVesselTaxVo: {
  304. taxRelifFlag: "1", //类型
  305. identifyNumber: "", //纳税人识别号
  306. taxpayerIdentifier: "01", //纳税人证件类型
  307. taxpayerName: "", //纳税人名称
  308. extendChar2: "", //减免税凭证号
  309. paidFreeCertificate: "", //完税凭证号
  310. relifReason: "", //减免税原因
  311. taxComCode: "", //税务机关代码
  312. taxComName: "", ///税务机关名称
  313. taxDocumentDate: "", //完税日期
  314. taxPaidAreaCode: "", //完税凭证地区代码
  315. taxRelief: "", //减税比例
  316. },
  317. underwritingShow: false, //确认核保弹窗
  318. cancelUnderwritingShow: false, //取消核保弹窗
  319. deleteOrderShow: false, //删除订单弹窗
  320. revokePaymentShow: false, //撤销支付弹窗
  321. underwritingTitle: '提示',
  322. underwritingContent: '',
  323. previewImgs: [], //图片预览数组
  324. ordersNo: "",
  325. quoteNo: "",
  326. costs: {},
  327. companyName: "",
  328. policy: {}, //保单号信息
  329. ciRiskInfoVo: {}, //交强险
  330. biRiskInfoVo: {}, //商业险
  331. kindInfoVo: [], //险别信息
  332. accidentalDrivings: [], //驾意险
  333. carInfoVo: {}, //车辆信息
  334. carInfoVo1: {}, //车辆信息
  335. ownersInfo: {}, //车主信息
  336. policyHolderInfo: {}, //投保人信息
  337. insuredPersonInfo: {}, //被保人信息
  338. scoreVo: {}, //保费因素
  339. insFeeOrders: {}, //费用信息
  340. costRatio: {}, //费用比例信息
  341. insOrderRightsInfoVo: {}, //权益信息
  342. order: {},
  343. detailbackimg: "", //背景图
  344. value: "",
  345. posterUrl: "", //页面截图
  346. shareShow: false, //分享弹窗
  347. viewDiscountShow: false, //折扣系数弹窗查看
  348. updateDiscountShow: false, //折扣系数修改弹窗
  349. contentTabslist: [{
  350. name: '基本信息'
  351. }, {
  352. name: '投保信息'
  353. }, {
  354. name: '影像资料'
  355. }],
  356. current: 0,
  357. orderStatus: '',
  358. statusList: [{
  359. label: '订单已提交',
  360. value: 0,
  361. text: "订单已完成报价"
  362. },
  363. {
  364. label: '待核保',
  365. value: 1,
  366. text: "订单已完成报价"
  367. },
  368. {
  369. label: '核保中',
  370. value: 2,
  371. text: "订单核保中,请耐心等待"
  372. },
  373. {
  374. label: '人工处理',
  375. value: 3,
  376. text: "订单核保中,请耐心等待"
  377. },
  378. {
  379. label: '待缴费',
  380. value: 4,
  381. text: "订单核保已通过,请尽快支付!"
  382. },
  383. {
  384. label: '已承保',
  385. value: 5,
  386. text: "订单已承保"
  387. },
  388. {
  389. label: '报价失败',
  390. value: 6,
  391. text: ""
  392. },
  393. {
  394. label: '核保失败',
  395. value: 7,
  396. text: "核保不通过"
  397. },
  398. {
  399. label: '已关闭',
  400. value: 8,
  401. text: "订单已关闭"
  402. },
  403. ],
  404. //字典
  405. car_nature_codeoptions: [], //使用性质
  406. vehicle_use_code01options: [], //营业
  407. vehicle_use_code02options: [], //非营业
  408. car_kind_codeoptions: [], //车辆种类
  409. energy_type_codeoptions: [], //能源类型
  410. car_type_codeoptions: [], //车辆类型
  411. car_tax_codeoptions: [], //车船税类型
  412. taxpayerIdentifieroptions: [], //车船税类型
  413. car_tax_reason_codeoptions: [], //减免税原因
  414. imgList1: [],
  415. imgList2: [],
  416. imgList3: [],
  417. imgList4: [],
  418. imgList5: [],
  419. imgList6: [],
  420. imgList7: [],
  421. imgList8: [],
  422. carImageListId: [],
  423. ownerImageListId: [],
  424. policyHolderImageListId: [],
  425. insuredPersonImageListId: [],
  426. imageCollection: {}, //影像集合
  427. id: "",
  428. cnName: "",
  429. quotableCompanyList: [],
  430. }
  431. },
  432. async onLoad(options) {
  433. this.loadingShow = true;
  434. try {
  435. if (options) {
  436. await this.getDicType("car_tax_code"); //车船税类型
  437. await this.getDicType("taxpayerIdentifier"); //纳税人证件类型
  438. await this.getDicType("car_tax_reason_code"); //减免税原因代码
  439. await this.getDicType("car_nature_code"); //使用性质
  440. await this.getDicType("vehicle_use_code", "01"); //营业
  441. await this.getDicType("vehicle_use_code", "02"); //非营业
  442. await this.getDicType("car_kind_code"); //车辆种类
  443. await this.getDicType("energy_type_code"); //能源类型
  444. await this.getDicType("car_type_code"); //车辆类型
  445. let res = await this.$http.get('/supplementOrder/getOrderDetail?ordersNo=' + options.ordersNo);
  446. if (res.code == 200) {
  447. this.insCompanyVo = res.data.insCompanyVo[0]; //保险公司信息
  448. this.orderStatus = res.data.order.orderStatus; //订单状态
  449. this.companyName = res.data.order.companyName; //保险公司简称
  450. this.ordersNo = res.data.order.ordersNo; //订单号
  451. this.quoteNo = res.data.order.quoteNo; //报价号
  452. this.ciRiskInfoVo = res.data.ciRiskInfoVo; //交强大类
  453. this.biRiskInfoVo = res.data.biRiskInfoVo; //商业大类
  454. this.costs = res.data.costs; //报价金额信息
  455. this.policy = res.data.policy; //保单号信息
  456. this.kindInfoVo = res.data.kindInfoVo; //商业险险别
  457. this.accidentalDrivings = res.data.accidentalDrivings; //驾意险
  458. this.carInfoVo = res.data.carInfoVo; //车辆信息
  459. this.ownersInfo = res.data.ownersInfo; //车主信息
  460. this.policyHolderInfo = res.data.policyHolderInfo; //投保人信息
  461. this.insuredPersonInfo = res.data.insuredPersonInfo; //被保人信息
  462. this.scoreVo = res.data.scoreVo; //保费因素
  463. this.insFeeOrders = res.data.insFeeOrders; //费用信息
  464. this.costRatio = res.data.costRatio; //比例信息
  465. this.insOrderRightsInfoVo = res.data.insOrderRightsInfoVo; //权益信息
  466. this.vehicleAndVesselTaxVo = res.data.vehicleAndVesselTaxVo; //车船税信息
  467. this.order = res.data.order;
  468. // 去掉this.kindInfoVo中的交强险
  469. this.kindInfoVo = this.kindInfoVo.filter(item => item.kindCode != 'J1')
  470. this.carInfoVo1.carNatureCode = dictionaryMatch(this.car_nature_codeoptions, res
  471. .data.carInfoVo
  472. .carNatureCode)
  473. if (res.data.carInfoVo.carNatureCode == '01') {
  474. this.carInfoVo1.vehicleUseCode = dictionaryMatch(this
  475. .vehicle_use_code01options,
  476. res.data
  477. .carInfoVo
  478. .vehicleUseCode)
  479. } else {
  480. this.carInfoVo1.vehicleUseCode = dictionaryMatch(this
  481. .vehicle_use_code02options,
  482. res.data
  483. .carInfoVo
  484. .vehicleUseCode)
  485. }
  486. this.carInfoVo1.carTypeCode = dictionaryMatch(this.car_type_codeoptions, res.data
  487. .carInfoVo
  488. .carTypeCode)
  489. this.carInfoVo1.carKindCode = dictionaryMatch(this.car_kind_codeoptions, res.data
  490. .carInfoVo
  491. .carKindCode)
  492. this.carInfoVo1.energyTypeCode = dictionaryMatch(this.energy_type_codeoptions, res
  493. .data
  494. .carInfoVo
  495. .energyTypeCode)
  496. if (this.quoteNo) {
  497. this.imageEcho(this.quoteNo) // 影像获取完毕
  498. }
  499. }
  500. this.loadingShow = false;
  501. }
  502. } catch (error) {
  503. this.loadingShow = false;
  504. }
  505. },
  506. async mounted() {
  507. this.detailbackimg = await turnBase64Image('/static/image/detailback.png');
  508. },
  509. computed: {
  510. //获取车船税类型
  511. taxRelifFlagName() {
  512. let info = this.car_tax_codeoptions.find(ele => ele.value === this.vehicleAndVesselTaxVo.taxRelifFlag)
  513. return info?.description;
  514. }
  515. },
  516. methods: {
  517. // 权益详情
  518. customerRightsDetail() {
  519. let params = {
  520. ownersInfo: this.ownersInfo, //车主
  521. policyHolderInfo: this.policyHolderInfo, //投保人
  522. insuredPersonInfo: this.insuredPersonInfo, //被保人
  523. insFeeOrders: this.insFeeOrders,
  524. ordersNo: this.ordersNo,
  525. insOrderRightsInfoVo: this.insOrderRightsInfoVo,
  526. }
  527. uni.navigateTo({
  528. url: '/pages/reward/customerBenefit?info=' + JSON.stringify(params) + '&readOnly=1'
  529. })
  530. },
  531. //更多操作
  532. cloudPopupChange(index) {
  533. switch (index) {
  534. case 0: //修改方案
  535. this.modificationPlan();
  536. break;
  537. case 1: //修改信息
  538. this.toCarInfo();
  539. break;
  540. case 2: //删除订单
  541. break;
  542. default:
  543. }
  544. },
  545. //撤销二维码
  546. async revokePaymentCode() {
  547. let res = await this.$http.post('/order/qrCode/destroyQrCode', {
  548. orderNo: this.ordersNo,
  549. })
  550. if (res.code == 200) {
  551. uni.showToast({
  552. icon: 'none',
  553. title: '撤销成功'
  554. })
  555. }
  556. },
  557. //修改信息
  558. toCarInfo() {
  559. uni.navigateTo({
  560. url: '/pages/quote/quoteInfo',
  561. success: (res) => {
  562. res.eventChannel.emit(
  563. "acceptData", {
  564. carInfo: this
  565. .carInfoVo, //车辆信息
  566. ownerInfo: this
  567. .ownersInfo, //车主信息
  568. policyHolderInfo: this
  569. .policyHolderInfo, //投保人信息
  570. insuredPersonInfo: this
  571. .insuredPersonInfo, //被保人信息
  572. carImageListId: this
  573. .carImageListId, //车辆
  574. ownerImageListId: this
  575. .ownerImageListId, //车主
  576. policyHolderImageListId: this
  577. .policyHolderImageListId, //投保
  578. insuredPersonImageListId: this
  579. .insuredPersonImageListId, //被保人
  580. productId: this.order.productId, //险种id
  581. productName: this.order.productsName, //险种名称
  582. quoteno: this.quoteNo, //报价号
  583. })
  584. }
  585. }, "navigateTo", true);
  586. },
  587. //修改方案
  588. modificationPlan() {
  589. uni.navigateTo({
  590. url: '/pages/quote/chooseOption',
  591. success: (res) => {
  592. res.eventChannel.emit("acceptData", {
  593. params: {
  594. companyId: this.insCompanyVo.id,
  595. productId: this.order.productId,
  596. },
  597. nameSimple: this.insCompanyVo.nameSimple,
  598. cnName: this.insCompanyVo.cnName,
  599. jqstartDate: this.ciRiskInfoVo?.startDate,
  600. jqendDate: this.ciRiskInfoVo?.endDate,
  601. systartDate: this.biRiskInfoVo?.startDate,
  602. syendDate: this.biRiskInfoVo?.endDate,
  603. productName: this.order.productsName,
  604. quotableCompanyList: this.quotableCompanyList,
  605. identifyNumber: this.policyHolderInfo.identifyNumber,
  606. taxpayerName: this.policyHolderInfo.name,
  607. })
  608. }
  609. }, "navigateTo", true);
  610. },
  611. //跳转微信客服
  612. async getWechatCustomer() {
  613. let res = await this.$http.get('/organization/wechat/customerService/manage/find/link')
  614. if (res.code == 200) {
  615. if (plus) { // 确保在App环境下
  616. plus.runtime.openURL(res.data);
  617. }
  618. }
  619. },
  620. //操作类型匹配
  621. matchOperationType(optType) {
  622. const Operation = {
  623. 0: '订单创建',
  624. 1: '报价',
  625. 2: '补传影像',
  626. 3: '调整特约',
  627. 4: '修改折扣系数',
  628. 5: '核保',
  629. 6: '获取支付码',
  630. 7: '撤销支付码',
  631. 8: '下载电子保单',
  632. 9: '同步订单',
  633. 10: '订单编辑',
  634. }
  635. return Operation[optType] || ''
  636. },
  637. //订单轨迹展开收起
  638. toggleCollapse(item) {
  639. item.isCollapsed = !item.isCollapsed
  640. },
  641. //确认核保
  642. async underwritingEvent() {
  643. this.underwritingShow = false;
  644. this.loading = true;
  645. let images = await this.$http.post('/unify/order/imagesUpload', {
  646. order: this.order,
  647. });
  648. if (images.code == '200') {
  649. let underwriting = await this.$http.post('/unify/order/underwriting', {
  650. order: {
  651. ordersNo: this.ordersNo,
  652. }
  653. });
  654. if (underwriting.code == '200') {
  655. let res = await this.$http.get('/supplementOrder/getOrderDetail?ordersNo=' + this.id);
  656. if (res.code == '200') {
  657. this.orderStatus = res.data.order.orderStatus; //订单状态
  658. }
  659. this.loading = false;
  660. uni.showToast({
  661. icon: 'none',
  662. title: '核保成功'
  663. })
  664. } else {
  665. this.loading = false;
  666. uni.showToast({
  667. icon: 'none',
  668. title: underwriting.msg
  669. })
  670. }
  671. } else {
  672. this.loading = false;
  673. uni.showToast({
  674. icon: 'none',
  675. title: images.msg
  676. })
  677. }
  678. },
  679. //取消核保
  680. cancelUnderwritingEvent() {
  681. //
  682. },
  683. //删除订单
  684. deleteOrderEvent() {
  685. //
  686. },
  687. // 撤销支付码
  688. revokePaymentEvent() {
  689. //
  690. },
  691. //核保状态刷新
  692. async refreshUnderwriting() {
  693. let OrderStatus = await this.$http.post('/unify/order/getOrderStatus', {
  694. order: {
  695. ordersNo: this.ordersNo,
  696. },
  697. });
  698. if (OrderStatus.code == '200') {
  699. let res = await this.$http.get('/supplementOrder/getOrderDetail?ordersNo=' + this.ordersNo);
  700. if (res.code == '200') {
  701. this.orderStatus = res.data.order.orderStatus; //订单状态
  702. }
  703. }
  704. },
  705. //支付状态刷新
  706. async refreshPayment() {
  707. let OrderStatus = await this.$http.post('/unify/order/getOrderStatus', {
  708. order: {
  709. ordersNo: this.ordersNo,
  710. },
  711. });
  712. if (OrderStatus.code == '200') {
  713. let res = await this.$http.get('/supplementOrder/getOrderDetail?ordersNo=' + this.ordersNo);
  714. if (res.code == '200') {
  715. this.orderStatus = res.data.order.orderStatus; //订单状态
  716. }
  717. }
  718. },
  719. //影像预览
  720. previewImage(e, type) {
  721. this.previewImgs = this[type];
  722. var current = e;
  723. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  724. },
  725. //删除图片
  726. delCheckImage(param, IdList, srcList) {
  727. this[IdList].map((ele, index) => {
  728. if (param.imageId === ele.imageId) {
  729. this[IdList].splice(index, 1);
  730. }
  731. return ele;
  732. });
  733. this[srcList].map((ele, index) => {
  734. if (param.imageId === ele.imageId) {
  735. this[srcList].splice(index, 1);
  736. }
  737. return ele;
  738. });
  739. },
  740. //影像查询
  741. async imageEcho(quotenos) {
  742. this.imgList1 = [];
  743. this.imgList2 = [];
  744. this.imgList3 = [];
  745. this.imgList4 = [];
  746. this.imgList5 = [];
  747. this.imgList6 = [];
  748. this.imgList7 = [];
  749. this.imgList8 = [];
  750. let res = await this.$http.get('/order/taskImages/selectByQuoteNo?quoteNo=' + quotenos);
  751. if (res.code == "200") {
  752. res.data.images.forEach((keys) => {
  753. if (keys.downloadUrl) {
  754. switch (keys.imageType) {
  755. case 'C01':
  756. this.carImageListId.push({
  757. imageBase64List: [{
  758. imageId: keys.imageId
  759. }],
  760. imageCode: keys.imageType,
  761. })
  762. this.imgList1.push(keys);
  763. break;
  764. case 'D01':
  765. this.carImageListId.push({
  766. imageBase64List: [{
  767. imageId: keys.imageId
  768. }],
  769. imageCode: keys.imageType,
  770. })
  771. this.imgList2.push(keys);
  772. break;
  773. case 'C02':
  774. this.ownerImageListId.push({
  775. imageBase64List: [{
  776. imageId: keys.imageId
  777. }],
  778. imageCode: keys.imageType,
  779. })
  780. this.imgList3.push(keys);
  781. break;
  782. case 'D02':
  783. this.ownerImageListId.push({
  784. imageBase64List: [{
  785. imageId: keys.imageId
  786. }],
  787. imageCode: keys.imageType,
  788. })
  789. this.imgList4.push(keys);
  790. break;
  791. case 'C03':
  792. this.policyHolderImageListId.push({
  793. imageBase64List: [{
  794. imageId: keys.imageId
  795. }],
  796. imageCode: keys.imageType,
  797. })
  798. this.imgList5.push(keys);
  799. break;
  800. case 'D03':
  801. this.policyHolderImageListId.push({
  802. imageBase64List: [{
  803. imageId: keys.imageId
  804. }],
  805. imageCode: keys.imageType,
  806. })
  807. this.imgList6.push(keys);
  808. break;
  809. case 'C04':
  810. this.insuredPersonImageListId.push({
  811. imageBase64List: [{
  812. imageId: keys.imageId
  813. }],
  814. imageCode: keys.imageType,
  815. })
  816. this.imgList7.push(keys);
  817. break;
  818. case 'D04':
  819. this.insuredPersonImageListId.push({
  820. imageBase64List: [{
  821. imageId: keys.imageId
  822. }],
  823. imageCode: keys.imageType,
  824. })
  825. this.imgList8.push(keys);
  826. break;
  827. default:
  828. break;
  829. }
  830. }
  831. });
  832. this.imageCollection = {
  833. imgList1: this.imgList1,
  834. imgList2: this.imgList2,
  835. imgList3: this.imgList3,
  836. imgList4: this.imgList4,
  837. imgList5: this.imgList5,
  838. imgList6: this.imgList6,
  839. imgList7: this.imgList7,
  840. imgList8: this.imgList8,
  841. }
  842. }
  843. },
  844. //数据字典
  845. async getDicType(type, vehicle) {
  846. if (vehicle) {
  847. let res = await this.$http.get(`/dict/get?dictCode=${type}&parentValue=${vehicle}`);
  848. this[type + vehicle + "options"] = res.data;
  849. } else {
  850. let res = await this.$http.get('/dict/get?dictCode=' + type);
  851. this[type + "options"] = res.data;
  852. }
  853. },
  854. //去支付
  855. payNow() {
  856. uni.navigateTo({
  857. url: '/pages/quote/paymentCode?ordersNo=' + this.ordersNo,
  858. })
  859. },
  860. //跳转电子保单页面
  861. ePolicy() {
  862. uni.navigateTo({
  863. url: '/pages/quote/ePolicy?ordersNo=' + this.ordersNo,
  864. })
  865. },
  866. //分享微信
  867. weixin() {
  868. uni.share({
  869. provider: "weixin",
  870. scene: "WXSceneSession",
  871. type: 0,
  872. href: "http://uniapp.dcloud.io/",
  873. title: "京AG***12025年的车险报价",
  874. summary: "平安车险报价完成,保费:2563元,点击查看详情",
  875. imageUrl: "/static/image/zgcx.png",
  876. success: function(res) {},
  877. fail: function(err) {}
  878. });
  879. },
  880. //短信分享
  881. userSmsShare() {
  882. var msg = plus.messaging.createMessage(plus.messaging.TYPE_SMS);
  883. msg.to = ["13546347757"]; //投保人手机号
  884. msg.body =
  885. `【掌柜车险】尊敬的【京NH***7】车主,平安保险2025年车险报价:4562.23元;联系人:修封 18805520001,点击链接查看详情或电话咨询联系人 https://app.axure.cloud/app/project/jl0lf9/`;
  886. plus.messaging.sendMessage(msg);
  887. },
  888. //复制链接
  889. copyLink() {
  890. uni.setClipboardData({
  891. data: '2321321321321', //要被复制的内容
  892. success: () => { //复制成功的回调函数
  893. uni.showToast({ //提示
  894. icon: 'none',
  895. title: '链接已复制'
  896. })
  897. }
  898. });
  899. },
  900. //取消
  901. closeShareModal() {
  902. this.shareShow = false;
  903. },
  904. //保存相册
  905. saveToAlbum() {
  906. base64ToPath(this.posterUrl)
  907. .then(path => {
  908. uni.saveImageToPhotosAlbum({ //保存图片到系统相册。
  909. filePath: path, //图片文件路径
  910. success: function() {
  911. uni.showToast({
  912. title: '已保存到相册',
  913. icon: 'none',
  914. });
  915. },
  916. fail: function(e) {
  917. uni.showToast({
  918. title: '图片保存失败',
  919. icon: 'none',
  920. });
  921. }
  922. });
  923. })
  924. },
  925. //页面截图转路径
  926. receiveRenderData(val) {
  927. this.posterUrl = val.replace(/[\r\n]/g, ''); // 去除base64位中的空格
  928. },
  929. showLoading() {
  930. uni.showLoading({
  931. title: '正在生成图片'
  932. });
  933. },
  934. hideLoading() {
  935. uni.hideLoading();
  936. },
  937. //右上角分享icon
  938. share() {
  939. this.shareShow = true;
  940. },
  941. click(item) {
  942. this.current = item.index;
  943. },
  944. //影像资料上传
  945. async chooseImage(type, imageIdList, imgurl) {
  946. let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
  947. count: 1,
  948. sizeType: ['compressed']
  949. });
  950. if (chooseImageRes) {
  951. uni.uploadFile({
  952. url: this.$base.baseUrl + '/file/upload',
  953. filePath: chooseImageRes.tempFilePaths[0],
  954. name: "file",
  955. formData: {
  956. 'type': 'image',
  957. },
  958. header: {
  959. Authorization: store.state.token,
  960. system_code: store.state.system_code ? store.state.system_code : ''
  961. },
  962. success: async (imgRes) => {
  963. let data = JSON.parse(imgRes.data);
  964. if (data.code == "200") {
  965. if (this[imageIdList].some(v => v.imageType == type)) {
  966. this[imageIdList].map(val => {
  967. if (val.imageType == type) {
  968. val.imageId = data.data.id;
  969. }
  970. })
  971. } else {
  972. this[imageIdList].push({
  973. imageId: data.data.id,
  974. imageType: type,
  975. })
  976. }
  977. this[imgurl].push(data.data)
  978. this.modificationFlag = true;
  979. }
  980. }
  981. });
  982. }
  983. },
  984. }
  985. }
  986. </script>
  987. <script module="canvasImage" lang="renderjs">
  988. import html2canvas from 'html2canvas'
  989. export default {
  990. data() {
  991. return {
  992. }
  993. },
  994. mounted() {
  995. // #ifdef APP-PLUS
  996. setTimeout(() => {
  997. this.canvasImage.generateImage()
  998. }, 1000);
  999. // #endif
  1000. },
  1001. methods: {
  1002. generateImage() {
  1003. setTimeout(() => {
  1004. this.$ownerInstance.callMethod('showLoading')
  1005. const dom = document.getElementById('panelcanvas') // 需要生成图片内容的 dom 节点
  1006. html2canvas(dom, {
  1007. width: dom.clientWidth, //dom 原始宽度
  1008. height: dom.clientHeight,
  1009. scrollY: 0, // html2canvas默认绘制视图内的页面,需要把scrollY,scrollX设置为0
  1010. scrollX: 0,
  1011. useCORS: true, //支持跨域
  1012. // allowTaint: false,
  1013. scale: 2, // 设置生成图片的像素比例,默认是1,如果生成的图片模糊的话可以开启该配置项
  1014. }).then((canvas) => {
  1015. // 生成成功
  1016. this.$ownerInstance.callMethod('hideLoading')
  1017. this.$ownerInstance.callMethod('receiveRenderData', canvas.toDataURL('image/png'))
  1018. }).catch(err => {
  1019. // 生成失败 弹出提示弹窗
  1020. this.$ownerInstance.callMethod('_errAlert', `【生成图片失败,请重试】${err}`)
  1021. })
  1022. }, 300)
  1023. }
  1024. },
  1025. }
  1026. </script>
  1027. <style lang="scss" scoped>
  1028. /* 基础设置 */
  1029. page {
  1030. height: 100vh;
  1031. background-color: #f8f8f8;
  1032. }
  1033. .page {
  1034. height: 100vh;
  1035. position: relative;
  1036. background-color: #f8f8f8;
  1037. }
  1038. /* 背景图 */
  1039. .back {
  1040. width: 100%;
  1041. height: 492rpx;
  1042. position: absolute;
  1043. top: 0;
  1044. left: 0;
  1045. z-index: 0;
  1046. }
  1047. /* 状态区域 */
  1048. .statusFeedbackArea {
  1049. position: relative;
  1050. padding: 20rpx 30rpx 20rpx;
  1051. font-size: 36rpx;
  1052. color: #333;
  1053. font-weight: bold;
  1054. z-index: 1;
  1055. background: transparent;
  1056. .text {
  1057. font-size: 28rpx;
  1058. color: rgba(51, 51, 51, 0.7);
  1059. font-weight: 500;
  1060. }
  1061. }
  1062. /* 主要内容容器 */
  1063. .details-content {
  1064. flex: 1;
  1065. position: relative;
  1066. background: rgba(255, 255, 255, 0.9);
  1067. border-radius: 40rpx 40rpx 0 0;
  1068. padding: 30rpx;
  1069. box-sizing: border-box;
  1070. backdrop-filter: blur(100rpx);
  1071. display: flex;
  1072. flex-direction: column;
  1073. overflow: hidden;
  1074. z-index: 2;
  1075. /* 头部样式 */
  1076. .company-header {
  1077. .logo {
  1078. width: 40rpx;
  1079. height: 40rpx;
  1080. }
  1081. .title {
  1082. font-weight: bold;
  1083. color: #333;
  1084. font-size: 32rpx;
  1085. }
  1086. .price {
  1087. text:first-child {
  1088. font-size: 28rpx;
  1089. color: #333;
  1090. }
  1091. text:last-child {
  1092. font-size: 32rpx;
  1093. color: #FF540A;
  1094. font-weight: bold;
  1095. }
  1096. }
  1097. }
  1098. /* 选项卡容器 */
  1099. .contentTabs {
  1100. flex: 1;
  1101. display: flex;
  1102. flex-direction: column;
  1103. height: 100%;
  1104. background: #FFFFFF;
  1105. box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(0, 0, 0, 0.05);
  1106. border-radius: 20rpx 20rpx 10rpx 10rpx;
  1107. margin-top: 28rpx;
  1108. /* 滚动区域 */
  1109. .scroll-content {
  1110. flex: 1;
  1111. overflow-y: auto;
  1112. padding: 20rpx 0 200rpx;
  1113. /* 增加底部留白 */
  1114. box-sizing: border-box;
  1115. /* 确保padding计入高度 */
  1116. }
  1117. }
  1118. }
  1119. //底部样式
  1120. .footer {
  1121. position: fixed;
  1122. bottom: 0;
  1123. left: 0;
  1124. background: linear-gradient(0, #FFFFFF 0%, rgba(255, 254, 245, 0.8) 100%);
  1125. backdrop-filter: blur(40rpx);
  1126. z-index: 9;
  1127. width: 100%;
  1128. padding: 25rpx 20rpx;
  1129. box-sizing: border-box;
  1130. .btn {
  1131. color: #1f1f1f;
  1132. font-size: 34rpx;
  1133. background: rgba(253, 233, 53, 0.2);
  1134. border-radius: 58rpx 58rpx 58rpx 58rpx;
  1135. padding: 19rpx 0;
  1136. box-sizing: border-box;
  1137. border: 1rpx solid #FDE935;
  1138. width: 100%;
  1139. margin: 0 10rpx;
  1140. }
  1141. .btn:last-child {
  1142. background: #FDE935;
  1143. }
  1144. }
  1145. //折扣系数查看弹窗
  1146. .viewDiscount {
  1147. padding: 40rpx;
  1148. box-sizing: border-box;
  1149. .top {
  1150. font-size: 32rpx;
  1151. color: #333;
  1152. font-weight: bold;
  1153. }
  1154. .center {
  1155. background: #FAFAFA;
  1156. border-radius: 10rpx 10rpx 10rpx 10rpx;
  1157. padding: 10rpx 20rpx;
  1158. box-sizing: border-box;
  1159. margin-bottom: 20rpx;
  1160. >view {
  1161. margin-bottom: 20rpx;
  1162. >text:first-child {
  1163. font-size: 30rpx;
  1164. color: #666;
  1165. position: relative;
  1166. padding-left: 20rpx;
  1167. ::before {
  1168. content: "";
  1169. width: 8rpx;
  1170. height: 8rpx;
  1171. border-radius: 50%;
  1172. background-color: #666;
  1173. position: absolute;
  1174. top: 50%;
  1175. transform: translateY(-50%);
  1176. left: 0;
  1177. }
  1178. }
  1179. }
  1180. }
  1181. .formula {
  1182. font-size: 30rpx;
  1183. color: #333;
  1184. }
  1185. }
  1186. // 商业险折扣系数样式
  1187. .updateDiscount {
  1188. padding: 40rpx;
  1189. box-sizing: border-box;
  1190. .text {
  1191. font-size: 28rpx;
  1192. color: #666;
  1193. }
  1194. .input {
  1195. font-size: 32rpx;
  1196. color: #333;
  1197. text:last-child {
  1198. color: #999;
  1199. margin-left: 10rpx;
  1200. }
  1201. }
  1202. .btn {}
  1203. }
  1204. // 车船税弹窗
  1205. .vvTaxDetails-cell {
  1206. padding: 40rpx;
  1207. box-sizing: border-box;
  1208. .cell-item {
  1209. font-size: 30rpx;
  1210. color: #333;
  1211. margin-bottom: 30rpx;
  1212. text:last-child {
  1213. font-weight: bold;
  1214. }
  1215. }
  1216. .cell-item:last-child {
  1217. margin-bottom: 0;
  1218. }
  1219. }
  1220. </style>