quoteRecordDetail.vue 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413
  1. <template>
  2. <view class="page">
  3. <u-sticky zIndex="999" customNavHeight="0">
  4. <uni-NavBar headerTitle="报价详情" background="#fff" :isSlot="false" :rightSlot="true">
  5. <template #rightSlot>
  6. <!-- #ifndef APP-PLUS -->
  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. <!-- #endif -->
  17. </template>
  18. </uni-NavBar>
  19. </u-sticky>
  20. <view class="content">
  21. <view class="transfer dis j-s f-wrap">
  22. <view class="item dis a-c j-s">
  23. <text>是否过户车</text>
  24. <text>{{carInfoVo.transfer?'是':'否'}}</text>
  25. </view>
  26. <view class="item dis a-c j-s">
  27. <text>商业险是否过户</text>
  28. <text>{{carInfoVo.biTransfer?'是':'否'}}</text>
  29. </view>
  30. <view class="item mt-3 dis a-c j-s">
  31. <text>报价车型</text>
  32. <text>{{carInfoVo.engineNo}}/{{carInfoVo.brandName}}/
  33. {{carInfoVo.displacement}}/{{carInfoVo.seatCount}}/{{carInfoVo.purchasePrice}}</text>
  34. </view>
  35. <!-- 额外信息 -->
  36. <view class="Attachment dis a-c j-s mt-3">
  37. <view class="mediaFiles dis f-c " @click="mediaFiles">
  38. <image src="/static/image/car-insure/mediaFiles.png" mode=""></image>
  39. <text class="title">影像资料</text>
  40. <text class="mt-1 smallText ">{{imageVoList.length}}张</text>
  41. </view>
  42. <view class="specialTerms dis f-c " @click="specialTerms">
  43. <image src="/static/image/car-insure/specialTerms.png" mode=""></image>
  44. <text class="title">特别约定</text>
  45. <text class="mt-1 smallText">{{specialTermsText()}}</text>
  46. </view>
  47. </view>
  48. </view>
  49. <!--客户权益 -->
  50. <view class="customerRights" v-if="insFeeOrders && insFeeOrders.availableAmount">
  51. <view class="header dis a-c j-s mb-2">
  52. <text>客户权益</text>
  53. <view class="btn" @click="selectedBenefits">
  54. 选择权益
  55. </view>
  56. </view>
  57. <text class=" customerRights-content">可用{{insFeeOrders.availableAmount}}元购买服务赠送客户</text>
  58. </view>
  59. <view class="view " :class="{ 'collapsed': !isExpanded1 }">
  60. <view class="header-title">基本信息</view>
  61. <view class="items dis f-c " id="basicInfo">
  62. <view class="item dis a-c j-s">
  63. <text>车牌号</text>
  64. <text>{{carInfoVo.licenseNo}}</text>
  65. </view>
  66. <view class="item dis a-c j-s">
  67. <text>车架号</text>
  68. <text>{{carInfoVo.vinNo}}</text>
  69. </view>
  70. <view class="item dis a-c j-s">
  71. <text>品牌型号</text>
  72. <text>{{carInfoVo.brandName}}</text>
  73. </view>
  74. <view class="item dis a-c j-s">
  75. <text>发动机号</text>
  76. <text>{{carInfoVo.engineNo}}</text>
  77. </view>
  78. <view class="item dis a-c j-s">
  79. <text>使用性质</text>
  80. <text>{{carInfoVo.carNatureCode}}</text>
  81. </view>
  82. <view class="item dis a-c j-s">
  83. <text>车辆类型</text>
  84. <text>{{carInfoVo.carTypeCode}} </text>
  85. </view>
  86. <view class="item dis a-c j-s">
  87. <text>车辆用途</text>
  88. <text>{{carInfoVo.vehicleUseCode}} </text>
  89. </view>
  90. <view class="item dis a-c j-s">
  91. <text>车辆种类</text>
  92. <text> {{carInfoVo.carKindCode}}</text>
  93. </view>
  94. <view class="item dis a-c j-s">
  95. <text>能源种类</text>
  96. <text>{{carInfoVo.energyTypeCode}} </text>
  97. </view>
  98. <view class="item dis a-c j-s">
  99. <text>注册日期</text>
  100. <text>{{carInfoVo.registerDate}} </text>
  101. </view>
  102. <view class="item dis a-c j-s">
  103. <text>发证日期</text>
  104. <text> {{carInfoVo.issueDate}}</text>
  105. </view>
  106. <view class="item dis a-c j-s">
  107. <text>是否过户</text>
  108. <text>{{carInfoVo.transfer?'是':'否'}}</text>
  109. </view>
  110. <view class="item dis a-c j-s">
  111. <text>商业险是否过户</text>
  112. <text>{{carInfoVo.biTransfer?'是':'否'}}</text>
  113. </view>
  114. <view class="item dis a-c j-s">
  115. <text>年款</text>
  116. <text> {{carInfoVo.carYear}}</text>
  117. </view>
  118. <view class="item dis a-c j-s">
  119. <text>座位数</text>
  120. <text> {{carInfoVo.seatCount}}座</text>
  121. </view>
  122. <view class="item dis a-c j-s">
  123. <text>整备质量</text>
  124. <text> {{carInfoVo.completeKerbMass}}kg</text>
  125. </view>
  126. <view class="item dis a-c j-s">
  127. <text>排量</text>
  128. <text>{{carInfoVo.displacement}}L</text>
  129. </view>
  130. <view class="item dis a-c j-s">
  131. <text>功率</text>
  132. <text> {{carInfoVo.powerScale}}kw</text>
  133. </view>
  134. <view class="item dis a-c j-s">
  135. <text>新车购置价</text>
  136. <text>{{carInfoVo.purchasePrice}}元 </text>
  137. </view>
  138. <u-gap height="5" bgColor="#F8F8F8"></u-gap>
  139. <!-- 车主信息 -->
  140. <view class="userinfo">
  141. <view class="userinfo-header dis a-c ">
  142. <view class="tag"></view>
  143. <text>车主信息</text>
  144. </view>
  145. <view class="content dis f-c ">
  146. <view class="item dis a-c j-s">
  147. <text>姓名</text>
  148. <text>{{ownersInfo.name}}</text>
  149. </view>
  150. <view class="item dis a-c j-s">
  151. <text>手机号</text>
  152. <text>{{ownersInfo.mobile}}</text>
  153. </view>
  154. <view class="item dis a-c j-s">
  155. <text>证件号</text>
  156. <text>{{ownersInfo.identifyNumber}}</text>
  157. </view>
  158. <view class="item dis a-start j-s">
  159. <text>地址</text>
  160. <text>{{ownersInfo.addr}}</text>
  161. </view>
  162. </view>
  163. </view>
  164. <u-gap height="5" bgColor="#F8F8F8"></u-gap>
  165. <!-- 投保人信息 -->
  166. <view class="userinfo">
  167. <view class="userinfo-header dis a-c ">
  168. <view class="tag"></view>
  169. <text>投保人信息</text>
  170. </view>
  171. <view class="content dis f-c ">
  172. <view class="item dis a-c j-s">
  173. <text>姓名</text>
  174. <text>{{policyHolderInfo.name}}</text>
  175. </view>
  176. <view class="item dis a-c j-s">
  177. <text>手机号</text>
  178. <text>{{policyHolderInfo.mobile}}</text>
  179. </view>
  180. <view class="item dis a-c j-s">
  181. <text>证件号</text>
  182. <text>{{policyHolderInfo.identifyNumber}}</text>
  183. </view>
  184. <view class="item dis a-start j-s">
  185. <text>地址</text>
  186. <text>{{policyHolderInfo.addr}}</text>
  187. </view>
  188. </view>
  189. </view>
  190. <u-gap height="5" bgColor="#F8F8F8"></u-gap>
  191. <!-- 被保人信息 -->
  192. <view class="userinfo">
  193. <view class="userinfo-header dis a-c ">
  194. <view class="tag"></view>
  195. <text>被保人信息</text>
  196. </view>
  197. <view class="content dis f-c ">
  198. <view class="item dis a-c j-s">
  199. <text>姓名</text>
  200. <text>{{insuredPersonInfo.name}}</text>
  201. </view>
  202. <view class="item dis a-c j-s">
  203. <text>手机号</text>
  204. <text>{{insuredPersonInfo.mobile}}</text>
  205. </view>
  206. <view class="item dis a-c j-s">
  207. <text>证件号</text>
  208. <text>{{insuredPersonInfo.identifyNumber}}</text>
  209. </view>
  210. <view class="item dis a-start j-s">
  211. <text>地址</text>
  212. <text>{{insuredPersonInfo.addr}}</text>
  213. </view>
  214. </view>
  215. </view>
  216. </view>
  217. <!-- 查看更多 -->
  218. <view class="loadMore dis a-c j-c" @click="toggleExpand('isExpanded1')"
  219. :style="{position:isExpanded1?'relative':'absolute'}">
  220. <text>查看更多</text>
  221. <image :src="doubleArrowimg" mode="" :style="{transform:`rotate(${isExpanded1?180:0}deg)`}"></image>
  222. </view>
  223. </view>
  224. <!-- 保费因素 -->
  225. <view class="view " :class="{ 'collapsed': !isExpanded2 }">
  226. <view class="header-title"
  227. style="background: linear-gradient( 180deg, #F9F6FF 0%, #FFFFFF 100%);border-color: #E3D5FF;">保费因素
  228. </view>
  229. <view class="items dis f-c " id="premiumFactor">
  230. <view class="item dis a-c j-s" v-if="scoreVo.score">
  231. <text>评分</text>
  232. <text>{{scoreVo.score}}</text>
  233. </view>
  234. <view class="item dis a-c j-s">
  235. <text>交强险系数</text>
  236. <text></text>
  237. </view>
  238. <view class="item dis a-c j-s">
  239. <text class="mr-2">商业险系数</text>
  240. <view class="dis a-c ">
  241. <u--input border="surround"
  242. :customStyle="{background:'rgba(253,233,53,0.05)',borderColor:'#FDE935 !important',padding:'4rpx 18rpx',pointerEvents: 'none',width:'250rpx'}"
  243. v-model="scoreVo.syScore" disabled disabledColor='rgba(253,233,53,0.05)'></u--input>
  244. <view class="colorBlock dis a-c j-c " @tap="updateDiscountShow=true">
  245. <image :src="editimg" mode=""></image>
  246. </view>
  247. </view>
  248. </view>
  249. <view class="item dis a-c j-s" v-if="scoreVo.jqScore">
  250. <text>交强评分</text>
  251. <text>{{scoreVo.jqScore}}</text>
  252. </view>
  253. <view class="item dis a-c j-s" v-if="scoreVo.syScore">
  254. <text>商业评分</text>
  255. <text>{{scoreVo.syScore}}</text>
  256. </view>
  257. <view class="item dis a-start j-s" v-if="scoreVo.ciClaims">
  258. <text>交强出险次数</text>
  259. <text>{{scoreVo.ciClaims}}</text>
  260. </view>
  261. <view class="item dis a-start j-s" v-if="scoreVo.biClaims">
  262. <text>商业出险次数</text>
  263. <text>{{scoreVo.biClaims}}</text>
  264. </view>
  265. <view class="item dis a-start j-s" v-if="scoreVo.lossRation">
  266. <text>总赔付率</text>
  267. <text>{{scoreVo.lossRation}}</text>
  268. </view>
  269. <view class="item dis a-start j-s" v-if="scoreVo.jqLossRation">
  270. <text>交强赔付率</text>
  271. <text>{{scoreVo.jqLossRation}}</text>
  272. </view>
  273. <view class="item dis a-start j-s" v-if="scoreVo.syLossRation">
  274. <text>商业赔付率</text>
  275. <text>{{scoreVo.syLossRation}}</text>
  276. </view>
  277. <view class="item dis a-start j-s">
  278. <text>总折扣率</text>
  279. <text></text>
  280. </view>
  281. <view class="item dis a-start j-s" v-if="costs.ciRatio">
  282. <text>交强折扣</text>
  283. <text>{{costs.ciRatio}}</text>
  284. </view>
  285. <view class="item dis a-start j-s" v-if="costs.biRatio">
  286. <text>商业折扣</text>
  287. <text>{{costs.biRatio}}</text>
  288. </view>
  289. <view class="item dis a-start j-s" v-for="(item,index) in scoreVo.scoreJson" :key="index">
  290. <text>{{item.scoreName}}</text>
  291. <text>{{item.score}}</text>
  292. </view>
  293. </view>
  294. <!-- 查看更多 -->
  295. <view class="loadMore dis a-c j-c" @click="toggleExpand('isExpanded2')"
  296. :style="{position:isExpanded2?'relative':'absolute'}">
  297. <text>查看更多</text>
  298. <image :src="doubleArrowimg" mode="" :style="{transform:`rotate(${isExpanded2?180:0}deg)`}"></image>
  299. </view>
  300. </view>
  301. <!-- 报价方案 -->
  302. <view class="view " :class="{ 'collapsed': !isExpanded3 }">
  303. <view class="header-title"
  304. style="background: linear-gradient( 180deg, #FFF8F8 0%, #FFFFFF 100%);border-color: #FFD9D9;">报价方案
  305. </view>
  306. <view class="items dis f-c " id="quotationScheme">
  307. <view class="item dis a-c j-s">
  308. <text>保费合计</text>
  309. <text class="price">¥{{costs.sumPremium}}</text>
  310. </view>
  311. <view class="item dis a-c j-s" v-if="costs.ciPremium">
  312. <text>交强险</text>
  313. <text>¥{{costs.ciPremium}}</text>
  314. </view>
  315. <view class="item dis a-c j-s" v-if="costs.vvTax">
  316. <view class=" dis a-c ">车船税
  317. <view class="vvTax-Tag ml-1" @click="vvTaxDetailsShow=true">
  318. {{taxRelifFlagName}}
  319. </view>
  320. </view>
  321. <text>¥{{costs.vvTax}}</text>
  322. </view>
  323. <view class="item dis a-start j-s" v-if="costs.biPremium">
  324. <text>商业险</text>
  325. <text>¥{{costs.biPremium}}</text>
  326. </view>
  327. <view class="item dis a-start j-s" v-if="costs.niPremium">
  328. <text>驾意险</text>
  329. <text>¥{{costs.niPremium}}</text>
  330. </view>
  331. <view class="table mb-3" v-if="kindInfoVo.length>0">
  332. <view class="header dis a-c j-s">
  333. <text class="th special">商业险</text>
  334. <text class="th">保额</text>
  335. <text class="th">保费</text>
  336. </view>
  337. <view class="tr dis a-c j-c" v-for="(item,index) in kindInfoVo" :key="index">
  338. <text class="td special">{{item.kindName}}</text>
  339. <text v-if="['A'].includes(item.kindCode)" class="td">投保</text>
  340. <text v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)"
  341. class="td">{{convertedValue(item.unitAmount)}}</text>
  342. <text v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)"
  343. class="td">{{item.amount}}%</text>
  344. <text v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(item.kindCode)"
  345. class="td">{{item.serviceTimes}}次</text>
  346. <text v-else class="td">{{item.kindCode=='J1'?'--':convertedValue(item.amount)}}</text>
  347. <text class="td">{{item.premium?item.premium:'-'}}</text>
  348. </view>
  349. </view>
  350. <view class="table" v-if="accidentalDrivings.length>0">
  351. <view class="header dis a-c j-s">
  352. <text class="th special">驾意险</text>
  353. <text class="th">单价/数量</text>
  354. <text class="th">保费</text>
  355. </view>
  356. <view class="tr dis a-c j-c" v-for="(item,index) in accidentalDrivings" :key="index">
  357. <text class="td special">{{item.productName}}</text>
  358. <text class="td">{{item.quantity}}</text>
  359. <text class="td">{{item.sumAmount}}</text>
  360. </view>
  361. </view>
  362. </view>
  363. <!-- 查看更多 -->
  364. <view class="loadMore dis a-c j-c" @click="toggleExpand('isExpanded3')"
  365. :style="{position:isExpanded3?'relative':'absolute'}">
  366. <text>查看更多</text>
  367. <image :src="doubleArrowimg" mode="" :style="{transform:`rotate(${isExpanded3?180:0}deg)`}"></image>
  368. </view>
  369. </view>
  370. </view>
  371. <view class="footer">
  372. <!-- 待核保 -->
  373. <view class="orderAction dis a-c j-s ">
  374. <view class=" dis f-c a-c j-c">
  375. <view class=" totalPrice dis a-end ">
  376. <text>¥</text>
  377. <text>{{costs.sumPremium || 0 }}</text>
  378. </view>
  379. <text class="feeEntry" @click="feeEntryInfoShow=true">费用信息</text>
  380. </view>
  381. <view class="dis a-c j-s" v-if="isFromShare!='share'">
  382. <view class="btn btns dis a-c j-c " @click="home">
  383. 投保其他车辆
  384. </view>
  385. <view class="btn dis a-c j-c " @click=" applyUnderwriting">
  386. 申请核保
  387. </view>
  388. </view>
  389. </view>
  390. </view>
  391. <!-- 系数修改弹窗 -->
  392. <uni-Popup :show="updateDiscountShow" @close="updateDiscountShow=false" :closeable="false"
  393. headerTitle="商业险折扣系数修改" overflow="auto" :headerStyle="{fontSize:'36rpx'}" maxHeight="980rpx" mode="center"
  394. width="90%">
  395. <template #content>
  396. <view class="updateDiscount">
  397. <text class="text ">商业险折扣系数和自主定价系数只能修改一个,修改后系统会重新报价,计算修改后的保费</text>
  398. <u-radio-group v-model="updateDiscountSValue" placement="column" class="mt-3 " activeColor="#FDE935"
  399. iconColor='#333'>
  400. <u-radio label="明月几时有" style="align-items: baseline;">
  401. <view class="dis f-c " style="width: 100%;">
  402. <view class="dis a-start input mb-1">
  403. <text>商业险折扣系数</text>
  404. <text>(0.8521252)</text>
  405. </view>
  406. <u--input placeholder="请输入内容" clearable></u--input>
  407. </view>
  408. </u-radio>
  409. <u-radio label="明月几时有" class="mt-3" style="align-items: baseline;">
  410. <view class="dis f-c " style="width: 100%;">
  411. <view class="dis a-c input mb-1">
  412. <text>自主定价系数</text>
  413. <text>(0.8)</text>
  414. </view>
  415. <u--input disabled placeholder="输入1—100的数字" clearable></u--input>
  416. </view>
  417. </u-radio>
  418. </u-radio-group>
  419. <view class="btn dis mt-3">
  420. <u-button class="mr-2" type="primary" shape="circle" :plain="true" text="关闭" color="#DDDDDD"
  421. @click="updateDiscountShow=false" :customStyle="{color:'#333'}"></u-button>
  422. <u-button type="primary" shape="circle" text="确定" color="#FDE935"
  423. :customStyle="{color:'#1f1f1f'}"></u-button>
  424. </view>
  425. </view>
  426. </template>
  427. </uni-Popup>
  428. <!-- 费用信息展示弹窗 -->
  429. <uni-Popup :show="feeEntryInfoShow" @close="feeEntryInfoShow=false" :closeable="false" headerTitle="费用信息"
  430. overflow="auto" :headerStyle="{fontSize:'36rpx'}" maxHeight="980rpx" mode="center" width="90%">
  431. <template #content>
  432. <view class="feeEntryClass" v-if="insFeeOrders">
  433. <view class="dis a-start j-s data-view">
  434. <text class="title">交强险</text>
  435. <view class="dis f-c discount">
  436. <view class="dis a-c ">
  437. <text>保费:</text>
  438. <text class="dis j-end a-c">¥{{insFeeOrders.jqPremium}}</text>
  439. </view>
  440. <view class="dis a-c ">
  441. <text>优惠:</text>
  442. <text class="font-weight dis j-end a-c">¥{{insFeeOrders.jqPayablePremium}}</text>
  443. </view>
  444. </view>
  445. </view>
  446. <view class="dis a-start j-s data-view">
  447. <text class="title">商业险</text>
  448. <view class="dis f-c discount">
  449. <view class="dis a-c ">
  450. <text>保费:</text>
  451. <text class="dis j-end a-c">¥{{insFeeOrders.syPremium}}</text>
  452. </view>
  453. <view class="dis a-c ">
  454. <text>优惠:</text>
  455. <text class="font-weight dis j-end a-c">¥{{insFeeOrders.syPayablePremium}}</text>
  456. </view>
  457. </view>
  458. </view>
  459. <view class="dis a-start j-s data-view">
  460. <text class="title">驾意险</text>
  461. <view class="dis f-c discount">
  462. <view class="dis a-c">
  463. <text>保费:</text>
  464. <text class="dis j-end a-c">¥{{insFeeOrders.jyPremium}}</text>
  465. </view>
  466. <view class="dis a-c ">
  467. <text>优惠:</text>
  468. <text class="font-weight dis j-end a-c">¥{{insFeeOrders.jyPayablePremium}}</text>
  469. </view>
  470. </view>
  471. </view>
  472. <view class="discountTotal dis a-c j-s ">
  473. <text class="name">优惠总计</text>
  474. <text class="sum">¥{{insFeeOrders.totalPayablePremium}}</text>
  475. </view>
  476. <view class="footer-btn dis a-c j-c" @click="feeEntryInfoShow=false">
  477. 关闭
  478. </view>
  479. </view>
  480. </template>
  481. </uni-Popup>
  482. <!-- 车船税信息弹窗 -->
  483. <uni-Popup :show="vvTaxDetailsShow" @close='vvTaxDetailsShow=false' headerTitle="车船税" overflow="auto"
  484. maxHeight="580rpx">
  485. <template #content>
  486. <view class="vvTaxDetails-cell dis f-c ">
  487. <view class="cell-item dis a-c j-s">
  488. <text>车船税</text>
  489. <text>{{taxRelifFlagName}}</text>
  490. </view>
  491. <template>
  492. <view class="cell-item dis a-c j-s"
  493. v-if="vehicleAndVesselTaxVo.taxRelifFlag == 2 || vehicleAndVesselTaxVo.taxRelifFlag == 3">
  494. <text>减免税凭证号</text>
  495. <text>{{vehicleAndVesselTaxVo.extendChar2}}</text>
  496. </view>
  497. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag == 4">
  498. <text>完税凭证号</text>
  499. <text>{{vehicleAndVesselTaxVo.paidFreeCertificate}}</text>
  500. </view>
  501. <view class="cell-item dis a-c j-s"
  502. v-if="vehicleAndVesselTaxVo.taxRelifFlag == 2 || vehicleAndVesselTaxVo.taxRelifFlag == 3">
  503. <text>减免税原因</text>
  504. <text>{{vehicleAndVesselTaxVo.relifReason}}</text>
  505. </view>
  506. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag == 3">
  507. <text>减税比例</text>
  508. <text>{{vehicleAndVesselTaxVo.taxRelief}}</text>
  509. </view>
  510. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag !=1">
  511. <text>税务机关代码</text>
  512. <text>{{vehicleAndVesselTaxVo.taxComCode}}</text>
  513. </view>
  514. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag !=1">
  515. <text>税务机关名称</text>
  516. <text>{{vehicleAndVesselTaxVo.taxComName}}</text>
  517. </view>
  518. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag ==4">
  519. <text>完税凭证填发日期</text>
  520. <text>{{vehicleAndVesselTaxVo.taxDocumentDate}}</text>
  521. </view>
  522. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag ==4">
  523. <text>完税凭证地区</text>
  524. <text>{{vehicleAndVesselTaxVo.taxPaidAreaCode}}</text>
  525. </view>
  526. </template>
  527. </view>
  528. </template>
  529. </uni-Popup>
  530. <!-- 优惠方式弹窗 -->
  531. <uni-Popup :show="discountMethodShow" @close='discountMethodShow=false' headerTitle="选择优惠方式" overflow="auto"
  532. maxHeight="580rpx">
  533. <template #content>
  534. <view class="discountMethod-cell dis f-c " v-if="insFeeOrders && insFeeOrders.availableAmount">
  535. <view class="item dis f-c a-start" @click="selectedBenefits">
  536. <text class="title mb-1">客户权益</text>
  537. <text>当前客户出单后,可赠送客户价值 <text class="price"
  538. v-if="insFeeOrders.availableAmount">{{insFeeOrders.availableAmount}}</text> 的权益礼包</text>
  539. </view>
  540. <view class="item dis f-c a-start" @click="discountMethodShow=false,underwritingShow=true">
  541. <text class="title mb-1">现金优惠</text>
  542. <text>选择为当前客户最多优惠<text class="price"
  543. v-if="insFeeOrders.totalExportPremium">{{insFeeOrders.totalExportPremium}}</text>元</text>
  544. </view>
  545. </view>
  546. </template>
  547. </uni-Popup>
  548. <!-- 确认核保提示 -->
  549. <uni-PopupMessage :show="underwritingShow" @close='underwritingShow=false' @cancelEvent='underwritingShow=false'
  550. @confirmEvent="underwritingEvent">
  551. <template #content>
  552. <view class="dis a-c j-c ">
  553. 是否确认提交核保
  554. </view>
  555. </template>
  556. </uni-PopupMessage>
  557. <!-- 右上角分享功能 -->
  558. <uni-share :show="shareShow" @close="shareShow=false" @weixin="weixin" @userSmsShare="userSmsShare"
  559. @copyLink="copyLink" @saveToAlbum="saveToAlbum" @closeModal="shareShow = false">
  560. </uni-share>
  561. <!-- 自定义加载动画 -->
  562. <u-overlay :show="loadingShow" style="background-color: rgba(255, 255, 255, 0.6);">
  563. <view class="dis f-c a-c j-c " style="height: 100%;">
  564. <u-loading-icon></u-loading-icon>
  565. <text style="color: #909399;" class="mt-1">{{loadingText}}</text>
  566. </view>
  567. </u-overlay>
  568. </view>
  569. </template>
  570. <script>
  571. import {
  572. turnBase64Image,
  573. dictionaryMatch····
  574. } from '@/plugins/utils.js';
  575. import Mixin from './Mixin.js';
  576. export default {
  577. mixins: [Mixin], // 注入 Mixin
  578. data() {
  579. return {
  580. discountMethodShow: false, //选择优惠方式弹窗
  581. feeEntryInfoShow: false, //费用信息弹窗
  582. updateDiscountSValue: "",
  583. insCompanyVo: {}, //保险公司信息
  584. updateDiscountShow: false, //折扣系数修改弹窗
  585. underwritingShow: false, //核保弹窗
  586. loadingShow: false, //加载
  587. loadingText: '加载中', //加载提示文字
  588. shareShow: false, //分享弹窗
  589. doubleArrowimg: "", //箭头图片
  590. editimg: "", //编辑
  591. premiumFactorHeight: 0,
  592. basicInfoHeight: 0,
  593. quotationSchemeHeight: 0,
  594. collapsedHeight: 258,
  595. isExpanded1: false, //展开收起
  596. isExpanded2: false, //展开收起
  597. isExpanded3: false, //展开收起
  598. carInfoVo: {}, //车辆信息
  599. ownersInfo: {}, //车主信息
  600. policyHolderInfo: {}, //投保人信息
  601. insuredPersonInfo: {}, //被保人信息
  602. scoreVo: {}, //保费因素
  603. costs: {}, //报价金额信息
  604. salesmanInfo: {}, //业务员信息
  605. kindInfoVo: [], //商业险险别
  606. accidentalDrivings: [], //驾意险列表
  607. imageVoList: [],
  608. vvTaxDetailsShow: false, //车船税展示弹窗
  609. //车船税form
  610. //字典
  611. car_nature_codeoptions: [], //使用性质
  612. vehicle_use_code01options: [], //营业
  613. vehicle_use_code02options: [], //非营业
  614. car_kind_codeoptions: [], //车辆种类
  615. energy_type_codeoptions: [], //能源类型
  616. car_type_codeoptions: [], //车辆类型
  617. car_tax_codeoptions: [], //车船税类型
  618. taxpayerIdentifieroptions: [], //车船税类型
  619. car_tax_reason_codeoptions: [], //减免税原因
  620. // 影像信息
  621. modificationFlag: false, //影像修改标识
  622. specialInfoVo: [], //已选特约
  623. insFeeOrders: {}, //费用信息
  624. insOrderRightsInfoVo: {}, //权益信息
  625. insOrderRightsInfoDto: null, //权益参数
  626. isFromShare: "",
  627. }
  628. },
  629. onShow() {
  630. console.log(this.insOrderRightsInfoDto);
  631. },
  632. async onLoad(options) {
  633. this.loadingShow = true;
  634. try {
  635. this.isFromShare = options.from;
  636. await this.getDicType("car_tax_code"); //车船税类型
  637. await this.getDicType("taxpayerIdentifier"); //纳税人证件类型
  638. await this.getDicType("car_tax_reason_code"); //减免税原因代码
  639. await this.getDicType("car_nature_code"); //使用性质
  640. await this.getDicType("vehicle_use_code", "01"); //营业
  641. await this.getDicType("vehicle_use_code", "02"); //非营业
  642. await this.getDicType("car_kind_code"); //车辆种类
  643. await this.getDicType("energy_type_code"); //能源类型
  644. await this.getDicType("car_type_code"); //车辆类型
  645. await this.details(options.ordersNo); //详情接口
  646. this.loadingShow = false;
  647. const query = uni.createSelectorQuery();
  648. query.select('#basicInfo').boundingClientRect((rect) => {
  649. this.basicInfoHeight = rect.height; // 获取元素高度
  650. }).exec();
  651. query.select('#premiumFactor').boundingClientRect((rect) => {
  652. this.premiumFactorHeight = rect.height; // 获取元素高度
  653. }).exec()
  654. query.select('#quotationScheme').boundingClientRect((rect) => {
  655. this.quotationSchemeHeight = rect.height; // 获取元素高度
  656. }).exec()
  657. } catch (error) {
  658. this.loadingShow = false;
  659. }
  660. },
  661. async mounted() {
  662. this.doubleArrowimg = await turnBase64Image('/static/image/doubleArrow.png');
  663. this.editimg = await turnBase64Image('/static/icon/edit.png')
  664. },
  665. computed: {
  666. //获取车船税类型
  667. taxRelifFlagName() {
  668. let info = this.car_tax_codeoptions.find(ele => ele.value === this.vehicleAndVesselTaxVo.taxRelifFlag)
  669. return info?.description;
  670. },
  671. //报价年份
  672. quoteYear() {
  673. const year = this.order.createTime.slice(0, 4);
  674. return year;
  675. },
  676. },
  677. methods: {
  678. // 选择权益
  679. selectedBenefits() {
  680. this.discountMethodShow = false;
  681. let params = {
  682. ownersInfo: this.ownersInfo, //车主
  683. policyHolderInfo: this.policyHolderInfo, //投保人
  684. insuredPersonInfo: this.insuredPersonInfo, //被保人
  685. insFeeOrders: this.insFeeOrders, //费用信息
  686. ordersNo: this.ordersNo,
  687. insOrderRightsInfoVo: this.insOrderRightsInfoVo, //权益信息
  688. }
  689. uni.navigateTo({
  690. url: '/pages/reward/customerBenefit?info=' + JSON.stringify(params)
  691. })
  692. },
  693. specialTermsText() {
  694. if (['资金财险', '华泰财险', '国任财险'].includes(this.companyName)) {
  695. return '点击选择'
  696. } else {
  697. return "暂不支持"
  698. }
  699. },
  700. // 补传影像
  701. async uploadRetry() {
  702. const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
  703. .policyHolderImageListId, ...this.insuredPersonImageListId
  704. ];
  705. if (mergedArray.length > 0) {
  706. await this.$http.post('/unify/order/imageSave', {
  707. imageList: mergedArray,
  708. quoteNo: this.quoteNo,
  709. })
  710. }
  711. },
  712. applyUnderwriting() {
  713. if (this.insFeeOrders?.availableAmount && !this.insOrderRightsInfoDto) {
  714. this.discountMethodShow = true;
  715. } else {
  716. this.underwritingShow = true
  717. }
  718. },
  719. //调用核保接口
  720. async underwritingEvent() {
  721. this.underwritingShow = false; //关闭弹窗
  722. this.loadingText = "核保中";
  723. this.loadingShow = true; //加载loading
  724. if (this.modificationFlag) {
  725. // 修改影像后,补传影像
  726. await this.uploadRetry();
  727. }
  728. let images = await this.$http.post('/unify/order/imagesUpload', {
  729. order: {
  730. ordersNo: this.order.ordersNo,
  731. quoteNo: this.order.quoteNo
  732. },
  733. imageVoList: [...this.carImageListId, ...this.ownerImageListId, ...this
  734. .policyHolderImageListId, ...this.insuredPersonImageListId
  735. ]
  736. }); //影像提交保险公司
  737. if (images.code == '200') { //核保
  738. // specialAppointmentsVos=[] 特约
  739. let underwriting = await this.$http.post('/unify/order/underwriting', {
  740. order: {
  741. ordersNo: this.ordersNo,
  742. },
  743. insOrderRightsInfoDto: this.insOrderRightsInfoDto,
  744. });
  745. if (underwriting.code == '200') {
  746. let res = await this.$http.get('/supplementOrder/getOrderDetail?ordersNo=' + this.id);
  747. if (res.code == '200') {
  748. this.orderStatus = res.data.order.orderStatus; //订单状态
  749. // 状态为人工处理跳转页面
  750. if (this.orderStatus == 3) {
  751. uni.navigateTo({
  752. url: '/pages/quote/manualUnderwritingPage?Info=' + JSON.stringify(res
  753. .data),
  754. })
  755. }
  756. }
  757. this.loadingShow = false;
  758. uni.showToast({
  759. icon: 'none',
  760. title: '核保成功'
  761. })
  762. } else {
  763. this.loadingShow = false;
  764. uni.showToast({
  765. icon: 'none',
  766. title: underwriting.msg
  767. })
  768. }
  769. } else {
  770. this.loadingShow = false;
  771. uni.showToast({
  772. icon: 'none',
  773. title: images.msg
  774. })
  775. }
  776. },
  777. //影像资料
  778. mediaFiles() {
  779. uni.navigateTo({
  780. url: "/pages/quote/imageGalleryPage?quoteNo=" + this.quoteNo,
  781. })
  782. },
  783. //特别约定
  784. specialTerms() {
  785. uni.navigateTo({
  786. url: "/pages/quote/specialAgreementPage?companyId=" + this.insCompanyVo.id + '&productId=' +
  787. this.order.productId +
  788. '&specialInfoVo=' + JSON.stringify(this.specialInfoVo),
  789. })
  790. },
  791. //分享微信
  792. weixin() {
  793. uni.share({
  794. provider: "weixin",
  795. scene: "WXSceneSession",
  796. type: 0,
  797. href: this.$base.h5BaseUrl + `/#/pages/quote/quoteRecordDetail?orderno=${this.ordersNo}`,
  798. title: `${this.companyName}${this.quoteYear}年的车险报价`,
  799. summary: `${this.companyName}报价完成,保费:${this.costs.sumPremium}元,点击查看详情`,
  800. imageUrl: "/static/image/zgcx.png",
  801. success: function(res) {
  802. console.log("success:" + JSON.stringify(res));
  803. },
  804. fail: function(err) {
  805. console.log("fail:" + JSON.stringify(err));
  806. }
  807. });
  808. },
  809. //短信分享
  810. userSmsShare() {
  811. var msg = plus.messaging.createMessage(plus.messaging.TYPE_SMS);
  812. msg.to = [this.policyHolderInfo.name]; //投保人手机号
  813. msg.body =
  814. `【${this.salesmanInfo.systemShortName}】尊敬的【${this.carInfoVo.licenseNo}】车主,${this.companyName}${this.quoteYear}年车险报价:${this.costs.sumPremium}元;联系人:${this.salesmanInfo.name} ${this.salesmanInfo.mobile},点击链接查看详情或电话咨询联系人${this.$base.h5BaseUrl + `/#/pages/quote/quoteRecordDetail?orderno=${this.ordersNo}`}`;
  815. plus.messaging.sendMessage(msg);
  816. },
  817. //复制链接
  818. copyLink() {
  819. uni.setClipboardData({
  820. data: this.$base.h5BaseUrl +
  821. `/#/pages/quote/quoteRecordDetail?orderno=${this.ordersNo}`, //要被复制的内容
  822. success: () => { //复制成功的回调函数
  823. uni.showToast({ //提示
  824. icon: 'none',
  825. title: '链接已复制'
  826. })
  827. }
  828. });
  829. },
  830. //数据字典
  831. async getDicType(type, vehicle) {
  832. if (vehicle) {
  833. let res = await this.$http.get(`/dict/get?dictCode=${type}&parentValue=${vehicle}`);
  834. this[type + vehicle + "options"] = res.data;
  835. } else {
  836. let res = await this.$http.get('/dict/get?dictCode=' + type);
  837. this[type + "options"] = res.data;
  838. }
  839. },
  840. //数字格式化
  841. convertedValue(num) {
  842. if (!num) {
  843. return "-";
  844. }
  845. if (num < 10000) {
  846. return num.toString();
  847. } else if (num < 100000000) {
  848. return (Math.floor(num / 10000 * 10) / 10) + '万';
  849. } else {
  850. return (Math.floor(num / 100000000 * 10) / 10) + '亿';
  851. }
  852. },
  853. async details(orderno) {
  854. let res = await this.$http.get('/supplementOrder/getOrderDetail?ordersNo=' + orderno);
  855. if (res.code == 200) {
  856. this.orderStatus = res.data.order.orderStatus; //订单状态
  857. this.companyName = res.data.order.companyName; //保险公司简称
  858. this.insCompanyVo = res.data.insCompanyVo[0]; //保险公司信息
  859. this.ordersNo = res.data.order.ordersNo; //订单号
  860. this.quoteNo = res.data.order.quoteNo; //报价号
  861. this.ciRiskInfoVo = res.data.ciRiskInfoVo; //交强大类
  862. this.biRiskInfoVo = res.data.biRiskInfoVo; //商业大类
  863. this.costs = res.data.costs; //报价金额信息
  864. this.policy = res.data.policy; //保单号信息
  865. this.kindInfoVo = res.data.kindInfoVo; //商业险险别
  866. this.accidentalDrivings = res.data.accidentalDrivings; //驾意险
  867. this.carInfoVo = res.data.carInfoVo; //车辆信息
  868. this.ownersInfo = res.data.ownersInfo; //车主信息
  869. this.policyHolderInfo = res.data.policyHolderInfo; //投保人信息
  870. this.insuredPersonInfo = res.data.insuredPersonInfo; //被保人信息
  871. this.scoreVo = res.data.scoreVo; //保费因素
  872. this.vehicleAndVesselTaxVo = res.data.vehicleAndVesselTaxVo; //车船税信息
  873. this.salesmanInfo = res.data.salesmanInfo; //业务员信息
  874. this.insFeeOrders = res.data.insFeeOrders; //费用信息
  875. this.insOrderRightsInfoVo = res.data.insOrderRightsInfoVo; //权益详情
  876. this.imageVoList = res.data.imageVoList;
  877. this.order = res.data.order;
  878. this.imageEcho(res.data.imageVoList) // 影像获取完毕
  879. this.carInfoVo.carNatureCode = dictionaryMatch(this.car_nature_codeoptions, res
  880. .data.carInfoVo
  881. .carNatureCode)
  882. if (res.data.carInfoVo.carNatureCode == '01') {
  883. this.carInfoVo.vehicleUseCode = dictionaryMatch(this
  884. .vehicle_use_code01options,
  885. res.data
  886. .carInfoVo
  887. .vehicleUseCode)
  888. } else {
  889. this.carInfoVo.vehicleUseCode = dictionaryMatch(this
  890. .vehicle_use_code02options,
  891. res.data
  892. .carInfoVo
  893. .vehicleUseCode)
  894. }
  895. this.carInfoVo.carTypeCode = dictionaryMatch(this.car_type_codeoptions, res.data
  896. .carInfoVo
  897. .carTypeCode)
  898. this.carInfoVo.carKindCode = dictionaryMatch(this.car_kind_codeoptions, res.data
  899. .carInfoVo
  900. .carKindCode)
  901. this.carInfoVo.energyTypeCode = dictionaryMatch(this.energy_type_codeoptions, res
  902. .data
  903. .carInfoVo
  904. .energyTypeCode)
  905. }
  906. },
  907. //右上角分享
  908. share() {
  909. this.shareShow = true;
  910. },
  911. toggleExpand(name) {
  912. this[name] = !this[name];
  913. },
  914. }
  915. }
  916. </script>
  917. <style lang="scss" scoped>
  918. .page {
  919. height: 100%;
  920. background-color: #F8F8F8;
  921. box-sizing: border-box;
  922. }
  923. .content {
  924. padding: 20rpx 30rpx 186rpx;
  925. box-sizing: border-box;
  926. //过户信息
  927. .transfer {
  928. padding: 30rpx;
  929. box-sizing: border-box;
  930. background: #fff;
  931. border-radius: 20rpx;
  932. .item {
  933. width: 50%;
  934. text:first-child {
  935. width: 80%;
  936. font-size: 28rpx;
  937. color: #666;
  938. }
  939. text:last-child {
  940. width: 20%;
  941. font-size: 28rpx;
  942. color: #333;
  943. }
  944. }
  945. .item:nth-child(3) {
  946. width: 100%;
  947. text:first-child {
  948. width: 25%;
  949. font-size: 28rpx;
  950. color: #666;
  951. }
  952. text:last-child {
  953. width: 75%;
  954. font-size: 28rpx;
  955. color: #333;
  956. }
  957. }
  958. .Attachment {
  959. width: 100%;
  960. >view {
  961. position: relative;
  962. width: 50%;
  963. padding: 16rpx 30rpx;
  964. box-sizing: border-box;
  965. background-color: #1F1F1F;
  966. image {
  967. width: 108rpx;
  968. height: 108rpx;
  969. position: absolute;
  970. top: 0;
  971. right: 0;
  972. }
  973. .title {
  974. font-size: 30rpx;
  975. font-weight: 400;
  976. color: #333;
  977. }
  978. .smallText {
  979. font-size: 24rpx;
  980. color: #999;
  981. }
  982. }
  983. >view:first-child {
  984. background: linear-gradient(180deg, #FFF6EB 0%, #FFFCF3 100%);
  985. border-radius: 15rpx;
  986. margin-right: 18rpx;
  987. }
  988. >view:last-child {
  989. background: linear-gradient(180deg, #E7FDF8 0%, #F6FFFD 100%);
  990. border-radius: 15rpx;
  991. }
  992. }
  993. }
  994. //内容区域
  995. .view {
  996. position: relative;
  997. background-color: #fff;
  998. border-radius: 20rpx;
  999. overflow: hidden;
  1000. margin-top: 20rpx;
  1001. //头部背景
  1002. .header-title {
  1003. padding: 20rpx;
  1004. box-sizing: border-box;
  1005. background: linear-gradient(180deg, #FFFCEA 0%, #FFFFFF 100%);
  1006. border-radius: 20rpx 20rpx 0 0;
  1007. border-top: 1rpx solid #FFE1A4;
  1008. font-size: 32rpx;
  1009. color: #333;
  1010. font-weight: bold;
  1011. }
  1012. .items {
  1013. padding: 0 20rpx 20rpx;
  1014. box-sizing: border-box;
  1015. .item {
  1016. margin-bottom: 30rpx;
  1017. >:first-child {
  1018. font-size: 30rpx;
  1019. color: #666;
  1020. }
  1021. >:last-child {
  1022. font-size: 30rpx;
  1023. color: #333;
  1024. font-weight: bold;
  1025. }
  1026. }
  1027. .table {
  1028. width: 100%;
  1029. border-radius: 4rpx;
  1030. border: 1rpx solid #FFD9D9;
  1031. .header {
  1032. background-color: #FFF8F8;
  1033. border-radius: 4rpx 4rpx 0 0;
  1034. .th {
  1035. padding: 15rpx;
  1036. box-sizing: border-box;
  1037. text-align: center;
  1038. font-size: 28rpx;
  1039. color: #FF5B45;
  1040. flex: 1;
  1041. }
  1042. .th.special {
  1043. flex: 2;
  1044. }
  1045. }
  1046. .tr {
  1047. .td {
  1048. padding: 15rpx;
  1049. box-sizing: border-box;
  1050. text-align: center;
  1051. font-size: 28rpx;
  1052. flex: 1;
  1053. }
  1054. .td.special {
  1055. flex: 2;
  1056. }
  1057. }
  1058. .tr:nth-child(odd) {
  1059. background-color: #FBFBFB;
  1060. }
  1061. }
  1062. }
  1063. }
  1064. }
  1065. .userinfo {
  1066. margin-top: 24rpx;
  1067. .userinfo-header {
  1068. font-weight: bold;
  1069. font-size: 30rpx;
  1070. color: #333;
  1071. .tag {
  1072. width: 6rpx;
  1073. height: 30rpx;
  1074. background: #FDE935;
  1075. border-radius: 0rpx 6rpx 6rpx 0rpx;
  1076. margin-right: 6rpx;
  1077. }
  1078. }
  1079. .content {
  1080. padding: 20rpx 0;
  1081. box-sizing: border-box;
  1082. .item {
  1083. margin-bottom: 30rpx;
  1084. text:first-child {
  1085. font-size: 30rpx;
  1086. color: #666;
  1087. }
  1088. text:last-child {
  1089. font-size: 30rpx;
  1090. color: #333;
  1091. font-weight: bold;
  1092. width: 75%;
  1093. text-align: right;
  1094. }
  1095. }
  1096. }
  1097. }
  1098. //查看更多
  1099. .loadMore {
  1100. position: absolute;
  1101. bottom: 0;
  1102. left: 0;
  1103. right: 0;
  1104. padding: 20rpx;
  1105. box-sizing: border-box;
  1106. background: linear-gradient(0, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
  1107. text {
  1108. font-size: 28rpx;
  1109. color: #999;
  1110. }
  1111. image {
  1112. width: 24rpx;
  1113. height: 24rpx;
  1114. margin-left: 4rpx;
  1115. transition: transform 0.5s;
  1116. /* 添加过渡效果 */
  1117. }
  1118. }
  1119. //车船税
  1120. .vvTax-Tag {
  1121. padding: 4rpx 20rpx;
  1122. box-sizing: border-box;
  1123. background: #FF5B45;
  1124. border-radius: 20rpx 20rpx 20rpx 20rpx;
  1125. font-size: 26rpx;
  1126. color: #fff;
  1127. line-height: 1.2;
  1128. }
  1129. //默认高度
  1130. .collapsed {
  1131. max-height: 516rpx;
  1132. /* 露出部分的高度 */
  1133. }
  1134. // 车船税弹窗
  1135. .vvTaxDetails-cell {
  1136. padding: 40rpx;
  1137. box-sizing: border-box;
  1138. .cell-item {
  1139. font-size: 30rpx;
  1140. color: #333;
  1141. margin-bottom: 30rpx;
  1142. text:last-child {
  1143. font-weight: bold;
  1144. }
  1145. }
  1146. .cell-item:last-child {
  1147. margin-bottom: 0;
  1148. }
  1149. }
  1150. //底部样式
  1151. .footer {
  1152. position: fixed;
  1153. bottom: 0;
  1154. left: 0;
  1155. right: 0;
  1156. padding: 25rpx 30rpx 55rpx;
  1157. box-sizing: border-box;
  1158. background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 254, 245, 0.7) 100%);
  1159. border-radius: 0rpx 0rpx 0rpx 0rpx;
  1160. backdrop-filter: blur(12rpx);
  1161. .totalPrice {
  1162. text {
  1163. font-size: 28rpx;
  1164. color: #FF540A;
  1165. font-weight: bold;
  1166. }
  1167. text:last-child {
  1168. font-size: 42rpx;
  1169. font-weight: bold;
  1170. }
  1171. }
  1172. .feeEntry {
  1173. font-size: 24rpx;
  1174. color: #FFAC1D;
  1175. }
  1176. .btn {
  1177. background: #FDE935;
  1178. padding: 25rpx 30rpx;
  1179. box-sizing: border-box;
  1180. border-radius: 58rpx 58rpx 58rpx 58rpx;
  1181. font-size: 30rpx;
  1182. color: #1F1F1F;
  1183. font-weight: bold;
  1184. margin: 0 10rpx;
  1185. }
  1186. //操作按钮特殊样式
  1187. .btns {
  1188. background: rgba(253, 233, 53, 0.2);
  1189. border: 1rpx solid #FDE935;
  1190. padding: 22rpx 30rpx;
  1191. }
  1192. }
  1193. .colorBlock {
  1194. width: 54rpx;
  1195. height: 54rpx;
  1196. background: #FDE935;
  1197. border-radius: 10rpx 10rpx 10rpx 10rpx;
  1198. margin-left: 12rpx;
  1199. image {
  1200. width: 34rpx;
  1201. height: 34rpx;
  1202. }
  1203. }
  1204. // 商业险折扣系数样式
  1205. .updateDiscount {
  1206. padding: 40rpx;
  1207. box-sizing: border-box;
  1208. .text {
  1209. font-size: 28rpx;
  1210. color: #666;
  1211. }
  1212. .input {
  1213. font-size: 32rpx;
  1214. color: #333;
  1215. text:last-child {
  1216. color: #999;
  1217. margin-left: 10rpx;
  1218. }
  1219. }
  1220. .btn {}
  1221. }
  1222. .feeEntryClass {
  1223. padding: 0 40rpx 40rpx;
  1224. box-sizing: border-box;
  1225. .data-view {
  1226. padding: 20rpx 0;
  1227. box-sizing: border-box;
  1228. border-bottom: 1rpx solid #eee;
  1229. .title {
  1230. font-size: 30rpx;
  1231. color: #666;
  1232. }
  1233. .discount {
  1234. >view {
  1235. text:first-child {
  1236. font-size: 28rpx;
  1237. color: #999;
  1238. }
  1239. text:last-child {
  1240. font-size: 30rpx;
  1241. color: #333;
  1242. }
  1243. }
  1244. }
  1245. }
  1246. .discountTotal {
  1247. padding: 20rpx 0;
  1248. box-sizing: border-box;
  1249. .name {
  1250. font-size: 30rpx;
  1251. color: #333;
  1252. }
  1253. .sum {
  1254. font-size: 32rpx;
  1255. color: #FF540A;
  1256. font-weight: bold;
  1257. }
  1258. }
  1259. .footer-btn {
  1260. width: 100%;
  1261. padding: 20rpx;
  1262. box-sizing: border-box;
  1263. background: rgba(253, 233, 53, 0.1);
  1264. border-radius: 45rpx 45rpx 45rpx 45rpx;
  1265. border: 1rpx solid #FDE935;
  1266. margin-top: 20rpx;
  1267. }
  1268. }
  1269. .customerRights {
  1270. padding: 20rpx 30rpx;
  1271. box-sizing: border-box;
  1272. background-color: #fff;
  1273. border-radius: 20rpx;
  1274. margin: 20rpx 0;
  1275. .header {
  1276. text {
  1277. font-size: 34rpx;
  1278. color: #333;
  1279. font-weight: bold;
  1280. }
  1281. .btn {
  1282. padding: 8rpx 20rpx;
  1283. box-sizing: border-box;
  1284. font-size: 28rpx;
  1285. color: #1F1F1F;
  1286. background: #FDE935;
  1287. border-radius: 50rpx 50rpx 50rpx 50rpx;
  1288. }
  1289. }
  1290. .customerRights-content {
  1291. font-size: 28rpx;
  1292. color: #666;
  1293. }
  1294. }
  1295. .discountMethod-cell {
  1296. padding: 14rpx 30rpx 44rpx;
  1297. box-sizing: border-box;
  1298. .item {
  1299. padding: 16rpx 0;
  1300. box-sizing: border-box;
  1301. border-bottom: 1rpx solid #eee;
  1302. .title {
  1303. font-size: 32rpx;
  1304. color: #333;
  1305. font-weight: bold;
  1306. }
  1307. text:last-child {
  1308. font-size: 30rpx;
  1309. color: #666;
  1310. .price {
  1311. font-size: 30rpx;
  1312. color: #FF540A;
  1313. }
  1314. }
  1315. }
  1316. }
  1317. </style>