insuranceClaims.vue 11 KB

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