Commit c4b8bb3c2e14bac0e67efafe5b9780022fa5f16d
1 parent
6a6e7a81
黄石保险服务
Showing
8 changed files
with
318 additions
and
1 deletions
src/assets/images/service/insure1.png
0 → 100644
613 KB
src/assets/images/service/insure2.png
0 → 100644
633 KB
src/assets/images/service/insure3.png
0 → 100644
67 KB
src/assets/images/service/rightArrow.png
0 → 100644
1.13 KB
src/router/index.js
| @@ -267,6 +267,26 @@ export default new Router({ | @@ -267,6 +267,26 @@ export default new Router({ | ||
| 267 | }, | 267 | }, |
| 268 | 268 | ||
| 269 | { | 269 | { |
| 270 | + path: '/insure', | ||
| 271 | + name: 'insure', | ||
| 272 | + component: () => import("@/views/service/insure.vue"), | ||
| 273 | + meta:{ | ||
| 274 | + title:'保险服务' | ||
| 275 | + } | ||
| 276 | + }, | ||
| 277 | + | ||
| 278 | + { | ||
| 279 | + path: '/insureDetail', | ||
| 280 | + name: 'insureDetail', | ||
| 281 | + component: () => import("@/views/service/insureDetail.vue"), | ||
| 282 | + meta:{ | ||
| 283 | + title:'保险服务详情' | ||
| 284 | + } | ||
| 285 | + }, | ||
| 286 | + | ||
| 287 | + | ||
| 288 | + | ||
| 289 | + { | ||
| 270 | path: '/serviceList', | 290 | path: '/serviceList', |
| 271 | name: 'serviceList', | 291 | name: 'serviceList', |
| 272 | component: () => import("@/views/service/serviceList.vue"), | 292 | component: () => import("@/views/service/serviceList.vue"), |
src/views/service/insure.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <div> | ||
| 3 | + <div style="height: 44px;"> | ||
| 4 | + <mt-search | ||
| 5 | + v-model="value" | ||
| 6 | + cancel-text="取消" | ||
| 7 | + placeholder="搜索"> | ||
| 8 | + </mt-search> | ||
| 9 | + </div> | ||
| 10 | + | ||
| 11 | + <group title="" label-width="5em"> | ||
| 12 | + <popup-picker :title="title1" :data="list1" v-model="value1" @on-show="onShow" @on-hide="onHide" @on-change="onChange" placeholder="请选择"></popup-picker> | ||
| 13 | + <popup-picker :title="title2" :data="list2" v-model="value2" @on-show="onShow" @on-hide="onHide" @on-change="onChange" placeholder="请选择"></popup-picker> | ||
| 14 | + </group> | ||
| 15 | + <ul class="serviceDetailWrap"> | ||
| 16 | + <li> | ||
| 17 | + <div class="serviceDetailTop serviceDetailTop1"> | ||
| 18 | + <p> | ||
| 19 | + <span style="color: #ffbe00;font-weight: 600;font-size: 16px;">大家财险黄石中心支公司</span> | ||
| 20 | + </p> | ||
| 21 | + <p> | ||
| 22 | + <span style="color: #ff4949">营业时间:08:00-18:00</span> | ||
| 23 | + </p> | ||
| 24 | + <!--<p>--> | ||
| 25 | + <!--<span>联系人:余红艳</span>--> | ||
| 26 | + <!--</p>--> | ||
| 27 | + <p> | ||
| 28 | + | ||
| 29 | + <span>热线电话:95569</span> | ||
| 30 | + | ||
| 31 | + </p> | ||
| 32 | + </div> | ||
| 33 | + <p style="display: flex;justify-content: space-between;"> | ||
| 34 | + <span class="fontSize12">位置: 黄石港区杭州路19号儿童公园加油站旁</span> | ||
| 35 | + <span @click="toLinkApp('115.086987','30.217836','大家财险黄石中心支公司')"> | ||
| 36 | + <img src="../../assets/images/service/serviceNav.png" height="18" width="18"/> | ||
| 37 | + </span> | ||
| 38 | + </p> | ||
| 39 | + | ||
| 40 | + <p> | ||
| 41 | + <span class="fontSize12">服务范围:车险,意外险</span> | ||
| 42 | + </p> | ||
| 43 | + <!--<p>--> | ||
| 44 | + <!--<span></span>--> | ||
| 45 | + <!--</p>--> | ||
| 46 | + <p style="display: flex;justify-content: space-between;padding-top: 5px;"> | ||
| 47 | + <span class="serviceStar fontSize12">专业贴膜</span> | ||
| 48 | + <span @click="callPhone('13971750760')"> | ||
| 49 | + <img src="../../assets/images/service/serviceIphone.png" height="18" width="18"/> | ||
| 50 | + </span> | ||
| 51 | + </p> | ||
| 52 | + | ||
| 53 | + <p style="display: flex;justify-content: space-between;padding-top: 5px;" @click="toInsureDetail"> | ||
| 54 | + <span class=" fontSize12">查看详情</span> | ||
| 55 | + <span> | ||
| 56 | + <img src="../../assets/images/service/rightArrow.png" height="16" width="16"/> | ||
| 57 | + </span> | ||
| 58 | + </p> | ||
| 59 | + </li> | ||
| 60 | + | ||
| 61 | + | ||
| 62 | + <!--<li>--> | ||
| 63 | + <!--<div class="serviceDetailTop serviceDetailTop2">--> | ||
| 64 | + <!--<p>--> | ||
| 65 | + <!--<span style="color: #ffbe00;font-weight: 600;font-size: 16px;">途虎养车磁湖东路店</span>--> | ||
| 66 | + <!--</p>--> | ||
| 67 | + <!--<p>--> | ||
| 68 | + <!--<span style="color: #ff4949">营业时间:08:00-21:00</span>--> | ||
| 69 | + <!--</p>--> | ||
| 70 | + <!--<p>--> | ||
| 71 | + <!--<span>联系人:梁浩</span>--> | ||
| 72 | + <!--</p>--> | ||
| 73 | + <!--<p>--> | ||
| 74 | + | ||
| 75 | + <!--<span>联系电话:13339906728</span>--> | ||
| 76 | + | ||
| 77 | + <!--</p>--> | ||
| 78 | + <!--</div>--> | ||
| 79 | + <!--<p style="display: flex;justify-content: space-between;">--> | ||
| 80 | + <!--<span class="fontSize12">位置: 黄石西塞山区磁湖东路26号途虎养车</span>--> | ||
| 81 | + <!--<span @click="toLinkApp('115.089421','30.211496','途虎养车磁湖东路店')">--> | ||
| 82 | + <!--<img src="../../assets/images/service/serviceNav.png" height="18" width="18"/>--> | ||
| 83 | + <!--</span>--> | ||
| 84 | + <!--</p>--> | ||
| 85 | + | ||
| 86 | + <!--<p>--> | ||
| 87 | + <!--<span class="fontSize12">服务范围:轮胎更换,美容洗车,车品安装</span>--> | ||
| 88 | + <!--</p>--> | ||
| 89 | + <!--<!–<p>–>--> | ||
| 90 | + <!--<!–<span></span>–>--> | ||
| 91 | + <!--<!–</p>–>--> | ||
| 92 | + <!--<p style="display: flex;justify-content: space-between;padding-top: 5px;">--> | ||
| 93 | + <!--<span class="serviceStar fontSize12">维修、保养、美容</span>--> | ||
| 94 | + <!--<span @click="callPhone('13339906728')">--> | ||
| 95 | + <!--<img src="../../assets/images/service/serviceIphone.png" height="18" width="18"/>--> | ||
| 96 | + <!--</span>--> | ||
| 97 | + <!--</p>--> | ||
| 98 | + <!--</li>--> | ||
| 99 | + | ||
| 100 | + | ||
| 101 | + | ||
| 102 | + | ||
| 103 | + | ||
| 104 | + | ||
| 105 | + | ||
| 106 | + </ul> | ||
| 107 | + </div> | ||
| 108 | +</template> | ||
| 109 | + | ||
| 110 | +<script> | ||
| 111 | +export default { | ||
| 112 | + name: "insure", | ||
| 113 | + data () { | ||
| 114 | + return { | ||
| 115 | + value:'', | ||
| 116 | + title1: '全部服务', | ||
| 117 | + value1: ['全部'], | ||
| 118 | + list1: [['全部', '汽车', '美容']], | ||
| 119 | + title2: '附近', | ||
| 120 | + value2: ['3KM'], | ||
| 121 | + list2: [['3KM', '10KM', '20KM']], | ||
| 122 | + } | ||
| 123 | + }, | ||
| 124 | + mounted() { | ||
| 125 | + window.toLinkApp = this.toLinkApp; | ||
| 126 | + }, | ||
| 127 | + methods: { | ||
| 128 | + callPhone(telNum) { | ||
| 129 | + var u = navigator.userAgent, | ||
| 130 | + app = navigator.appVersion; | ||
| 131 | + var isAndroid = u.indexOf("Android") > -1 || u.indexOf("Linux") > -1; | ||
| 132 | + var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); | ||
| 133 | + if (isAndroid) { | ||
| 134 | + // alert("我是安卓"); | ||
| 135 | + window.JSInterface.callAppPhone(telNum); | ||
| 136 | + } | ||
| 137 | + if (isIOS) { | ||
| 138 | + // alert("我是苹果"); | ||
| 139 | + window.webkit.messageHandlers.callAppPhone.postMessage({ "phoneNumber": telNum}) | ||
| 140 | + } | ||
| 141 | + }, | ||
| 142 | + toLinkApp(lon,lat,name){ | ||
| 143 | + var u = navigator.userAgent, | ||
| 144 | + app = navigator.appVersion; | ||
| 145 | + var isAndroid = u.indexOf("Android") > -1 || u.indexOf("Linux") > -1; | ||
| 146 | + var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); | ||
| 147 | + if (isAndroid) { | ||
| 148 | + // alert("我是安卓"); | ||
| 149 | + window.JSInterface.toApp(lon,lat,name); | ||
| 150 | + } | ||
| 151 | + if (isIOS) { | ||
| 152 | + // alert("我是苹果"); | ||
| 153 | + window.webkit.messageHandlers.toApp.postMessage({ "lon": lon, "lat": lat, "name":name}) | ||
| 154 | + } | ||
| 155 | + | ||
| 156 | + }, | ||
| 157 | + toInsureDetail(){ | ||
| 158 | + this.$router.push({path:'insureDetail'}) | ||
| 159 | + }, | ||
| 160 | + onChange (val) { | ||
| 161 | + console.log('val change', val) | ||
| 162 | + }, | ||
| 163 | + changeList10 () { | ||
| 164 | + this.list1 = [['小米1', 'iPhone1', '华为1', '情怀1', '三星1', '其他1', '不告诉你1']] | ||
| 165 | + }, | ||
| 166 | + changeList11 () { | ||
| 167 | + this.list1[0].push('我是push条目') | ||
| 168 | + }, | ||
| 169 | + changeList20 () { | ||
| 170 | + | ||
| 171 | + }, | ||
| 172 | + | ||
| 173 | + onShow () { | ||
| 174 | + console.log('on show') | ||
| 175 | + }, | ||
| 176 | + onHide (type) { | ||
| 177 | + console.log('on hide', type) | ||
| 178 | + } | ||
| 179 | + }, | ||
| 180 | +} | ||
| 181 | +</script> | ||
| 182 | + | ||
| 183 | +<style scoped lang="scss"> | ||
| 184 | + .serviceDetailWrap { | ||
| 185 | + padding: 10px 10px; | ||
| 186 | + > li { | ||
| 187 | + /*height: 160px;*/ | ||
| 188 | + padding-bottom: 10px; | ||
| 189 | + margin-bottom: 10px; | ||
| 190 | + border-bottom: 1px solid #eee; | ||
| 191 | + /*display: flex;*/ | ||
| 192 | + } | ||
| 193 | + } | ||
| 194 | + | ||
| 195 | + .serviceDetailTop { | ||
| 196 | + padding-left: 130px; | ||
| 197 | + | ||
| 198 | + margin-bottom: 5px; | ||
| 199 | + } | ||
| 200 | + .serviceDetailTop1{ | ||
| 201 | + background-image: url("../../assets/images/service/serviceDetailTop1.jpg"); | ||
| 202 | + background-repeat: no-repeat; | ||
| 203 | + background-size: 120px 100px; | ||
| 204 | + } | ||
| 205 | + .serviceDetailTop2{ | ||
| 206 | + background-image: url("../../assets/images/service/serviceDetailTop2.jpg"); | ||
| 207 | + background-repeat: no-repeat; | ||
| 208 | + background-size: 120px 100px; | ||
| 209 | + } | ||
| 210 | + .serviceDetailTop3{ | ||
| 211 | + background-image: url("../../assets/images/service/serviceDetailTop3.jpg"); | ||
| 212 | + background-repeat: no-repeat; | ||
| 213 | + background-size: 120px 100px; | ||
| 214 | + } | ||
| 215 | + .serviceDetailTop4{ | ||
| 216 | + background-image: url("../../assets/images/service/serviceDetailTop4.jpg"); | ||
| 217 | + background-repeat: no-repeat; | ||
| 218 | + background-size: 120px 100px; | ||
| 219 | + } | ||
| 220 | + .serviceDetailTop5{ | ||
| 221 | + background-image: url("../../assets/images/service/serviceDetailTop5.jpg"); | ||
| 222 | + background-repeat: no-repeat; | ||
| 223 | + background-size: 120px 100px; | ||
| 224 | + } | ||
| 225 | + .serviceDetailTop6{ | ||
| 226 | + background-image: url("../../assets/images/service/serviceDetailTop6.jpg"); | ||
| 227 | + background-repeat: no-repeat; | ||
| 228 | + background-size: 120px 100px; | ||
| 229 | + } | ||
| 230 | + .serviceStar{ | ||
| 231 | + padding-left: 20px; | ||
| 232 | + background: url("../../assets/images/service/serviceStar.png") no-repeat 0 center; | ||
| 233 | + background-size: 16px 16px; | ||
| 234 | + color: #ff4949; | ||
| 235 | + } | ||
| 236 | + .fontSize12{ | ||
| 237 | + font-size: 13px; | ||
| 238 | + } | ||
| 239 | +</style> |
src/views/service/insureDetail.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <div style="padding: 0 10px"> | ||
| 3 | + <flexbox> | ||
| 4 | + <flexbox-item><div class="flex-demo"> | ||
| 5 | + <img src="../../assets/images/service/insure1.png" alt=""> | ||
| 6 | + </div></flexbox-item> | ||
| 7 | + <flexbox-item><div class="flex-demo"> | ||
| 8 | + <img src="../../assets/images/service/insure2.png" alt=""> | ||
| 9 | + </div></flexbox-item> | ||
| 10 | + <flexbox-item><div class="flex-demo"> | ||
| 11 | + <img src="../../assets/images/service/insure3.png" alt=""> | ||
| 12 | + </div></flexbox-item> | ||
| 13 | + </flexbox> | ||
| 14 | + | ||
| 15 | + <p > | ||
| 16 | + 人保财险黄石市分公司黄石港支公司 | ||
| 17 | + 1.全国统一热线电话(95518)24小时全天候服务。2.全国范围内车辆故障免费救援(50公里内),提供拖车、送油、充电、更换轮胎、轮胎充气等救援服务。3.网点机构遍布全国,异地出险、就地理赔。 | ||
| 18 | + </p> | ||
| 19 | + | ||
| 20 | + <p style="margin: 40px 0 20px;color: red;text-align: center"> | ||
| 21 | + 若有业务咨询,请预留电话,客服人员会尽快联系到您 | ||
| 22 | + </p> | ||
| 23 | + | ||
| 24 | + <!--<x-input title="手机号码格式化" mask="999 9999 9999" v-model="maskValue" :max="13" is-type="china-mobile"></x-input>--> | ||
| 25 | + | ||
| 26 | + <group title=" "> | ||
| 27 | + <x-input title="手机号码" name="mobile" placeholder="请输入手机号码" keyboard="number" is-type="china-mobile"></x-input> | ||
| 28 | + </group> | ||
| 29 | + | ||
| 30 | + <x-button type="primary" style="margin-top: 20px">确定</x-button> | ||
| 31 | + </div> | ||
| 32 | +</template> | ||
| 33 | + | ||
| 34 | +<script> | ||
| 35 | +export default { | ||
| 36 | + name: "insureDetail", | ||
| 37 | + data(){ | ||
| 38 | + return{ | ||
| 39 | + maskValue:'' | ||
| 40 | + } | ||
| 41 | + } | ||
| 42 | +}; | ||
| 43 | +</script> | ||
| 44 | + | ||
| 45 | +<style scoped lang="scss"> | ||
| 46 | + .flex-demo { | ||
| 47 | + text-align: center; | ||
| 48 | + color: #fff; | ||
| 49 | + background-color: #20b907; | ||
| 50 | + border-radius: 4px; | ||
| 51 | + background-clip: padding-box; | ||
| 52 | + height: 100px; | ||
| 53 | + img{ | ||
| 54 | + width: 100%; | ||
| 55 | + height: 100%; | ||
| 56 | + } | ||
| 57 | + } | ||
| 58 | +</style> |
src/views/service/service.vue
| @@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
| 17 | </flexbox-item> | 17 | </flexbox-item> |
| 18 | 18 | ||
| 19 | <flexbox-item class="nav-warp"> | 19 | <flexbox-item class="nav-warp"> |
| 20 | - <div @click="$router.push({path:'development'})"> | 20 | + <div @click="$router.push({path:'insure'})"> |
| 21 | <img src="../../assets/images/service/safeservice.png" height="32" width="32"/> | 21 | <img src="../../assets/images/service/safeservice.png" height="32" width="32"/> |
| 22 | </div> | 22 | </div> |
| 23 | <p>保险服务</p> | 23 | <p>保险服务</p> |