1a941c87 by simon

Merge branch 'master' of 120.27.44.69:dev/pingan-life-index-pro

2 parents a90a20ad 075a5c47
...@@ -159,7 +159,7 @@ module.exports = { ...@@ -159,7 +159,7 @@ module.exports = {
159 InsurantNumber: "保單號碼", 159 InsurantNumber: "保單號碼",
160 Insurant: "被保人", 160 Insurant: "被保人",
161 InsurantName: "險種名稱", 161 InsurantName: "險種名稱",
162 InsurantAmount: "保金額", 162 InsurantAmount: "保金額",
163 effectiveDate: "生效日期", 163 effectiveDate: "生效日期",
164 period: "保障年期", 164 period: "保障年期",
165 165
......
...@@ -158,7 +158,7 @@ module.exports = { ...@@ -158,7 +158,7 @@ module.exports = {
158 InsurantNumber: "保单号码", 158 InsurantNumber: "保单号码",
159 Insurant: "被保人", 159 Insurant: "被保人",
160 InsurantName: "险种名称", 160 InsurantName: "险种名称",
161 InsurantAmount: "保金额", 161 InsurantAmount: "保金额",
162 effectiveDate: "生效日期", 162 effectiveDate: "生效日期",
163 period: "保障年期", 163 period: "保障年期",
164 164
......
...@@ -5,17 +5,48 @@ import { ...@@ -5,17 +5,48 @@ import {
5 } from '@/api/fetch-api.js' 5 } from '@/api/fetch-api.js'
6 6
7 export default { 7 export default {
8 name : "InsuranceQuery", 8 name: "InsuranceQuery",
9 data() { 9 data() {
10 return { 10 return {
11 dataForm: {
11 12
13 },
12 insuranceForm: { 14 insuranceForm: {
13 f1 : true, 15 f1: true,
14 f2 : true, 16 f2: true,
15 f3 : true, 17 f3: true,
16 f4 : true, 18 f4: true,
17 f5 : true, 19 f5: true,
18 } 20 }
19 } 21 }
20 }, 22 },
23 methods: {
24 test() {
25 let i18n = this.$i18n.locale;
26 let data = {};
27 if (i18n == 'zh') {
28 data.v1 = "分红重疾";
29 data.v2 = "终身";
30 data.v3 = "深圳市益田路5033号";
31 data.v4 = "张三";
32 data.v5 = "银行转账";
33 data.v6 = "港币";
34 data.v7 = "平安银行";
35 data.v8 = "现金";
36 } else {
37 data.v1 = "分紅重疾";
38 data.v2 = "終身";
39 data.v3 = "深圳市益田路5033號";
40 data.v4 = "張三";
41 data.v5 = "銀行轉帳";
42 data.v6 = "港幣";
43 data.v7 = "平安銀行";
44 data.v8 = "現金";
45 }
46 this.$set(this, 'dataForm', data);
47 }
48 },
49 mounted() {
50 this.test();
51 },
21 } 52 }
......
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
15 <div class="data-line"> 15 <div class="data-line">
16 <div class="td w1">P3**********0772</div> 16 <div class="td w1">P3**********0772</div>
17 <div class="td w2">平安</div> 17 <div class="td w2">平安</div>
18 <div class="td w2">分红重疾</div> 18 <div class="td w2">{{dataForm.v1}}</div>
19 <div class="td w2">HK$10,000</div> 19 <div class="td w2">HK$10,000</div>
20 <div class="td w2">2020-1-1</div> 20 <div class="td w2">2020-1-1</div>
21 <div class="td w2">終身</div> 21 <div class="td w2">{{dataForm.v2}}</div>
22 </div> 22 </div>
23 </div> 23 </div>
24 </div> 24 </div>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
38 <div class="data-line"> 38 <div class="data-line">
39 <div class="cell1"> 39 <div class="cell1">
40 <div class="label">{{$t('customService.insuranceQuery.t2InsurantClassify')}}</div> 40 <div class="label">{{$t('customService.insuranceQuery.t2InsurantClassify')}}</div>
41 <div class="label">分紅重疾</div> 41 <div class="label">{{dataForm.v1}}</div>
42 </div> 42 </div>
43 <div class="separator-v"></div> 43 <div class="separator-v"></div>
44 <div class="cell1"> 44 <div class="cell1">
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
55 <div class="separator-v"></div> 55 <div class="separator-v"></div>
56 <div class="cell1"> 56 <div class="cell1">
57 <div class="label">{{$t('customService.insuranceQuery.period')}}</div> 57 <div class="label">{{$t('customService.insuranceQuery.period')}}</div>
58 <div class="label">终身</div> 58 <div class="label">{{dataForm.v2}}</div>
59 </div> 59 </div>
60 </div> 60 </div>
61 </div> 61 </div>
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
112 {{$t('customService.insuranceQuery.t3InsurantContactAddress')}} 112 {{$t('customService.insuranceQuery.t3InsurantContactAddress')}}
113 <span>修改</span> 113 <span>修改</span>
114 </div> 114 </div>
115 <div class="label">深圳市益田路5033號</div> 115 <div class="label">{{dataForm.v3}}</div>
116 </div> 116 </div>
117 <div class="separator-v"></div> 117 <div class="separator-v"></div>
118 <div class="cell1"> 118 <div class="cell1">
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
120 {{$t('customService.insuranceQuery.t3InsurantAddress')}} 120 {{$t('customService.insuranceQuery.t3InsurantAddress')}}
121 <span>修改</span> 121 <span>修改</span>
122 </div> 122 </div>
123 <div class="label">深圳市益田路5033號</div> 123 <div class="label">{{dataForm.v3}}</div>
124 </div> 124 </div>
125 </div> 125 </div>
126 126
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
199 </div> 199 </div>
200 <div class="separator-h"></div> 200 <div class="separator-h"></div>
201 <div class="data-line"> 201 <div class="data-line">
202 <div class="td">張三</div> 202 <div class="td">{{dataForm.v4}}</div>
203 <div class="td">Zhangsan</div> 203 <div class="td">Zhangsan</div>
204 <div class="td">50%</div> 204 <div class="td">50%</div>
205 </div> 205 </div>
...@@ -232,15 +232,15 @@ ...@@ -232,15 +232,15 @@
232 <div class="separator-v"></div> 232 <div class="separator-v"></div>
233 <div class="cell1"> 233 <div class="cell1">
234 <div class="label">{{$t('customService.insuranceQuery.t5PaymentMethod')}}</div> 234 <div class="label">{{$t('customService.insuranceQuery.t5PaymentMethod')}}</div>
235 <div class="label">銀行轉帳</div> 235 <div class="label"></div>
236 </div> 236 </div>
237 </div> 237 </div>
238 <div class="separator-h"></div> 238 <div class="separator-h">{{dataForm.v5}}</div>
239 239
240 <div class="data-line"> 240 <div class="data-line">
241 <div class="cell1"> 241 <div class="cell1">
242 <div class="label">{{$t('customService.insuranceQuery.t5PaymentCurrency')}}</div> 242 <div class="label">{{$t('customService.insuranceQuery.t5PaymentCurrency')}}</div>
243 <div class="label">港幣</div> 243 <div class="label">{{dataForm.v6}}</div>
244 </div> 244 </div>
245 <div class="separator-v"></div> 245 <div class="separator-v"></div>
246 <div class="cell1"> 246 <div class="cell1">
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
253 <div class="data-line"> 253 <div class="data-line">
254 <div class="cell1"> 254 <div class="cell1">
255 <div class="label">{{$t('customService.insuranceQuery.t5PaymentBank')}}</div> 255 <div class="label">{{$t('customService.insuranceQuery.t5PaymentBank')}}</div>
256 <div class="label">平安銀行</div> 256 <div class="label">{{dataForm.v7}}</div>
257 </div> 257 </div>
258 <div class="separator-v"></div> 258 <div class="separator-v"></div>
259 <div class="cell1"> 259 <div class="cell1">
...@@ -286,14 +286,14 @@ ...@@ -286,14 +286,14 @@
286 <div class="separator-h"></div> 286 <div class="separator-h"></div>
287 <div class="data-line"> 287 <div class="data-line">
288 <div class="td w2">首期</div> 288 <div class="td w2">首期</div>
289 <div class="td w2">現金</div> 289 <div class="td w2">{{dataForm.v8}}</div>
290 <div class="td w2">2020-1-1</div> 290 <div class="td w2">2020-1-1</div>
291 <div class="td w2">HK$2,000</div> 291 <div class="td w2">HK$2,000</div>
292 </div> 292 </div>
293 <div class="separator-h"></div> 293 <div class="separator-h"></div>
294 <div class="data-line"> 294 <div class="data-line">
295 <div class="td w2">第二期</div> 295 <div class="td w2">第二期</div>
296 <div class="td w2">現金</div> 296 <div class="td w2">{{dataForm.v8}}</div>
297 <div class="td w2">2020-1-1</div> 297 <div class="td w2">2020-1-1</div>
298 <div class="td w2">HK$2,000</div> 298 <div class="td w2">HK$2,000</div>
299 </div> 299 </div>
......
...@@ -14,6 +14,11 @@ export default { ...@@ -14,6 +14,11 @@ export default {
14 }, 14 },
15 methods: { 15 methods: {
16 initData() {}, 16 initData() {},
17 toPath(path) {
18 this.$router.push({
19 path: path
20 });
21 }
17 }, 22 },
18 created() { 23 created() {
19 let activity = this.$route.params.p; 24 let activity = this.$route.params.p;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 <i class="m4"></i>{{$t('customService.menu4')}} 19 <i class="m4"></i>{{$t('customService.menu4')}}
20 </div> 20 </div>
21 <div class="separator"></div> 21 <div class="separator"></div>
22 <div class="menu-item" :class="{activity : activity == 'm5'}" @click="activity = 'm5'"> 22 <div class="menu-item" :class="{activity : activity == 'm5'}" @click="toPath('/reservation')/*activity = 'm5'*/">
23 <i class="m5"></i>{{$t('customService.menu5')}} 23 <i class="m5"></i>{{$t('customService.menu5')}}
24 </div> 24 </div>
25 <div class="separator"></div> 25 <div class="separator"></div>
......
...@@ -13,12 +13,17 @@ export default { ...@@ -13,12 +13,17 @@ export default {
13 }, 13 },
14 components: {}, 14 components: {},
15 methods: { 15 methods: {
16 initData() {}, 16 initData() { },
17 checkBtnGroupFixed() { 17 checkBtnGroupFixed() {
18 if (this.$refs.ruleBtnGroup) { 18 if (this.$refs.ruleBtnGroup) {
19 let top = this.$refs.ruleBtnGroup.getBoundingClientRect().top; 19 let top = this.$refs.ruleBtnGroup.getBoundingClientRect().top;
20 this.isFixTop = top < 0; 20 this.isFixTop = top < 0;
21 } 21 }
22 },
23 toReservation() {
24 this.$router.push({
25 path: "/reservation"
26 });
22 } 27 }
23 }, 28 },
24 computed: { 29 computed: {
...@@ -31,5 +36,5 @@ export default { ...@@ -31,5 +36,5 @@ export default {
31 this.checkBtnGroupFixed(); 36 this.checkBtnGroupFixed();
32 }); 37 });
33 }, 38 },
34 created() {} 39 created() { }
35 } 40 }
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
17 position: absolute; 17 position: absolute;
18 top: 23.333333rem; 18 top: 23.333333rem;
19 left: 2.833333rem; 19 left: 2.833333rem;
20 cursor: pointer;
20 } 21 }
21 22
22 .btn { 23 .btn {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <template> 2 <template>
3 <div class="content"> 3 <div class="content">
4 <div class="banner"> 4 <div class="banner">
5 <div class="btn btn-position">{{$t('product.btnPosition')}}</div> 5 <div class="btn btn-position" @click="toReservation()">{{$t('product.btnPosition')}}</div>
6 <img src="@/assets/images/product/banner.jpg" /> 6 <img src="@/assets/images/product/banner.jpg" />
7 </div> 7 </div>
8 8
......