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 = {
InsurantNumber: "保單號碼",
Insurant: "被保人",
InsurantName: "險種名稱",
InsurantAmount: "保金額",
InsurantAmount: "保金額",
effectiveDate: "生效日期",
period: "保障年期",
......
......@@ -158,7 +158,7 @@ module.exports = {
InsurantNumber: "保单号码",
Insurant: "被保人",
InsurantName: "险种名称",
InsurantAmount: "保金额",
InsurantAmount: "保金额",
effectiveDate: "生效日期",
period: "保障年期",
......
......@@ -5,17 +5,48 @@ import {
} from '@/api/fetch-api.js'
export default {
name : "InsuranceQuery",
name: "InsuranceQuery",
data() {
return {
dataForm: {
},
insuranceForm: {
f1 : true,
f2 : true,
f3 : true,
f4 : true,
f5 : true,
f1: true,
f2: true,
f3: true,
f4: true,
f5: true,
}
}
},
methods: {
test() {
let i18n = this.$i18n.locale;
let data = {};
if (i18n == 'zh') {
data.v1 = "分红重疾";
data.v2 = "终身";
data.v3 = "深圳市益田路5033号";
data.v4 = "张三";
data.v5 = "银行转账";
data.v6 = "港币";
data.v7 = "平安银行";
data.v8 = "现金";
} else {
data.v1 = "分紅重疾";
data.v2 = "終身";
data.v3 = "深圳市益田路5033號";
data.v4 = "張三";
data.v5 = "銀行轉帳";
data.v6 = "港幣";
data.v7 = "平安銀行";
data.v8 = "現金";
}
this.$set(this, 'dataForm', data);
}
},
mounted() {
this.test();
},
}
......
......@@ -15,10 +15,10 @@
<div class="data-line">
<div class="td w1">P3**********0772</div>
<div class="td w2">平安</div>
<div class="td w2">分红重疾</div>
<div class="td w2">{{dataForm.v1}}</div>
<div class="td w2">HK$10,000</div>
<div class="td w2">2020-1-1</div>
<div class="td w2">終身</div>
<div class="td w2">{{dataForm.v2}}</div>
</div>
</div>
</div>
......@@ -38,7 +38,7 @@
<div class="data-line">
<div class="cell1">
<div class="label">{{$t('customService.insuranceQuery.t2InsurantClassify')}}</div>
<div class="label">分紅重疾</div>
<div class="label">{{dataForm.v1}}</div>
</div>
<div class="separator-v"></div>
<div class="cell1">
......@@ -55,7 +55,7 @@
<div class="separator-v"></div>
<div class="cell1">
<div class="label">{{$t('customService.insuranceQuery.period')}}</div>
<div class="label">终身</div>
<div class="label">{{dataForm.v2}}</div>
</div>
</div>
</div>
......@@ -112,7 +112,7 @@
{{$t('customService.insuranceQuery.t3InsurantContactAddress')}}
<span>修改</span>
</div>
<div class="label">深圳市益田路5033號</div>
<div class="label">{{dataForm.v3}}</div>
</div>
<div class="separator-v"></div>
<div class="cell1">
......@@ -120,7 +120,7 @@
{{$t('customService.insuranceQuery.t3InsurantAddress')}}
<span>修改</span>
</div>
<div class="label">深圳市益田路5033號</div>
<div class="label">{{dataForm.v3}}</div>
</div>
</div>
......@@ -199,7 +199,7 @@
</div>
<div class="separator-h"></div>
<div class="data-line">
<div class="td">張三</div>
<div class="td">{{dataForm.v4}}</div>
<div class="td">Zhangsan</div>
<div class="td">50%</div>
</div>
......@@ -232,15 +232,15 @@
<div class="separator-v"></div>
<div class="cell1">
<div class="label">{{$t('customService.insuranceQuery.t5PaymentMethod')}}</div>
<div class="label">銀行轉帳</div>
<div class="label"></div>
</div>
</div>
<div class="separator-h"></div>
<div class="separator-h">{{dataForm.v5}}</div>
<div class="data-line">
<div class="cell1">
<div class="label">{{$t('customService.insuranceQuery.t5PaymentCurrency')}}</div>
<div class="label">港幣</div>
<div class="label">{{dataForm.v6}}</div>
</div>
<div class="separator-v"></div>
<div class="cell1">
......@@ -253,7 +253,7 @@
<div class="data-line">
<div class="cell1">
<div class="label">{{$t('customService.insuranceQuery.t5PaymentBank')}}</div>
<div class="label">平安銀行</div>
<div class="label">{{dataForm.v7}}</div>
</div>
<div class="separator-v"></div>
<div class="cell1">
......@@ -286,14 +286,14 @@
<div class="separator-h"></div>
<div class="data-line">
<div class="td w2">首期</div>
<div class="td w2">現金</div>
<div class="td w2">{{dataForm.v8}}</div>
<div class="td w2">2020-1-1</div>
<div class="td w2">HK$2,000</div>
</div>
<div class="separator-h"></div>
<div class="data-line">
<div class="td w2">第二期</div>
<div class="td w2">現金</div>
<div class="td w2">{{dataForm.v8}}</div>
<div class="td w2">2020-1-1</div>
<div class="td w2">HK$2,000</div>
</div>
......
......@@ -14,6 +14,11 @@ export default {
},
methods: {
initData() {},
toPath(path) {
this.$router.push({
path: path
});
}
},
created() {
let activity = this.$route.params.p;
......
......@@ -19,7 +19,7 @@
<i class="m4"></i>{{$t('customService.menu4')}}
</div>
<div class="separator"></div>
<div class="menu-item" :class="{activity : activity == 'm5'}" @click="activity = 'm5'">
<div class="menu-item" :class="{activity : activity == 'm5'}" @click="toPath('/reservation')/*activity = 'm5'*/">
<i class="m5"></i>{{$t('customService.menu5')}}
</div>
<div class="separator"></div>
......
......@@ -13,12 +13,17 @@ export default {
},
components: {},
methods: {
initData() {},
initData() { },
checkBtnGroupFixed() {
if (this.$refs.ruleBtnGroup) {
let top = this.$refs.ruleBtnGroup.getBoundingClientRect().top;
this.isFixTop = top < 0;
}
},
toReservation() {
this.$router.push({
path: "/reservation"
});
}
},
computed: {
......@@ -31,5 +36,5 @@ export default {
this.checkBtnGroupFixed();
});
},
created() {}
created() { }
}
......
......@@ -17,6 +17,7 @@
position: absolute;
top: 23.333333rem;
left: 2.833333rem;
cursor: pointer;
}
.btn {
......
......@@ -2,7 +2,7 @@
<template>
<div class="content">
<div class="banner">
<div class="btn btn-position">{{$t('product.btnPosition')}}</div>
<div class="btn btn-position" @click="toReservation()">{{$t('product.btnPosition')}}</div>
<img src="@/assets/images/product/banner.jpg" />
</div>
......