quoteDetail1.vue 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119
  1. <template>
  2. <view :style="getHeight" style="background-color: #F5F5F5;">
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <!-- 头部 -->
  6. <view class="carInfo w-100 p-3 box-sizing">
  7. <view class="d-flex mb-1">
  8. <view class="topLeft d-flex flex-1 flex-column">
  9. <view class="license">{{this.licenseNo}} | {{carInfo.modelcname}}</view>
  10. <view class="totalMoney">¥{{sumPermium}}</view>
  11. </view>
  12. <view class="topRight d-flex a-center j-center">
  13. <image :src="icon" mode="aspectFit" lazy-load></image>
  14. </view>
  15. </view>
  16. <view class="other d-flex j-sb px-3">
  17. <view class="d-flex flex-1 a-center">
  18. <view class="privilege d-flex a-center j-center flex-shrink px-2">特权</view>
  19. <view class="content">每月自动查违章,无违章领奖励</view>
  20. </view>
  21. <view class="flex-shrink icon iconfont icon-youjiantou d-flex a-center font-sm"></view>
  22. </view>
  23. </view>
  24. <view>
  25. <view class="welfare">
  26. <view class="header d-flex a-center j-sb">
  27. <view class="title">投保享福利</view>
  28. <view class="icon iconfont icon-youjiantou d-flex a-center" style="font-size: 24upx;"></view>
  29. </view>
  30. <view class="body d-flex">
  31. <view class="welfareItem">
  32. <view class="name">2次体检服务</view>
  33. <view class="content">八项检查:血常规,尿常规,心电图等</view>
  34. </view>
  35. <view class="welfareItem">
  36. <view class="name">2次体检服务</view>
  37. <view class="content">八项检查:血常规,尿常规,心电图等</view>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="quotePlan">
  42. <view class="header d-flex a-center j-sb">
  43. <view class="title">报价方案</view>
  44. <template v-if="((orderstatus == 0) ||(orderstatus == 3)) && (!!token)">
  45. <view class="adjustPlan" @tap="toInsureItems">调整方案</view>
  46. </template>
  47. </view>
  48. <view class="body">
  49. <view class="insurance">
  50. <block v-for="(item,index) in riskList" :key="index">
  51. <template v-if="item.riskCode=='0507'">
  52. <view class="row d-flex a-center j-sb">
  53. <view class="d-flex a-center">交强险 <view class="date">起保日期:{{orderInfo.jqstartdate}}
  54. </view>
  55. </view>
  56. <view>¥{{jqpremium}}</view>
  57. </view>
  58. <view class="row d-flex a-center j-sb">
  59. <view class="d-flex a-center">车船税</view>
  60. <view>¥{{taxAmount}}</view>
  61. </view>
  62. <view class="row d-flex a-center j-sb" v-if="jypremium">
  63. <view class="d-flex a-center">驾意险</view>
  64. <view>¥{{jypremium}}</view>
  65. </view>
  66. </template>
  67. </block>
  68. <block v-for="(item,index) in riskList" :key="index">
  69. <template v-if="item.riskCode == '0510'">
  70. <view class="row d-flex a-center j-sb">
  71. <view class="d-flex a-center">商业险 <view class="date">起保日期:{{orderInfo.systartdate}}
  72. </view>
  73. </view>
  74. <view>¥{{sypremium}}</view>
  75. </view>
  76. </template>
  77. </block>
  78. <view class="kindList" v-if="kindList.length>0">
  79. <view class="kindItem d-flex a-center j-sb">
  80. <view class="d-flex flex-1">商业险险别</view>
  81. <view class="flex-1 d-flex a-center j-center">保额(元)</view>
  82. <view class="d-flex flex-1 j-end">保费(元)</view>
  83. </view>
  84. <block v-for="(item,index) in kindList" :key="index">
  85. <template v-if="item.coveragePremium">
  86. <view class="kindItem d-flex a-center j-sb">
  87. <view class="d-flex flex-1" style="width: 300px;">{{item.kindName}}</view>
  88. <text v-if="['A'].includes(item.kindCode)">投保</text>
  89. <text
  90. v-else-if="['D4', 'SY_FJ_YBW2'].includes(item.kindCode)">{{toChinesNum(item.unitAmount)}}/{{orderInfo.carinfo.seatCount-1}}座
  91. </text>
  92. <text
  93. v-else-if="['MJ1', 'MJ2', 'MJ3', 'MJ4'].includes(item.kindCode)">{{item.deductibleRate}}%</text>
  94. <text v-else>{{toChinesNum(item.amount)}}</text>
  95. <view class="d-flex flex-1 j-end">¥{{item.coveragePremium}}</view>
  96. </view>
  97. </template>
  98. </block>
  99. </view>
  100. </view>
  101. <view class="addedServices" v-if="kindList.length>0">
  102. <view class="row d-flex a-center j-sb">
  103. <view class="d-flex">增值服务<view class="d-flex a-center"
  104. style="color:#999;margin-left: 10upx;font-size: 24upx;">不收费,使用不影响明年保费</view>
  105. </view>
  106. <view>赠送</view>
  107. </view>
  108. <view class="kindList">
  109. <view class="kindItem d-flex a-center j-sb">
  110. <view>道路救援</view>
  111. <view class="d-flex j-end">7次</view>
  112. </view>
  113. <view class="kindItem d-flex a-center j-sb">
  114. <view>代为送检</view>
  115. <view class="d-flex j-end">1次</view>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. </view>
  121. <view class="quotePlan">
  122. <view class="header d-flex a-center j-sb">
  123. <view class="title">{{name}}官方无忧理赔</view>
  124. </view>
  125. <view class="body d-flex" style="flex-wrap: wrap;">
  126. <view
  127. style="width: 50%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; padding-right: 20upx;box-sizing: border-box;">
  128. 智慧理赔服务</view>
  129. <view
  130. style="width: 50%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;padding-right: 20upx;box-sizing: border-box;">
  131. 异地出险全国通赔</view>
  132. <view
  133. style="width: 50%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;padding-right: 20upx;box-sizing: border-box;">
  134. 掌柜车险管控质量</view>
  135. </view>
  136. </view>
  137. <!-- <template v-if="!!token">
  138. <view class="quotePlan">
  139. <view class="header d-flex a-center j-sb">
  140. <view class="title">优惠政策</view>
  141. </view>
  142. <view class="body">
  143. <view class="insurance">
  144. <view class="row d-flex a-center j-sb">
  145. <view class="d-flex a-center flex-1">险种</view>
  146. <view class="d-flex a-center j-center flex-1">优惠比例</view>
  147. <view class="d-flex j-end flex-1">优惠金额</view>
  148. </view>
  149. <block v-for="(item,index) in riskList" :key="index">
  150. <template v-if="item.riskCode == '0507'">
  151. <view class="row d-flex a-center j-sb">
  152. <view class="d-flex a-center flex-1">交强险</view>
  153. <view class="d-flex a-center j-center flex-1">{{jqdiscountrate}}%</view>
  154. <view class="d-flex j-end flex-1">
  155. {{(item.premium*jqdiscountrate/100).toFixed(2)}}
  156. </view>
  157. </view>
  158. </template>
  159. </block>
  160. <block v-for="(item,index) in riskList" :key="index">
  161. <template v-if="item.riskCode == '0510'">
  162. <view class="row d-flex a-center j-sb">
  163. <view class="d-flex a-center flex-1">商业险</view>
  164. <view class="d-flex a-center j-center flex-1">{{sydiscountrate}}%</view>
  165. <view class="d-flex j-end flex-1">
  166. {{(item.premium*sydiscountrate/100).toFixed(2)}}
  167. </view>
  168. </view>
  169. </template>
  170. </block>
  171. </view>
  172. </view>
  173. </view>
  174. </template> -->
  175. <view class="car">
  176. <view class="header d-flex a-center j-sb">
  177. <view class="title">保费因素</view>
  178. <view class="adjustPlan d-flex" @tap="showextendInfo = !showextendInfo">
  179. <view class="icon iconfont icon-xiala" style="margin-left: 15upx;"></view>
  180. </view>
  181. </view>
  182. <view class="body" v-if="showextendInfo">
  183. <view class="row d-flex a-center j-sb">
  184. <view>评分</view>
  185. <view>{{extendInfo.score}}</view>
  186. </view>
  187. <view class="row d-flex a-center j-sb">
  188. <view>出险信息</view>
  189. <view style="width: 200px;">{{extendInfo.accidentInfoStr}}</view>
  190. </view>
  191. <view class="row d-flex a-center j-sb">
  192. <view>商业险折扣比例</view>
  193. <view>{{extendInfo.nirrratio}}</view>
  194. </view>
  195. <view class="row d-flex a-center j-sb">
  196. <view>交强险折扣比例</view>
  197. <view>{{extendInfo.nirrratioCI }}</view>
  198. </view>
  199. <view class="row d-flex a-center j-sb">
  200. <view>自主定价系数</view>
  201. <view>{{extendInfo.pricingAdjustValue}}</view>
  202. </view>
  203. <view class="row d-flex a-center j-sb">
  204. <view>业务员交强险销售费用浮动率</view>
  205. <view>{{extendInfo.jqFeeSaleChangeRateA4}}</view>
  206. </view>
  207. <view class="row d-flex a-center j-sb">
  208. <view>交强深度定价分档</view>
  209. <view>{{extendInfo.deepPriceGradeCI}}</view>
  210. </view>
  211. <view class="row d-flex a-center j-sb">
  212. <view>业务员商业险销售费用浮动率</view>
  213. <view>{{extendInfo.syFeeSaleChangeRateA4}}</view>
  214. </view>
  215. <view class="row d-flex a-center j-sb">
  216. <view>商业深度定价分档</view>
  217. <view>{{extendInfo.deepPriceGradeBI}}</view>
  218. </view>
  219. </view>
  220. </view>
  221. <view class="car">
  222. <view class="header d-flex a-center j-sb">
  223. <view class="title">车辆信息</view>
  224. <view class="adjustPlan d-flex" @tap="showCarInfo = !showCarInfo">{{carInfo.licenseNo}}
  225. <view class="icon iconfont icon-xiala" style="margin-left: 15upx;"></view>
  226. </view>
  227. </view>
  228. <view class="body" v-if="showCarInfo">
  229. <view class="row d-flex a-center j-sb">
  230. <view>品牌型号</view>
  231. <view>{{carInfo.brandName}}</view>
  232. </view>
  233. <view class="row d-flex a-center j-sb">
  234. <view>车辆识别代码</view>
  235. <view>{{carInfo.vinNo}}</view>
  236. </view>
  237. <view class="row d-flex a-center j-sb">
  238. <view>发动机号</view>
  239. <view>{{carInfo.engineNo}}</view>
  240. </view>
  241. <view class="row d-flex a-center j-sb">
  242. <view>注册日期</view>
  243. <view>{{carInfo.registerDate }}</view>
  244. </view>
  245. <view class="row d-flex a-center j-sb">
  246. <view>核定载人数</view>
  247. <view>{{carInfo.seatCount}}</view>
  248. </view>
  249. <view class="row d-flex a-center j-sb">
  250. <view>车主</view>
  251. <view>{{ownerInfo.name}}</view>
  252. </view>
  253. </view>
  254. </view>
  255. <template>
  256. <view class="personInfo">
  257. <view class="title d-flex a-center j-sb">
  258. <text style="font-weight: bold;">车主</text>
  259. <view class="showStatus" @tap="controlShow('showOwerInfo')">{{showOwerInfo?'收起':'展开'}}</view>
  260. </view>
  261. <view class="content" v-if="showOwerInfo">
  262. <view class="row d-flex a-center">
  263. <view class="left">姓名:</view>
  264. <view class="right d-flex flex-1">{{ownerInfo.name}}</view>
  265. </view>
  266. <view class="row d-flex a-center">
  267. <view class="left">证件类型:</view>
  268. <view class="right flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}</view>
  269. </view>
  270. <view class="row d-flex a-center">
  271. <view class="left">手机号:</view>
  272. <view class="right flex-1">{{ownerInfo.mobile}}</view>
  273. </view>
  274. <view class="row d-flex a-center">
  275. <view class="left">证件号:</view>
  276. <view class="right flex-1">{{ownerInfo.identifyNumber}}</view>
  277. </view>
  278. <view class="row d-flex a-center"
  279. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  280. <view class="left">地址:</view>
  281. <view class="right flex-1">{{ownerInfo.addr}}</view>
  282. </view>
  283. </view>
  284. </view>
  285. <!-- 投保人信息 -->
  286. <view class="personInfo">
  287. <view class="title d-flex a-center j-sb">
  288. <text style="font-weight: bold;">投保人</text>
  289. <view class="showStatus" @tap="controlShow('showPolicyHolderInfo')">
  290. {{showPolicyHolderInfo?'收起':'展开'}}
  291. </view>
  292. </view>
  293. <view class="content" v-if="showPolicyHolderInfo">
  294. <view class="row d-flex a-center">
  295. <view class="left">姓名:</view>
  296. <view class="right d-flex flex-1">{{policyHolderInfo.name}}</view>
  297. </view>
  298. <view class="row d-flex a-center">
  299. <view class="left">证件类型:</view>
  300. <view class="right d-flex flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}
  301. </view>
  302. </view>
  303. <view class="row d-flex a-center">
  304. <view class="left">手机号:</view>
  305. <view class="right d-flex flex-1">{{policyHolderInfo.mobile}}</view>
  306. </view>
  307. <view class="row d-flex a-center">
  308. <view class="left">证件号:</view>
  309. <view class="right d-flex flex-1">{{policyHolderInfo.identifyNumber}}</view>
  310. </view>
  311. <view class="row d-flex a-center"
  312. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  313. <view class="left">地址:</view>
  314. <view class="right d-flex flex-1">{{policyHolderInfo.addr}}</view>
  315. </view>
  316. </view>
  317. </view>
  318. <!-- 被保人信息 -->
  319. <view class="personInfo">
  320. <view class="title d-flex a-center j-sb">
  321. <text style="font-weight: bold;">被保人</text>
  322. <view class="showStatus" @tap="controlShow('showInsuredPersonInfo')">
  323. {{showInsuredPersonInfo?'收起':'展开'}}
  324. </view>
  325. </view>
  326. <view class="content" v-if="showInsuredPersonInfo">
  327. <view class="row d-flex a-center">
  328. <view class="left">姓名:</view>
  329. <view class="right d-flex flex-1">{{insuredPersonInfo.name}}</view>
  330. </view>
  331. <view class="row d-flex a-center">
  332. <view class="left">证件类型:</view>
  333. <view class="right d-flex flex-1">{{(policyHolderInfo.identifyType=='01')?'身份证':'其他'}}
  334. </view>
  335. </view>
  336. <view class="row d-flex a-center">
  337. <view class="left">手机号:</view>
  338. <view class="right d-flex flex-1">{{insuredPersonInfo.mobile}}</view>
  339. </view>
  340. <view class="row d-flex a-center">
  341. <view class="left">证件号:</view>
  342. <view class="right d-flex flex-1">{{insuredPersonInfo.identifyNumber}}</view>
  343. </view>
  344. <view class="row d-flex a-center"
  345. style="height:auto;min-height: 80upx;padding: 15upx 0;box-sizing: border-box; ">
  346. <view class="left">地址:</view>
  347. <view class="right d-flex flex-1">{{insuredPersonInfo.addr}}</view>
  348. </view>
  349. </view>
  350. </view>
  351. <!-- 车辆影像信息Start -->
  352. <view class="imageInfo">
  353. <view class="title d-flex a-center j-sb">
  354. <text style="font-weight: bold;">车辆影像信息</text>
  355. <view class="showStatus" @tap="controlShow('showCarImageInfo')">{{showCarImageInfo?'收起':'展开'}}
  356. </view>
  357. </view>
  358. <view class="uni-uploader" v-if="showCarImageInfo">
  359. <view class="uni-uploader-body">
  360. <view class="uni-uploader__files">
  361. <block v-for="(image,index) in carImageList" :key="index">
  362. <view class="uni-uploader__file">
  363. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  364. @tap="previewImage($event,'car')"></image>
  365. </view>
  366. </block>
  367. </view>
  368. </view>
  369. </view>
  370. </view>
  371. <!-- 车辆影像信息End -->
  372. <!-- 车主影像信息Start -->
  373. <view class="imageInfo">
  374. <view class="title d-flex a-center j-sb">
  375. <text style="font-weight: bold;">车主影像信息</text>
  376. <view class="showStatus" @tap="controlShow('showOwnerImageInfo')">
  377. {{showOwnerImageInfo?'收起':'展开'}}
  378. </view>
  379. </view>
  380. <view class="uni-uploader" v-if="showOwnerImageInfo">
  381. <view class="uni-uploader-body">
  382. <view class="uni-uploader__files">
  383. <block v-for="(image,index) in ownerImageList" :key="index">
  384. <view class="uni-uploader__file">
  385. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  386. @tap="previewImage($event,'owner')"></image>
  387. </view>
  388. </block>
  389. </view>
  390. </view>
  391. </view>
  392. </view>
  393. <!-- 车主影像信息End -->
  394. <!-- 投保人影像信息Start -->
  395. <view class="imageInfo">
  396. <view class="title d-flex a-center j-sb">
  397. <text style="font-weight: bold;">投保人影像信息</text>
  398. <view class="showStatus" @tap="controlShow('showPolicyImageInfo')">
  399. {{showPolicyImageInfo?'收起':'展开'}}
  400. </view>
  401. </view>
  402. <view class="uni-uploader" v-if="showPolicyImageInfo">
  403. <view class="uni-uploader-body">
  404. <view class="uni-uploader__files">
  405. <block v-for="(image,index) in policyImageList" :key="index">
  406. <view class="uni-uploader__file">
  407. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  408. @tap="previewImage($event,'policy')"></image>
  409. </view>
  410. </block>
  411. </view>
  412. </view>
  413. </view>
  414. </view>
  415. <!-- 投保人影像信息End -->
  416. <!-- 被保人影像信息Start -->
  417. <view class="imageInfo">
  418. <view class="title d-flex a-center j-sb">
  419. <text style="font-weight: bold;">被保人影像信息</text>
  420. <view class="showStatus" @tap="controlShow('showInsuredImageInfo')">
  421. {{showInsuredImageInfo?'收起':'展开'}}
  422. </view>
  423. </view>
  424. <view class="uni-uploader" v-if="showInsuredImageInfo">
  425. <view class="uni-uploader-body">
  426. <view class="uni-uploader__files">
  427. <block v-for="(image,index) in insuredImageList" :key="index">
  428. <view class="uni-uploader__file">
  429. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  430. @tap="previewImage($event,'insured')"></image>
  431. </view>
  432. </block>
  433. </view>
  434. </view>
  435. </view>
  436. </view>
  437. <!-- 被保人影像信息End -->
  438. <!-- 验车照Start -->
  439. <!-- <view class="imageInfo">
  440. <view class="title d-flex a-center j-sb">
  441. <text style="font-weight: bold;">验车照</text>
  442. <view class="showStatus" @tap="controlShow('showCarCheckImageInfo')">
  443. {{showCarCheckImageInfo?'收起':'展开'}}
  444. </view>
  445. </view>
  446. <view class="uni-uploader" v-if="showCarCheckImageInfo">
  447. <view class="uni-uploader-body">
  448. <view class="uni-uploader__files">
  449. <block v-for="(image,index) in carCheckImageList" :key="index">
  450. <view class="uni-uploader__file">
  451. <image class="uni-uploader__img" :src="image.url" :data-src="image.url"
  452. @tap="previewImage($event,'carCheck')"></image>
  453. </view>
  454. </block>
  455. </view>
  456. </view>
  457. </view>
  458. </view> -->
  459. <!-- 验车照End -->
  460. <!-- 特约 -->
  461. <template v-if="!!syappoint">
  462. <view class="appoint">
  463. <view class="title d-flex a-center j-sb">
  464. <text style="font-weight: bold;">特约</text>
  465. <view class="showStatus" @tap="controlShow('showAppoint')">{{showAppoint?'收起':'展开'}}</view>
  466. </view>
  467. <view class="content" v-if="showAppoint">
  468. <view class="row d-flex a-center j-sb">
  469. <view>商业特约险:</view>
  470. <textarea disabled maxlength="300" v-model="syappoint"
  471. placeholder="请输入商业险特别约定,最多可输入300个字符" /></textarea>
  472. </view>
  473. </view>
  474. </view>
  475. </template>
  476. </template>
  477. <view class="personInfo" v-if="!!orderInfo.jqapplyno">
  478. <view class="title d-flex a-center j-sb">
  479. <text style="font-weight: bold;">投保单号</text>
  480. <view class="showStatus" @tap="controlShow('showApplyno')">{{showApplyno?'收起':'展开'}}</view>
  481. </view>
  482. <view class="content" v-if="showApplyno">
  483. <view class="row d-flex a-center" v-if="!!orderInfo.jqapplyno">
  484. <view class="left">交强险:</view>
  485. <view class="right d-flex flex-1">{{orderInfo.jqapplyno}}</view>
  486. </view>
  487. <view class="row d-flex a-center" v-if="!!orderInfo.syapplyno">
  488. <view class="left">商业险:</view>
  489. <view class="right d-flex flex-1">{{orderInfo.syapplyno}}</view>
  490. </view>
  491. </view>
  492. </view>
  493. <view class="personInfo" v-if="!!orderInfo.jqpolicyno">
  494. <view class="title d-flex a-center j-sb">
  495. <text style="font-weight: bold;">保单号</text>
  496. <view class="showStatus" @tap="controlShow('showPolicyno')">{{showPolicyno?'收起':'展开'}}</view>
  497. </view>
  498. <view class="content" v-if="showPolicyno">
  499. <view class="row d-flex a-center" v-if="!!orderInfo.jqpolicyno">
  500. <view class="left">交强险:</view>
  501. <view class="right d-flex flex-1">{{orderInfo.jqpolicyno}}</view>
  502. </view>
  503. <view class="row d-flex a-center" v-if="!!orderInfo.sypolicyno">
  504. <view class="left">商业险:</view>
  505. <view class="right d-flex flex-1">{{orderInfo.sypolicyno}}</view>
  506. </view>
  507. </view>
  508. </view>
  509. <view class="personInfo" v-if="policyList.length>0">
  510. <view class="title d-flex a-center j-sb">
  511. <text style="font-weight: bold;">电子保单(点击即可预览下载)</text>
  512. <view class="showStatus" @tap="controlShow('showPolicyFile')">{{showPolicyFile?'收起':'展开'}}</view>
  513. </view>
  514. <view class="content" v-if="showPolicyFile" v-for="(policyListitem,policyListindex) in policyList"
  515. :key="policyListindex">
  516. <view class="row d-flex a-center">
  517. <view class="left" style="width: 110px;flex-shrink: 0;">{{policyListitem.fileTitle}}:
  518. </view>
  519. <view class="right d-flex flex-1"
  520. style="flex-shrink: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
  521. {{policyListitem.filename}}
  522. </view>
  523. <view class="right d-flex a-center j-center" style="width: 160upx;flex-shrink: 0;">
  524. <text class="checkButton d-flex a-center j-center"
  525. @tap="downloadPolicy(policyListitem.fileurl)">下载</text>
  526. </view>
  527. </view>
  528. </view>
  529. </view>
  530. <view class="personInfo" v-if="policyList1.length>0">
  531. <view class="title d-flex a-center j-sb">
  532. <text style="font-weight: bold;">电子标志(点击即可预览下载)</text>
  533. <view class="showStatus" @tap="controlShow('showPolicybzFile')">{{showPolicybzFile?'收起':'展开'}}
  534. </view>
  535. </view>
  536. <view class="content" v-if="showPolicybzFile" v-for="(policyListitem1,policyListindex1) in policyList1"
  537. :key="policyListindex1">
  538. <view class="row d-flex a-center">
  539. <view class="left" style="width: 110px;flex-shrink: 0;">{{policyListitem1.fileTitle}}:
  540. </view>
  541. <view class="right d-flex flex-1"
  542. style="flex-shrink: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
  543. {{policyListitem1.filename}}
  544. </view>
  545. <view class="right d-flex a-center j-center" style="width: 160upx;flex-shrink: 0;">
  546. <text class="checkButton d-flex a-center j-center"
  547. @tap="downloadPolicy(policyListitem1.fileurl)">下载</text>
  548. </view>
  549. </view>
  550. </view>
  551. </view>
  552. <view class="advancePaymentTotal">
  553. <view class="header d-flex a-center j-sb">
  554. <view class="title">保费</view>
  555. </view>
  556. <view class="body">
  557. <block v-for="(item,index) in riskList" :key="index">
  558. <template v-if="item.riskCode == '0507'">
  559. <view class="row d-flex a-center j-sb">
  560. <view class="d-flex a-center">交强险</view>
  561. <view>¥{{jqpremium}}</view>
  562. </view>
  563. <view class="row j-sb d-flex a-center">
  564. <view>车船税</view>
  565. <view>¥{{taxAmount}}</view>
  566. </view>
  567. </template>
  568. </block>
  569. <block>
  570. <view class="row d-flex a-center j-sb">
  571. <view class="d-flex a-center">驾意险</view>
  572. <view>¥{{jypremium}}</view>
  573. </view>
  574. </block>
  575. <block v-for="(item,index) in riskList" :key="index">
  576. <template v-if="item.riskCode == '0510'">
  577. <view class="row d-flex a-center j-sb">
  578. <view class="d-flex a-center">商业险</view>
  579. <view>¥{{sypremium}}</view>
  580. </view>
  581. </template>
  582. </block>
  583. </view>
  584. </view>
  585. </view>
  586. <view style="height: 90upx;"></view>
  587. <template>
  588. <view class="bottomBtn d-flex j-sb">
  589. <view class="d-flex a-center">
  590. <view class="d-flex flex-column a-center j-center listener">
  591. <view style="line-height: 1;" class="icon iconfont icon-xiaomishu"></view>
  592. <view class="font-sm">客服</view>
  593. </view>
  594. <view style="font-weight: bold;font-size: 34upx;color: #333; ">¥{{sumPermium}}</view>
  595. </view>
  596. <template v-if="orderstatus==0 && routepage!='pages/orders/subOrders'">
  597. <view class="btn d-flex a-center j-center" @tap="toUnderwriting">确认核保</view>
  598. </template>
  599. <!-- <template v-if="orderstatus ==5">
  600. <view class="btn d-flex a-center j-center" @tap="cancelUnderwriting">撤销核保</view>
  601. </template> -->
  602. <!-- <template v-if="orderstatus ==2">
  603. <view class="btn d-flex a-center j-center" @tap="openPayWay">申请支付</view>
  604. </template>
  605. <template v-if="orderstatus ==3">
  606. <view class="btn d-flex a-center j-center" @tap="toUnderwriting">下一步</view>
  607. </template> -->
  608. </view>
  609. </template>
  610. <!-- 底部分享弹窗 -->
  611. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  612. </view>
  613. </template>
  614. <script>
  615. import {
  616. mapState,
  617. mapMutations
  618. } from "vuex"
  619. import {
  620. pathToBase64,
  621. base64ToPath
  622. } from '@/common/pdf.js'
  623. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  624. import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
  625. export default {
  626. components: {
  627. uniPopup,
  628. previewImage
  629. },
  630. computed: {
  631. ...mapState(['userInfo', 'token']),
  632. getHeight() {
  633. let height = uni.getSystemInfoSync().windowHeight;
  634. return `minHeight: ${height}px;`;
  635. }
  636. },
  637. data() {
  638. return {
  639. companyId: "", //订单号
  640. orderInfo: {},
  641. licenseNo: "", //车牌号
  642. icon: "", //保险公司logo
  643. name: "", //保险公司名称
  644. carInfo: {}, //车辆信息
  645. ownerInfo: {}, //车主信息
  646. policyHolderInfo: {}, //投保人信息
  647. insuredPersonInfo: {}, //被保人信息
  648. riskList: [], //险种大类信息
  649. kindList: [], //商业险险别
  650. sumPermium: "", //报价金额
  651. taxAmount: "", //车船税金额
  652. jqpremium: "", //交强险金额
  653. sypremium: "", //商业险金额
  654. feerate: "",
  655. disrate: "",
  656. syappoint: "",
  657. orderstatus: "0", //订单状态
  658. CIStartDate: "", //交强险日期
  659. BIStartDate: "", //商业险日期
  660. showCarInfo: false,
  661. showextendInfo: false,
  662. insureList: [{
  663. amount: "0",
  664. coveragePremium: "",
  665. amtList: [{
  666. "label": "投保",
  667. "value": "1"
  668. }],
  669. kindCode: "A",
  670. isMainRisk: true,
  671. kindName: "机动车损失险"
  672. },
  673. {
  674. amount: "0",
  675. coveragePremium: "",
  676. amtList: [{
  677. "label": "10万",
  678. "value": "100000"
  679. }, {
  680. "label": "15万",
  681. "value": "150000"
  682. }, {
  683. "label": "20万",
  684. "value": "200000"
  685. }, {
  686. "label": "30万",
  687. "value": "300000"
  688. }, {
  689. "label": "50万",
  690. "value": "500000"
  691. }, {
  692. "label": "100万",
  693. "value": "1000000"
  694. }, {
  695. "label": "150万",
  696. "value": "1500000"
  697. }, {
  698. "label": "200万",
  699. "value": "2000000"
  700. }, {
  701. "label": "250万",
  702. "value": "2500000"
  703. }, {
  704. "label": "300万",
  705. "value": "3000000"
  706. }, {
  707. "label": "500万",
  708. "value": "5000000"
  709. }, {
  710. "label": "1000万",
  711. "value": "10000000"
  712. }],
  713. kindCode: "B",
  714. isMainRisk: true,
  715. kindName: "第三者责任险"
  716. },
  717. {
  718. amount: "0",
  719. coveragePremium: "",
  720. amtList: [{
  721. "label": "1万",
  722. "value": "10000"
  723. }, {
  724. "label": "2万",
  725. "value": "20000"
  726. }, {
  727. "label": "5万",
  728. "value": "50000"
  729. }, {
  730. "label": "10万",
  731. "value": "100000"
  732. }, {
  733. "label": "15万",
  734. "value": "150000"
  735. }, {
  736. "label": "20万",
  737. "value": "200000"
  738. }],
  739. kindCode: "D3",
  740. isMainRisk: true,
  741. kindName: "司机责任险"
  742. },
  743. {
  744. amount: "0",
  745. coveragePremium: "",
  746. amtList: [{
  747. "label": "1万",
  748. "value": "10000"
  749. }, {
  750. "label": "2万",
  751. "value": "20000"
  752. }, {
  753. "label": "5万",
  754. "value": "50000"
  755. }, {
  756. "label": "10万",
  757. "value": "100000"
  758. }, {
  759. "label": "15万",
  760. "value": "150000"
  761. }, {
  762. "label": "20万",
  763. "value": "200000"
  764. }],
  765. kindCode: "D4",
  766. isMainRisk: true,
  767. kindName: "乘客责任险"
  768. },
  769. {
  770. amount: "0",
  771. coveragePremium: "",
  772. amtList: [{
  773. "label": "2000",
  774. "value": "2000"
  775. }, {
  776. "label": "5000",
  777. "value": "5000"
  778. }, {
  779. "label": "1万",
  780. "value": "10000"
  781. }],
  782. isMainRisk: false,
  783. kindCode: "L",
  784. kindName: "车身划痕险",
  785. mainRiskCodeList: "A"
  786. },
  787. {
  788. amount: "0",
  789. coveragePremium: "",
  790. amtList: [{
  791. "label": "5%",
  792. "value": "5"
  793. }, {
  794. "label": "10%",
  795. "value": "10"
  796. }, {
  797. "label": "15%",
  798. "value": "15"
  799. }, {
  800. "label": "20%",
  801. "value": "20"
  802. }],
  803. isMainRisk: false,
  804. kindCode: "MJ1",
  805. kindName: "绝对免赔率特约险(车损)",
  806. mainRiskCodeList: "A"
  807. },
  808. {
  809. amount: "0",
  810. coveragePremium: "",
  811. amtList: [{
  812. "label": "5%",
  813. "value": "5"
  814. }, {
  815. "label": "10%",
  816. "value": "10"
  817. }, {
  818. "label": "15%",
  819. "value": "15"
  820. }, {
  821. "label": "20%",
  822. "value": "20"
  823. }],
  824. isMainRisk: false,
  825. kindCode: "MJ2",
  826. kindName: "绝对免赔率特约险(三者)",
  827. mainRiskCodeList: "B"
  828. },
  829. {
  830. amount: "0",
  831. coveragePremium: "",
  832. amtList: [{
  833. "label": "5%",
  834. "value": "5"
  835. }, {
  836. "label": "10%",
  837. "value": "10"
  838. }, {
  839. "label": "15%",
  840. "value": "15"
  841. }, {
  842. "label": "20%",
  843. "value": "20"
  844. }],
  845. isMainRisk: false,
  846. kindCode: "MJ3",
  847. kindName: "绝对免赔率特约险(司机)",
  848. mainRiskCodeList: "D3"
  849. },
  850. {
  851. amount: "0",
  852. coveragePremium: "",
  853. amtList: [{
  854. "label": "5%",
  855. "value": "5"
  856. }, {
  857. "label": "10%",
  858. "value": "10"
  859. }, {
  860. "label": "15%",
  861. "value": "15"
  862. }, {
  863. "label": "20%",
  864. "value": "20"
  865. }],
  866. isMainRisk: false,
  867. kindCode: "MJ4",
  868. kindName: "绝对免赔率特约险(乘客)",
  869. mainRiskCodeList: "D4"
  870. },
  871. {
  872. amount: "0",
  873. coveragePremium: "",
  874. amtList: [{
  875. "label": "投保",
  876. "value": "1"
  877. }],
  878. isMainRisk: false,
  879. kindCode: "BD",
  880. kindName: "法定节假日限额翻倍险",
  881. mainRiskCodeList: "B"
  882. },
  883. {
  884. amount: "0",
  885. amountDesc: "不投保",
  886. coveragePremium: "",
  887. amtList: [{
  888. label: "不投保",
  889. value: "0"
  890. },
  891. {
  892. label: "1万",
  893. value: "10000"
  894. },
  895. {
  896. label: "2万",
  897. value: "20000"
  898. },
  899. {
  900. label: "5万",
  901. value: "50000"
  902. },
  903. {
  904. label: "10万",
  905. value: "100000"
  906. }
  907. ],
  908. kindCode: "SY_FJ_YBW1",
  909. isMainRisk: false,
  910. kindName: "附加医保-三者",
  911. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  912. },
  913. {
  914. amount: "0",
  915. amountDesc: "不投保",
  916. coveragePremium: 0,
  917. amtList: [{
  918. label: "不投保",
  919. value: "0"
  920. },
  921. {
  922. label: "1万",
  923. value: "10000"
  924. },
  925. {
  926. label: "2万",
  927. value: "20000"
  928. },
  929. {
  930. label: "5万",
  931. value: "50000"
  932. },
  933. {
  934. label: "10万",
  935. value: "100000"
  936. }
  937. ],
  938. kindCode: "SY_FJ_YBW2",
  939. isMainRisk: false,
  940. kindName: "附加医保-座位险(乘客)",
  941. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  942. },
  943. {
  944. amount: "0",
  945. amountDesc: "不投保",
  946. coveragePremium: 0,
  947. amtList: [{
  948. label: "不投保",
  949. value: "0"
  950. },
  951. {
  952. label: "1万",
  953. value: "10000"
  954. },
  955. {
  956. label: "2万",
  957. value: "20000"
  958. },
  959. {
  960. label: "5万",
  961. value: "50000"
  962. },
  963. {
  964. label: "10万",
  965. value: "100000"
  966. }
  967. ],
  968. kindCode: "SY_FJ_YBW3",
  969. isMainRisk: false,
  970. kindName: "附加医保-座位险(司机)",
  971. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  972. },
  973. ],
  974. bottomData: [
  975. // #ifdef APP-PLUS
  976. {
  977. text: '微信好友',
  978. icon: '/static/image/share/weixinhaoyou.png',
  979. name: 'wx'
  980. },
  981. {
  982. text: '短信发送',
  983. icon: '/static/image/share/shortMessage.png',
  984. name: 'dx'
  985. },
  986. // #endif
  987. {
  988. text: '报价单',
  989. icon: '/static/image/share/shortMessage.png',
  990. name: 'bjd'
  991. }
  992. ],
  993. vehicleModel: {}, //车型信息
  994. showOwerInfo: false, //展示车主信息
  995. showPolicyHolderInfo: false, //展示投保人信息
  996. showInsuredPersonInfo: false, //展示被保人信息
  997. showProposalWay: false, //获取保单方式
  998. showAdvancePayment: false, //展示保费
  999. showAppoint: false, //展示特约
  1000. showDistribution: false, //展示快递
  1001. showApplyno: false, //展示投保单号
  1002. showPolicyno: false, //展示保单号
  1003. showPolicyFile: false, //展示电子保单
  1004. showPolicybzFile: false, //展示电子保单
  1005. policyList: [], //电子保单文件
  1006. policyList1: [], //电子标志文件
  1007. showCarImageInfo: false, //显示车辆影像
  1008. carImageList: [],
  1009. showOwnerImageInfo: false, //显示车主影像
  1010. ownerImageList: [],
  1011. showPolicyImageInfo: false, //显示投保人影像
  1012. policyImageList: [],
  1013. showInsuredImageInfo: false, //显示被保人影像
  1014. insuredImageList: [],
  1015. showCarCheckImageInfo: false, //显示验车照影像
  1016. carCheckImageList: [],
  1017. previewImgs: [],
  1018. dianzibaodan: "",
  1019. jypremium: "",
  1020. quoteno: "",
  1021. extendInfo: {},
  1022. routepage: "",
  1023. }
  1024. },
  1025. // 监听导航栏的按钮
  1026. onNavigationBarButtonTap(e) {
  1027. if (e.index == 0) {
  1028. this.$refs.showshare.open()
  1029. }
  1030. },
  1031. async onLoad(params) {
  1032. let pages = getCurrentPages(); // 当前页面路由
  1033. let beforePage = pages[pages.length - 2].route; // 上一个页面路由
  1034. this.routepage = beforePage;
  1035. if (!this.token) {
  1036. document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
  1037. }
  1038. if (!!params.companyId) {
  1039. this.companyId = params.companyId;
  1040. let param = {
  1041. companyId: params.companyId
  1042. };
  1043. let res = await this.$http.post('/insurance/order/getByCompanyId', param);
  1044. if (res.code == 200) {
  1045. //获取前一个页面传过来的信息(车辆信息,人员信息,险种信息)
  1046. this.icon = "";
  1047. this.quoteno = res.data.quoteno;
  1048. this.name = res.data.inscompany;
  1049. this.carInfo = res.data.carinfo;
  1050. this.extendInfo = res.data.extendInfo;
  1051. this.licenseNo = res.data.licenseno;
  1052. if (!!this.carInfo.transferFlag) {
  1053. this.carInfo.transferFlag = 1;
  1054. } else {
  1055. this.carInfo.transferFlag = 0;
  1056. }
  1057. if (!!this.carInfo.loanStatus) {
  1058. this.carInfo.loanStatus = 1;
  1059. } else {
  1060. this.carInfo.loanStatus = 0;
  1061. }
  1062. if (!!this.carInfo.registerDate) {
  1063. let year1 = new Date(this.carInfo.registerDate).getFullYear()
  1064. let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
  1065. if (month1 < 10) {
  1066. month1 = '0' + month1;
  1067. }
  1068. let day1 = new Date(this.carInfo.registerDate).getDate()
  1069. if (day1 < 10) {
  1070. day1 = '0' + day1;
  1071. }
  1072. this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
  1073. }
  1074. if (!!this.carInfo.issueDate) {
  1075. let year2 = new Date(this.carInfo.issueDate).getFullYear()
  1076. let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
  1077. if (month2 < 10) {
  1078. month2 = '0' + month2;
  1079. }
  1080. let day2 = new Date(this.carInfo.issueDate).getDate()
  1081. if (day2 < 10) {
  1082. day2 = '0' + day2;
  1083. }
  1084. this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
  1085. }
  1086. if (!!this.carInfo.transferDate) {
  1087. let year3 = new Date(this.carInfo.transferDate).getFullYear()
  1088. let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
  1089. if (month3 < 10) {
  1090. month3 = '0' + month3;
  1091. }
  1092. let day3 = new Date(this.carInfo.transferDate).getDate()
  1093. if (day3 < 10) {
  1094. day3 = '0' + day3;
  1095. }
  1096. this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
  1097. }
  1098. this.ownerInfo = res.data.ownerinfo;
  1099. this.policyHolderInfo = res.data.applyinfo;
  1100. this.insuredPersonInfo = res.data.insureinfo;
  1101. this.riskList = res.data.riskinfo;
  1102. this.kindList = res.data.kindinfo;
  1103. this.sumPermium = res.data.sumpremium;
  1104. this.taxAmount = res.data.taxamount;
  1105. this.sypremium = res.data.sypremium;
  1106. this.jqpremium = res.data.jqpremium;
  1107. this.jypremium = res.data.jypremium;
  1108. this.orderstatus = res.data.orderstatus;
  1109. this.feerate = res.data.feerate;
  1110. this.disrate = res.data.disrate;
  1111. this.jqdiscountrate = res.data.jqdiscountrate;
  1112. this.sydiscountrate = res.data.sydiscountrate;
  1113. this.syappoint = res.data.syappoint;
  1114. this.orderInfo = {};
  1115. Object.assign(this.orderInfo, res.data)
  1116. this.imageEcho(this.quoteno) // 影像获取完毕
  1117. switch (this.name) {
  1118. case "永安财险":
  1119. this.yonganprint(); //电子保单
  1120. break;
  1121. case "中煤财险":
  1122. this.zmgetPolicyPrint(); //电子保单
  1123. break;
  1124. case "恒邦财险":
  1125. case "安盛天平":
  1126. case "众安财险":
  1127. case "中国人寿":
  1128. this.pythonprint(); //电子保单
  1129. break;
  1130. case "永诚财险":
  1131. this.ycgetPolicyPrint(); //电子保单
  1132. break;
  1133. case "紫金财险":
  1134. this.zjgetPolicyPrint(); //电子保单
  1135. break;
  1136. case "国任财险":
  1137. this.grgetPolicyPrint(); //电子保单
  1138. break;
  1139. }
  1140. }
  1141. } else {
  1142. uni.showModal({
  1143. showCancel: false,
  1144. title: "未查询到该订单"
  1145. })
  1146. }
  1147. },
  1148. methods: {
  1149. ...mapMutations(['setOrderStage', 'setOrderType']),
  1150. //影像查询
  1151. async imageEcho(quotenos) {
  1152. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1153. if (imgres.code == "200") {
  1154. Object.keys(imgres.data).forEach((keys) => {
  1155. if (imgres.data[keys].url) {
  1156. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1157. switch (keys) {
  1158. case 'C01':
  1159. case 'D01':
  1160. this.carImageList.push(imgres.data[keys]);
  1161. break;
  1162. case 'C02':
  1163. case 'D02':
  1164. this.ownerImageList.push(imgres.data[keys]);
  1165. break;
  1166. case 'C03':
  1167. case 'D03':
  1168. this.policyImageList.push(imgres.data[keys]);
  1169. break;
  1170. case 'C04':
  1171. case 'D04':
  1172. this.insuredImageList.push(imgres.data[keys]);
  1173. break;
  1174. default:
  1175. break;
  1176. }
  1177. }
  1178. });
  1179. }
  1180. },
  1181. //去选择险种页面
  1182. toInsureItems() {
  1183. this.navigate({
  1184. url: '/pages/carInsure1/insureItems1',
  1185. success: (res) => {
  1186. res.eventChannel.emit("acceptData", {
  1187. carInfo: this.carInfo,
  1188. ownerInfo: this.ownerInfo,
  1189. policyHolderInfo: this.policyHolderInfo,
  1190. insuredPersonInfo: this.insuredPersonInfo,
  1191. riskList: this.riskList,
  1192. kindList: this.kindList
  1193. })
  1194. }
  1195. }, "navigateTo", true);
  1196. },
  1197. //去确认核保页面
  1198. toUnderwriting() {
  1199. this.navigate({
  1200. url: "/pages/carInsure1/underwriting1?companyId=" + this.companyId
  1201. },
  1202. "navigateTo", true);
  1203. },
  1204. //影像预览
  1205. previewImage(e, type) {
  1206. this.previewImgs = this[type + 'ImageList'];
  1207. var current = e.currentTarget.dataset.src;
  1208. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  1209. },
  1210. //查询电子保单
  1211. async yonganprint() {
  1212. this.policyList = [];
  1213. this.policyList1 = [];
  1214. let res = await this.$http.post('/order/yongAn/getPolicyPrint', {
  1215. companyId: this.companyId,
  1216. policytype: "jq"
  1217. }); //永安
  1218. if (res.data) {
  1219. let result = res.data.replace(/[\r\n]/g, "");
  1220. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1221. base64ToPath(pdfBase64)
  1222. .then(path => {
  1223. this.policyList.push({
  1224. fileTitle: "交强电子保单",
  1225. filename: this.orderInfo.jqpolicyno,
  1226. fileurl: path,
  1227. })
  1228. })
  1229. }
  1230. let res1 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1231. companyId: this.companyId,
  1232. policytype: "jq"
  1233. }); //永安
  1234. if (res1.data) {
  1235. let result = res1.data.replace(/[\r\n]/g, "");
  1236. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1237. base64ToPath(pdfBase64)
  1238. .then(path => {
  1239. this.policyList1.push({
  1240. fileTitle: "交强电子标志",
  1241. filename: this.orderInfo.jqpolicyno,
  1242. fileurl: path,
  1243. })
  1244. })
  1245. }
  1246. if (this.orderInfo.sypolicyno) {
  1247. let res2 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1248. companyId: this.companyId,
  1249. policytype: "sy"
  1250. }); //永安
  1251. if (res2.data) {
  1252. let result = res1.data.replace(/[\r\n]/g, "");
  1253. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1254. base64ToPath(pdfBase64)
  1255. .then(path => {
  1256. this.policyList.push({
  1257. fileTitle: "商业电子保单",
  1258. filename: this.orderInfo.sypolicyno,
  1259. fileurl: path,
  1260. })
  1261. })
  1262. }
  1263. }
  1264. },
  1265. async zmgetPolicyPrint() {
  1266. this.policyList = [];
  1267. this.policyList1 = [];
  1268. if (this.orderInfo.jqpolicyno) {
  1269. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1270. companyId: this.companyId,
  1271. riskCode: "0507",
  1272. type: '2', //2:保单
  1273. });
  1274. if (res.code == '200') {
  1275. this.policyList.push({
  1276. fileTitle: "交强电子保单",
  1277. filename: this.orderInfo.jqpolicyno,
  1278. fileurl: res.data[0],
  1279. })
  1280. }
  1281. let res1 = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1282. companyId: this.companyId,
  1283. riskCode: "0507",
  1284. type: '1', //1:标志
  1285. });
  1286. if (res1.code == '200') {
  1287. this.policyList1.push({
  1288. fileTitle: "交强电子标志",
  1289. filename: this.orderInfo.jqpolicyno,
  1290. fileurl: res1.data[0],
  1291. })
  1292. }
  1293. }
  1294. if (this.orderInfo.sypolicyno) {
  1295. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1296. companyId: this.companyId,
  1297. riskCode: "0510",
  1298. type: '2', //2:标志
  1299. });
  1300. if (res.code == '200') {
  1301. this.policyList.push({
  1302. fileTitle: "商业电子保单",
  1303. filename: this.orderInfo.sypolicyno,
  1304. fileurl: res.data[0],
  1305. })
  1306. }
  1307. }
  1308. },
  1309. async ycgetPolicyPrint() {
  1310. this.policyList = [];
  1311. this.policyList1 = [];
  1312. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1313. companyId: this.companyId,
  1314. riskCode: "0507",
  1315. type: '2', //2:保单
  1316. }); //永诚财险
  1317. if (res.code == '200') {
  1318. this.policyList.push({
  1319. fileTitle: "交强电子保单",
  1320. filename: this.orderInfo.jqpolicyno,
  1321. fileurl: res.data.jqUrl,
  1322. })
  1323. if (res.data.jqFlagUrl) {
  1324. this.policyList1.push({
  1325. fileTitle: "交强电子标志",
  1326. filename: this.orderInfo.jqpolicyno,
  1327. fileurl: res.data.jqFlagUrl,
  1328. })
  1329. }
  1330. }
  1331. if (this.orderInfo.sypolicyno) {
  1332. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1333. companyId: this.companyId,
  1334. riskCode: "0510",
  1335. type: '2', //2:保单
  1336. }); //永诚财险
  1337. if (res.code == '200') {
  1338. this.policyList.push({
  1339. fileTitle: "商业电子保单",
  1340. filename: this.orderInfo.sypolicyno,
  1341. fileurl: res.data.syUrl,
  1342. });
  1343. }
  1344. }
  1345. },
  1346. //爬虫电子保单统一调用
  1347. async pythonprint() {
  1348. if (this.orderInfo.jqpolicyno) {
  1349. let params = {
  1350. subOrderNo: this.companyId,
  1351. };
  1352. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  1353. if (res1.code == '200') {
  1354. this.policyList = [];
  1355. this.policyList1 = [];
  1356. this.policyList.push({
  1357. fileTitle: "交强电子保单",
  1358. filename: this.orderInfo.jqpolicyno,
  1359. fileurl: res1.data.jqxPolicyUrl,
  1360. })
  1361. this.policyList1.push({
  1362. fileTitle: "交强电子标志",
  1363. filename: this.orderInfo.jqpolicyno,
  1364. fileurl: res1.data.jqxFlagUrl,
  1365. })
  1366. if (res1.data.syxPolicyUrl) {
  1367. this.policyList.push({
  1368. fileTitle: "商业电子保单",
  1369. filename: this.orderInfo.sypolicyno,
  1370. fileurl: res1.data.syxPolicyUrl,
  1371. });
  1372. }
  1373. if (res1.data.jyxPolicyUrl) {
  1374. this.policyList.push({
  1375. fileTitle: "驾意险保单",
  1376. filename: 'xxxxxxxxxxxxxxxxxxxxxx',
  1377. fileurl: res1.data.jyxPolicyUrl,
  1378. });
  1379. }
  1380. }
  1381. }
  1382. },
  1383. async zjgetPolicyPrint() {
  1384. this.policyList = [];
  1385. this.policyList1 = [];
  1386. if (this.orderInfo.jqpolicyno) {
  1387. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1388. companyId: this.companyId,
  1389. riskCode: "0507",
  1390. type: '2', //2:保单
  1391. });
  1392. if (res.code == '200') {
  1393. this.policyList.push({
  1394. fileTitle: "交强电子保单",
  1395. filename: this.orderInfo.jqpolicyno,
  1396. fileurl: res.data,
  1397. })
  1398. }
  1399. let res1 = await this.$http.post('/order/zijin/getPolicyPrint', {
  1400. companyId: this.companyId,
  1401. riskCode: "0507",
  1402. type: '1', //1:标志
  1403. });
  1404. if (res1.code == '200') {
  1405. this.policyList1.push({
  1406. fileTitle: "交强电子标志",
  1407. filename: this.orderInfo.jqpolicyno,
  1408. fileurl: res1.data,
  1409. })
  1410. }
  1411. }
  1412. if (this.orderInfo.sypolicyno) {
  1413. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1414. companyId: this.companyId,
  1415. riskCode: "0510",
  1416. type: '2', //2:标志
  1417. });
  1418. if (res.code == '200') {
  1419. this.policyList.push({
  1420. fileTitle: "商业电子保单",
  1421. filename: this.orderInfo.sypolicyno,
  1422. fileurl: res.data,
  1423. })
  1424. }
  1425. }
  1426. if (this.orderInfo.crossInsurance.length > 0) {
  1427. this.orderInfo.crossInsurance.map(async ele => {
  1428. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1429. companyId: this.companyId,
  1430. policyNumber: ele.policyNumber,
  1431. riskCode: "0513",
  1432. type: '2', //2:保单
  1433. });
  1434. if (res.code == '200') {
  1435. this.policyList.push({
  1436. fileTitle: "驾意险保单",
  1437. filename: ele.policyNumber,
  1438. fileurl: res.data,
  1439. })
  1440. }
  1441. })
  1442. }
  1443. },
  1444. async grgetPolicyPrint() {
  1445. this.policyList = [];
  1446. this.policyList1 = [];
  1447. if (this.orderInfo.jqpolicyno) {
  1448. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1449. companyId: this.companyId,
  1450. riskCode: "0507",
  1451. type: '2', //2:保单
  1452. });
  1453. if (res.code == '200') {
  1454. this.policyList.push({
  1455. fileTitle: "交强电子保单",
  1456. filename: this.orderInfo.jqpolicyno,
  1457. fileurl: res.data,
  1458. })
  1459. }
  1460. let res1 = await this.$http.post('/api/guoRen/policyPrint', {
  1461. companyId: this.companyId,
  1462. riskCode: "0507",
  1463. type: '1', //1:标志
  1464. });
  1465. if (res1.code == '200') {
  1466. this.policyList1.push({
  1467. fileTitle: "交强电子标志",
  1468. filename: this.orderInfo.jqpolicyno,
  1469. fileurl: res1.data,
  1470. })
  1471. }
  1472. }
  1473. if (this.orderInfo.sypolicyno) {
  1474. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1475. companyId: this.companyId,
  1476. riskCode: "0510",
  1477. type: '2', //2:标志
  1478. });
  1479. if (res.code == '200') {
  1480. this.policyList.push({
  1481. fileTitle: "商业电子保单",
  1482. filename: this.orderInfo.sypolicyno,
  1483. fileurl: res.data,
  1484. })
  1485. }
  1486. }
  1487. if (this.orderInfo.crossInsurance.length > 0) {
  1488. this.orderInfo.crossInsurance.map(async ele => {
  1489. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1490. companyId: this.companyId,
  1491. policyNumber: ele.policyNumber,
  1492. riskCode: "0513",
  1493. type: '2', //2:保单
  1494. });
  1495. if (res.code == '200') {
  1496. this.policyList.push({
  1497. fileTitle: "驾意险保单",
  1498. filename: ele.policyNumber,
  1499. fileurl: res.data,
  1500. })
  1501. }
  1502. })
  1503. }
  1504. },
  1505. downloadPolicy(file) {
  1506. //#ifdef APP-PLUS
  1507. uni.showLoading({
  1508. title: '文件下载中'
  1509. });
  1510. let index = file.lastIndexOf("\/")
  1511. let name = file.substring(index + 1, file.length)
  1512. let dtask = plus.downloader.createDownload(file, {
  1513. filename: "_downloads/" + name
  1514. }, function(d, status) {
  1515. if (status == 200) {
  1516. uni.hideLoading()
  1517. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  1518. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  1519. plus.runtime.openFile(d.filename); //选择软件打开文件
  1520. } else {
  1521. uni.hideLoading()
  1522. //下载失败
  1523. plus.downloader.clear(); //清除下载任务
  1524. }
  1525. })
  1526. dtask.start();
  1527. // uni.downloadFile({
  1528. // url: file,
  1529. // success(val) {
  1530. // uni.saveFile({
  1531. // tempFilePath: val.tempFilePath, //临时路径
  1532. // success: function(res) {
  1533. // uni.hideLoading();
  1534. // uni.showToast({
  1535. // icon: 'none',
  1536. // mask: true,
  1537. // title: '文件已保存到:' + res.savedFilePath +
  1538. // ',正在打开文件', //保存路径
  1539. // duration: 3000,
  1540. // });
  1541. // setTimeout(() => {
  1542. // //打开文档查看
  1543. // uni.openDocument({
  1544. // filePath: res.savedFilePath,
  1545. // success: function(res) {}
  1546. // });
  1547. // }, 1500)
  1548. // }
  1549. // });
  1550. // }
  1551. // });
  1552. //#endif
  1553. //#ifdef H5
  1554. var win = window.open();
  1555. win.document.write(
  1556. '<body style="margin:0px;"><object data="' +
  1557. file +
  1558. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  1559. file +
  1560. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  1561. );
  1562. //#endif
  1563. },
  1564. //选择缴费方式
  1565. openPayWay() {
  1566. this.navigate({
  1567. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  1568. }, 'navigateTo', true)
  1569. },
  1570. cancelShare() {
  1571. this.$refs.showshare.close()
  1572. },
  1573. //控制详情的展开和收起
  1574. controlShow(type) {
  1575. this[type] = !this[type];
  1576. },
  1577. //撤销核保
  1578. cancelUnderwriting() {
  1579. uni.showModal({
  1580. content: '是否确认撤销核保?',
  1581. success: async (res) => {
  1582. if (res.confirm) {
  1583. let param = {
  1584. "auditid": this.userInfo.sysUser.id, //核保人会员号
  1585. "auditopinion": '', //核保意见
  1586. "jqapplyno": "", //交强险投保单号
  1587. "jqappoint": "", //交强特别约定
  1588. "jqpolicyno": "", //交强保单号
  1589. "orderno": this.orderno, //订单号
  1590. "orderstatus": "0", //订单类型
  1591. "syapplyno": "", //商业险投保单号
  1592. "syappoint": "", //商业险特别约定
  1593. "sypolicyno": "" //商业保单号
  1594. }
  1595. let res = await this.$http.post('/insOrder/saveAudit', param);
  1596. uni.showToast({
  1597. title: '撤销成功',
  1598. icon: "none",
  1599. duration: 2000
  1600. });
  1601. setTimeout(() => {
  1602. this.setOrderStage(0);
  1603. this.setOrderType(0);
  1604. this.navigate({
  1605. url: "/pages/orders/orders"
  1606. }, "switchTab", true);
  1607. }, 2000);
  1608. } else if (res.cancel) {
  1609. console.log('用户点击取消');
  1610. }
  1611. }
  1612. });
  1613. },
  1614. toChinesNum(num) {
  1615. let changeNum = [
  1616. "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
  1617. ];
  1618. let unit = ["", "0", "00", "000", "0000"];
  1619. num = parseInt(num);
  1620. let getWan = temp => {
  1621. let strArr = temp
  1622. .toString()
  1623. .split("")
  1624. .reverse();
  1625. let newNum = "";
  1626. let newArr = [];
  1627. strArr.forEach((item, index) => {
  1628. newArr.unshift(
  1629. item === "0" ? changeNum[item] : changeNum[item] + unit[index]
  1630. );
  1631. });
  1632. let numArr = [];
  1633. newArr.forEach((m, n) => {
  1634. if (m !== "0") numArr.push(n);
  1635. });
  1636. if (newArr.length > 1) {
  1637. newArr.forEach((m, n) => {
  1638. if (newArr[newArr.length - 1] === "0") {
  1639. if (n <= numArr[numArr.length - 1]) {
  1640. newNum += m;
  1641. }
  1642. } else {
  1643. newNum += m;
  1644. }
  1645. });
  1646. } else {
  1647. newNum = newArr[0];
  1648. }
  1649. return newNum;
  1650. };
  1651. let overWan = Math.floor(num / 10000);
  1652. let noWan = num % 10000;
  1653. if (noWan.toString().length < 4) {
  1654. noWan = "0" + noWan;
  1655. }
  1656. return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num);
  1657. },
  1658. }
  1659. }
  1660. </script>
  1661. <style lang="scss" scoped>
  1662. @import '@/style/mixin.scss';
  1663. /* 头部车辆信息和特权Start */
  1664. .carInfo {
  1665. height: 280upx;
  1666. background: -webkit-linear-gradient(0deg, rgba($themeColor, 0.6), rgba($themeColor, 0.8));
  1667. background-size: 100% 100%;
  1668. }
  1669. .carInfo .topLeft {
  1670. font-size: 90upx;
  1671. color: #FFFFFF;
  1672. }
  1673. .carInfo .topLeft .license {
  1674. width: 420upx;
  1675. overflow: hidden;
  1676. text-overflow: ellipsis;
  1677. white-space: nowrap;
  1678. }
  1679. .carInfo .topLeft .totalMoney {
  1680. font-size: 40upx;
  1681. font-weight: bold;
  1682. }
  1683. .carInfo .topRight {
  1684. flex-shrink: 0;
  1685. width: 140upx;
  1686. color: #FFFFFF;
  1687. }
  1688. .carInfo .topRight image {
  1689. width: 100upx;
  1690. height: 100upx;
  1691. }
  1692. .carInfo .other {
  1693. background-color: #FFFFFF;
  1694. height: 80upx;
  1695. border-radius: 15upx;
  1696. box-sizing: border-box;
  1697. }
  1698. .carInfo .other .privilege {
  1699. background-color: rgba($themeColor, 0.6);
  1700. font-size: 24upx;
  1701. color: #FFFFFF;
  1702. font-weight: bold;
  1703. }
  1704. .carInfo .other .content {
  1705. width: 460upx;
  1706. margin-left: 15upx;
  1707. overflow: hidden;
  1708. text-overflow: ellipsis;
  1709. white-space: nowrap;
  1710. }
  1711. .carInfo .other .icon {
  1712. width: 30upx;
  1713. }
  1714. /* 头部车辆信息和特权End */
  1715. .header {
  1716. height: 80upx;
  1717. padding: 0 30upx;
  1718. position: relative;
  1719. }
  1720. .header .title {
  1721. font-size: 30upx;
  1722. font-weight: bold;
  1723. padding-left: 10upx;
  1724. }
  1725. .welfare {
  1726. margin-bottom: 20upx;
  1727. width: 100%;
  1728. box-sizing: border-box;
  1729. background: #FFFFFF;
  1730. border-radius: 20upx;
  1731. }
  1732. .welfare .body {
  1733. padding: 0 30upx 30upx;
  1734. box-sizing: border-box;
  1735. flex-wrap: wrap;
  1736. }
  1737. .welfare .body>.welfareItem {
  1738. width: 320upx;
  1739. height: 120upx;
  1740. padding: 10upx 20upx;
  1741. margin: 20upx 10upx 0upx;
  1742. border: 1px solid rgba($themeColor, 0.6);
  1743. box-sizing: border-box;
  1744. background: rgba($themeColor, 0.4);
  1745. border-radius: 10upx;
  1746. }
  1747. .welfare .body>.welfareItem .name {
  1748. color: $themeColor;
  1749. font-size: 30upx;
  1750. width: 210upx;
  1751. overflow: hidden;
  1752. text-overflow: ellipsis;
  1753. white-space: nowrap;
  1754. }
  1755. .welfare .body>.welfareItem .content {
  1756. font-size: 24upx;
  1757. width: 260upx;
  1758. overflow: hidden;
  1759. text-overflow: ellipsis;
  1760. white-space: nowrap;
  1761. }
  1762. /* 报价方案Start */
  1763. .quotePlan {
  1764. margin-bottom: 20upx;
  1765. width: 100%;
  1766. box-sizing: border-box;
  1767. background: #FFFFFF;
  1768. border-radius: 20upx;
  1769. }
  1770. .quotePlan .header .adjustPlan {
  1771. color: $themeColor;
  1772. }
  1773. .quotePlan .body {
  1774. padding: 0 40upx 10upx;
  1775. }
  1776. .quotePlan .body .insurance {
  1777. padding-bottom: 20upx;
  1778. border-bottom: 1px dashed #E6E8EA;
  1779. }
  1780. .quotePlan .body .row {
  1781. height: 70upx;
  1782. }
  1783. .quotePlan .body .row .date {
  1784. color: #A4A4A4;
  1785. font-size: 22upx;
  1786. margin-left: 40upx;
  1787. }
  1788. .quotePlan .body .insurance .kindList {
  1789. background: #F3F3F3;
  1790. padding: 0 10upx;
  1791. }
  1792. .addedServices .kindList {
  1793. background: #F3F3F3;
  1794. padding: 0 10upx;
  1795. }
  1796. .quotePlan .body .insurance .kindList .kindItem {
  1797. padding: 2px 0;
  1798. }
  1799. .quotePlan .body .insurance .kindList .kindItem>view {
  1800. font-size: 24upx;
  1801. }
  1802. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  1803. width: 310upx;
  1804. }
  1805. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  1806. width: 170upx;
  1807. }
  1808. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  1809. width: 170upx;
  1810. }
  1811. .addedServices .kindList .kindItem {
  1812. height: 65upx;
  1813. }
  1814. .addedServices .kindList .kindItem>view {
  1815. font-size: 24upx;
  1816. padding: 0upx 15upx;
  1817. }
  1818. /* 报价方案End */
  1819. .car {
  1820. margin-bottom: 20upx;
  1821. width: 100%;
  1822. box-sizing: border-box;
  1823. background: #FFFFFF;
  1824. }
  1825. .car .body {
  1826. padding: 0upx 30upx 10upx;
  1827. }
  1828. .car .body .row {
  1829. padding: 5px 0;
  1830. border-bottom: 1px solid #F3F3F3;
  1831. }
  1832. /* 预缴费Start */
  1833. .advancePaymentTotal {
  1834. margin-bottom: 20upx;
  1835. width: 100%;
  1836. box-sizing: border-box;
  1837. background: #FFFFFF;
  1838. border-radius: 20upx;
  1839. }
  1840. .advancePaymentTotal .body {
  1841. padding: 0upx 40upx 10upx;
  1842. }
  1843. .advancePaymentTotal .body .row {
  1844. height: 80upx;
  1845. border-bottom: 1px solid #F3F3F3;
  1846. }
  1847. /* 预缴费End */
  1848. /* 底部按钮Start */
  1849. .bottomBtn {
  1850. position: fixed;
  1851. bottom: 0;
  1852. left: 0;
  1853. right: 0;
  1854. border-top: 1px solid #F1F1F1;
  1855. background-color: #FFFFFF;
  1856. height: 90upx;
  1857. }
  1858. .bottomBtn .listener {
  1859. width: 120upx;
  1860. font-size: 20upx;
  1861. line-height: 1.2;
  1862. color: #999;
  1863. }
  1864. .bottomBtn .listener .icon {
  1865. font-size: 40upx;
  1866. padding: 0;
  1867. }
  1868. .bottomBtn .btn {
  1869. font-size: 34upx;
  1870. background-color: $themeColor;
  1871. color: #fff;
  1872. width: 280upx;
  1873. flex-shrink: 0;
  1874. }
  1875. /* 底部按钮End */
  1876. /* 人员信息Start */
  1877. .personInfo,
  1878. .advancePayment,
  1879. .imageInfo,
  1880. .appoint {
  1881. margin-bottom: 20upx;
  1882. background: #FFFFFF;
  1883. padding: 0upx 40upx;
  1884. }
  1885. .personInfo .title,
  1886. .advancePayment .title,
  1887. .imageInfo .title,
  1888. .appoint .title {
  1889. height: 80upx;
  1890. font-size: 32upx;
  1891. box-shadow: inset 0 -3upx 0px #fafafa;
  1892. }
  1893. .showStatus {
  1894. font-size: 26upx;
  1895. color: #007AFF;
  1896. }
  1897. .personInfo .content .row,
  1898. .advancePayment .content .row {
  1899. height: 80upx;
  1900. border-bottom: 1px solid #F9F9F9;
  1901. flex-wrap: nowrap;
  1902. }
  1903. .personInfo .content .row .left,
  1904. .advancePayment .content .row .left {
  1905. width: 170upx;
  1906. flex-shrink: 0;
  1907. font-size: 28upx;
  1908. }
  1909. .appoint .content .row {
  1910. height: auto;
  1911. margin-top: 10upx;
  1912. }
  1913. .appoint .content .row>view {
  1914. width: 240upx;
  1915. flex-shrink: 1;
  1916. font-size: 28upx;
  1917. }
  1918. .appoint .content .row>textarea {
  1919. /* background: #007AFF; */
  1920. padding: 15upx;
  1921. box-sizing: border-box;
  1922. font-size: 26upx;
  1923. min-height: 160upx;
  1924. height: 100upx;
  1925. border: 1px solid #fafafa;
  1926. /* over */
  1927. }
  1928. .personInfo .content .row .right,
  1929. .advancePayment .content .row .right,
  1930. .appoint .content .row .right {
  1931. font-size: 28upx;
  1932. }
  1933. /* 人员信息End */
  1934. .checkButton {
  1935. margin: 0 20upx 0 20upx;
  1936. font-size: 24upx;
  1937. width: 80upx;
  1938. height: 50upx;
  1939. background: $themeColor;
  1940. font-weight: bold;
  1941. color: #FFFFFF;
  1942. border-radius: 5upx;
  1943. }
  1944. .uni-popup__wrapper-box {
  1945. display: block;
  1946. position: relative;
  1947. }
  1948. .uni-share {
  1949. display: flex;
  1950. flex-direction: column;
  1951. background-color: #fff;
  1952. position: fixed;
  1953. bottom: 0;
  1954. left: 0;
  1955. right: 0;
  1956. }
  1957. .uni-share-title {
  1958. line-height: 30px;
  1959. font-size: 12px;
  1960. padding: 7px 0;
  1961. text-align: center;
  1962. }
  1963. .uni-share-content {
  1964. display: flex;
  1965. flex-direction: row;
  1966. flex-wrap: wrap;
  1967. justify-content: center;
  1968. padding: 15px;
  1969. }
  1970. .uni-share-content-box {
  1971. display: flex;
  1972. flex-direction: column;
  1973. align-items: center;
  1974. width: 100px;
  1975. }
  1976. .uni-share-content-image {
  1977. display: flex;
  1978. flex-direction: row;
  1979. justify-content: center;
  1980. align-items: center;
  1981. width: 30px;
  1982. height: 30px;
  1983. overflow: hidden;
  1984. border-radius: 5px;
  1985. }
  1986. .uni-share-content-text {
  1987. font-size: 13px;
  1988. color: #333;
  1989. padding-top: 5px;
  1990. padding-bottom: 10px;
  1991. }
  1992. .uni-share-btn {
  1993. height: 45px;
  1994. line-height: 45px;
  1995. font-size: 14px;
  1996. border-top-color: #f5f5f5;
  1997. border-top-width: 1px;
  1998. border-top-style: solid;
  1999. text-align: center;
  2000. color: #666;
  2001. }
  2002. uni-image>img {
  2003. display: block;
  2004. position: absolute;
  2005. top: 0;
  2006. left: 0;
  2007. opacity: 0;
  2008. }
  2009. uni-image>div,
  2010. uni-image>img {
  2011. width: 100%;
  2012. height: 100%;
  2013. }
  2014. </style>