selfReport.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. <template>
  2. <view class="page">
  3. <view class="bg-header">
  4. <view class="item" v-for="(item,index) in itemlist" :key="index" @click="itemclick(item)">
  5. <image :src="item.image" mode=""></image>
  6. <text>{{item.Text}}</text>
  7. </view>
  8. </view>
  9. <view class="report-phone mt-2">
  10. <view class="header">
  11. <view class="title dis a-c j-s mb-3">
  12. <text>电话报案</text>
  13. <text>102家保险公司报案电话</text>
  14. </view>
  15. <u-search placeholder="请输入保险公司名称查找" v-model="keyword" bgColor="#f7f7f7"
  16. :actionStyle="{position: 'absolute',right:'20px',background:'#FDE935',padding:'8rpx 24rpx',borderRadius:'100rpx'}"
  17. actionText="搜索" @search="search" @custom="custom"></u-search>
  18. </view>
  19. <view style="overflow-y: auto;height:calc(100vh - 372px) ;">
  20. <view class="item dis a-c j-s" v-for="(item,index) in claimmobiles" :key="index">
  21. <view class="dis a-c ">
  22. <image :src="item.icon" mode=""></image>
  23. <text>{{item.name}}</text>
  24. </view>
  25. <image src="/static/icon/tool/phone.png" mode="" @click="makecall(item.mobile)"></image>
  26. </view>
  27. </view>
  28. </view>
  29. <uni-Popup :show="show" @close='show=false' :headerTitle="info.Text">
  30. <template #content>
  31. <view class="introduction dis f-c">
  32. <text>{{info.content}}</text>
  33. <ul>
  34. <li v-for="(item,index) in info.point" :key="index">{{item}}</li>
  35. </ul>
  36. <view class="btn dis a-c j-c " @click="show=false">
  37. 关闭
  38. </view>
  39. </view>
  40. </template>
  41. </uni-Popup>
  42. </view>
  43. </template>
  44. <script>
  45. export default {
  46. data() {
  47. return {
  48. show: false,
  49. info: {},
  50. keyword: '',
  51. itemlist: [{
  52. image: '/static/image/tool/report-bg1.png',
  53. Text: "单方事故",
  54. content: '在驾驶过程中,由于驾驶员意外碰撞外界物体,如地下车库、墙、花坛等,造成的车辆的损失或自己的受伤。单方事故是不需要赔偿对方人员伤亡或财产损失。',
  55. point: [
  56. '事故发生后,在确保人身安全和不阻碍交通的情况下,第一时间先拨打交警或保司的电话',
  57. '尽量取证,自行拍摄一些简单的视频、照片等能说明情况的录影录像',
  58. '等待查勘员到来,根据案件情况进行处理',
  59. '轻微案件:由于第二年保费是和出险次数(实际理赔)有关,如果别蹭情况不严重,建议用户自行修复',
  60. '需理赔案件:送至保险公司指定的合规维修单位进行修理,一般保司定损需要1-3个工作日,请耐心等待即可取回爱车',
  61. ]
  62. },
  63. {
  64. image: '/static/image/tool/report-bg2.png',
  65. Text: "代驾事故",
  66. content: '代驾行为无论是朋友、还是免费代驾、付费代驾,途中发生事故,责任主要都由车主或车主投保的车险来进行承担',
  67. point: [
  68. '事故发生后,在确保人身安全和不阻碍交通的情况下,第一时间先拨打交警或保司的电话 ',
  69. '如果是车主同意的好友代驾:所有赔付由车主本人投保的车险来承担:如果是免费/收费的代驾服务:赔付由车主本人投保的车险来承担,不足的部分由代驾方公司承担 ',
  70. '轻微案件:由于第二年保费是和出险次数(实际理赔)有关,如果别蹭情况不严重,建议用户自行修复',
  71. '需理赔案件:送至保险公司指定的合规维修单位进行修理,一般保司定损需要1-3个工作日,请耐心等待即可取回爱车'
  72. ]
  73. },
  74. {
  75. image: '/static/image/tool/report-bg3.png',
  76. Text: "人伤事故",
  77. content: '在驾驶过程中,由于驾驶员意外碰撞外界物体,如地下车库、墙、花坛等,造成的车辆的损失或自己的受伤。单方事故是不需要赔偿对方人员伤亡或财产损失。',
  78. point: [
  79. '打120:伤势严重一定先打医院电话',
  80. '打122(交警电话):联系交警,判定责任保留现场',
  81. '致电所在保险公司电话:尽快联系,获得帮助'
  82. ]
  83. },
  84. {
  85. image: '/static/image/tool/report-bg4.png',
  86. Text: "车辆停车受损",
  87. content: '车辆在停放过程中发生损坏,主要分为“自然灾害原因”与“人为过失原因”。人为包括第三方逃逸的情况。自然灾害原因:①大风刮倒大树、冰雹砸到车辆:②暴雨洪水毁淹车辆:③台风、地震等导致露天停放车辆受损;④第三方管理不善,造成车辆损失,如停车场',
  88. point: [
  89. '如果车泡水,千万不要二次发动',
  90. '保护好现场,拍照拍视频取证',
  91. '如能找到责任方,如停车场则尽快取得联系若不能或对方不配合,致电所在保险公司,尽快联系,获得帮助',
  92. '若无法找到第三者,不必担心,保险中“车险损失保险”可覆盖责任,进行全额理赔'
  93. ]
  94. }
  95. ],
  96. claimmobiles: [{
  97. icon: "/static/image/insuranceicon/ansheng.png",
  98. name: "安盛天平",
  99. mobile: "95550"
  100. },
  101. {
  102. icon: "/static/image/insuranceicon/dadi.png",
  103. name: "大地保险",
  104. mobile: "95590"
  105. },
  106. {
  107. icon: "/static/image/insuranceicon/zijin.png",
  108. name: "紫金财险",
  109. mobile: "400-828-0018"
  110. },
  111. {
  112. icon: "/static/image/insuranceicon/libao.png",
  113. name: "利宝保险",
  114. mobile: "400-888-2008"
  115. },
  116. {
  117. icon: "/static/image/insuranceicon/sanxing.png",
  118. name: "三星保险",
  119. mobile: "400-933-3000"
  120. },
  121. {
  122. icon: "/static/image/insuranceicon/pingan.png",
  123. name: "平安保险",
  124. mobile: "95511"
  125. },
  126. {
  127. icon: "/static/image/insuranceicon/huatai.png",
  128. name: "华泰保险",
  129. mobile: "400-609-5509"
  130. },
  131. {
  132. icon: "/static/image/insuranceicon/huaan.png",
  133. name: "华安保险",
  134. mobile: "95556"
  135. },
  136. {
  137. icon: "/static/image/insuranceicon/bohai.png",
  138. name: "渤海财产",
  139. mobile: "400-611-6666"
  140. },
  141. {
  142. icon: "/static/image/insuranceicon/zhongmei.png",
  143. name: "中煤保险",
  144. mobile: "400-653-6888"
  145. },
  146. {
  147. icon: "/static/image/insuranceicon/dinghe.png",
  148. name: "鼎和保险",
  149. mobile: "95393"
  150. },
  151. {
  152. icon: "/static/image/insuranceicon/dajia.png",
  153. name: "大家保险",
  154. mobile: "95569"
  155. },
  156. {
  157. icon: "/static/image/insuranceicon/fude.png",
  158. name: "福德保险",
  159. mobile: "400-669-5535"
  160. },
  161. {
  162. icon: "/static/image/insuranceicon/taiping.png",
  163. name: "太平保险",
  164. mobile: "95589"
  165. },
  166. {
  167. icon: "/static/image/insuranceicon/anhua.png",
  168. name: "安华农业",
  169. mobile: "95540"
  170. },
  171. {
  172. icon: "/static/image/insuranceicon/dubang.png",
  173. name: "都邦保险",
  174. mobile: "95586"
  175. },
  176. {
  177. icon: "/static/image/insuranceicon/zhongan.png",
  178. name: "众安保险",
  179. mobile: "1010-9955"
  180. },
  181. {
  182. icon: "/static/image/insuranceicon/yongan.png",
  183. name: "永安保险",
  184. mobile: "95502"
  185. },
  186. {
  187. icon: "/static/image/insuranceicon/xiandai.png",
  188. name: "现代保险",
  189. mobile: "400-608-0808"
  190. },
  191. {
  192. icon: "/static/image/insuranceicon/renshou.png",
  193. name: "中国人寿",
  194. mobile: "95519"
  195. },
  196. {
  197. icon: "/static/image/insuranceicon/guotai.png",
  198. name: "国泰财险",
  199. mobile: "400-820-2288"
  200. },
  201. {
  202. icon: "/static/image/insuranceicon/zhonghua.png",
  203. name: "中华联合",
  204. mobile: "95585"
  205. },
  206. {
  207. icon: "/static/image/insuranceicon/zhongyin.png",
  208. name: "中银保险",
  209. mobile: "400-699-5566"
  210. },
  211. {
  212. icon: "/static/image/insuranceicon/hezhong.png",
  213. name: "合众保险",
  214. mobile: "95515"
  215. },
  216. {
  217. icon: "/static/image/insuranceicon/yongcheng.png",
  218. name: "永诚保险",
  219. mobile: "95552"
  220. },
  221. {
  222. icon: "/static/image/insuranceicon/zhufeng.png",
  223. name: "珠峰财险",
  224. mobile: "1010-8848"
  225. },
  226. {
  227. icon: "/static/image/insuranceicon/anxin.png",
  228. name: "安心保险",
  229. mobile: "95303"
  230. },
  231. {
  232. icon: "/static/image/insuranceicon/huanong.png",
  233. name: "华农保险",
  234. mobile: "95540"
  235. },
  236. {
  237. icon: "/static/image/insuranceicon/ancheng.png",
  238. name: "安诚保险",
  239. mobile: "95544"
  240. },
  241. {
  242. icon: "/static/image/insuranceicon/renbao.png",
  243. name: "人保保险",
  244. mobile: "95518"
  245. },
  246. {
  247. icon: "/static/image/insuranceicon/guoren.png",
  248. name: "国任财险",
  249. mobile: "400-866-7788"
  250. },
  251. {
  252. icon: "/static/image/insuranceicon/yangguang.png",
  253. name: "阳光保险",
  254. mobile: "95510"
  255. },
  256. {
  257. icon: "/static/image/insuranceicon/yatai.png",
  258. name: "亚太财险",
  259. mobile: "95506"
  260. },
  261. {
  262. icon: "/static/image/insuranceicon/yingda.png",
  263. name: "英大保险",
  264. mobile: "400-018-8688"
  265. },
  266. {
  267. icon: "/static/image/insuranceicon/zheshang.png",
  268. name: "浙商保险",
  269. mobile: "400-866-6777"
  270. },
  271. {
  272. icon: "/static/image/insuranceicon/taipingyang.png",
  273. name: "太平洋保险",
  274. mobile: "95500"
  275. },
  276. {
  277. icon: "/static/image/insuranceicon/tianan.png",
  278. name: "天安财险",
  279. mobile: "95505"
  280. }
  281. ],
  282. companyList: [],
  283. }
  284. },
  285. onShow() {
  286. },
  287. onLoad() {
  288. this.companyList = [...this.claimmobiles]
  289. },
  290. methods: {
  291. itemclick(item) {
  292. this.info = item;
  293. this.show = true;
  294. },
  295. search(value) {
  296. this.onConfirm(value)
  297. },
  298. custom(value) {
  299. this.onConfirm(value)
  300. },
  301. //打电话
  302. makecall(value) {
  303. // 获取宿主上下文
  304. var main = plus.android.runtimeMainActivity();
  305. var Uri = plus.android.importClass("android.net.Uri");
  306. // 通过反射获取Android的Intent对象
  307. var Intent = plus.android.importClass("android.content.Intent");
  308. // 创建Intent,设置Action为ACTION_DIAL
  309. var intent = new Intent("android.intent.action.DIAL");
  310. // 设置要拨打的电话号码
  311. intent.setData(Uri.parse("tel:" + value));
  312. // 启动Intent
  313. main.startActivity(intent);
  314. },
  315. // 搜索电话
  316. onConfirm(e) {
  317. // console.log(e)
  318. let arr = [...this.companyList]
  319. let newAarr = []
  320. arr.forEach((v, i) => {
  321. if (v.name.includes(e)) {
  322. newAarr.push(v)
  323. }
  324. })
  325. this.claimmobiles = e != '' ? [...newAarr] : [...this.companyList]
  326. },
  327. }
  328. }
  329. </script>
  330. <style lang="scss" scoped>
  331. .page {
  332. background-color: #F8F8F8;
  333. height: 100vh;
  334. }
  335. .bg-header {
  336. background-color: #fff;
  337. padding: 30rpx;
  338. box-sizing: border-box;
  339. display: grid;
  340. grid-template-columns: repeat(2, 1fr);
  341. grid-template-rows: auto;
  342. row-gap: 30rpx;
  343. column-gap: 30rpx;
  344. .item {
  345. height: 163rpx;
  346. background: #FFFEF3;
  347. border-radius: 4rpx 4rpx 4rpx 4rpx;
  348. position: relative;
  349. image {
  350. width: 100%;
  351. height: 100%;
  352. background: linear-gradient(117deg, rgba(255, 254, 243, 0) 0%, #FFFEF3 100%);
  353. border-radius: 0rpx 0rpx 0rpx 0rpx;
  354. }
  355. text {
  356. position: absolute;
  357. bottom: 20rpx;
  358. right: 20rpx;
  359. font-size: 30rpx;
  360. color: #333;
  361. font-weight: bold;
  362. }
  363. }
  364. }
  365. .report-phone {
  366. background-color: #fff;
  367. padding-bottom: 20rpx;
  368. .header {
  369. padding: 30rpx;
  370. box-sizing: border-box;
  371. .title {
  372. text:first-child {
  373. font-size: 34rpx;
  374. color: #333;
  375. font-weight: bold;
  376. }
  377. text:last-child {
  378. font-size: 26rpx;
  379. color: #999;
  380. }
  381. }
  382. }
  383. .item {
  384. padding: 21rpx 35rpx;
  385. box-sizing: border-box;
  386. border-bottom: 1rpx solid #eee;
  387. text {
  388. font-size: 30rpx;
  389. color: #333;
  390. font-weight: bold;
  391. margin-left: 10rpx;
  392. }
  393. image {
  394. width: 48rpx;
  395. height: 48rpx;
  396. }
  397. }
  398. }
  399. .introduction {
  400. padding: 30rpx 40rpx 20rpx;
  401. box-sizing: border-box;
  402. font-size: 30rpx;
  403. color: #333;
  404. ul {
  405. padding-left: 60rpx;
  406. li {
  407. margin-top: 40rpx;
  408. }
  409. }
  410. .btn {
  411. width: 100%;
  412. height: 88rpx;
  413. background: rgba(253, 233, 53, 0.2);
  414. border-radius: 45rpx 45rpx 45rpx 45rpx;
  415. border: 1rpx solid #FDE935;
  416. margin-top: 60rpx;
  417. }
  418. }
  419. </style>