insuranceClaims.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. <template>
  2. <view class="pagebody">
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <service-widget @btnClick="btn_click"></service-widget>
  6. <z-paging auto-show-back-to-top :style="getHeight">
  7. <view class="claimimg">
  8. <image src="/static/image/claim/claimtop.png" mode="widthFix"></image>
  9. </view>
  10. <view class="claimsteps">
  11. <view class="claimstep d-flex j-end" v-for="(step,stepIndex) in steps" :key="stepIndex">
  12. <view class="stepimg d-flex a-center j-center" v-if="step.imgposition == 'left'">
  13. <image lazy-load :src="step.img" mode="widthFix"></image>
  14. </view>
  15. <view class="stepinfo d-flex flex-column ">
  16. <view class="stepindex d-flex a-center j-center">{{stepIndex+1}}</view>
  17. <view class="steptitle d-flex a-center">{{step.tit}}</view>
  18. <view class="stepcontent">{{step.content}}</view>
  19. </view>
  20. <view class="stepimg d-flex a-center j-center" v-if="step.imgposition == 'right'">
  21. <image lazy-load :src="step.img" mode="widthFix"></image>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="claimmobile">
  26. <view class="claimmobiletitle d-flex a-center">
  27. <p>各大保险公司理赔报案电话</p>
  28. </view>
  29. <view class=" search-input d-flex a-center">
  30. <u-input v-model="value" type="text" :border="true" @confirm="onConfirm" placeholder="请输入保险公司名称" />
  31. </view>
  32. <view class="claimmobilecontent">
  33. <view class="claimmobileitem d-flex a-center j-center" v-for="(item,index) in claimmobiles"
  34. :key="index">
  35. <view class="companyicon d-flex a-center j-center">
  36. <image :src="item.icon" lazy-load></image>
  37. </view>
  38. <view class="companyname flex-1">{{item.name}}</view>
  39. <view class="companymobile d-flex j-end">
  40. <span class="d-flex" @tap="mobileCall(item.mobile)">
  41. {{item.mobile}}
  42. <view class="icon iconfont icon-dianhua1 main-text-color"></view>
  43. </span>
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. </z-paging>
  49. </view>
  50. </template>
  51. <script>
  52. export default {
  53. data() {
  54. return {
  55. steps: [{
  56. img: "/static/image/claim/claim1.png",
  57. imgposition: "left",
  58. tit: "电话报案",
  59. content: "出险后,客户向保险公司理赔部门报案;一般保险公司要求在事发48小时内报案。"
  60. },
  61. {
  62. img: "/static/image/claim/claim2.png",
  63. imgposition: "right",
  64. tit: "勘察定损",
  65. content: "检查人员在接保险公司内勤通知后1个工作日内完成现场查勘和检验工作(受损标的在外地的检验,可委托当地保险公司在3个工作日内完成)。"
  66. },
  67. {
  68. img: "/static/image/claim/claim3.png",
  69. imgposition: "left",
  70. tit: "金额赔付",
  71. content: "(1)核赔科经办人将已完成审批手续的赔案编号,将赔款收据和计算书交财务划款(2)财务对赔付确认后,除赔款收据和计算书红色联外,其余取回。"
  72. },
  73. {
  74. img: "/static/image/claim/claim4.png",
  75. imgposition: "right",
  76. tit: "车辆维修",
  77. content: "根据与保险公司确认后前往指定或其他修理厂进行修车;修理好后童话之车主提车。"
  78. }
  79. ],
  80. claimmobiles: [{
  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. btn_click() {
  304. uni.navigateTo({
  305. url: '/pages/chat/chat'
  306. })
  307. },
  308. // 搜索电话
  309. onConfirm(e) {
  310. // console.log(e)
  311. let arr = [...this.companyList]
  312. let newAarr = []
  313. arr.forEach((v, i) => {
  314. if (v.name.includes(e)) {
  315. newAarr.push(v)
  316. }
  317. })
  318. this.claimmobiles = e != '' ? [...newAarr] : [...this.companyList]
  319. },
  320. // 电话咨询
  321. mobileCall(mobile) {
  322. // #ifdef APP-PLUS
  323. uni.authorize({
  324. scope: 'scope.makePhoneCall',
  325. success: () => {
  326. uni.makePhoneCall({
  327. phoneNumber: mobile,
  328. success: () => {
  329. console.log("成功拨打电话")
  330. }
  331. })
  332. },
  333. fail: () => {
  334. console.error('授权失败,请允许拨打电话权限!');
  335. }
  336. });
  337. // #endif
  338. },
  339. }
  340. }
  341. </script>
  342. <style>
  343. .pagebody {
  344. background-color: #ededed;
  345. }
  346. .claimimg {
  347. background-color: #FFFFFF;
  348. width: 100%;
  349. }
  350. .claimimg>image {
  351. width: 100%;
  352. }
  353. .claimsteps {
  354. background-color: #FFFFFF;
  355. padding: 20upx 30upx;
  356. }
  357. .claimsteps .claimstep {
  358. padding-bottom: 10upx;
  359. border-bottom: 1px solid #F5F3F6;
  360. }
  361. .claimsteps .claimstep .stepinfo {
  362. width: 510upx;
  363. padding: 30upx 18upx 20upx;
  364. box-sizing: border-box;
  365. }
  366. .claimsteps .claimstep .stepinfo .stepindex {
  367. width: 50upx;
  368. height: 50upx;
  369. font-size: 32upx;
  370. font-weight: bold;
  371. color: #FFFFFF;
  372. border-radius: 50%;
  373. background-color: #3C95FE;
  374. }
  375. .claimsteps .claimstep .stepinfo .steptitle {
  376. line-height: 80upx;
  377. font-size: 32upx;
  378. font-weight: bold;
  379. }
  380. .claimsteps .claimstep .stepinfo .stepcontent {
  381. line-height: 40upx;
  382. color: #A39FA3;
  383. font-size: 26upx;
  384. }
  385. .claimsteps .claimstep .stepimg {
  386. width: 180upx;
  387. flex-shrink: 1;
  388. }
  389. .claimsteps .claimstep .stepimg>image {
  390. width: 170upx;
  391. }
  392. .claimmobile {
  393. margin: 15upx 0;
  394. }
  395. .claimmobile .search-input {
  396. padding: 10px;
  397. box-sizing: border-box;
  398. background: #FFFFFF;
  399. }
  400. .claimmobile .claimmobiletitle {
  401. height: 80upx;
  402. background: #FFFFFF;
  403. }
  404. .claimmobile .claimmobiletitle p {
  405. margin-left: 50upx;
  406. font-size: 32upx;
  407. font-weight: bold;
  408. }
  409. .claimmobile .claimmobiletitle p:before {
  410. width: 8upx;
  411. height: 34upx;
  412. margin-top: 15upx;
  413. position: absolute;
  414. align-items: center;
  415. left: 30upx;
  416. content: '';
  417. background: #008DF0;
  418. }
  419. .claimmobile .claimmobilecontent {}
  420. .claimmobile .claimmobilecontent .claimmobileitem {
  421. height: 80upx;
  422. background: #FFFFFF;
  423. margin: 10upx 15upx;
  424. padding: 0upx 20upx;
  425. border-radius: 10upx;
  426. }
  427. .claimmobile .claimmobilecontent .claimmobileitem .companyicon {
  428. width: 60upx;
  429. height: 60upx;
  430. border: 1px solid #F0F1F3;
  431. border-radius: 5upx;
  432. flex-shrink: 1;
  433. }
  434. .claimmobile .claimmobilecontent .claimmobileitem .companyicon>image {
  435. width: 80%;
  436. height: 80%;
  437. }
  438. .claimmobile .claimmobilecontent .claimmobileitem .companyname {
  439. margin: 0upx 20upx;
  440. font-size: 32upx;
  441. }
  442. .claimmobile .claimmobilecontent .claimmobileitem .companymobile {
  443. width: 300upx;
  444. flex-shrink: 1;
  445. }
  446. .claimmobile .claimmobilecontent .claimmobileitem .companymobile .iconfont {
  447. font-size: 28upx;
  448. margin: 0 20upx 0 30upx;
  449. }
  450. </style>