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)">{{item.amount}}</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 style="color: #ff9000;">{{extendInfo.score}}</view>
  186. </view>
  187. <view class="row d-flex a-center j-sb">
  188. <view>出险信息</view>
  189. <view style="width: 200px; color: #ff9000;">{{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 v-if="jypremium">
  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
  597. v-if="orderstatus==0 && routepage!='pages/orders/subOrders' && routepage!='pages/orders/quoteHistory'">
  598. <view class="btn d-flex a-center j-center" @tap="toUnderwriting">确认核保</view>
  599. </template>
  600. <!-- <template v-if="orderstatus ==5">
  601. <view class="btn d-flex a-center j-center" @tap="cancelUnderwriting">撤销核保</view>
  602. </template> -->
  603. <!-- <template v-if="orderstatus ==2">
  604. <view class="btn d-flex a-center j-center" @tap="openPayWay">申请支付</view>
  605. </template>
  606. <template v-if="orderstatus ==3">
  607. <view class="btn d-flex a-center j-center" @tap="toUnderwriting">下一步</view>
  608. </template> -->
  609. </view>
  610. </template>
  611. <!-- 底部分享弹窗 -->
  612. <previewImage ref="previewImage" :opacity="0.8" :circular="true" :imgs="previewImgs"></previewImage>
  613. </view>
  614. </template>
  615. <script>
  616. import {
  617. mapState,
  618. mapMutations
  619. } from "vuex"
  620. import {
  621. pathToBase64,
  622. base64ToPath
  623. } from '@/common/pdf.js'
  624. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  625. import previewImage from '@/components/common/previewImage/previewImage.vue'; //引用插件
  626. export default {
  627. components: {
  628. uniPopup,
  629. previewImage
  630. },
  631. computed: {
  632. ...mapState(['userInfo', 'token']),
  633. getHeight() {
  634. let height = uni.getSystemInfoSync().windowHeight;
  635. return `minHeight: ${height}px;`;
  636. }
  637. },
  638. data() {
  639. return {
  640. companyId: "", //订单号
  641. orderInfo: {},
  642. licenseNo: "", //车牌号
  643. icon: "", //保险公司logo
  644. name: "", //保险公司名称
  645. carInfo: {}, //车辆信息
  646. ownerInfo: {}, //车主信息
  647. policyHolderInfo: {}, //投保人信息
  648. insuredPersonInfo: {}, //被保人信息
  649. riskList: [], //险种大类信息
  650. kindList: [], //商业险险别
  651. sumPermium: "", //报价金额
  652. taxAmount: "", //车船税金额
  653. jqpremium: "", //交强险金额
  654. sypremium: "", //商业险金额
  655. feerate: "",
  656. disrate: "",
  657. syappoint: "",
  658. orderstatus: "0", //订单状态
  659. CIStartDate: "", //交强险日期
  660. BIStartDate: "", //商业险日期
  661. showCarInfo: false,
  662. showextendInfo: false,
  663. insureList: [{
  664. amount: "0",
  665. coveragePremium: "",
  666. amtList: [{
  667. "label": "投保",
  668. "value": "1"
  669. }],
  670. kindCode: "A",
  671. isMainRisk: true,
  672. kindName: "机动车损失险"
  673. },
  674. {
  675. amount: "0",
  676. coveragePremium: "",
  677. amtList: [{
  678. "label": "10万",
  679. "value": "100000"
  680. }, {
  681. "label": "15万",
  682. "value": "150000"
  683. }, {
  684. "label": "20万",
  685. "value": "200000"
  686. }, {
  687. "label": "30万",
  688. "value": "300000"
  689. }, {
  690. "label": "50万",
  691. "value": "500000"
  692. }, {
  693. "label": "100万",
  694. "value": "1000000"
  695. }, {
  696. "label": "150万",
  697. "value": "1500000"
  698. }, {
  699. "label": "200万",
  700. "value": "2000000"
  701. }, {
  702. "label": "250万",
  703. "value": "2500000"
  704. }, {
  705. "label": "300万",
  706. "value": "3000000"
  707. }, {
  708. "label": "500万",
  709. "value": "5000000"
  710. }, {
  711. "label": "1000万",
  712. "value": "10000000"
  713. }],
  714. kindCode: "B",
  715. isMainRisk: true,
  716. kindName: "第三者责任险"
  717. },
  718. {
  719. amount: "0",
  720. coveragePremium: "",
  721. amtList: [{
  722. "label": "1万",
  723. "value": "10000"
  724. }, {
  725. "label": "2万",
  726. "value": "20000"
  727. }, {
  728. "label": "5万",
  729. "value": "50000"
  730. }, {
  731. "label": "10万",
  732. "value": "100000"
  733. }, {
  734. "label": "15万",
  735. "value": "150000"
  736. }, {
  737. "label": "20万",
  738. "value": "200000"
  739. }],
  740. kindCode: "D3",
  741. isMainRisk: true,
  742. kindName: "司机责任险"
  743. },
  744. {
  745. amount: "0",
  746. coveragePremium: "",
  747. amtList: [{
  748. "label": "1万",
  749. "value": "10000"
  750. }, {
  751. "label": "2万",
  752. "value": "20000"
  753. }, {
  754. "label": "5万",
  755. "value": "50000"
  756. }, {
  757. "label": "10万",
  758. "value": "100000"
  759. }, {
  760. "label": "15万",
  761. "value": "150000"
  762. }, {
  763. "label": "20万",
  764. "value": "200000"
  765. }],
  766. kindCode: "D4",
  767. isMainRisk: true,
  768. kindName: "乘客责任险"
  769. },
  770. {
  771. amount: "0",
  772. coveragePremium: "",
  773. amtList: [{
  774. "label": "2000",
  775. "value": "2000"
  776. }, {
  777. "label": "5000",
  778. "value": "5000"
  779. }, {
  780. "label": "1万",
  781. "value": "10000"
  782. }],
  783. isMainRisk: false,
  784. kindCode: "L",
  785. kindName: "车身划痕险",
  786. mainRiskCodeList: "A"
  787. },
  788. {
  789. amount: "0",
  790. coveragePremium: "",
  791. amtList: [{
  792. "label": "5%",
  793. "value": "5"
  794. }, {
  795. "label": "10%",
  796. "value": "10"
  797. }, {
  798. "label": "15%",
  799. "value": "15"
  800. }, {
  801. "label": "20%",
  802. "value": "20"
  803. }],
  804. isMainRisk: false,
  805. kindCode: "MJ1",
  806. kindName: "绝对免赔率特约险(车损)",
  807. mainRiskCodeList: "A"
  808. },
  809. {
  810. amount: "0",
  811. coveragePremium: "",
  812. amtList: [{
  813. "label": "5%",
  814. "value": "5"
  815. }, {
  816. "label": "10%",
  817. "value": "10"
  818. }, {
  819. "label": "15%",
  820. "value": "15"
  821. }, {
  822. "label": "20%",
  823. "value": "20"
  824. }],
  825. isMainRisk: false,
  826. kindCode: "MJ2",
  827. kindName: "绝对免赔率特约险(三者)",
  828. mainRiskCodeList: "B"
  829. },
  830. {
  831. amount: "0",
  832. coveragePremium: "",
  833. amtList: [{
  834. "label": "5%",
  835. "value": "5"
  836. }, {
  837. "label": "10%",
  838. "value": "10"
  839. }, {
  840. "label": "15%",
  841. "value": "15"
  842. }, {
  843. "label": "20%",
  844. "value": "20"
  845. }],
  846. isMainRisk: false,
  847. kindCode: "MJ3",
  848. kindName: "绝对免赔率特约险(司机)",
  849. mainRiskCodeList: "D3"
  850. },
  851. {
  852. amount: "0",
  853. coveragePremium: "",
  854. amtList: [{
  855. "label": "5%",
  856. "value": "5"
  857. }, {
  858. "label": "10%",
  859. "value": "10"
  860. }, {
  861. "label": "15%",
  862. "value": "15"
  863. }, {
  864. "label": "20%",
  865. "value": "20"
  866. }],
  867. isMainRisk: false,
  868. kindCode: "MJ4",
  869. kindName: "绝对免赔率特约险(乘客)",
  870. mainRiskCodeList: "D4"
  871. },
  872. {
  873. amount: "0",
  874. coveragePremium: "",
  875. amtList: [{
  876. "label": "投保",
  877. "value": "1"
  878. }],
  879. isMainRisk: false,
  880. kindCode: "BD",
  881. kindName: "法定节假日限额翻倍险",
  882. mainRiskCodeList: "B"
  883. },
  884. {
  885. amount: "0",
  886. amountDesc: "不投保",
  887. coveragePremium: "",
  888. amtList: [{
  889. label: "不投保",
  890. value: "0"
  891. },
  892. {
  893. label: "1万",
  894. value: "10000"
  895. },
  896. {
  897. label: "2万",
  898. value: "20000"
  899. },
  900. {
  901. label: "5万",
  902. value: "50000"
  903. },
  904. {
  905. label: "10万",
  906. value: "100000"
  907. }
  908. ],
  909. kindCode: "SY_FJ_YBW1",
  910. isMainRisk: false,
  911. kindName: "附加医保-三者",
  912. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  913. },
  914. {
  915. amount: "0",
  916. amountDesc: "不投保",
  917. coveragePremium: 0,
  918. amtList: [{
  919. label: "不投保",
  920. value: "0"
  921. },
  922. {
  923. label: "1万",
  924. value: "10000"
  925. },
  926. {
  927. label: "2万",
  928. value: "20000"
  929. },
  930. {
  931. label: "5万",
  932. value: "50000"
  933. },
  934. {
  935. label: "10万",
  936. value: "100000"
  937. }
  938. ],
  939. kindCode: "SY_FJ_YBW2",
  940. isMainRisk: false,
  941. kindName: "附加医保-座位险(乘客)",
  942. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  943. },
  944. {
  945. amount: "0",
  946. amountDesc: "不投保",
  947. coveragePremium: 0,
  948. amtList: [{
  949. label: "不投保",
  950. value: "0"
  951. },
  952. {
  953. label: "1万",
  954. value: "10000"
  955. },
  956. {
  957. label: "2万",
  958. value: "20000"
  959. },
  960. {
  961. label: "5万",
  962. value: "50000"
  963. },
  964. {
  965. label: "10万",
  966. value: "100000"
  967. }
  968. ],
  969. kindCode: "SY_FJ_YBW3",
  970. isMainRisk: false,
  971. kindName: "附加医保-座位险(司机)",
  972. desc: "附加医保外医疗费用责任险(机动车第三者责任保险)"
  973. },
  974. ],
  975. bottomData: [
  976. // #ifdef APP-PLUS
  977. {
  978. text: '微信好友',
  979. icon: '/static/image/share/weixinhaoyou.png',
  980. name: 'wx'
  981. },
  982. {
  983. text: '短信发送',
  984. icon: '/static/image/share/shortMessage.png',
  985. name: 'dx'
  986. },
  987. // #endif
  988. {
  989. text: '报价单',
  990. icon: '/static/image/share/shortMessage.png',
  991. name: 'bjd'
  992. }
  993. ],
  994. vehicleModel: {}, //车型信息
  995. showOwerInfo: false, //展示车主信息
  996. showPolicyHolderInfo: false, //展示投保人信息
  997. showInsuredPersonInfo: false, //展示被保人信息
  998. showProposalWay: false, //获取保单方式
  999. showAdvancePayment: false, //展示保费
  1000. showAppoint: false, //展示特约
  1001. showDistribution: false, //展示快递
  1002. showApplyno: false, //展示投保单号
  1003. showPolicyno: false, //展示保单号
  1004. showPolicyFile: false, //展示电子保单
  1005. showPolicybzFile: false, //展示电子保单
  1006. policyList: [], //电子保单文件
  1007. policyList1: [], //电子标志文件
  1008. showCarImageInfo: false, //显示车辆影像
  1009. carImageList: [],
  1010. showOwnerImageInfo: false, //显示车主影像
  1011. ownerImageList: [],
  1012. showPolicyImageInfo: false, //显示投保人影像
  1013. policyImageList: [],
  1014. showInsuredImageInfo: false, //显示被保人影像
  1015. insuredImageList: [],
  1016. showCarCheckImageInfo: false, //显示验车照影像
  1017. carCheckImageList: [],
  1018. previewImgs: [],
  1019. dianzibaodan: "",
  1020. jypremium: "",
  1021. quoteno: "",
  1022. extendInfo: {},
  1023. routepage: "",
  1024. }
  1025. },
  1026. // 监听导航栏的按钮
  1027. onNavigationBarButtonTap(e) {
  1028. if (e.index == 0) {
  1029. this.$refs.showshare.open()
  1030. }
  1031. },
  1032. async onLoad(params) {
  1033. let pages = getCurrentPages(); // 当前页面路由
  1034. let beforePage = pages[pages.length - 2].route; // 上一个页面路由
  1035. this.routepage = beforePage;
  1036. if (!this.token) {
  1037. document.getElementsByTagName('uni-page-head')[0].style.display = 'none'
  1038. }
  1039. if (!!params.companyId) {
  1040. this.companyId = params.companyId;
  1041. let param = {
  1042. companyId: params.companyId
  1043. };
  1044. let res = await this.$http.post('/insurance/order/getByCompanyId', param);
  1045. if (res.code == 200) {
  1046. //获取前一个页面传过来的信息(车辆信息,人员信息,险种信息)
  1047. this.icon = "";
  1048. this.quoteno = res.data.quoteno;
  1049. this.name = res.data.inscompany;
  1050. this.carInfo = res.data.carinfo;
  1051. this.extendInfo = res.data.extendInfo;
  1052. this.licenseNo = res.data.licenseno;
  1053. if (!!this.carInfo.transferFlag) {
  1054. this.carInfo.transferFlag = 1;
  1055. } else {
  1056. this.carInfo.transferFlag = 0;
  1057. }
  1058. if (!!this.carInfo.loanStatus) {
  1059. this.carInfo.loanStatus = 1;
  1060. } else {
  1061. this.carInfo.loanStatus = 0;
  1062. }
  1063. if (!!this.carInfo.registerDate) {
  1064. let year1 = new Date(this.carInfo.registerDate).getFullYear()
  1065. let month1 = new Date(this.carInfo.registerDate).getMonth() + 1
  1066. if (month1 < 10) {
  1067. month1 = '0' + month1;
  1068. }
  1069. let day1 = new Date(this.carInfo.registerDate).getDate()
  1070. if (day1 < 10) {
  1071. day1 = '0' + day1;
  1072. }
  1073. this.carInfo.registerDate = year1 + '-' + month1 + '-' + day1
  1074. }
  1075. if (!!this.carInfo.issueDate) {
  1076. let year2 = new Date(this.carInfo.issueDate).getFullYear()
  1077. let month2 = new Date(this.carInfo.issueDate).getMonth() + 1
  1078. if (month2 < 10) {
  1079. month2 = '0' + month2;
  1080. }
  1081. let day2 = new Date(this.carInfo.issueDate).getDate()
  1082. if (day2 < 10) {
  1083. day2 = '0' + day2;
  1084. }
  1085. this.carInfo.issueDate = year2 + '-' + month2 + '-' + day2
  1086. }
  1087. if (!!this.carInfo.transferDate) {
  1088. let year3 = new Date(this.carInfo.transferDate).getFullYear()
  1089. let month3 = new Date(this.carInfo.transferDate).getMonth() + 1
  1090. if (month3 < 10) {
  1091. month3 = '0' + month3;
  1092. }
  1093. let day3 = new Date(this.carInfo.transferDate).getDate()
  1094. if (day3 < 10) {
  1095. day3 = '0' + day3;
  1096. }
  1097. this.carInfo.transferDate = year3 + '-' + month3 + '-' + day3
  1098. }
  1099. this.ownerInfo = res.data.ownerinfo;
  1100. this.policyHolderInfo = res.data.applyinfo;
  1101. this.insuredPersonInfo = res.data.insureinfo;
  1102. this.riskList = res.data.riskinfo;
  1103. this.kindList = res.data.kindinfo;
  1104. this.sumPermium = res.data.sumpremium;
  1105. this.taxAmount = res.data.taxamount;
  1106. this.sypremium = res.data.sypremium;
  1107. this.jqpremium = res.data.jqpremium;
  1108. this.jypremium = res.data.jypremium;
  1109. this.orderstatus = res.data.orderstatus;
  1110. this.feerate = res.data.feerate;
  1111. this.disrate = res.data.disrate;
  1112. this.jqdiscountrate = res.data.jqdiscountrate;
  1113. this.sydiscountrate = res.data.sydiscountrate;
  1114. this.syappoint = res.data.syappoint;
  1115. this.orderInfo = {};
  1116. Object.assign(this.orderInfo, res.data)
  1117. this.imageEcho(this.quoteno) // 影像获取完毕
  1118. switch (this.name) {
  1119. case "永安财险":
  1120. this.yonganprint(); //电子保单
  1121. break;
  1122. case "中煤财险":
  1123. this.zmgetPolicyPrint(); //电子保单
  1124. break;
  1125. case "恒邦财险":
  1126. case "安盛天平":
  1127. case "众安财险":
  1128. case "中国人寿":
  1129. this.pythonprint(); //电子保单
  1130. break;
  1131. case "永诚财险":
  1132. this.ycgetPolicyPrint(); //电子保单
  1133. break;
  1134. case "紫金财险":
  1135. this.zjgetPolicyPrint(); //电子保单
  1136. break;
  1137. case "国任财险":
  1138. this.grgetPolicyPrint(); //电子保单
  1139. break;
  1140. }
  1141. }
  1142. } else {
  1143. uni.showModal({
  1144. showCancel: false,
  1145. title: "未查询到该订单"
  1146. })
  1147. }
  1148. },
  1149. methods: {
  1150. ...mapMutations(['setOrderStage', 'setOrderType']),
  1151. //影像查询
  1152. async imageEcho(quotenos) {
  1153. let imgres = await this.$http.get('/ins/taskImage/findByQuoteNo?quoteNo=' + quotenos);
  1154. if (imgres.code == "200") {
  1155. Object.keys(imgres.data).forEach((keys) => {
  1156. if (imgres.data[keys].url) {
  1157. imgres.data[keys].url = this.$base.baseUrl + imgres.data[keys].url;
  1158. switch (keys) {
  1159. case 'C01':
  1160. case 'D01':
  1161. this.carImageList.push(imgres.data[keys]);
  1162. break;
  1163. case 'C02':
  1164. case 'D02':
  1165. this.ownerImageList.push(imgres.data[keys]);
  1166. break;
  1167. case 'C03':
  1168. case 'D03':
  1169. this.policyImageList.push(imgres.data[keys]);
  1170. break;
  1171. case 'C04':
  1172. case 'D04':
  1173. this.insuredImageList.push(imgres.data[keys]);
  1174. break;
  1175. default:
  1176. break;
  1177. }
  1178. }
  1179. });
  1180. }
  1181. },
  1182. //去选择险种页面
  1183. toInsureItems() {
  1184. this.navigate({
  1185. url: '/pages/carInsure1/insureItems1',
  1186. success: (res) => {
  1187. res.eventChannel.emit("acceptData", {
  1188. carInfo: this.carInfo,
  1189. ownerInfo: this.ownerInfo,
  1190. policyHolderInfo: this.policyHolderInfo,
  1191. insuredPersonInfo: this.insuredPersonInfo,
  1192. riskList: this.riskList,
  1193. kindList: this.kindList
  1194. })
  1195. }
  1196. }, "navigateTo", true);
  1197. },
  1198. //去确认核保页面
  1199. toUnderwriting() {
  1200. this.navigate({
  1201. url: "/pages/carInsure1/underwriting1?companyId=" + this.companyId
  1202. },
  1203. "navigateTo", true);
  1204. },
  1205. //影像预览
  1206. previewImage(e, type) {
  1207. this.previewImgs = this[type + 'ImageList'];
  1208. var current = e.currentTarget.dataset.src;
  1209. this.$refs.previewImage.open(current); // 传入当前选中的图片地址或序号
  1210. },
  1211. //查询电子保单
  1212. async yonganprint() {
  1213. this.policyList = [];
  1214. this.policyList1 = [];
  1215. let res = await this.$http.post('/order/yongAn/getPolicyPrint', {
  1216. companyId: this.companyId,
  1217. policytype: "jq"
  1218. }); //永安
  1219. if (res.data) {
  1220. let result = res.data.replace(/[\r\n]/g, "");
  1221. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1222. base64ToPath(pdfBase64)
  1223. .then(path => {
  1224. this.policyList.push({
  1225. fileTitle: "交强电子保单",
  1226. filename: this.orderInfo.jqpolicyno,
  1227. fileurl: path,
  1228. })
  1229. })
  1230. }
  1231. let res1 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1232. companyId: this.companyId,
  1233. policytype: "jq"
  1234. }); //永安
  1235. if (res1.data) {
  1236. let result = res1.data.replace(/[\r\n]/g, "");
  1237. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1238. base64ToPath(pdfBase64)
  1239. .then(path => {
  1240. this.policyList1.push({
  1241. fileTitle: "交强电子标志",
  1242. filename: this.orderInfo.jqpolicyno,
  1243. fileurl: path,
  1244. })
  1245. })
  1246. }
  1247. if (this.orderInfo.sypolicyno) {
  1248. let res2 = await this.$http.post('/order/yongAn/getPolicyPrint2', {
  1249. companyId: this.companyId,
  1250. policytype: "sy"
  1251. }); //永安
  1252. if (res2.data) {
  1253. let result = res1.data.replace(/[\r\n]/g, "");
  1254. let pdfBase64 = `data:application/pdf;base64,${result}`;
  1255. base64ToPath(pdfBase64)
  1256. .then(path => {
  1257. this.policyList.push({
  1258. fileTitle: "商业电子保单",
  1259. filename: this.orderInfo.sypolicyno,
  1260. fileurl: path,
  1261. })
  1262. })
  1263. }
  1264. }
  1265. },
  1266. async zmgetPolicyPrint() {
  1267. this.policyList = [];
  1268. this.policyList1 = [];
  1269. if (this.orderInfo.jqpolicyno) {
  1270. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1271. companyId: this.companyId,
  1272. riskCode: "0507",
  1273. type: '2', //2:保单
  1274. });
  1275. if (res.code == '200') {
  1276. this.policyList.push({
  1277. fileTitle: "交强电子保单",
  1278. filename: this.orderInfo.jqpolicyno,
  1279. fileurl: res.data[0],
  1280. })
  1281. }
  1282. let res1 = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1283. companyId: this.companyId,
  1284. riskCode: "0507",
  1285. type: '1', //1:标志
  1286. });
  1287. if (res1.code == '200') {
  1288. this.policyList1.push({
  1289. fileTitle: "交强电子标志",
  1290. filename: this.orderInfo.jqpolicyno,
  1291. fileurl: res1.data[0],
  1292. })
  1293. }
  1294. }
  1295. if (this.orderInfo.sypolicyno) {
  1296. let res = await this.$http.post('/order/zhongMeiApi/getPolicyPrint', {
  1297. companyId: this.companyId,
  1298. riskCode: "0510",
  1299. type: '2', //2:标志
  1300. });
  1301. if (res.code == '200') {
  1302. this.policyList.push({
  1303. fileTitle: "商业电子保单",
  1304. filename: this.orderInfo.sypolicyno,
  1305. fileurl: res.data[0],
  1306. })
  1307. }
  1308. }
  1309. },
  1310. async ycgetPolicyPrint() {
  1311. this.policyList = [];
  1312. this.policyList1 = [];
  1313. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1314. companyId: this.companyId,
  1315. riskCode: "0507",
  1316. type: '2', //2:保单
  1317. }); //永诚财险
  1318. if (res.code == '200') {
  1319. this.policyList.push({
  1320. fileTitle: "交强电子保单",
  1321. filename: this.orderInfo.jqpolicyno,
  1322. fileurl: res.data.jqUrl,
  1323. })
  1324. if (res.data.jqFlagUrl) {
  1325. this.policyList1.push({
  1326. fileTitle: "交强电子标志",
  1327. filename: this.orderInfo.jqpolicyno,
  1328. fileurl: res.data.jqFlagUrl,
  1329. })
  1330. }
  1331. }
  1332. if (this.orderInfo.sypolicyno) {
  1333. let res = await this.$http.post('/api/yongCheng/getPolicyPrint', {
  1334. companyId: this.companyId,
  1335. riskCode: "0510",
  1336. type: '2', //2:保单
  1337. }); //永诚财险
  1338. if (res.code == '200') {
  1339. this.policyList.push({
  1340. fileTitle: "商业电子保单",
  1341. filename: this.orderInfo.sypolicyno,
  1342. fileurl: res.data.syUrl,
  1343. });
  1344. }
  1345. }
  1346. },
  1347. //爬虫电子保单统一调用
  1348. async pythonprint() {
  1349. if (this.orderInfo.jqpolicyno) {
  1350. let params = {
  1351. subOrderNo: this.companyId,
  1352. };
  1353. let res1 = await this.$http.post('/insurance/crawler/getPolicyPrint', params);
  1354. if (res1.code == '200') {
  1355. this.policyList = [];
  1356. this.policyList1 = [];
  1357. this.policyList.push({
  1358. fileTitle: "交强电子保单",
  1359. filename: this.orderInfo.jqpolicyno,
  1360. fileurl: res1.data.jqxPolicyUrl,
  1361. })
  1362. this.policyList1.push({
  1363. fileTitle: "交强电子标志",
  1364. filename: this.orderInfo.jqpolicyno,
  1365. fileurl: res1.data.jqxFlagUrl,
  1366. })
  1367. if (res1.data.syxPolicyUrl) {
  1368. this.policyList.push({
  1369. fileTitle: "商业电子保单",
  1370. filename: this.orderInfo.sypolicyno,
  1371. fileurl: res1.data.syxPolicyUrl,
  1372. });
  1373. }
  1374. if (res1.data.jyxPolicyUrl) {
  1375. this.policyList.push({
  1376. fileTitle: "驾意险保单",
  1377. filename: 'xxxxxxxxxxxxxxxxxxxxxx',
  1378. fileurl: res1.data.jyxPolicyUrl,
  1379. });
  1380. }
  1381. }
  1382. }
  1383. },
  1384. async zjgetPolicyPrint() {
  1385. this.policyList = [];
  1386. this.policyList1 = [];
  1387. if (this.orderInfo.jqpolicyno) {
  1388. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1389. companyId: this.companyId,
  1390. riskCode: "0507",
  1391. type: '2', //2:保单
  1392. });
  1393. if (res.code == '200') {
  1394. this.policyList.push({
  1395. fileTitle: "交强电子保单",
  1396. filename: this.orderInfo.jqpolicyno,
  1397. fileurl: res.data,
  1398. })
  1399. }
  1400. let res1 = await this.$http.post('/order/zijin/getPolicyPrint', {
  1401. companyId: this.companyId,
  1402. riskCode: "0507",
  1403. type: '1', //1:标志
  1404. });
  1405. if (res1.code == '200') {
  1406. this.policyList1.push({
  1407. fileTitle: "交强电子标志",
  1408. filename: this.orderInfo.jqpolicyno,
  1409. fileurl: res1.data,
  1410. })
  1411. }
  1412. }
  1413. if (this.orderInfo.sypolicyno) {
  1414. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1415. companyId: this.companyId,
  1416. riskCode: "0510",
  1417. type: '2', //2:标志
  1418. });
  1419. if (res.code == '200') {
  1420. this.policyList.push({
  1421. fileTitle: "商业电子保单",
  1422. filename: this.orderInfo.sypolicyno,
  1423. fileurl: res.data,
  1424. })
  1425. }
  1426. }
  1427. if (this.orderInfo.crossInsurance.length > 0) {
  1428. this.orderInfo.crossInsurance.map(async ele => {
  1429. let res = await this.$http.post('/order/zijin/getPolicyPrint', {
  1430. companyId: this.companyId,
  1431. policyNumber: ele.policyNumber,
  1432. riskCode: "0513",
  1433. type: '2', //2:保单
  1434. });
  1435. if (res.code == '200') {
  1436. this.policyList.push({
  1437. fileTitle: "驾意险保单",
  1438. filename: ele.policyNumber,
  1439. fileurl: res.data,
  1440. })
  1441. }
  1442. })
  1443. }
  1444. },
  1445. async grgetPolicyPrint() {
  1446. this.policyList = [];
  1447. this.policyList1 = [];
  1448. if (this.orderInfo.jqpolicyno) {
  1449. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1450. companyId: this.companyId,
  1451. riskCode: "0507",
  1452. type: '2', //2:保单
  1453. });
  1454. if (res.code == '200') {
  1455. this.policyList.push({
  1456. fileTitle: "交强电子保单",
  1457. filename: this.orderInfo.jqpolicyno,
  1458. fileurl: res.data,
  1459. })
  1460. }
  1461. let res1 = await this.$http.post('/api/guoRen/policyPrint', {
  1462. companyId: this.companyId,
  1463. riskCode: "0507",
  1464. type: '1', //1:标志
  1465. });
  1466. if (res1.code == '200') {
  1467. this.policyList1.push({
  1468. fileTitle: "交强电子标志",
  1469. filename: this.orderInfo.jqpolicyno,
  1470. fileurl: res1.data,
  1471. })
  1472. }
  1473. }
  1474. if (this.orderInfo.sypolicyno) {
  1475. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1476. companyId: this.companyId,
  1477. riskCode: "0510",
  1478. type: '2', //2:标志
  1479. });
  1480. if (res.code == '200') {
  1481. this.policyList.push({
  1482. fileTitle: "商业电子保单",
  1483. filename: this.orderInfo.sypolicyno,
  1484. fileurl: res.data,
  1485. })
  1486. }
  1487. }
  1488. if (this.orderInfo.crossInsurance.length > 0) {
  1489. this.orderInfo.crossInsurance.map(async ele => {
  1490. let res = await this.$http.post('/api/guoRen/policyPrint', {
  1491. companyId: this.companyId,
  1492. policyNumber: ele.policyNumber,
  1493. riskCode: "0513",
  1494. type: '2', //2:保单
  1495. });
  1496. if (res.code == '200') {
  1497. this.policyList.push({
  1498. fileTitle: "驾意险保单",
  1499. filename: ele.policyNumber,
  1500. fileurl: res.data,
  1501. })
  1502. }
  1503. })
  1504. }
  1505. },
  1506. downloadPolicy(file) {
  1507. //#ifdef APP-PLUS
  1508. uni.showLoading({
  1509. title: '文件下载中'
  1510. });
  1511. let index = file.lastIndexOf("\/")
  1512. let name = file.substring(index + 1, file.length)
  1513. let dtask = plus.downloader.createDownload(file, {
  1514. filename: "_downloads/" + name
  1515. }, function(d, status) {
  1516. if (status == 200) {
  1517. uni.hideLoading()
  1518. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  1519. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  1520. plus.runtime.openFile(d.filename); //选择软件打开文件
  1521. } else {
  1522. uni.hideLoading()
  1523. //下载失败
  1524. plus.downloader.clear(); //清除下载任务
  1525. }
  1526. })
  1527. dtask.start();
  1528. // uni.downloadFile({
  1529. // url: file,
  1530. // success(val) {
  1531. // uni.saveFile({
  1532. // tempFilePath: val.tempFilePath, //临时路径
  1533. // success: function(res) {
  1534. // uni.hideLoading();
  1535. // uni.showToast({
  1536. // icon: 'none',
  1537. // mask: true,
  1538. // title: '文件已保存到:' + res.savedFilePath +
  1539. // ',正在打开文件', //保存路径
  1540. // duration: 3000,
  1541. // });
  1542. // setTimeout(() => {
  1543. // //打开文档查看
  1544. // uni.openDocument({
  1545. // filePath: res.savedFilePath,
  1546. // success: function(res) {}
  1547. // });
  1548. // }, 1500)
  1549. // }
  1550. // });
  1551. // }
  1552. // });
  1553. //#endif
  1554. //#ifdef H5
  1555. var win = window.open();
  1556. win.document.write(
  1557. '<body style="margin:0px;"><object data="' +
  1558. file +
  1559. '" type="application/pdf" width="100%" height="100%"><iframe src="' +
  1560. file +
  1561. '" scrolling="no" width="100%" height="100%" frameborder="0" ></iframe></object></body>'
  1562. );
  1563. //#endif
  1564. },
  1565. //选择缴费方式
  1566. openPayWay() {
  1567. this.navigate({
  1568. url: "/pages/carInsure/payWay?orderno=" + this.orderno
  1569. }, 'navigateTo', true)
  1570. },
  1571. cancelShare() {
  1572. this.$refs.showshare.close()
  1573. },
  1574. //控制详情的展开和收起
  1575. controlShow(type) {
  1576. this[type] = !this[type];
  1577. },
  1578. //撤销核保
  1579. cancelUnderwriting() {
  1580. uni.showModal({
  1581. content: '是否确认撤销核保?',
  1582. success: async (res) => {
  1583. if (res.confirm) {
  1584. let param = {
  1585. "auditid": this.userInfo.sysUser.id, //核保人会员号
  1586. "auditopinion": '', //核保意见
  1587. "jqapplyno": "", //交强险投保单号
  1588. "jqappoint": "", //交强特别约定
  1589. "jqpolicyno": "", //交强保单号
  1590. "orderno": this.orderno, //订单号
  1591. "orderstatus": "0", //订单类型
  1592. "syapplyno": "", //商业险投保单号
  1593. "syappoint": "", //商业险特别约定
  1594. "sypolicyno": "" //商业保单号
  1595. }
  1596. let res = await this.$http.post('/insOrder/saveAudit', param);
  1597. uni.showToast({
  1598. title: '撤销成功',
  1599. icon: "none",
  1600. duration: 2000
  1601. });
  1602. setTimeout(() => {
  1603. this.setOrderStage(0);
  1604. this.setOrderType(0);
  1605. this.navigate({
  1606. url: "/pages/orders/orders"
  1607. }, "switchTab", true);
  1608. }, 2000);
  1609. } else if (res.cancel) {
  1610. console.log('用户点击取消');
  1611. }
  1612. }
  1613. });
  1614. },
  1615. toChinesNum(num) {
  1616. let changeNum = [
  1617. "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
  1618. ];
  1619. let unit = ["", "0", "00", "000", "0000"];
  1620. num = parseInt(num);
  1621. let getWan = temp => {
  1622. let strArr = temp
  1623. .toString()
  1624. .split("")
  1625. .reverse();
  1626. let newNum = "";
  1627. let newArr = [];
  1628. strArr.forEach((item, index) => {
  1629. newArr.unshift(
  1630. item === "0" ? changeNum[item] : changeNum[item] + unit[index]
  1631. );
  1632. });
  1633. let numArr = [];
  1634. newArr.forEach((m, n) => {
  1635. if (m !== "0") numArr.push(n);
  1636. });
  1637. if (newArr.length > 1) {
  1638. newArr.forEach((m, n) => {
  1639. if (newArr[newArr.length - 1] === "0") {
  1640. if (n <= numArr[numArr.length - 1]) {
  1641. newNum += m;
  1642. }
  1643. } else {
  1644. newNum += m;
  1645. }
  1646. });
  1647. } else {
  1648. newNum = newArr[0];
  1649. }
  1650. return newNum;
  1651. };
  1652. let overWan = Math.floor(num / 10000);
  1653. let noWan = num % 10000;
  1654. if (noWan.toString().length < 4) {
  1655. noWan = "0" + noWan;
  1656. }
  1657. return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num);
  1658. },
  1659. }
  1660. }
  1661. </script>
  1662. <style lang="scss" scoped>
  1663. @import '@/style/mixin.scss';
  1664. /* 头部车辆信息和特权Start */
  1665. .carInfo {
  1666. height: 280upx;
  1667. background: -webkit-linear-gradient(0deg, rgba($themeColor, 0.6), rgba($themeColor, 0.8));
  1668. background-size: 100% 100%;
  1669. }
  1670. .carInfo .topLeft {
  1671. font-size: 90upx;
  1672. color: #FFFFFF;
  1673. }
  1674. .carInfo .topLeft .license {
  1675. width: 420upx;
  1676. overflow: hidden;
  1677. text-overflow: ellipsis;
  1678. white-space: nowrap;
  1679. }
  1680. .carInfo .topLeft .totalMoney {
  1681. font-size: 40upx;
  1682. font-weight: bold;
  1683. }
  1684. .carInfo .topRight {
  1685. flex-shrink: 0;
  1686. width: 140upx;
  1687. color: #FFFFFF;
  1688. }
  1689. .carInfo .topRight image {
  1690. width: 100upx;
  1691. height: 100upx;
  1692. }
  1693. .carInfo .other {
  1694. background-color: #FFFFFF;
  1695. height: 80upx;
  1696. border-radius: 15upx;
  1697. box-sizing: border-box;
  1698. }
  1699. .carInfo .other .privilege {
  1700. background-color: rgba($themeColor, 0.6);
  1701. font-size: 24upx;
  1702. color: #FFFFFF;
  1703. font-weight: bold;
  1704. }
  1705. .carInfo .other .content {
  1706. width: 460upx;
  1707. margin-left: 15upx;
  1708. overflow: hidden;
  1709. text-overflow: ellipsis;
  1710. white-space: nowrap;
  1711. }
  1712. .carInfo .other .icon {
  1713. width: 30upx;
  1714. }
  1715. /* 头部车辆信息和特权End */
  1716. .header {
  1717. height: 80upx;
  1718. padding: 0 30upx;
  1719. position: relative;
  1720. }
  1721. .header .title {
  1722. font-size: 30upx;
  1723. font-weight: bold;
  1724. padding-left: 10upx;
  1725. }
  1726. .welfare {
  1727. margin-bottom: 20upx;
  1728. width: 100%;
  1729. box-sizing: border-box;
  1730. background: #FFFFFF;
  1731. border-radius: 20upx;
  1732. }
  1733. .welfare .body {
  1734. padding: 0 30upx 30upx;
  1735. box-sizing: border-box;
  1736. flex-wrap: wrap;
  1737. }
  1738. .welfare .body>.welfareItem {
  1739. width: 320upx;
  1740. height: 120upx;
  1741. padding: 10upx 20upx;
  1742. margin: 20upx 10upx 0upx;
  1743. border: 1px solid rgba($themeColor, 0.6);
  1744. box-sizing: border-box;
  1745. background: rgba($themeColor, 0.4);
  1746. border-radius: 10upx;
  1747. }
  1748. .welfare .body>.welfareItem .name {
  1749. color: $themeColor;
  1750. font-size: 30upx;
  1751. width: 210upx;
  1752. overflow: hidden;
  1753. text-overflow: ellipsis;
  1754. white-space: nowrap;
  1755. }
  1756. .welfare .body>.welfareItem .content {
  1757. font-size: 24upx;
  1758. width: 260upx;
  1759. overflow: hidden;
  1760. text-overflow: ellipsis;
  1761. white-space: nowrap;
  1762. }
  1763. /* 报价方案Start */
  1764. .quotePlan {
  1765. margin-bottom: 20upx;
  1766. width: 100%;
  1767. box-sizing: border-box;
  1768. background: #FFFFFF;
  1769. border-radius: 20upx;
  1770. }
  1771. .quotePlan .header .adjustPlan {
  1772. color: $themeColor;
  1773. }
  1774. .quotePlan .body {
  1775. padding: 0 40upx 10upx;
  1776. }
  1777. .quotePlan .body .insurance {
  1778. padding-bottom: 20upx;
  1779. border-bottom: 1px dashed #E6E8EA;
  1780. }
  1781. .quotePlan .body .row {
  1782. height: 70upx;
  1783. }
  1784. .quotePlan .body .row .date {
  1785. color: #A4A4A4;
  1786. font-size: 22upx;
  1787. margin-left: 40upx;
  1788. }
  1789. .quotePlan .body .insurance .kindList {
  1790. background: #F3F3F3;
  1791. padding: 0 10upx;
  1792. }
  1793. .addedServices .kindList {
  1794. background: #F3F3F3;
  1795. padding: 0 10upx;
  1796. }
  1797. .quotePlan .body .insurance .kindList .kindItem {
  1798. padding: 2px 0;
  1799. }
  1800. .quotePlan .body .insurance .kindList .kindItem>view {
  1801. font-size: 24upx;
  1802. }
  1803. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(1) {
  1804. width: 310upx;
  1805. }
  1806. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(2) {
  1807. width: 170upx;
  1808. }
  1809. .quotePlan .body .insurance .kindList .kindItem>view:nth-of-type(3) {
  1810. width: 170upx;
  1811. }
  1812. .addedServices .kindList .kindItem {
  1813. height: 65upx;
  1814. }
  1815. .addedServices .kindList .kindItem>view {
  1816. font-size: 24upx;
  1817. padding: 0upx 15upx;
  1818. }
  1819. /* 报价方案End */
  1820. .car {
  1821. margin-bottom: 20upx;
  1822. width: 100%;
  1823. box-sizing: border-box;
  1824. background: #FFFFFF;
  1825. }
  1826. .car .body {
  1827. padding: 0upx 30upx 10upx;
  1828. }
  1829. .car .body .row {
  1830. padding: 5px;
  1831. border-bottom: 1px solid #F3F3F3;
  1832. }
  1833. /* 预缴费Start */
  1834. .advancePaymentTotal {
  1835. margin-bottom: 20upx;
  1836. width: 100%;
  1837. box-sizing: border-box;
  1838. background: #FFFFFF;
  1839. border-radius: 20upx;
  1840. }
  1841. .advancePaymentTotal .body {
  1842. padding: 0upx 40upx 10upx;
  1843. }
  1844. .advancePaymentTotal .body .row {
  1845. height: 80upx;
  1846. border-bottom: 1px solid #F3F3F3;
  1847. }
  1848. /* 预缴费End */
  1849. /* 底部按钮Start */
  1850. .bottomBtn {
  1851. position: fixed;
  1852. bottom: 0;
  1853. left: 0;
  1854. right: 0;
  1855. border-top: 1px solid #F1F1F1;
  1856. background-color: #FFFFFF;
  1857. height: 90upx;
  1858. }
  1859. .bottomBtn .listener {
  1860. width: 120upx;
  1861. font-size: 20upx;
  1862. line-height: 1.2;
  1863. color: #999;
  1864. }
  1865. .bottomBtn .listener .icon {
  1866. font-size: 40upx;
  1867. padding: 0;
  1868. }
  1869. .bottomBtn .btn {
  1870. font-size: 34upx;
  1871. background-color: $themeColor;
  1872. color: #fff;
  1873. width: 280upx;
  1874. flex-shrink: 0;
  1875. }
  1876. /* 底部按钮End */
  1877. /* 人员信息Start */
  1878. .personInfo,
  1879. .advancePayment,
  1880. .imageInfo,
  1881. .appoint {
  1882. margin-bottom: 20upx;
  1883. background: #FFFFFF;
  1884. padding: 0upx 40upx;
  1885. }
  1886. .personInfo .title,
  1887. .advancePayment .title,
  1888. .imageInfo .title,
  1889. .appoint .title {
  1890. height: 80upx;
  1891. font-size: 32upx;
  1892. box-shadow: inset 0 -3upx 0px #fafafa;
  1893. }
  1894. .showStatus {
  1895. font-size: 26upx;
  1896. color: #007AFF;
  1897. }
  1898. .personInfo .content .row,
  1899. .advancePayment .content .row {
  1900. height: 80upx;
  1901. border-bottom: 1px solid #F9F9F9;
  1902. flex-wrap: nowrap;
  1903. }
  1904. .personInfo .content .row .left,
  1905. .advancePayment .content .row .left {
  1906. width: 170upx;
  1907. flex-shrink: 0;
  1908. font-size: 28upx;
  1909. }
  1910. .appoint .content .row {
  1911. height: auto;
  1912. margin-top: 10upx;
  1913. }
  1914. .appoint .content .row>view {
  1915. width: 240upx;
  1916. flex-shrink: 1;
  1917. font-size: 28upx;
  1918. }
  1919. .appoint .content .row>textarea {
  1920. /* background: #007AFF; */
  1921. padding: 15upx;
  1922. box-sizing: border-box;
  1923. font-size: 26upx;
  1924. min-height: 160upx;
  1925. height: 100upx;
  1926. border: 1px solid #fafafa;
  1927. /* over */
  1928. }
  1929. .personInfo .content .row .right,
  1930. .advancePayment .content .row .right,
  1931. .appoint .content .row .right {
  1932. font-size: 28upx;
  1933. }
  1934. /* 人员信息End */
  1935. .checkButton {
  1936. margin: 0 20upx 0 20upx;
  1937. font-size: 24upx;
  1938. width: 80upx;
  1939. height: 50upx;
  1940. background: $themeColor;
  1941. font-weight: bold;
  1942. color: #FFFFFF;
  1943. border-radius: 5upx;
  1944. }
  1945. .uni-popup__wrapper-box {
  1946. display: block;
  1947. position: relative;
  1948. }
  1949. .uni-share {
  1950. display: flex;
  1951. flex-direction: column;
  1952. background-color: #fff;
  1953. position: fixed;
  1954. bottom: 0;
  1955. left: 0;
  1956. right: 0;
  1957. }
  1958. .uni-share-title {
  1959. line-height: 30px;
  1960. font-size: 12px;
  1961. padding: 7px 0;
  1962. text-align: center;
  1963. }
  1964. .uni-share-content {
  1965. display: flex;
  1966. flex-direction: row;
  1967. flex-wrap: wrap;
  1968. justify-content: center;
  1969. padding: 15px;
  1970. }
  1971. .uni-share-content-box {
  1972. display: flex;
  1973. flex-direction: column;
  1974. align-items: center;
  1975. width: 100px;
  1976. }
  1977. .uni-share-content-image {
  1978. display: flex;
  1979. flex-direction: row;
  1980. justify-content: center;
  1981. align-items: center;
  1982. width: 30px;
  1983. height: 30px;
  1984. overflow: hidden;
  1985. border-radius: 5px;
  1986. }
  1987. .uni-share-content-text {
  1988. font-size: 13px;
  1989. color: #333;
  1990. padding-top: 5px;
  1991. padding-bottom: 10px;
  1992. }
  1993. .uni-share-btn {
  1994. height: 45px;
  1995. line-height: 45px;
  1996. font-size: 14px;
  1997. border-top-color: #f5f5f5;
  1998. border-top-width: 1px;
  1999. border-top-style: solid;
  2000. text-align: center;
  2001. color: #666;
  2002. }
  2003. uni-image>img {
  2004. display: block;
  2005. position: absolute;
  2006. top: 0;
  2007. left: 0;
  2008. opacity: 0;
  2009. }
  2010. uni-image>div,
  2011. uni-image>img {
  2012. width: 100%;
  2013. height: 100%;
  2014. }
  2015. </style>