quoteDetail.vue 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283
  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. console.log("success:" + JSON.stringify(res));
  878. },
  879. fail: function(err) {
  880. console.log("fail:" + JSON.stringify(err));
  881. }
  882. });
  883. },
  884. //短信分享
  885. userSmsShare() {
  886. var msg = plus.messaging.createMessage(plus.messaging.TYPE_SMS);
  887. msg.to = ["13546347757"]; //投保人手机号
  888. msg.body =
  889. `【掌柜车险】尊敬的【京NH***7】车主,平安保险2025年车险报价:4562.23元;联系人:修封 18805520001,点击链接查看详情或电话咨询联系人 https://app.axure.cloud/app/project/jl0lf9/`;
  890. plus.messaging.sendMessage(msg);
  891. },
  892. //复制链接
  893. copyLink() {
  894. uni.setClipboardData({
  895. data: '2321321321321', //要被复制的内容
  896. success: () => { //复制成功的回调函数
  897. uni.showToast({ //提示
  898. icon: 'none',
  899. title: '链接已复制'
  900. })
  901. }
  902. });
  903. },
  904. //取消
  905. closeShareModal() {
  906. this.shareShow = false;
  907. },
  908. //保存相册
  909. saveToAlbum() {
  910. base64ToPath(this.posterUrl)
  911. .then(path => {
  912. uni.saveImageToPhotosAlbum({ //保存图片到系统相册。
  913. filePath: path, //图片文件路径
  914. success: function() {
  915. uni.showToast({
  916. title: '已保存到相册',
  917. icon: 'none',
  918. });
  919. },
  920. fail: function(e) {
  921. uni.showToast({
  922. title: '图片保存失败',
  923. icon: 'none',
  924. });
  925. }
  926. });
  927. })
  928. },
  929. //页面截图转路径
  930. receiveRenderData(val) {
  931. this.posterUrl = val.replace(/[\r\n]/g, ''); // 去除base64位中的空格
  932. },
  933. showLoading() {
  934. uni.showLoading({
  935. title: '正在生成图片'
  936. });
  937. },
  938. hideLoading() {
  939. uni.hideLoading();
  940. },
  941. //右上角分享icon
  942. share() {
  943. this.shareShow = true;
  944. },
  945. click(item) {
  946. this.current = item.index;
  947. },
  948. //影像资料上传
  949. async chooseImage(type, imageIdList, imgurl) {
  950. let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
  951. count: 1,
  952. sizeType: ['compressed']
  953. });
  954. if (chooseImageRes) {
  955. uni.uploadFile({
  956. url: this.$base.baseUrl + '/file/upload',
  957. filePath: chooseImageRes.tempFilePaths[0],
  958. name: "file",
  959. formData: {
  960. 'type': 'image',
  961. },
  962. header: {
  963. Authorization: store.state.token,
  964. system_code: store.state.system_code ? store.state.system_code : ''
  965. },
  966. success: async (imgRes) => {
  967. let data = JSON.parse(imgRes.data);
  968. if (data.code == "200") {
  969. if (this[imageIdList].some(v => v.imageType == type)) {
  970. this[imageIdList].map(val => {
  971. if (val.imageType == type) {
  972. val.imageId = data.data.id;
  973. }
  974. })
  975. } else {
  976. this[imageIdList].push({
  977. imageId: data.data.id,
  978. imageType: type,
  979. })
  980. }
  981. console.log(data);
  982. this[imgurl].push(data.data)
  983. this.modificationFlag = true;
  984. }
  985. }
  986. });
  987. }
  988. },
  989. }
  990. }
  991. </script>
  992. <script module="canvasImage" lang="renderjs">
  993. import html2canvas from 'html2canvas'
  994. export default {
  995. data() {
  996. return {
  997. }
  998. },
  999. mounted() {
  1000. // #ifdef APP-PLUS
  1001. setTimeout(() => {
  1002. this.canvasImage.generateImage()
  1003. }, 1000);
  1004. // #endif
  1005. },
  1006. methods: {
  1007. generateImage() {
  1008. setTimeout(() => {
  1009. this.$ownerInstance.callMethod('showLoading')
  1010. const dom = document.getElementById('panelcanvas') // 需要生成图片内容的 dom 节点
  1011. html2canvas(dom, {
  1012. width: dom.clientWidth, //dom 原始宽度
  1013. height: dom.clientHeight,
  1014. scrollY: 0, // html2canvas默认绘制视图内的页面,需要把scrollY,scrollX设置为0
  1015. scrollX: 0,
  1016. useCORS: true, //支持跨域
  1017. // allowTaint: false,
  1018. scale: 2, // 设置生成图片的像素比例,默认是1,如果生成的图片模糊的话可以开启该配置项
  1019. }).then((canvas) => {
  1020. // 生成成功
  1021. this.$ownerInstance.callMethod('hideLoading')
  1022. this.$ownerInstance.callMethod('receiveRenderData', canvas.toDataURL('image/png'))
  1023. }).catch(err => {
  1024. // 生成失败 弹出提示弹窗
  1025. this.$ownerInstance.callMethod('_errAlert', `【生成图片失败,请重试】${err}`)
  1026. })
  1027. }, 300)
  1028. }
  1029. },
  1030. }
  1031. </script>
  1032. <style lang="scss" scoped>
  1033. /* 基础设置 */
  1034. page {
  1035. height: 100vh;
  1036. background-color: #f8f8f8;
  1037. }
  1038. .page {
  1039. height: 100vh;
  1040. position: relative;
  1041. background-color: #f8f8f8;
  1042. }
  1043. /* 背景图 */
  1044. .back {
  1045. width: 100%;
  1046. height: 492rpx;
  1047. position: absolute;
  1048. top: 0;
  1049. left: 0;
  1050. z-index: 0;
  1051. }
  1052. /* 状态区域 */
  1053. .statusFeedbackArea {
  1054. position: relative;
  1055. padding: 20rpx 30rpx 20rpx;
  1056. font-size: 36rpx;
  1057. color: #333;
  1058. font-weight: bold;
  1059. z-index: 1;
  1060. background: transparent;
  1061. .text {
  1062. font-size: 28rpx;
  1063. color: rgba(51, 51, 51, 0.7);
  1064. font-weight: 500;
  1065. }
  1066. }
  1067. /* 主要内容容器 */
  1068. .details-content {
  1069. flex: 1;
  1070. position: relative;
  1071. background: rgba(255, 255, 255, 0.9);
  1072. border-radius: 40rpx 40rpx 0 0;
  1073. padding: 30rpx;
  1074. box-sizing: border-box;
  1075. backdrop-filter: blur(100rpx);
  1076. display: flex;
  1077. flex-direction: column;
  1078. overflow: hidden;
  1079. z-index: 2;
  1080. /* 头部样式 */
  1081. .company-header {
  1082. .logo {
  1083. width: 40rpx;
  1084. height: 40rpx;
  1085. }
  1086. .title {
  1087. font-weight: bold;
  1088. color: #333;
  1089. font-size: 32rpx;
  1090. }
  1091. .price {
  1092. text:first-child {
  1093. font-size: 28rpx;
  1094. color: #333;
  1095. }
  1096. text:last-child {
  1097. font-size: 32rpx;
  1098. color: #FF540A;
  1099. font-weight: bold;
  1100. }
  1101. }
  1102. }
  1103. /* 选项卡容器 */
  1104. .contentTabs {
  1105. flex: 1;
  1106. display: flex;
  1107. flex-direction: column;
  1108. height: 100%;
  1109. background: #FFFFFF;
  1110. box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(0, 0, 0, 0.05);
  1111. border-radius: 20rpx 20rpx 10rpx 10rpx;
  1112. margin-top: 28rpx;
  1113. /* 滚动区域 */
  1114. .scroll-content {
  1115. flex: 1;
  1116. overflow-y: auto;
  1117. padding: 20rpx 0 200rpx;
  1118. /* 增加底部留白 */
  1119. box-sizing: border-box;
  1120. /* 确保padding计入高度 */
  1121. }
  1122. }
  1123. }
  1124. //底部样式
  1125. .footer {
  1126. position: fixed;
  1127. bottom: 0;
  1128. left: 0;
  1129. background: linear-gradient(0, #FFFFFF 0%, rgba(255, 254, 245, 0.8) 100%);
  1130. backdrop-filter: blur(40rpx);
  1131. z-index: 9;
  1132. width: 100%;
  1133. padding: 25rpx 20rpx;
  1134. box-sizing: border-box;
  1135. .btn {
  1136. color: #1f1f1f;
  1137. font-size: 34rpx;
  1138. background: rgba(253, 233, 53, 0.2);
  1139. border-radius: 58rpx 58rpx 58rpx 58rpx;
  1140. padding: 19rpx 0;
  1141. box-sizing: border-box;
  1142. border: 1rpx solid #FDE935;
  1143. width: 100%;
  1144. margin: 0 10rpx;
  1145. }
  1146. .btn:last-child {
  1147. background: #FDE935;
  1148. }
  1149. }
  1150. //折扣系数查看弹窗
  1151. .viewDiscount {
  1152. padding: 40rpx;
  1153. box-sizing: border-box;
  1154. .top {
  1155. font-size: 32rpx;
  1156. color: #333;
  1157. font-weight: bold;
  1158. }
  1159. .center {
  1160. background: #FAFAFA;
  1161. border-radius: 10rpx 10rpx 10rpx 10rpx;
  1162. padding: 10rpx 20rpx;
  1163. box-sizing: border-box;
  1164. margin-bottom: 20rpx;
  1165. >view {
  1166. margin-bottom: 20rpx;
  1167. >text:first-child {
  1168. font-size: 30rpx;
  1169. color: #666;
  1170. position: relative;
  1171. padding-left: 20rpx;
  1172. ::before {
  1173. content: "";
  1174. width: 8rpx;
  1175. height: 8rpx;
  1176. border-radius: 50%;
  1177. background-color: #666;
  1178. position: absolute;
  1179. top: 50%;
  1180. transform: translateY(-50%);
  1181. left: 0;
  1182. }
  1183. }
  1184. }
  1185. }
  1186. .formula {
  1187. font-size: 30rpx;
  1188. color: #333;
  1189. }
  1190. }
  1191. // 商业险折扣系数样式
  1192. .updateDiscount {
  1193. padding: 40rpx;
  1194. box-sizing: border-box;
  1195. .text {
  1196. font-size: 28rpx;
  1197. color: #666;
  1198. }
  1199. .input {
  1200. font-size: 32rpx;
  1201. color: #333;
  1202. text:last-child {
  1203. color: #999;
  1204. margin-left: 10rpx;
  1205. }
  1206. }
  1207. .btn {}
  1208. }
  1209. // 车船税弹窗
  1210. .vvTaxDetails-cell {
  1211. padding: 40rpx;
  1212. box-sizing: border-box;
  1213. .cell-item {
  1214. font-size: 30rpx;
  1215. color: #333;
  1216. margin-bottom: 30rpx;
  1217. text:last-child {
  1218. font-weight: bold;
  1219. }
  1220. }
  1221. .cell-item:last-child {
  1222. margin-bottom: 0;
  1223. }
  1224. }
  1225. </style>