quoteRecordDetail.vue 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494
  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>{{carInfoVo1.carNatureCode}}</text>
  81. </view>
  82. <view class="item dis a-c j-s">
  83. <text>车辆类型</text>
  84. <text>{{carInfoVo1.carTypeCode}} </text>
  85. </view>
  86. <view class="item dis a-c j-s">
  87. <text>车辆用途</text>
  88. <text>{{carInfoVo1.vehicleUseCode}} </text>
  89. </view>
  90. <view class="item dis a-c j-s">
  91. <text>车辆种类</text>
  92. <text> {{carInfoVo1.carKindCode}}</text>
  93. </view>
  94. <view class="item dis a-c j-s">
  95. <text>能源种类</text>
  96. <text>{{carInfoVo1.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="item dis a-start j-s" v-if="ciRiskInfoVo && ciRiskInfoVo.startDate">
  332. <text>交强起保日期</text>
  333. <text>{{ciRiskInfoVo.startDate}}</text>
  334. </view>
  335. <view class="item dis a-start j-s" v-if="biRiskInfoVo && biRiskInfoVo.startDate">
  336. <text>商业起保日期</text>
  337. <text>{{biRiskInfoVo.startDate}}</text>
  338. </view>
  339. <view class="table mb-3" v-if="kindInfoVo.length>0">
  340. <view class="header dis a-c j-s">
  341. <text class="th special">商业险</text>
  342. <text class="th">保额</text>
  343. <text class="th">保费</text>
  344. </view>
  345. <view class="tr dis a-c j-c" v-for="(item,index) in kindInfoVo" :key="index">
  346. <text class="td special">{{item.kindName}}</text>
  347. <text v-if="['A'].includes(item.kindCode)" class="td">{{item.amount}}</text>
  348. <text v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)"
  349. class="td">{{convertedValue(item.amount)}}</text>
  350. <text v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)"
  351. class="td">{{item.amount}}%</text>
  352. <text v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(item.kindCode)"
  353. class="td">{{item.amount}}次</text>
  354. <text v-else class="td">{{convertedValue(item.amount)}}</text>
  355. <text class="td">{{item.premium?item.premium:'-'}}</text>
  356. </view>
  357. </view>
  358. <view class="table" v-if="accidentalDrivings.length>0">
  359. <view class="header dis a-c j-s">
  360. <text class="th special">驾意险</text>
  361. <text class="th">单价/数量</text>
  362. <text class="th">保费</text>
  363. </view>
  364. <view class="tr dis a-c j-c" v-for="(item,index) in accidentalDrivings" :key="index">
  365. <text class="td special">{{item.productName}}</text>
  366. <text class="td">{{item.quantity}}份</text>
  367. <text class="td">{{item.sumAmount}}</text>
  368. </view>
  369. </view>
  370. </view>
  371. <!-- 查看更多 -->
  372. <view class="loadMore dis a-c j-c" @click="toggleExpand('isExpanded3')"
  373. :style="{position:isExpanded3?'relative':'absolute'}">
  374. <text>查看更多</text>
  375. <image :src="doubleArrowimg" mode="" :style="{transform:`rotate(${isExpanded3?180:0}deg)`}"></image>
  376. </view>
  377. </view>
  378. </view>
  379. <view class="footer">
  380. <!-- 待核保 -->
  381. <view class="orderAction dis a-c j-s ">
  382. <view class=" dis f-c a-c j-c">
  383. <view class=" totalPrice dis a-end ">
  384. <text>¥</text>
  385. <text>{{costs.sumPremium || 0 }}</text>
  386. </view>
  387. <text class="feeEntry" @click="getfeeEntry">费用信息</text>
  388. </view>
  389. <view class="dis a-c j-s" v-if="isFromShare!='share'">
  390. <view class="btn btns dis a-c j-c " @click="home">
  391. 投保其他车辆
  392. </view>
  393. <view class="btn dis a-c j-c " @click="applyUnderwriting">
  394. 申请核保
  395. </view>
  396. </view>
  397. </view>
  398. </view>
  399. <!-- 系数修改弹窗 -->
  400. <uni-Popup :show="updateDiscountShow" @close="updateDiscountShow=false" :closeable="false"
  401. headerTitle="商业险折扣系数修改" overflow="auto" :headerStyle="{fontSize:'36rpx'}" maxHeight="980rpx" mode="center"
  402. width="90%">
  403. <template #content>
  404. <view class="updateDiscount">
  405. <text class="text ">商业险折扣系数和自主定价系数只能修改一个,修改后系统会重新报价,计算修改后的保费</text>
  406. <u-radio-group v-model="updateDiscountSValue" placement="column" class="mt-3 " activeColor="#FDE935"
  407. iconColor='#333'>
  408. <u-radio label="明月几时有" style="align-items: baseline;">
  409. <view class="dis f-c " style="width: 100%;">
  410. <view class="dis a-start input mb-1">
  411. <text>商业险折扣系数</text>
  412. <text>(0.8521252)</text>
  413. </view>
  414. <u--input placeholder="请输入内容" clearable></u--input>
  415. </view>
  416. </u-radio>
  417. <u-radio label="明月几时有" class="mt-3" style="align-items: baseline;">
  418. <view class="dis f-c " style="width: 100%;">
  419. <view class="dis a-c input mb-1">
  420. <text>自主定价系数</text>
  421. <text>(0.8)</text>
  422. </view>
  423. <u--input disabled placeholder="输入1—100的数字" clearable></u--input>
  424. </view>
  425. </u-radio>
  426. </u-radio-group>
  427. <view class="btn dis mt-3">
  428. <u-button class="mr-2" type="primary" shape="circle" :plain="true" text="关闭" color="#DDDDDD"
  429. @click="updateDiscountShow=false" :customStyle="{color:'#333'}"></u-button>
  430. <u-button type="primary" shape="circle" text="确定" color="#FDE935"
  431. :customStyle="{color:'#1f1f1f'}"></u-button>
  432. </view>
  433. </view>
  434. </template>
  435. </uni-Popup>
  436. <!-- 费用信息展示弹窗 -->
  437. <uni-Popup :show="feeEntryInfoShow" @close="feeEntryInfoShow=false" :closeable="false" headerTitle="费用信息"
  438. overflow="auto" :headerStyle="{fontSize:'36rpx'}" maxHeight="980rpx" mode="center" width="90%">
  439. <template #content>
  440. <view class="feeEntryClass" v-if="insFeeOrders">
  441. <view class="dis a-start j-s data-view">
  442. <text class="title">交强险</text>
  443. <view class="dis f-c discount">
  444. <view class="dis a-c j-s">
  445. <text>保费:</text>
  446. <text class="dis j-end a-c">¥{{insFeeOrders.jqPremium}}</text>
  447. </view>
  448. <view class="dis a-c j-s">
  449. <text>优惠:</text>
  450. <text class="font-weight dis j-end a-c">¥{{insFeeOrders.jqPayablePremium}}</text>
  451. </view>
  452. </view>
  453. </view>
  454. <view class="dis a-start j-s data-view">
  455. <text class="title">商业险</text>
  456. <view class="dis f-c discount">
  457. <view class="dis a-c j-s">
  458. <text>保费:</text>
  459. <text class="dis j-end a-c">¥{{insFeeOrders.syPremium}}</text>
  460. </view>
  461. <view class="dis a-c j-s">
  462. <text>优惠:</text>
  463. <text class="font-weight dis j-end a-c">¥{{insFeeOrders.syPayablePremium}}</text>
  464. </view>
  465. </view>
  466. </view>
  467. <view class="dis a-start j-s data-view">
  468. <text class="title">驾意险</text>
  469. <view class="dis f-c discount">
  470. <view class="dis a-c j-s">
  471. <text>保费:</text>
  472. <text class="dis j-end a-c">¥{{insFeeOrders.jyPremium}}</text>
  473. </view>
  474. <view class="dis a-c j-s">
  475. <text>优惠:</text>
  476. <text class="font-weight dis j-end a-c">¥{{insFeeOrders.jyPayablePremium}}</text>
  477. </view>
  478. </view>
  479. </view>
  480. <view class="discountTotal dis a-c j-s ">
  481. <text class="name">优惠总计</text>
  482. <text class="sum">¥{{insFeeOrders.totalPayablePremium}}</text>
  483. </view>
  484. <view class="footer-btn dis a-c j-c" @click="feeEntryInfoShow=false">
  485. 关闭
  486. </view>
  487. </view>
  488. </template>
  489. </uni-Popup>
  490. <!-- 车船税信息弹窗 -->
  491. <uni-Popup :show="vvTaxDetailsShow" @close='vvTaxDetailsShow=false' headerTitle="车船税" overflow="auto"
  492. maxHeight="580rpx">
  493. <template #content>
  494. <view class="vvTaxDetails-cell dis f-c ">
  495. <view class="cell-item dis a-c j-s">
  496. <text>车船税</text>
  497. <text>{{taxRelifFlagName}}</text>
  498. </view>
  499. <template>
  500. <view class="cell-item dis a-c j-s"
  501. v-if="vehicleAndVesselTaxVo.taxRelifFlag == 2 || vehicleAndVesselTaxVo.taxRelifFlag == 3">
  502. <text>减免税凭证号</text>
  503. <text>{{vehicleAndVesselTaxVo.extendChar2}}</text>
  504. </view>
  505. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag == 4">
  506. <text>完税凭证号</text>
  507. <text>{{vehicleAndVesselTaxVo.paidFreeCertificate}}</text>
  508. </view>
  509. <view class="cell-item dis a-c j-s"
  510. v-if="vehicleAndVesselTaxVo.taxRelifFlag == 2 || vehicleAndVesselTaxVo.taxRelifFlag == 3">
  511. <text>减免税原因</text>
  512. <text>{{vehicleAndVesselTaxVo.relifReason}}</text>
  513. </view>
  514. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag == 3">
  515. <text>减税比例</text>
  516. <text>{{vehicleAndVesselTaxVo.taxRelief}}</text>
  517. </view>
  518. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag !=1">
  519. <text>税务机关代码</text>
  520. <text>{{vehicleAndVesselTaxVo.taxComCode}}</text>
  521. </view>
  522. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag !=1">
  523. <text>税务机关名称</text>
  524. <text>{{vehicleAndVesselTaxVo.taxComName}}</text>
  525. </view>
  526. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag ==4">
  527. <text>完税凭证填发日期</text>
  528. <text>{{vehicleAndVesselTaxVo.taxDocumentDate}}</text>
  529. </view>
  530. <view class="cell-item dis a-c j-s" v-if="vehicleAndVesselTaxVo.taxRelifFlag ==4">
  531. <text>完税凭证地区</text>
  532. <text>{{vehicleAndVesselTaxVo.taxPaidAreaCode}}</text>
  533. </view>
  534. </template>
  535. </view>
  536. </template>
  537. </uni-Popup>
  538. <!-- 优惠方式弹窗 -->
  539. <uni-Popup :show="discountMethodShow" @close='discountMethodShow=false' headerTitle="选择优惠方式" overflow="auto"
  540. maxHeight="580rpx">
  541. <template #content>
  542. <view class="discountMethod-cell dis f-c " v-if="insFeeOrders && insFeeOrders.availableAmount">
  543. <view class="item dis f-c a-start" @click="selectedBenefits">
  544. <text class="title mb-1">客户权益</text>
  545. <text>当前客户出单后,可赠送客户价值 <text class="price"
  546. v-if="insFeeOrders.availableAmount">{{insFeeOrders.availableAmount}}</text> 的权益礼包</text>
  547. </view>
  548. <view class="item dis f-c a-start" @click="discountMethodShow=false,underwritingShow=true">
  549. <text class="title mb-1">现金优惠</text>
  550. <text>选择为当前客户最多优惠<text class="price"
  551. v-if="insFeeOrders.totalExportPremium">{{insFeeOrders.totalExportPremium}}</text>元</text>
  552. </view>
  553. </view>
  554. </template>
  555. </uni-Popup>
  556. <!-- 确认核保提示 -->
  557. <uni-PopupMessage :show="underwritingShow" @close='underwritingShow=false' @cancelEvent='underwritingShow=false'
  558. @confirmEvent="underwritingEvent">
  559. <template #content>
  560. <view class="dis a-c j-c ">
  561. 是否确认提交核保
  562. </view>
  563. </template>
  564. </uni-PopupMessage>
  565. <!-- 右上角分享功能 -->
  566. <uni-share :show="shareShow" @close="shareShow=false" @weixin="weixin" @userSmsShare="userSmsShare"
  567. @copyLink="copyLink" @saveToAlbum="saveToAlbum" @closeModal="shareShow = false">
  568. </uni-share>
  569. <!-- 自定义加载动画 -->
  570. <global-loading :show="loadingShow" :text="loadingText"></global-loading>
  571. </view>
  572. </template>
  573. <script>
  574. import {
  575. turnBase64Image,
  576. dictionaryMatch
  577. } from '@/plugins/utils.js';
  578. import Mixin from './Mixin.js';
  579. export default {
  580. mixins: [Mixin], // 注入 Mixin
  581. data() {
  582. return {
  583. discountMethodShow: false, //选择优惠方式弹窗
  584. feeEntryInfoShow: false, //费用信息弹窗
  585. updateDiscountSValue: "",
  586. insCompanyVo: {}, //保险公司信息
  587. updateDiscountShow: false, //折扣系数修改弹窗
  588. underwritingShow: false, //核保弹窗
  589. loadingShow: false, //加载
  590. loadingText: '加载中', //加载提示文字
  591. shareShow: false, //分享弹窗
  592. doubleArrowimg: "", //箭头图片
  593. editimg: "", //编辑
  594. premiumFactorHeight: 0,
  595. basicInfoHeight: 0,
  596. quotationSchemeHeight: 0,
  597. collapsedHeight: 258,
  598. isExpanded1: false, //展开收起
  599. isExpanded2: false, //展开收起
  600. isExpanded3: false, //展开收起
  601. carInfoVo: {}, //车辆信息
  602. carInfoVo1: {}, //车辆信息
  603. ownersInfo: {}, //车主信息
  604. policyHolderInfo: {}, //投保人信息
  605. insuredPersonInfo: {}, //被保人信息
  606. scoreVo: {}, //保费因素
  607. costs: {}, //报价金额信息
  608. salesmanInfo: {}, //业务员信息
  609. kindInfoVo: [], //商业险险别
  610. accidentalDrivings: [], //驾意险列表
  611. imageVoList: [],
  612. vvTaxDetailsShow: false, //车船税展示弹窗
  613. //车船税form
  614. //字典
  615. car_nature_codeoptions: [], //使用性质
  616. vehicle_use_code01options: [], //营业
  617. vehicle_use_code02options: [], //非营业
  618. car_kind_codeoptions: [], //车辆种类
  619. energy_type_codeoptions: [], //能源类型
  620. car_type_codeoptions: [], //车辆类型
  621. car_tax_codeoptions: [], //车船税类型
  622. taxpayerIdentifieroptions: [], //车船税类型
  623. car_tax_reason_codeoptions: [], //减免税原因
  624. // 影像信息
  625. modificationFlag: false, //影像修改标识
  626. specialInfoVo: [], //已选特约
  627. insFeeOrders: {}, //费用信息
  628. insOrderRightsInfoVo: {}, //权益信息
  629. insOrderRightsInfoDto: null, //权益参数
  630. isFromShare: "",
  631. feeNoDescription: "",
  632. }
  633. },
  634. onShow() {},
  635. async onLoad(options) {
  636. this.loadingShow = true;
  637. try {
  638. this.isFromShare = options.from;
  639. await this.getDicType("car_tax_code"); //车船税类型
  640. await this.getDicType("taxpayerIdentifier"); //纳税人证件类型
  641. await this.getDicType("car_tax_reason_code"); //减免税原因代码
  642. await this.getDicType("car_nature_code"); //使用性质
  643. await this.getDicType("vehicle_use_code", "01"); //营业
  644. await this.getDicType("vehicle_use_code", "02"); //非营业
  645. await this.getDicType("car_kind_code"); //车辆种类
  646. await this.getDicType("energy_type_code"); //能源类型
  647. await this.getDicType("car_type_code"); //车辆类型
  648. await this.details(options.ordersNo); //详情接口
  649. this.loadingShow = false;
  650. const query = uni.createSelectorQuery();
  651. query.select('#basicInfo').boundingClientRect((rect) => {
  652. this.basicInfoHeight = rect.height; // 获取元素高度
  653. }).exec();
  654. query.select('#premiumFactor').boundingClientRect((rect) => {
  655. this.premiumFactorHeight = rect.height; // 获取元素高度
  656. }).exec()
  657. query.select('#quotationScheme').boundingClientRect((rect) => {
  658. this.quotationSchemeHeight = rect.height; // 获取元素高度
  659. }).exec()
  660. } catch (error) {
  661. this.loadingShow = false;
  662. }
  663. },
  664. async mounted() {
  665. this.doubleArrowimg = await turnBase64Image('/static/image/doubleArrow.png');
  666. this.editimg = await turnBase64Image('/static/icon/edit.png')
  667. },
  668. computed: {
  669. //获取车船税类型
  670. taxRelifFlagName() {
  671. let info = this.car_tax_codeoptions.find(ele => ele.value === this.vehicleAndVesselTaxVo.taxRelifFlag)
  672. return info?.description;
  673. },
  674. //报价年份
  675. quoteYear() {
  676. const year = this.order.createTime.slice(0, 4);
  677. return year;
  678. },
  679. },
  680. methods: {
  681. // 查看费用信息
  682. getfeeEntry() {
  683. if (!this.insFeeOrders) {
  684. uni.showToast({
  685. duration: 10000,
  686. icon: 'none',
  687. title: this.feeNoDescription || '未匹配到费用'
  688. })
  689. } else {
  690. this.feeEntryInfoShow = true;
  691. }
  692. },
  693. // 选择权益
  694. selectedBenefits() {
  695. this.discountMethodShow = false;
  696. let params = {
  697. ownersInfo: this.ownersInfo, //车主
  698. policyHolderInfo: this.policyHolderInfo, //投保人
  699. insuredPersonInfo: this.insuredPersonInfo, //被保人
  700. insFeeOrders: this.insFeeOrders, //费用信息
  701. ordersNo: this.ordersNo,
  702. insOrderRightsInfoVo: this.insOrderRightsInfoDto, //权益信息
  703. }
  704. uni.navigateTo({
  705. url: '/pages/reward/customerBenefit?info=' + JSON.stringify(params)
  706. })
  707. },
  708. specialTermsText() {
  709. if (['资金财险', '华泰财险', '国任财险'].includes(this.companyName)) {
  710. return '点击选择'
  711. } else {
  712. return "暂不支持"
  713. }
  714. },
  715. // 补传影像
  716. async uploadRetry() {
  717. const mergedArray = [...this.carImageListId, ...this.ownerImageListId, ...this
  718. .policyHolderImageListId, ...this.insuredPersonImageListId
  719. ];
  720. if (mergedArray.length > 0) {
  721. await this.$http.post('/unify/order/imageSave', {
  722. imageList: mergedArray,
  723. quoteNo: this.quoteNo,
  724. })
  725. }
  726. },
  727. applyUnderwriting() {
  728. uni.hideToast();
  729. if (this.insFeeOrders?.availableAmount && !this.insOrderRightsInfoDto) {
  730. this.discountMethodShow = true;
  731. } else {
  732. this.underwritingShow = true
  733. }
  734. },
  735. //调用核保接口
  736. async underwritingEvent() {
  737. if (this.loadingShow) {
  738. return; //防重入:loading期间忽略重复触发
  739. }
  740. this.underwritingShow = false; //关闭弹窗
  741. this.loadingText = "核保中";
  742. this.loadingShow = true; //加载loading
  743. if (this.modificationFlag) {
  744. // 修改影像后,补传影像
  745. await this.uploadRetry();
  746. }
  747. let images = await this.$http.post('/unify/order/imagesUpload', {
  748. order: {
  749. ordersNo: this.order.ordersNo,
  750. quoteNo: this.order.quoteNo
  751. },
  752. imageVoList: [...this.carImageListId, ...this.ownerImageListId, ...this
  753. .policyHolderImageListId, ...this.insuredPersonImageListId
  754. ]
  755. }); //影像提交保险公司
  756. if (images.code == '200') { //核保
  757. // specialAppointmentsVos=[] 特约
  758. let underwriting = await this.$http.post('/unify/order/underwriting', {
  759. order: {
  760. ordersNo: this.ordersNo,
  761. },
  762. insOrderRightsInfoDto: this.insOrderRightsInfoDto,
  763. });
  764. if (underwriting.code == '200') {
  765. let res = await this.$http.get('/supplementOrder/getOrderDetail?ordersNo=' + this.ordersNo);
  766. if (res.code == '200') {
  767. this.orderStatus = res.data.order.orderStatus; //订单状态
  768. // 状态为人工处理跳转页面
  769. if (this.orderStatus == 3) {
  770. uni.navigateTo({
  771. url: '/pages/quote/manualUnderwritingPage?Info=' + JSON.stringify(res
  772. .data),
  773. })
  774. }
  775. }
  776. this.loadingShow = false;
  777. uni.showToast({
  778. icon: 'none',
  779. title: '核保成功'
  780. })
  781. // 核保成功后查询支付码并跳转支付码页面
  782. if (this.orderStatus != 3) { //人工处理已跳转,不再查询支付码
  783. await this.queryPaymentCode();
  784. }
  785. } else {
  786. this.loadingShow = false;
  787. uni.showToast({
  788. icon: 'none',
  789. duration: 10000,
  790. title: underwriting.msg
  791. })
  792. }
  793. } else {
  794. this.loadingShow = false;
  795. uni.showToast({
  796. icon: 'none',
  797. title: images.msg
  798. })
  799. }
  800. },
  801. //查询支付码并跳转(含延时过渡与异常兜底)
  802. async queryPaymentCode() {
  803. this.loadingText = "查询支付码中";
  804. this.loadingShow = true;
  805. try {
  806. const preDelay = 1000; //查询前loading「查询支付码中」展示时长(毫秒)
  807. const navDelay = 1000; //成功后「正在前往支付页面」展示时长(毫秒)
  808. // 查询前:loading「查询支付码中」转1秒再请求接口
  809. await new Promise(resolve => setTimeout(resolve, preDelay));
  810. let qrCode = await this.$http.get('/order/qrCode/getQrCode?orderNo=' + encodeURIComponent(this
  811. .ordersNo));
  812. if (qrCode.code == '200') {
  813. // 成功后:loading文字改为"正在前往支付页面",再转1秒后跳转
  814. this.loadingText = "正在前往支付页面";
  815. await new Promise(resolve => setTimeout(resolve, navDelay));
  816. this.loadingShow = false;
  817. uni.navigateTo({
  818. url: '/pages/quote/paymentCode?ordersNo=' + encodeURIComponent(this.ordersNo),
  819. })
  820. } else {
  821. this.loadingShow = false;
  822. uni.showToast({
  823. icon: 'none',
  824. title: qrCode.msg
  825. })
  826. }
  827. } catch (error) {
  828. this.loadingShow = false;
  829. uni.showToast({
  830. icon: 'none',
  831. title: '支付码查询失败'
  832. })
  833. }
  834. },
  835. //影像资料
  836. mediaFiles() {
  837. uni.navigateTo({
  838. url: "/pages/quote/imageGalleryPage?quoteNo=" + this.quoteNo,
  839. })
  840. },
  841. //特别约定
  842. specialTerms() {
  843. uni.navigateTo({
  844. url: "/pages/quote/specialAgreementPage?companyId=" + this.insCompanyVo.id + '&productId=' +
  845. this.order.productId +
  846. '&specialInfoVo=' + JSON.stringify(this.specialInfoVo),
  847. })
  848. },
  849. //分享微信
  850. weixin() {
  851. // #ifdef APP-PLUS
  852. uni.share({
  853. provider: "weixin",
  854. scene: "WXSceneSession",
  855. type: 0,
  856. href: this.$base.h5BaseUrl +
  857. `/#/pages/quote/quotation?ordersNo=${this.ordersNo}`,
  858. title: `${this.companyName}${this.quoteYear}年的车险报价`,
  859. summary: `${this.companyName}报价完成,保费:${this.costs.sumPremium}元,点击查看详情`,
  860. imageUrl: "/static/image/zgcx.png",
  861. success: function(res) {},
  862. fail: function(err) {}
  863. });
  864. // #endif
  865. // #ifdef H5
  866. uni.showToast({
  867. icon: 'none',
  868. title: "请到App中操作"
  869. })
  870. // #endif
  871. },
  872. //短信分享
  873. userSmsShare() {
  874. // #ifdef APP-PLUS
  875. var msg = plus.messaging.createMessage(plus.messaging.TYPE_SMS);
  876. msg.to = [this.policyHolderInfo.name]; //投保人手机号
  877. msg.body =
  878. `【${this.salesmanInfo.systemShortName}】尊敬的【${this.carInfoVo.licenseNo}】车主,${this.companyName}${this.quoteYear}年车险报价:${this.costs.sumPremium}元;联系人:${this.salesmanInfo.name} ${this.salesmanInfo.mobile},点击链接查看详情或电话咨询联系人${this.$base.h5BaseUrl + `/#/pages/quote/quotation?ordersNo=${this.ordersNo}`}`;
  879. plus.messaging.sendMessage(msg);
  880. // #endif
  881. // #ifdef H5
  882. uni.showToast({
  883. icon: 'none',
  884. title: "请到App中操作"
  885. })
  886. // #endif
  887. },
  888. //复制链接
  889. copyLink() {
  890. uni.setClipboardData({
  891. data: this.$base.h5BaseUrl +
  892. `/#/pages/quote/quotation?ordersNo=${this.ordersNo}`, //要被复制的内容
  893. success: () => { //复制成功的回调函数
  894. uni.showToast({ //提示
  895. icon: 'none',
  896. title: '链接已复制'
  897. })
  898. }
  899. });
  900. },
  901. //数据字典
  902. async getDicType(type, vehicle) {
  903. if (vehicle) {
  904. let res = await this.$http.get(`/dict/get?dictCode=${type}&parentValue=${vehicle}`);
  905. this[type + vehicle + "options"] = res.data;
  906. } else {
  907. let res = await this.$http.get('/dict/get?dictCode=' + type);
  908. this[type + "options"] = res.data;
  909. }
  910. },
  911. //数字格式化
  912. convertedValue(num) {
  913. if (!num) {
  914. return "-";
  915. }
  916. if (num < 10000) {
  917. return num.toString();
  918. } else if (num < 100000000) {
  919. return (Math.floor(num / 10000 * 10) / 10) + '万';
  920. } else {
  921. return (Math.floor(num / 100000000 * 10) / 10) + '亿';
  922. }
  923. },
  924. async details(orderno) {
  925. let res = await this.$http.get('/supplementOrder/getOrderDetail?ordersNo=' + orderno+'&form='+this.isFromShare);
  926. if (res.code == 200) {
  927. this.orderStatus = res.data.order.orderStatus; //订单状态
  928. this.companyName = res.data.order.companyName; //保险公司简称
  929. this.insCompanyVo = res.data.insCompanyVo[0]; //保险公司信息
  930. this.ordersNo = res.data.order.ordersNo; //订单号
  931. this.quoteNo = res.data.order.quoteNo; //报价号
  932. this.ciRiskInfoVo = res.data.ciRiskInfoVo; //交强大类
  933. this.biRiskInfoVo = res.data.biRiskInfoVo; //商业大类
  934. this.costs = res.data.costs; //报价金额信息
  935. this.policy = res.data.policy; //保单号信息
  936. this.kindInfoVo = res.data.kindInfoVo; //商业险险别
  937. this.accidentalDrivings = res.data.accidentalDrivings; //驾意险
  938. this.carInfoVo = res.data.carInfoVo; //车辆信息
  939. this.ownersInfo = res.data.ownersInfo; //车主信息
  940. this.policyHolderInfo = res.data.policyHolderInfo; //投保人信息
  941. this.insuredPersonInfo = res.data.insuredPersonInfo; //被保人信息
  942. this.scoreVo = res.data.scoreVo; //保费因素
  943. this.vehicleAndVesselTaxVo = res.data.vehicleAndVesselTaxVo; //车船税信息
  944. this.salesmanInfo = res.data.salesmanInfo; //业务员信息
  945. this.insFeeOrders = res.data.insFeeOrders; //费用信息
  946. this.feeNoDescription = res.data.feeNoDescription; //未匹配费用提示信息
  947. this.insOrderRightsInfoVo = res.data.insOrderRightsInfoVo; //权益详情
  948. this.imageVoList = res.data.imageVoList;
  949. this.order = res.data.order;
  950. this.imageEcho(res.data.imageVoList) // 影像获取完毕
  951. // 去掉this.kindInfoVo中的交强险
  952. this.kindInfoVo = this.kindInfoVo.filter(item => item.kindCode != 'J1')
  953. this.carInfoVo1.carNatureCode = dictionaryMatch(this.car_nature_codeoptions, res
  954. .data.carInfoVo
  955. .carNatureCode)
  956. if (res.data.carInfoVo.carNatureCode == '01') {
  957. this.carInfoVo1.vehicleUseCode = dictionaryMatch(this
  958. .vehicle_use_code01options,
  959. res.data
  960. .carInfoVo
  961. .vehicleUseCode)
  962. } else {
  963. this.carInfoVo1.vehicleUseCode = dictionaryMatch(this
  964. .vehicle_use_code02options,
  965. res.data
  966. .carInfoVo
  967. .vehicleUseCode)
  968. }
  969. this.carInfoVo1.carTypeCode = dictionaryMatch(this.car_type_codeoptions, res.data
  970. .carInfoVo
  971. .carTypeCode)
  972. this.carInfoVo1.carKindCode = dictionaryMatch(this.car_kind_codeoptions, res.data
  973. .carInfoVo
  974. .carKindCode)
  975. this.carInfoVo1.energyTypeCode = dictionaryMatch(this.energy_type_codeoptions, res
  976. .data
  977. .carInfoVo
  978. .energyTypeCode)
  979. }
  980. },
  981. //右上角分享
  982. share() {
  983. this.shareShow = true;
  984. },
  985. toggleExpand(name) {
  986. this[name] = !this[name];
  987. },
  988. }
  989. }
  990. </script>
  991. <style lang="scss" scoped>
  992. .page {
  993. height: 100%;
  994. background-color: #F8F8F8;
  995. box-sizing: border-box;
  996. }
  997. .content {
  998. padding: 20rpx 30rpx 186rpx;
  999. box-sizing: border-box;
  1000. //过户信息
  1001. .transfer {
  1002. padding: 30rpx;
  1003. box-sizing: border-box;
  1004. background: #fff;
  1005. border-radius: 20rpx;
  1006. .item {
  1007. width: 50%;
  1008. text:first-child {
  1009. width: 80%;
  1010. font-size: 28rpx;
  1011. color: #666;
  1012. }
  1013. text:last-child {
  1014. width: 20%;
  1015. font-size: 28rpx;
  1016. color: #333;
  1017. }
  1018. }
  1019. .item:nth-child(3) {
  1020. width: 100%;
  1021. text:first-child {
  1022. width: 25%;
  1023. font-size: 28rpx;
  1024. color: #666;
  1025. }
  1026. text:last-child {
  1027. width: 75%;
  1028. font-size: 28rpx;
  1029. color: #333;
  1030. }
  1031. }
  1032. .Attachment {
  1033. width: 100%;
  1034. >view {
  1035. position: relative;
  1036. width: 50%;
  1037. padding: 16rpx 30rpx;
  1038. box-sizing: border-box;
  1039. background-color: #1F1F1F;
  1040. image {
  1041. width: 108rpx;
  1042. height: 108rpx;
  1043. position: absolute;
  1044. top: 0;
  1045. right: 0;
  1046. }
  1047. .title {
  1048. font-size: 30rpx;
  1049. font-weight: 400;
  1050. color: #333;
  1051. }
  1052. .smallText {
  1053. font-size: 24rpx;
  1054. color: #999;
  1055. }
  1056. }
  1057. >view:first-child {
  1058. background: linear-gradient(180deg, #FFF6EB 0%, #FFFCF3 100%);
  1059. border-radius: 15rpx;
  1060. margin-right: 18rpx;
  1061. }
  1062. >view:last-child {
  1063. background: linear-gradient(180deg, #E7FDF8 0%, #F6FFFD 100%);
  1064. border-radius: 15rpx;
  1065. }
  1066. }
  1067. }
  1068. //内容区域
  1069. .view {
  1070. position: relative;
  1071. background-color: #fff;
  1072. border-radius: 20rpx;
  1073. overflow: hidden;
  1074. margin-top: 20rpx;
  1075. //头部背景
  1076. .header-title {
  1077. padding: 20rpx;
  1078. box-sizing: border-box;
  1079. background: linear-gradient(180deg, #FFFCEA 0%, #FFFFFF 100%);
  1080. border-radius: 20rpx 20rpx 0 0;
  1081. border-top: 1rpx solid #FFE1A4;
  1082. font-size: 32rpx;
  1083. color: #333;
  1084. font-weight: bold;
  1085. }
  1086. .items {
  1087. padding: 0 20rpx 20rpx;
  1088. box-sizing: border-box;
  1089. .item {
  1090. margin-bottom: 30rpx;
  1091. >:first-child {
  1092. font-size: 30rpx;
  1093. color: #666;
  1094. }
  1095. >:last-child {
  1096. font-size: 30rpx;
  1097. color: #333;
  1098. font-weight: bold;
  1099. }
  1100. }
  1101. .table {
  1102. width: 100%;
  1103. border-radius: 4rpx;
  1104. border: 1rpx solid #FFD9D9;
  1105. .header {
  1106. background-color: #FFF8F8;
  1107. border-radius: 4rpx 4rpx 0 0;
  1108. .th {
  1109. padding: 15rpx;
  1110. box-sizing: border-box;
  1111. text-align: center;
  1112. font-size: 28rpx;
  1113. color: #FF5B45;
  1114. flex: 1;
  1115. }
  1116. .th.special {
  1117. flex: 2;
  1118. }
  1119. }
  1120. .tr {
  1121. .td {
  1122. padding: 15rpx;
  1123. box-sizing: border-box;
  1124. text-align: center;
  1125. font-size: 28rpx;
  1126. flex: 1;
  1127. }
  1128. .td.special {
  1129. flex: 2;
  1130. }
  1131. }
  1132. .tr:nth-child(odd) {
  1133. background-color: #FBFBFB;
  1134. }
  1135. }
  1136. }
  1137. }
  1138. }
  1139. .userinfo {
  1140. margin-top: 24rpx;
  1141. .userinfo-header {
  1142. font-weight: bold;
  1143. font-size: 30rpx;
  1144. color: #333;
  1145. .tag {
  1146. width: 6rpx;
  1147. height: 30rpx;
  1148. background: #FDE935;
  1149. border-radius: 0rpx 6rpx 6rpx 0rpx;
  1150. margin-right: 6rpx;
  1151. }
  1152. }
  1153. .content {
  1154. padding: 20rpx 0;
  1155. box-sizing: border-box;
  1156. .item {
  1157. margin-bottom: 30rpx;
  1158. text:first-child {
  1159. font-size: 30rpx;
  1160. color: #666;
  1161. }
  1162. text:last-child {
  1163. font-size: 30rpx;
  1164. color: #333;
  1165. font-weight: bold;
  1166. width: 75%;
  1167. text-align: right;
  1168. }
  1169. }
  1170. }
  1171. }
  1172. //查看更多
  1173. .loadMore {
  1174. position: absolute;
  1175. bottom: 0;
  1176. left: 0;
  1177. right: 0;
  1178. padding: 20rpx;
  1179. box-sizing: border-box;
  1180. background: linear-gradient(0, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
  1181. text {
  1182. font-size: 28rpx;
  1183. color: #999;
  1184. }
  1185. image {
  1186. width: 24rpx;
  1187. height: 24rpx;
  1188. margin-left: 4rpx;
  1189. transition: transform 0.5s;
  1190. /* 添加过渡效果 */
  1191. }
  1192. }
  1193. //车船税
  1194. .vvTax-Tag {
  1195. padding: 4rpx 20rpx;
  1196. box-sizing: border-box;
  1197. background: #FF5B45;
  1198. border-radius: 20rpx 20rpx 20rpx 20rpx;
  1199. font-size: 26rpx;
  1200. color: #fff;
  1201. line-height: 1.2;
  1202. }
  1203. //默认高度
  1204. .collapsed {
  1205. max-height: 516rpx;
  1206. /* 露出部分的高度 */
  1207. }
  1208. // 车船税弹窗
  1209. .vvTaxDetails-cell {
  1210. padding: 40rpx;
  1211. box-sizing: border-box;
  1212. .cell-item {
  1213. font-size: 30rpx;
  1214. color: #333;
  1215. margin-bottom: 30rpx;
  1216. text:last-child {
  1217. font-weight: bold;
  1218. }
  1219. }
  1220. .cell-item:last-child {
  1221. margin-bottom: 0;
  1222. }
  1223. }
  1224. //底部样式
  1225. .footer {
  1226. position: fixed;
  1227. bottom: 0;
  1228. left: 0;
  1229. right: 0;
  1230. padding: 25rpx 30rpx 55rpx;
  1231. box-sizing: border-box;
  1232. background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 254, 245, 0.7) 100%);
  1233. border-radius: 0rpx 0rpx 0rpx 0rpx;
  1234. backdrop-filter: blur(12rpx);
  1235. .totalPrice {
  1236. text {
  1237. font-size: 28rpx;
  1238. color: #FF540A;
  1239. font-weight: bold;
  1240. }
  1241. text:last-child {
  1242. font-size: 42rpx;
  1243. font-weight: bold;
  1244. }
  1245. }
  1246. .feeEntry {
  1247. font-size: 24rpx;
  1248. color: #FFAC1D;
  1249. cursor: pointer;
  1250. }
  1251. .btn {
  1252. background: #FDE935;
  1253. padding: 25rpx 30rpx;
  1254. box-sizing: border-box;
  1255. border-radius: 58rpx 58rpx 58rpx 58rpx;
  1256. font-size: 30rpx;
  1257. color: #1F1F1F;
  1258. font-weight: bold;
  1259. margin: 0 10rpx;
  1260. }
  1261. //操作按钮特殊样式
  1262. .btns {
  1263. background: rgba(253, 233, 53, 0.2);
  1264. border: 1rpx solid #FDE935;
  1265. padding: 22rpx 30rpx;
  1266. }
  1267. }
  1268. .colorBlock {
  1269. width: 54rpx;
  1270. height: 54rpx;
  1271. background: #FDE935;
  1272. border-radius: 10rpx 10rpx 10rpx 10rpx;
  1273. margin-left: 12rpx;
  1274. image {
  1275. width: 34rpx;
  1276. height: 34rpx;
  1277. }
  1278. }
  1279. // 商业险折扣系数样式
  1280. .updateDiscount {
  1281. padding: 40rpx;
  1282. box-sizing: border-box;
  1283. .text {
  1284. font-size: 28rpx;
  1285. color: #666;
  1286. }
  1287. .input {
  1288. font-size: 32rpx;
  1289. color: #333;
  1290. text:last-child {
  1291. color: #999;
  1292. margin-left: 10rpx;
  1293. }
  1294. }
  1295. .btn {}
  1296. }
  1297. .feeEntryClass {
  1298. padding: 0 40rpx 40rpx;
  1299. box-sizing: border-box;
  1300. .data-view {
  1301. padding: 20rpx 0;
  1302. box-sizing: border-box;
  1303. border-bottom: 1rpx solid #eee;
  1304. .title {
  1305. font-size: 30rpx;
  1306. color: #666;
  1307. }
  1308. .discount {
  1309. width: 45%;
  1310. >view {
  1311. text:first-child {
  1312. font-size: 28rpx;
  1313. color: #999;
  1314. }
  1315. text:last-child {
  1316. font-size: 30rpx;
  1317. color: #333;
  1318. }
  1319. }
  1320. }
  1321. }
  1322. .discountTotal {
  1323. padding: 20rpx 0;
  1324. box-sizing: border-box;
  1325. .name {
  1326. font-size: 30rpx;
  1327. color: #333;
  1328. }
  1329. .sum {
  1330. font-size: 32rpx;
  1331. color: #FF540A;
  1332. font-weight: bold;
  1333. }
  1334. }
  1335. .footer-btn {
  1336. width: 100%;
  1337. padding: 20rpx;
  1338. box-sizing: border-box;
  1339. background: rgba(253, 233, 53, 0.1);
  1340. border-radius: 45rpx 45rpx 45rpx 45rpx;
  1341. border: 1rpx solid #FDE935;
  1342. margin-top: 20rpx;
  1343. }
  1344. }
  1345. .customerRights {
  1346. padding: 20rpx 30rpx;
  1347. box-sizing: border-box;
  1348. background-color: #fff;
  1349. border-radius: 20rpx;
  1350. margin: 20rpx 0;
  1351. .header {
  1352. text {
  1353. font-size: 34rpx;
  1354. color: #333;
  1355. font-weight: bold;
  1356. }
  1357. .btn {
  1358. padding: 8rpx 20rpx;
  1359. box-sizing: border-box;
  1360. font-size: 28rpx;
  1361. color: #1F1F1F;
  1362. background: #FDE935;
  1363. border-radius: 50rpx 50rpx 50rpx 50rpx;
  1364. }
  1365. }
  1366. .customerRights-content {
  1367. font-size: 28rpx;
  1368. color: #666;
  1369. }
  1370. }
  1371. .discountMethod-cell {
  1372. padding: 14rpx 30rpx 44rpx;
  1373. box-sizing: border-box;
  1374. .item {
  1375. padding: 16rpx 0;
  1376. box-sizing: border-box;
  1377. border-bottom: 1rpx solid #eee;
  1378. .title {
  1379. font-size: 32rpx;
  1380. color: #333;
  1381. font-weight: bold;
  1382. }
  1383. text:last-child {
  1384. font-size: 30rpx;
  1385. color: #666;
  1386. .price {
  1387. font-size: 30rpx;
  1388. color: #FF540A;
  1389. }
  1390. }
  1391. }
  1392. }
  1393. </style>