quoteRecordDetail.vue 43 KB

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