quoteDetail1.vue 55 KB

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