insuranceClaims.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. <template>
  2. <view class="pagebody">
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <z-paging auto-show-back-to-top :style="getHeight">
  6. <view class="claimimg">
  7. <image src="/static/image/claim/claimtop.png" mode="widthFix"></image>
  8. </view>
  9. <view class="claimsteps">
  10. <view class="claimstep d-flex j-end" v-for="(step,stepIndex) in steps" :key="stepIndex">
  11. <view class="stepimg d-flex a-center j-center" v-if="step.imgposition == 'left'">
  12. <image lazy-load :src="step.img" mode="widthFix"></image>
  13. </view>
  14. <view class="stepinfo d-flex flex-column ">
  15. <view class="stepindex d-flex a-center j-center">{{stepIndex+1}}</view>
  16. <view class="steptitle d-flex a-center">{{step.tit}}</view>
  17. <view class="stepcontent">{{step.content}}</view>
  18. </view>
  19. <view class="stepimg d-flex a-center j-center" v-if="step.imgposition == 'right'">
  20. <image lazy-load :src="step.img" mode="widthFix"></image>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="claimmobile">
  25. <view class="claimmobiletitle d-flex a-center">
  26. <p>各大保险公司理赔报案电话</p>
  27. </view>
  28. <view class=" search-input d-flex a-center">
  29. <u-input v-model="value" type="text" :border="true" @confirm="onConfirm"/>
  30. </view>
  31. <view class="claimmobilecontent">
  32. <view class="claimmobileitem d-flex a-center j-center" v-for="(item,index) in claimmobiles" :key="index">
  33. <view class="companyicon d-flex a-center j-center">
  34. <image :src="item.icon" lazy-load></image>
  35. </view>
  36. <view class="companyname flex-1">{{item.name}}</view>
  37. <view class="companymobile d-flex j-end">
  38. <span class="d-flex" @tap="mobileCall(item.mobile)">
  39. {{item.mobile}}
  40. <view class="icon iconfont icon-dianhua1 main-text-color"></view>
  41. </span>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. </z-paging>
  47. </view>
  48. </template>
  49. <script>
  50. export default {
  51. data() {
  52. return {
  53. steps:[
  54. {
  55. img:"/static/image/claim/claim1.png",
  56. imgposition:"left",
  57. tit:"电话报案",
  58. content:"出险后,客户向保险公司理赔部门报案;一般保险公司要求在事发48小时内报案。"
  59. },
  60. {
  61. img:"/static/image/claim/claim2.png",
  62. imgposition:"right",
  63. tit:"勘察定损",
  64. content:"检查人员在接保险公司内勤通知后1个工作日内完成现场查勘和检验工作(受损标的在外地的检验,可委托当地保险公司在3个工作日内完成)。"
  65. },
  66. {
  67. img:"/static/image/claim/claim3.png",
  68. imgposition:"left",
  69. tit:"金额赔付",
  70. content:"(1)核赔科经办人将已完成审批手续的赔案编号,将赔款收据和计算书交财务划款(2)财务对赔付确认后,除赔款收据和计算书红色联外,其余取回。"
  71. },
  72. {
  73. img:"/static/image/claim/claim4.png",
  74. imgposition:"right",
  75. tit:"车辆维修",
  76. content:"根据与保险公司确认后前往指定或其他修理厂进行修车;修理好后童话之车主提车。"
  77. }
  78. ],
  79. claimmobiles:[
  80. {
  81. icon:"/static/image/claim/icon/ansheng.png",
  82. name:"安盛天平",
  83. mobile:"95550"
  84. },
  85. {
  86. icon:"/static/image/claim/icon/dadi.png",
  87. name:"大地保险",
  88. mobile:"95590"
  89. },
  90. {
  91. icon:"/static/image/claim/icon/zijin.png",
  92. name:"紫金财险",
  93. mobile:"400-828-0018"
  94. },
  95. {
  96. icon:"/static/image/claim/icon/libao.png",
  97. name:"利宝保险",
  98. mobile:"400-888-2008"
  99. },
  100. {
  101. icon:"/static/image/claim/icon/sanxing.png",
  102. name:"三星保险",
  103. mobile:"400-933-3000"
  104. },
  105. {
  106. icon:"/static/image/claim/icon/pingan.png",
  107. name:"平安保险",
  108. mobile:"95511"
  109. },
  110. {
  111. icon:"/static/image/claim/icon/huatai.png",
  112. name:"华泰保险",
  113. mobile:"400-609-5509"
  114. },
  115. {
  116. icon:"/static/image/claim/icon/huaan.png",
  117. name:"华安保险",
  118. mobile:"95556"
  119. },
  120. {
  121. icon:"/static/image/claim/icon/bohai.png",
  122. name:"渤海财产",
  123. mobile:"400-611-6666"
  124. },
  125. {
  126. icon:"/static/image/claim/icon/zhongmei.png",
  127. name:"中煤保险",
  128. mobile:"400-653-6888"
  129. },
  130. {
  131. icon:"/static/image/claim/icon/dinghe.png",
  132. name:"鼎和保险",
  133. mobile:"95393"
  134. },
  135. {
  136. icon:"/static/image/claim/icon/dajia.png",
  137. name:"大家保险",
  138. mobile:"95569"
  139. },
  140. {
  141. icon:"/static/image/claim/icon/fude.png",
  142. name:"福德保险",
  143. mobile:"400-669-5535"
  144. },
  145. {
  146. icon:"/static/image/claim/icon/taiping.png",
  147. name:"太平保险",
  148. mobile:"95589"
  149. },
  150. {
  151. icon:"/static/image/claim/icon/anhua.png",
  152. name:"安华农业",
  153. mobile:"95540"
  154. },
  155. {
  156. icon:"/static/image/claim/icon/dubang.png",
  157. name:"都邦保险",
  158. mobile:"95586"
  159. },
  160. {
  161. icon:"/static/image/claim/icon/zhongan.png",
  162. name:"众安保险",
  163. mobile:"1010-9955"
  164. },
  165. {
  166. icon:"/static/image/claim/icon/yongan.png",
  167. name:"永安保险",
  168. mobile:"95502"
  169. },
  170. {
  171. icon:"/static/image/claim/icon/xiandai.png",
  172. name:"现代保险",
  173. mobile:"400-608-0808"
  174. },
  175. {
  176. icon:"/static/image/claim/icon/renshou.png",
  177. name:"中国人寿",
  178. mobile:"95519"
  179. },
  180. {
  181. icon:"/static/image/claim/icon/guotai.png",
  182. name:"国泰财险",
  183. mobile:"400-820-2288"
  184. },
  185. {
  186. icon:"/static/image/claim/icon/zhonghua.png",
  187. name:"中华联合",
  188. mobile:"95585"
  189. },
  190. {
  191. icon:"/static/image/claim/icon/zhongyin.png",
  192. name:"中银保险",
  193. mobile:"400-699-5566"
  194. },
  195. {
  196. icon:"/static/image/claim/icon/hezhong.png",
  197. name:"合众保险",
  198. mobile:"95515"
  199. },
  200. {
  201. icon:"/static/image/claim/icon/yongcheng.png",
  202. name:"永诚保险",
  203. mobile:"95552"
  204. },
  205. {
  206. icon:"/static/image/claim/icon/zhufeng.png",
  207. name:"珠峰财险",
  208. mobile:"1010-8848"
  209. },
  210. {
  211. icon:"/static/image/claim/icon/anxin.png",
  212. name:"安心保险",
  213. mobile:"95303"
  214. },
  215. {
  216. icon:"/static/image/claim/icon/huanong.png",
  217. name:"华农保险",
  218. mobile:"95540"
  219. },
  220. {
  221. icon:"/static/image/claim/icon/ancheng.png",
  222. name:"安诚保险",
  223. mobile:"95544"
  224. },
  225. {
  226. icon:"/static/image/claim/icon/renbao.png",
  227. name:"人保保险",
  228. mobile:"95518"
  229. },
  230. {
  231. icon:"/static/image/claim/icon/guoren.png",
  232. name:"国任财险",
  233. mobile:"400-866-7788"
  234. },
  235. {
  236. icon:"/static/image/claim/icon/yangguang.png",
  237. name:"阳光保险",
  238. mobile:"95510"
  239. },
  240. {
  241. icon:"/static/image/claim/icon/yatai.png",
  242. name:"亚太财险",
  243. mobile:"95506"
  244. },
  245. {
  246. icon:"/static/image/claim/icon/yingda.png",
  247. name:"英大保险",
  248. mobile:"400-018-8688"
  249. },
  250. {
  251. icon:"/static/image/claim/icon/zheshang.png",
  252. name:"浙商保险",
  253. mobile:"400-866-6777"
  254. },
  255. {
  256. icon:"/static/image/claim/icon/taipingyang.png",
  257. name:"太平洋保险",
  258. mobile:"95500"
  259. },
  260. {
  261. icon:"/static/image/claim/icon/tianan.png",
  262. name:"天安财险",
  263. mobile:"95505"
  264. }
  265. ],
  266. companyList:[],
  267. }
  268. },
  269. created() {
  270. this.companyList=[...this.claimmobiles]
  271. },
  272. computed: {
  273. getHeight() {
  274. let height = uni.getSystemInfoSync().windowHeight;
  275. return `height: ${height}px;`;
  276. }
  277. },
  278. onNavigationBarButtonTap(e) {
  279. // 分享图片
  280. let shareImg = '/static/image/claim/shareclaim.jpg';
  281. // 转换分享图片为file开头
  282. let shareImgs = 'file://' + plus.io.convertLocalFileSystemURL(shareImg);
  283. // #ifdef APP-PLUS
  284. let shareOPtions = {
  285. provider: "weixin",
  286. scene: "WXSceneSession",
  287. type: 2,
  288. imageUrl: shareImgs,
  289. success: (e) => {
  290. console.log('success', e);
  291. },
  292. fail: (e) => {
  293. console.log('fail', e)
  294. },
  295. complete: function() {
  296. console.log('分享操作结束!')
  297. }
  298. };
  299. uni.share(shareOPtions);
  300. // #endif
  301. },
  302. methods: {
  303. // 搜索电话
  304. onConfirm(e){
  305. // console.log(e)
  306. let arr=[...this.companyList]
  307. let newAarr=[]
  308. arr.forEach((v,i)=>{
  309. if(v.mobile.includes(e)){
  310. newAarr.push(v)
  311. }
  312. })
  313. this.claimmobiles=e!=''?[...newAarr]:[...this.companyList]
  314. },
  315. // 电话咨询
  316. mobileCall(mobile){
  317. // #ifdef APP-PLUS
  318. uni.authorize({
  319. scope: 'scope.makePhoneCall',
  320. success: () => {
  321. uni.makePhoneCall({
  322. phoneNumber: mobile,
  323. success: () => {
  324. console.log("成功拨打电话")
  325. }
  326. })
  327. },
  328. fail: () => {
  329. console.error('授权失败,请允许拨打电话权限!');
  330. }
  331. });
  332. // #endif
  333. },
  334. }
  335. }
  336. </script>
  337. <style>
  338. .pagebody{
  339. background-color: #ededed;
  340. }
  341. .claimimg{
  342. background-color: #FFFFFF;
  343. width: 100%;
  344. }
  345. .claimimg>image{
  346. width: 100%;
  347. }
  348. .claimsteps{
  349. background-color: #FFFFFF;
  350. padding: 20upx 30upx;
  351. }
  352. .claimsteps .claimstep{
  353. padding-bottom: 10upx;
  354. border-bottom: 1px solid #F5F3F6;
  355. }
  356. .claimsteps .claimstep .stepinfo{
  357. width: 510upx;
  358. padding: 30upx 18upx 20upx;
  359. box-sizing: border-box;
  360. }
  361. .claimsteps .claimstep .stepinfo .stepindex{
  362. width: 50upx;
  363. height: 50upx;
  364. font-size: 32upx;
  365. font-weight: bold;
  366. color: #FFFFFF;
  367. border-radius: 50%;
  368. background-color: #3C95FE;
  369. }
  370. .claimsteps .claimstep .stepinfo .steptitle{
  371. line-height: 80upx;
  372. font-size: 32upx;
  373. font-weight: bold;
  374. }
  375. .claimsteps .claimstep .stepinfo .stepcontent{
  376. line-height: 40upx;
  377. color: #A39FA3;
  378. font-size: 26upx;
  379. }
  380. .claimsteps .claimstep .stepimg{
  381. width: 180upx;
  382. flex-shrink: 1;
  383. }
  384. .claimsteps .claimstep .stepimg>image{
  385. width: 170upx;
  386. }
  387. .claimmobile{
  388. margin: 15upx 0;
  389. }
  390. .claimmobile .search-input{
  391. padding: 10px;
  392. box-sizing: border-box;
  393. background: #FFFFFF;
  394. }
  395. .claimmobile .claimmobiletitle{
  396. height: 80upx;
  397. background: #FFFFFF;
  398. }
  399. .claimmobile .claimmobiletitle p{
  400. margin-left: 50upx;
  401. font-size: 32upx;
  402. font-weight: bold;
  403. }
  404. .claimmobile .claimmobiletitle p:before{
  405. width: 8upx;
  406. height: 34upx;
  407. margin-top: 15upx;
  408. position:absolute;
  409. align-items: center;
  410. left: 30upx;
  411. content:'';
  412. background: #008DF0;
  413. }
  414. .claimmobile .claimmobilecontent{
  415. }
  416. .claimmobile .claimmobilecontent .claimmobileitem{
  417. height: 80upx;
  418. background: #FFFFFF;
  419. margin: 10upx 15upx;
  420. padding: 0upx 20upx;
  421. border-radius: 10upx;
  422. }
  423. .claimmobile .claimmobilecontent .claimmobileitem .companyicon{
  424. width: 60upx;
  425. height: 60upx;
  426. border: 1px solid #F0F1F3;
  427. border-radius: 5upx;
  428. flex-shrink: 1;
  429. }
  430. .claimmobile .claimmobilecontent .claimmobileitem .companyicon>image{
  431. width: 80%;
  432. height: 80%;
  433. }
  434. .claimmobile .claimmobilecontent .claimmobileitem .companyname{
  435. margin: 0upx 20upx;
  436. font-size: 32upx;
  437. }
  438. .claimmobile .claimmobilecontent .claimmobileitem .companymobile{
  439. width: 300upx;
  440. flex-shrink: 1;
  441. }
  442. .claimmobile .claimmobilecontent .claimmobileitem .companymobile .iconfont{
  443. font-size: 28upx;
  444. margin:0 20upx 0 30upx;
  445. }
  446. </style>