191217修改意见
Showing
33 changed files
with
458 additions
and
83 deletions
... | @@ -10,6 +10,8 @@ | ... | @@ -10,6 +10,8 @@ |
10 | 10 | ||
11 | 11 | ||
12 | <script> | 12 | <script> |
13 | |||
14 | import Vue from 'vue' | ||
13 | import { mapGetters, mapActions, mapState } from "vuex"; | 15 | import { mapGetters, mapActions, mapState } from "vuex"; |
14 | import { getCookie } from "@utils/utils.js"; | 16 | import { getCookie } from "@utils/utils.js"; |
15 | import VHeader from "@components/home/header/header.vue"; | 17 | import VHeader from "@components/home/header/header.vue"; |
... | @@ -18,6 +20,7 @@ import VFooter from "@components/home/footer/footer.vue"; | ... | @@ -18,6 +20,7 @@ import VFooter from "@components/home/footer/footer.vue"; |
18 | import api from "@/api/api"; | 20 | import api from "@/api/api"; |
19 | import { httpGet, httpPost } from "@/api/fetch-api.js"; | 21 | import { httpGet, httpPost } from "@/api/fetch-api.js"; |
20 | 22 | ||
23 | window.eventBus = new Vue(); | ||
21 | var UA = require("ua-device"); | 24 | var UA = require("ua-device"); |
22 | 25 | ||
23 | export default { | 26 | export default { | ... | ... |
... | @@ -58,7 +58,7 @@ module.exports = { | ... | @@ -58,7 +58,7 @@ module.exports = { |
58 | }, | 58 | }, |
59 | navList: [{ | 59 | navList: [{ |
60 | name: "Products", | 60 | name: "Products", |
61 | path: "/empty", | 61 | path: "/product/introduction", |
62 | list: [{ | 62 | list: [{ |
63 | name: "VHIS", | 63 | name: "VHIS", |
64 | path: "", | 64 | path: "", |
... | @@ -120,30 +120,30 @@ module.exports = { | ... | @@ -120,30 +120,30 @@ module.exports = { |
120 | }, | 120 | }, |
121 | { | 121 | { |
122 | name: "Company Events", | 122 | name: "Company Events", |
123 | path: "/empty" | 123 | path: "/company/events" |
124 | }, { | 124 | }, { |
125 | name: "News Center", | 125 | name: "News Center", |
126 | path: "/news/list" | 126 | path: "/news/list" |
127 | }, | 127 | }, |
128 | { | 128 | { |
129 | name: "Corporate Social Responsibility", | 129 | name: "Corporate Social Responsibility", |
130 | path: "/empty" | 130 | path: "/responsibility" |
131 | }, | 131 | }, |
132 | { | 132 | { |
133 | name: "Awards", | 133 | name: "Awards", |
134 | path: "/empty" | 134 | path: "/awards" |
135 | }] | 135 | }] |
136 | }, | 136 | }, |
137 | { | 137 | { |
138 | name: "Join Us", | 138 | name: "Join Us", |
139 | path: "/empty", | 139 | path: "/join/us", |
140 | list: [{ | 140 | list: [{ |
141 | name: "Corporate Culture", | 141 | name: "Corporate Culture", |
142 | path: "/empty" | 142 | path: "/corporate/culture" |
143 | }, | 143 | }, |
144 | { | 144 | { |
145 | name: "Career Opportunities", | 145 | name: "Career Opportunities", |
146 | path: "/empty" | 146 | path: "/career/opportunities" |
147 | }, | 147 | }, |
148 | ] | 148 | ] |
149 | }] | 149 | }] |
... | @@ -772,8 +772,8 @@ module.exports = { | ... | @@ -772,8 +772,8 @@ module.exports = { |
772 | }, | 772 | }, |
773 | tips: "Login with your One Connect account in order to enjoy full online service.", | 773 | tips: "Login with your One Connect account in order to enjoy full online service.", |
774 | or: "or", | 774 | or: "or", |
775 | login: " login", | 775 | login: " Login", |
776 | register: " register", | 776 | register: " Register", |
777 | baseInfoTip: "To verify account information, please ", | 777 | baseInfoTip: "To verify account information, please ", |
778 | infoBtn: "provide", | 778 | infoBtn: "provide", |
779 | baseInfoTail: "customer information same as your insured information." | 779 | baseInfoTail: "customer information same as your insured information." |
... | @@ -785,11 +785,13 @@ module.exports = { | ... | @@ -785,11 +785,13 @@ module.exports = { |
785 | } | 785 | } |
786 | }, | 786 | }, |
787 | pagination: { | 787 | pagination: { |
788 | firstPage: "first", | 788 | firstPage: "last", |
789 | nextPage: "next", | 789 | nextPage: "next", |
790 | goto: "Go to", | 790 | goto: "Go to", |
791 | per: "page", | 791 | per: "page", |
792 | page: "" | 792 | page: "", |
793 | total : "total", | ||
794 | unit : "news" | ||
793 | }, | 795 | }, |
794 | newsDetail: { | 796 | newsDetail: { |
795 | back: "Back", | 797 | back: "Back", | ... | ... |
... | @@ -59,7 +59,7 @@ module.exports = { | ... | @@ -59,7 +59,7 @@ module.exports = { |
59 | navList: [ | 59 | navList: [ |
60 | { | 60 | { |
61 | name: "產品介紹", | 61 | name: "產品介紹", |
62 | path: "/empty", | 62 | path: "/product/introduction", |
63 | list: [{ | 63 | list: [{ |
64 | name: "自願醫保計劃", | 64 | name: "自願醫保計劃", |
65 | path: "", | 65 | path: "", |
... | @@ -121,30 +121,30 @@ module.exports = { | ... | @@ -121,30 +121,30 @@ module.exports = { |
121 | }, | 121 | }, |
122 | { | 122 | { |
123 | name: "公司活動", | 123 | name: "公司活動", |
124 | path: "/empty" | 124 | path: "/company/events" |
125 | }, { | 125 | }, { |
126 | name: "新聞中心", | 126 | name: "新聞中心", |
127 | path: "/news/list" | 127 | path: "/news/list" |
128 | }, | 128 | }, |
129 | { | 129 | { |
130 | name: "企業社會責任", | 130 | name: "企業社會責任", |
131 | path: "/empty" | 131 | path: "/responsibility" |
132 | }, | 132 | }, |
133 | { | 133 | { |
134 | name: "獎項殊榮", | 134 | name: "獎項殊榮", |
135 | path: "/empty" | 135 | path: "/awards" |
136 | }] | 136 | }] |
137 | }, | 137 | }, |
138 | { | 138 | { |
139 | name: "加入我們", | 139 | name: "加入我們", |
140 | path: "/empty", | 140 | path: "/join/us", |
141 | list: [{ | 141 | list: [{ |
142 | name: "企業文化", | 142 | name: "企業文化", |
143 | path: "/empty" | 143 | path: "/corporate/culture" |
144 | }, | 144 | }, |
145 | { | 145 | { |
146 | name: "事業發展機會", | 146 | name: "事業發展機會", |
147 | path: "/empty" | 147 | path: "/career/opportunities" |
148 | }, | 148 | }, |
149 | ] | 149 | ] |
150 | } | 150 | } |
... | @@ -784,11 +784,13 @@ module.exports = { | ... | @@ -784,11 +784,13 @@ module.exports = { |
784 | } | 784 | } |
785 | }, | 785 | }, |
786 | pagination: { | 786 | pagination: { |
787 | firstPage: "第一頁", | 787 | firstPage: "上一頁", |
788 | nextPage: "下一頁", | 788 | nextPage: "下一頁", |
789 | goto: "跳轉", | 789 | goto: "跳轉", |
790 | per: "第", | 790 | per: "第", |
791 | page: "頁" | 791 | page: "頁", |
792 | total : "共", | ||
793 | unit : "條" | ||
792 | }, | 794 | }, |
793 | newsDetail: { | 795 | newsDetail: { |
794 | back: "回到列表頁", | 796 | back: "回到列表頁", | ... | ... |
1 | module.exports = { | 1 | module.exports = { |
2 | message: { | 2 | message: { |
3 | login: '登陆', | 3 | login: '登入', |
4 | Username: '用户名', | 4 | Username: '用户名', |
5 | Password: '密码', | 5 | Password: '密码', |
6 | Captcha: '验证码', | 6 | Captcha: '验证码', |
... | @@ -9,7 +9,7 @@ module.exports = { | ... | @@ -9,7 +9,7 @@ module.exports = { |
9 | en: '英文' | 9 | en: '英文' |
10 | }, | 10 | }, |
11 | glbalTips: { | 11 | glbalTips: { |
12 | sessionLost: "为了更好的体验,需要您登陆后再进行此操作" | 12 | sessionLost: "为了更好的体验,需要您登入后再进行此操作" |
13 | }, | 13 | }, |
14 | form: { | 14 | form: { |
15 | datePicker: { | 15 | datePicker: { |
... | @@ -23,7 +23,7 @@ module.exports = { | ... | @@ -23,7 +23,7 @@ module.exports = { |
23 | }, | 23 | }, |
24 | nav: { | 24 | nav: { |
25 | loginData: { | 25 | loginData: { |
26 | name: "登陆", | 26 | name: "登入", |
27 | path: "/login", | 27 | path: "/login", |
28 | list: [{ | 28 | list: [{ |
29 | name: "注册", | 29 | name: "注册", |
... | @@ -31,7 +31,7 @@ module.exports = { | ... | @@ -31,7 +31,7 @@ module.exports = { |
31 | type: "noAuth", | 31 | type: "noAuth", |
32 | value: "" | 32 | value: "" |
33 | }, { | 33 | }, { |
34 | name: "登陆", | 34 | name: "登入", |
35 | path: "", | 35 | path: "", |
36 | type: "noAuth", | 36 | type: "noAuth", |
37 | value: "login" | 37 | value: "login" |
... | @@ -58,9 +58,9 @@ module.exports = { | ... | @@ -58,9 +58,9 @@ module.exports = { |
58 | }, | 58 | }, |
59 | navList: [{ | 59 | navList: [{ |
60 | name: "产品介绍", | 60 | name: "产品介绍", |
61 | path: "/empty", | 61 | path: "/product/introduction", |
62 | list: [{ | 62 | list: [{ |
63 | name: "自愿医保基本计划", | 63 | name: "自愿医保计划", |
64 | path: "", | 64 | path: "", |
65 | value: "gotoVHIS" | 65 | value: "gotoVHIS" |
66 | }, | 66 | }, |
... | @@ -119,31 +119,31 @@ module.exports = { | ... | @@ -119,31 +119,31 @@ module.exports = { |
119 | }, | 119 | }, |
120 | { | 120 | { |
121 | name: "公司活动", | 121 | name: "公司活动", |
122 | path: "/empty" | 122 | path: "/company/events" |
123 | }, { | 123 | }, { |
124 | name: "新闻中心", | 124 | name: "新闻中心", |
125 | path: "/news/list" | 125 | path: "/news/list" |
126 | }, | 126 | }, |
127 | { | 127 | { |
128 | name: "企业社会责任", | 128 | name: "企业社会责任", |
129 | path: "/empty" | 129 | path: "/responsibility" |
130 | }, | 130 | }, |
131 | { | 131 | { |
132 | name: "奖项殊荣", | 132 | name: "奖项殊荣", |
133 | path: "/empty" | 133 | path: "/awards" |
134 | } | 134 | } |
135 | ] | 135 | ] |
136 | }, | 136 | }, |
137 | { | 137 | { |
138 | name: "加入我们", | 138 | name: "加入我们", |
139 | path: "/empty", | 139 | path: "/join/us", |
140 | list: [{ | 140 | list: [{ |
141 | name: "企业文化", | 141 | name: "企业文化", |
142 | path: "/empty" | 142 | path: "/corporate/culture" |
143 | }, | 143 | }, |
144 | { | 144 | { |
145 | name: "事业发展机会", | 145 | name: "事业发展机会", |
146 | path: "/empty" | 146 | path: "/career/opportunities" |
147 | }, | 147 | }, |
148 | ] | 148 | ] |
149 | } | 149 | } |
... | @@ -169,12 +169,12 @@ module.exports = { | ... | @@ -169,12 +169,12 @@ module.exports = { |
169 | }, | 169 | }, |
170 | login: { | 170 | login: { |
171 | title: "平安一账通", | 171 | title: "平安一账通", |
172 | loginType1: "账密登陆", | 172 | loginType1: "账密登入", |
173 | loginType2: "动态密码登陆", | 173 | loginType2: "动态密码登入", |
174 | account: "账号", | 174 | account: "账号", |
175 | accountPlaceholder: "请输入证件号/一账通用户名/手机号", | 175 | accountPlaceholder: "请输入证件号/一账通用户名/手机号", |
176 | password: "密码", | 176 | password: "密码", |
177 | passwordPlaceholder: "输入登陆密码", | 177 | passwordPlaceholder: "输入登入密码", |
178 | verifyPlaceholder: "请输入验证码", | 178 | verifyPlaceholder: "请输入验证码", |
179 | agree: "同意", | 179 | agree: "同意", |
180 | protocol: "《平安一账通会员服务协议》", | 180 | protocol: "《平安一账通会员服务协议》", |
... | @@ -200,7 +200,7 @@ module.exports = { | ... | @@ -200,7 +200,7 @@ module.exports = { |
200 | } | 200 | } |
201 | }, | 201 | }, |
202 | session: { | 202 | session: { |
203 | sidExpire: "长时间未操作,为了您的账户安全,请登陆后再操作", | 203 | sidExpire: "长时间未操作,为了您的账户安全,请登入后再操作", |
204 | }, | 204 | }, |
205 | register: { | 205 | register: { |
206 | mobileOptions: [{ | 206 | mobileOptions: [{ |
... | @@ -233,7 +233,7 @@ module.exports = { | ... | @@ -233,7 +233,7 @@ module.exports = { |
233 | e2: "请同意《平安一账通会员服务协议》", | 233 | e2: "请同意《平安一账通会员服务协议》", |
234 | e3: "短信验证码不正确", | 234 | e3: "短信验证码不正确", |
235 | e4: "请先获取短信验证码", | 235 | e4: "请先获取短信验证码", |
236 | e5: "手机号已经被注册,请使用其他手机号注册或直接登陆", | 236 | e5: "手机号已经被注册,请使用其他手机号注册或直接登入", |
237 | e6: "请输入图片验证码", | 237 | e6: "请输入图片验证码", |
238 | e7: "密码长度不能少于8位", | 238 | e7: "密码长度不能少于8位", |
239 | e8: "密码必须同时包含数字、字母、特殊字符", | 239 | e8: "密码必须同时包含数字、字母、特殊字符", |
... | @@ -772,7 +772,7 @@ module.exports = { | ... | @@ -772,7 +772,7 @@ module.exports = { |
772 | 772 | ||
773 | tips: "如您有平安一账通账户,可帮助我们更好地为您提供服务", | 773 | tips: "如您有平安一账通账户,可帮助我们更好地为您提供服务", |
774 | or: "或", | 774 | or: "或", |
775 | login: "登陆", | 775 | login: "登入", |
776 | register: "注册", | 776 | register: "注册", |
777 | baseInfoTip: "您尚未验证客户资料,请", | 777 | baseInfoTip: "您尚未验证客户资料,请", |
778 | infoBtn: "填写", | 778 | infoBtn: "填写", |
... | @@ -789,7 +789,9 @@ module.exports = { | ... | @@ -789,7 +789,9 @@ module.exports = { |
789 | nextPage: "下一页", | 789 | nextPage: "下一页", |
790 | goto: "跳转", | 790 | goto: "跳转", |
791 | per: "第", | 791 | per: "第", |
792 | page: "页" | 792 | page: "页", |
793 | total : "共", | ||
794 | unit : "条" | ||
793 | }, | 795 | }, |
794 | newsDetail: { | 796 | newsDetail: { |
795 | back: "回到列表页", | 797 | back: "回到列表页", | ... | ... |
... | @@ -96,6 +96,7 @@ export default { | ... | @@ -96,6 +96,7 @@ export default { |
96 | // } | 96 | // } |
97 | let item = curData; | 97 | let item = curData; |
98 | let path = item && item.path || ""; | 98 | let path = item && item.path || ""; |
99 | eventBus.$emit(item.path); | ||
99 | if (path) { | 100 | if (path) { |
100 | this.$router.push({ | 101 | this.$router.push({ |
101 | path: path | 102 | path: path |
... | @@ -119,6 +120,7 @@ export default { | ... | @@ -119,6 +120,7 @@ export default { |
119 | } | 120 | } |
120 | }, | 121 | }, |
121 | onLoginHandler() { | 122 | onLoginHandler() { |
123 | eventBus.$emit("login"); | ||
122 | if (this.$route.name == "login") { | 124 | if (this.$route.name == "login") { |
123 | return; | 125 | return; |
124 | } else if (this.$route.name == "register" || this.$route.name == "passwordFind") { | 126 | } else if (this.$route.name == "register" || this.$route.name == "passwordFind") { | ... | ... |
... | @@ -24,19 +24,19 @@ | ... | @@ -24,19 +24,19 @@ |
24 | <div @click="toPage('profile')" class="n-item">{{$t('footer.aboutUs')}}</div> | 24 | <div @click="toPage('profile')" class="n-item">{{$t('footer.aboutUs')}}</div> |
25 | <div @click="toPage('profile')" class="n-item">{{$t('footer.companyIntroduction')}}</div> | 25 | <div @click="toPage('profile')" class="n-item">{{$t('footer.companyIntroduction')}}</div> |
26 | <div @click="toPage('newsList')" class="n-item">{{$t('footer.news')}}</div> | 26 | <div @click="toPage('newsList')" class="n-item">{{$t('footer.news')}}</div> |
27 | <div @click="toPage('empty')" class="n-item">{{$t('footer.joinUs')}}</div> | 27 | <div @click="toPage('joinUs')" class="n-item">{{$t('footer.joinUs')}}</div> |
28 | </div> | 28 | </div> |
29 | <div class="nav-v"> | 29 | <div class="nav-v"> |
30 | <div @click="toPage('empty')" class="n-item">{{$t('footer.helpCenter')}}</div> | 30 | <div @click="toPage('help')" class="n-item">{{$t('footer.helpCenter')}}</div> |
31 | <div @click="toPage('privacy')" class="n-item">{{$t('footer.privacy')}}</div> | 31 | <div @click="toPage('privacy')" class="n-item">{{$t('footer.privacy')}}</div> |
32 | <div @click="toPage('terms')" class="n-item">{{$t('footer.terms')}}</div> | 32 | <div @click="toPage('terms')" class="n-item">{{$t('footer.terms')}}</div> |
33 | <div @click="toPage('personalDataCollection')" class="n-item">{{$t('footer.protocol')}}</div> | 33 | <div @click="toPage('personalDataCollection')" class="n-item">{{$t('footer.protocol')}}</div> |
34 | </div> | 34 | </div> |
35 | <div class="nav-v"> | 35 | <div class="nav-v"> |
36 | <div @click="toPath('/custom/service?q=m1')" class="n-item">{{$t('footer.contactUs')}}</div> | 36 | <div @click="toPath('/custom/service?q=m1')" class="n-item">{{$t('footer.contactUs')}}</div> |
37 | <div @click="toPage('empty')" class="n-item">{{$t('footer.contactInformation')}}</div> | 37 | <div @click="toPage('contactMethod')" class="n-item">{{$t('footer.contactInformation')}}</div> |
38 | <div @click="toPage('empty')" class="n-item">{{$t('footer.service')}}</div> | 38 | <div @click="toPage('serviceNet')" class="n-item">{{$t('footer.service')}}</div> |
39 | <div @click="toPage('empty')" class="n-item">{{$t('footer.map')}}</div> | 39 | <div @click="toPage('map')" class="n-item">{{$t('footer.map')}}</div> |
40 | </div> | 40 | </div> |
41 | </div> | 41 | </div> |
42 | 42 | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <template> | 2 | <template> |
3 | <div class="comp"> | 3 | <div class="comp"> |
4 | <div class="pagination gird-g"> | 4 | <div class="pagination gird-g"> |
5 | <div>共<span class="t1">{{totalItem}}</span>条</div> | 5 | <div>{{$t('pagination.total')}}<span class="t1">{{totalItem}}</span>{{$t('pagination.unit')}}</div> |
6 | <div class="pagination-item"> | 6 | <div class="pagination-item"> |
7 | <span class="pointer" :class="{'pagination-disabled' : cur == 1}"> | 7 | <span class="pointer" :class="{'pagination-disabled' : cur == 1}"> |
8 | <a @click="prevPage()">{{$t('pagination.firstPage')}}</a> | 8 | <a @click="prevPage()">{{$t('pagination.firstPage')}}</a> | ... | ... |
src/pages/company-events/company-events.vue
0 → 100644
src/pages/contact-method/contact-method.vue
0 → 100644
... | @@ -5,6 +5,7 @@ import { | ... | @@ -5,6 +5,7 @@ import { |
5 | } from '@/api/fetch-api.js' | 5 | } from '@/api/fetch-api.js' |
6 | 6 | ||
7 | import { contactMethodCheck } from '@utils/utils.js'; | 7 | import { contactMethodCheck } from '@utils/utils.js'; |
8 | import { setTitle } from '@/utils/utils.js'; | ||
8 | 9 | ||
9 | import Auth from '@components/auth/auth.vue'; | 10 | import Auth from '@components/auth/auth.vue'; |
10 | import modalComp from '@/components/modal-comp/modal-comp.vue'; | 11 | import modalComp from '@/components/modal-comp/modal-comp.vue'; |
... | @@ -181,6 +182,14 @@ export default { | ... | @@ -181,6 +182,14 @@ export default { |
181 | }, | 182 | }, |
182 | userLogin(data) { | 183 | userLogin(data) { |
183 | this.showForm = true; | 184 | this.showForm = true; |
185 | }, | ||
186 | initTitle() { | ||
187 | try { | ||
188 | let title = this.i18n.customService.menu42; | ||
189 | setTitle(title); | ||
190 | } catch (e) { | ||
191 | console.error(e); | ||
192 | } | ||
184 | } | 193 | } |
185 | }, | 194 | }, |
186 | watch: { | 195 | watch: { |
... | @@ -195,5 +204,6 @@ export default { | ... | @@ -195,5 +204,6 @@ export default { |
195 | } | 204 | } |
196 | }, | 205 | }, |
197 | mounted() { | 206 | mounted() { |
207 | this.initTitle(); | ||
198 | } | 208 | } |
199 | } | 209 | } | ... | ... |
1 | import api from '@/api/api' | 1 | |
2 | import { | 2 | import { setTitle } from '@/utils/utils.js'; |
3 | httpGet, | ||
4 | httpPost | ||
5 | } from '@/api/fetch-api.js' | ||
6 | 3 | ||
7 | import PolicyHeadList from "./policy-head-list.vue"; | 4 | import PolicyHeadList from "./policy-head-list.vue"; |
8 | import Auth from '@components/auth/auth.vue'; | 5 | import Auth from '@components/auth/auth.vue'; |
... | @@ -49,8 +46,18 @@ export default { | ... | @@ -49,8 +46,18 @@ export default { |
49 | }, | 46 | }, |
50 | userLogin(data) { | 47 | userLogin(data) { |
51 | this.showForm = true; | 48 | this.showForm = true; |
52 | } | 49 | }, |
50 | initTitle() { | ||
51 | try { | ||
52 | let title = this.i18n.customService.menu41; | ||
53 | setTitle(title); | ||
54 | } catch (e) { | ||
55 | |||
56 | } | ||
57 | } | ||
58 | }, | ||
59 | mounted() { | ||
60 | this.initTitle(); | ||
53 | }, | 61 | }, |
54 | mounted() {}, | ||
55 | created() {} | 62 | created() {} |
56 | } | 63 | } | ... | ... |
... | @@ -4,6 +4,9 @@ import { | ... | @@ -4,6 +4,9 @@ import { |
4 | httpPost | 4 | httpPost |
5 | } from '@/api/fetch-api.js' | 5 | } from '@/api/fetch-api.js' |
6 | 6 | ||
7 | import { getNationsList, getMarryList, getPolicyIdTypeList } from '@/utils/biz.js'; | ||
8 | import { setTitle } from '@/utils/utils.js'; | ||
9 | |||
7 | import Auth from '@components/auth/auth.vue'; | 10 | import Auth from '@components/auth/auth.vue'; |
8 | import PolicyHeadList from "./policy-head-list.vue"; | 11 | import PolicyHeadList from "./policy-head-list.vue"; |
9 | import DatePicker from '@/components/date-picker/date-picker.vue' | 12 | import DatePicker from '@/components/date-picker/date-picker.vue' |
... | @@ -36,6 +39,7 @@ export default { | ... | @@ -36,6 +39,7 @@ export default { |
36 | targetPath: "", | 39 | targetPath: "", |
37 | modalIcon: "succ", | 40 | modalIcon: "succ", |
38 | modalContent: "", | 41 | modalContent: "", |
42 | showIdNumber: false, | ||
39 | } | 43 | } |
40 | }, | 44 | }, |
41 | components: { | 45 | components: { |
... | @@ -60,9 +64,18 @@ export default { | ... | @@ -60,9 +64,18 @@ export default { |
60 | let i18n = this.$i18n.messages[this.$i18n.locale]; | 64 | let i18n = this.$i18n.messages[this.$i18n.locale]; |
61 | return i18n.infomationImprove.candidates.idType; | 65 | return i18n.infomationImprove.candidates.idType; |
62 | }, | 66 | }, |
67 | nationList() { | ||
68 | return getNationsList(); | ||
69 | }, | ||
70 | marryList() { | ||
71 | return getMarryList(); | ||
72 | }, | ||
73 | policyIdTypeList() { | ||
74 | return getPolicyIdTypeList(); | ||
75 | } | ||
63 | }, | 76 | }, |
64 | methods: { | 77 | methods: { |
65 | 78 | ||
66 | showModal(content, icon) { | 79 | showModal(content, icon) { |
67 | icon = !icon || typeof icon === "undefined" ? "succ" : icon; | 80 | icon = !icon || typeof icon === "undefined" ? "succ" : icon; |
68 | this.modalIcon = icon; | 81 | this.modalIcon = icon; |
... | @@ -94,6 +107,10 @@ export default { | ... | @@ -94,6 +107,10 @@ export default { |
94 | this.loading = false; | 107 | this.loading = false; |
95 | if (res) { | 108 | if (res) { |
96 | this.policy = res; | 109 | this.policy = res; |
110 | |||
111 | this.policy.clientBirthday = this.policy.clientBirthday ? this.policy.clientBirthday.split(" ")[0] : ""; | ||
112 | this.policy.insuredBirthday = this.policy.insuredBirthday ? this.policy.insuredBirthday.split(" ")[0] : ""; | ||
113 | |||
97 | let clientName = res.clientNameCn ? res.clientNameCn : res.clientNameEn; | 114 | let clientName = res.clientNameCn ? res.clientNameCn : res.clientNameEn; |
98 | let insuredName = res.insuredNameCn ? res.insuredNameCn : res.insuredNameEn; | 115 | let insuredName = res.insuredNameCn ? res.insuredNameCn : res.insuredNameEn; |
99 | this.policy.clientName = clientName; | 116 | this.policy.clientName = clientName; |
... | @@ -261,10 +278,19 @@ export default { | ... | @@ -261,10 +278,19 @@ export default { |
261 | }, | 278 | }, |
262 | userLogin(data) { | 279 | userLogin(data) { |
263 | this.showForm = true; | 280 | this.showForm = true; |
281 | }, | ||
282 | initTitle() { | ||
283 | try { | ||
284 | let title = this.i18n.customService.menu43; | ||
285 | setTitle(title); | ||
286 | } catch (e) { | ||
287 | |||
288 | } | ||
264 | } | 289 | } |
265 | }, | 290 | }, |
266 | mounted() { | 291 | mounted() { |
267 | this.isOwner = this.$route.query.u == 2 ? false : true; | 292 | this.isOwner = this.$route.query.u == 2 ? false : true; |
293 | this.initTitle(); | ||
268 | }, | 294 | }, |
269 | created() { } | 295 | created() { } |
270 | } | 296 | } | ... | ... |
... | @@ -81,9 +81,7 @@ | ... | @@ -81,9 +81,7 @@ |
81 | <div class="ipt-wrap"> | 81 | <div class="ipt-wrap"> |
82 | <div class="down-arrow"></div> | 82 | <div class="down-arrow"></div> |
83 | <select class="ipt" v-model="data.idType"> | 83 | <select class="ipt" v-model="data.idType"> |
84 | <template v-if="idTypeCandidates"> | 84 | <option v-for="(item,index) in policyIdTypeList" :key="index" :value="item.v">{{item.n}}</option> |
85 | <option v-for="(item,index) in idTypeCandidates" :key="index" :value="item.value">{{item.name}}</option> | ||
86 | </template> | ||
87 | </select> | 85 | </select> |
88 | </div> | 86 | </div> |
89 | </div> | 87 | </div> |
... | @@ -94,7 +92,7 @@ | ... | @@ -94,7 +92,7 @@ |
94 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-card.png"></div> {{$t('policyChangeInformation.NO')}} | 92 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-card.png"></div> {{$t('policyChangeInformation.NO')}} |
95 | </div> | 93 | </div> |
96 | <div class="ipt-wrap"> | 94 | <div class="ipt-wrap"> |
97 | <div class="eye"></div> | 95 | <!-- <div class="eye"></div> --> |
98 | <!-- --> | 96 | <!-- --> |
99 | <!-- <div class="eye eye-act"></div> --> | 97 | <!-- <div class="eye eye-act"></div> --> |
100 | <input class="ipt" type="text" v-model="data.idNumber"> | 98 | <input class="ipt" type="text" v-model="data.idNumber"> |
... | @@ -107,7 +105,8 @@ | ... | @@ -107,7 +105,8 @@ |
107 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-card.png"></div> {{$t('policyChangeInformation.validityPeriod')}} | 105 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-card.png"></div> {{$t('policyChangeInformation.validityPeriod')}} |
108 | </div> | 106 | </div> |
109 | <div class="ipt-wrap"> | 107 | <div class="ipt-wrap"> |
110 | <date-picker class="date" v-model="data.idExpireAt" :filtModel="['history', 'today']"></date-picker> | 108 | <!-- <date-picker class="date" v-model="data.idExpireAt" :filtModel="['history', 'today']"></date-picker> --> |
109 | <input disabled class="ipt disable" type="text" value="-"> | ||
111 | </div> | 110 | </div> |
112 | </div> | 111 | </div> |
113 | 112 | ||
... | @@ -117,7 +116,12 @@ | ... | @@ -117,7 +116,12 @@ |
117 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-earth.png"></div> {{$t('policyChangeInformation.nationality')}} | 116 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-earth.png"></div> {{$t('policyChangeInformation.nationality')}} |
118 | </div> | 117 | </div> |
119 | <div class="ipt-wrap"> | 118 | <div class="ipt-wrap"> |
120 | <input class="ipt" type="text" v-model="data.nature"> | 119 | <!-- <input class="ipt" type="text" v-model="data.nature"> --> |
120 | |||
121 | <div class="down-arrow"></div> | ||
122 | <select class="ipt" v-model="data.nature"> | ||
123 | <option v-for="(item,index) in nationList" :key="index" :value="item.v">{{item.n}}</option> | ||
124 | </select> | ||
121 | </div> | 125 | </div> |
122 | </div> | 126 | </div> |
123 | 127 | ||
... | @@ -137,7 +141,12 @@ | ... | @@ -137,7 +141,12 @@ |
137 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-love.png"></div> {{$t('policyChangeInformation.maritalStatus')}} | 141 | <div class="icon"><img src="@/assets/images/policy-change-information/icon-pci-love.png"></div> {{$t('policyChangeInformation.maritalStatus')}} |
138 | </div> | 142 | </div> |
139 | <div class="ipt-wrap"> | 143 | <div class="ipt-wrap"> |
140 | <input class="ipt" type="text" v-model="data.marriage"> | 144 | <div class="down-arrow"></div> |
145 | |||
146 | <!-- <input class="ipt" type="text" v-model="data.marriage"> --> | ||
147 | <select class="ipt" v-model="data.marriage"> | ||
148 | <option v-for="(item,index) in marryList" :key="index" :value="item.v">{{item.n}}</option> | ||
149 | </select> | ||
141 | </div> | 150 | </div> |
142 | </div> | 151 | </div> |
143 | 152 | ... | ... |
src/pages/help/help.vue
0 → 100644
... | @@ -176,12 +176,11 @@ export default { | ... | @@ -176,12 +176,11 @@ export default { |
176 | if (key == "zh") { | 176 | if (key == "zh") { |
177 | key = "cn"; | 177 | key = "cn"; |
178 | } | 178 | } |
179 | let newList = []; | 179 | let bannerList = []; |
180 | this.bannerCandidateList.forEach(element => { | 180 | this.bannerCandidateList.forEach(element => { |
181 | newList.push(element[key]); | 181 | bannerList.push(element[key]); |
182 | }); | 182 | }); |
183 | console.log(newList); | 183 | this.$set(this, 'bannerList', bannerList); |
184 | this.$set(this, 'bannerList', newList); | ||
185 | }, | 184 | }, |
186 | btnNavigateTo(type, link) { | 185 | btnNavigateTo(type, link) { |
187 | location.href = link; | 186 | location.href = link; | ... | ... |
src/pages/join-us/join-us.vue
0 → 100644
... | @@ -30,7 +30,7 @@ export default { | ... | @@ -30,7 +30,7 @@ export default { |
30 | return { | 30 | return { |
31 | loading: false, | 31 | loading: false, |
32 | key: 'value', | 32 | key: 'value', |
33 | type: 1, // 1:帐密登陆 2:OTP登陆, | 33 | type: 1, // 1:帐密登陆 2:OTP登陆 3:OTP注册密码, |
34 | values: { | 34 | values: { |
35 | // 返回的token,串连整个流程,后台安全校验使用 | 35 | // 返回的token,串连整个流程,后台安全校验使用 |
36 | token: "", | 36 | token: "", |
... | @@ -48,14 +48,14 @@ export default { | ... | @@ -48,14 +48,14 @@ export default { |
48 | tip: "" // 显示的文字 | 48 | tip: "" // 显示的文字 |
49 | }, | 49 | }, |
50 | loginForm: { | 50 | loginForm: { |
51 | userId: "", | ||
52 | password: "", | ||
51 | // userId: "18334783910", | 53 | // userId: "18334783910", |
52 | // password: "qweqwe123", | 54 | // password: "qweqwe123", |
53 | // userId: "18145729463", | 55 | // userId: "18145729463", |
54 | // password: "ccc123!@#", | 56 | // password: "ccc123!@#", |
55 | // userId: "15927024254", | 57 | // userId: "15927024254", |
56 | // password: "a1234567@", | 58 | // password: "a1234567@", |
57 | userId: "", | ||
58 | password: "", | ||
59 | 59 | ||
60 | imageValue: "", | 60 | imageValue: "", |
61 | mobileNo: "", | 61 | mobileNo: "", |
... | @@ -571,8 +571,13 @@ export default { | ... | @@ -571,8 +571,13 @@ export default { |
571 | }, | 571 | }, |
572 | mounted() { | 572 | mounted() { |
573 | this.initData(); | 573 | this.initData(); |
574 | |||
574 | // console.log("PK === ", this.PK) | 575 | // console.log("PK === ", this.PK) |
575 | // console.log("E === ", this.E) | 576 | // console.log("E === ", this.E) |
576 | }, | 577 | }, |
577 | created() { } | 578 | created() { |
579 | eventBus.$on("login", () => { | ||
580 | this.type = 1; | ||
581 | }); | ||
582 | } | ||
578 | } | 583 | } | ... | ... |
... | @@ -38,6 +38,16 @@ | ... | @@ -38,6 +38,16 @@ |
38 | @extend .box-shadow; | 38 | @extend .box-shadow; |
39 | background-color: #ffffff; | 39 | background-color: #ffffff; |
40 | 40 | ||
41 | &-tit2 { | ||
42 | color: $cOrange; | ||
43 | text-align: center; | ||
44 | font-size: $fontSizeTitle; | ||
45 | font-weight: bold; | ||
46 | letter-spacing: .2rem; | ||
47 | text-shadow: 3px 5.2px 9px rgba(236, 100, 41, 0.27); | ||
48 | margin-top: 2rem; | ||
49 | } | ||
50 | |||
41 | &-tit { | 51 | &-tit { |
42 | color: $cOrange; | 52 | color: $cOrange; |
43 | text-align: center; | 53 | text-align: center; |
... | @@ -244,6 +254,17 @@ | ... | @@ -244,6 +254,17 @@ |
244 | padding: 2rem 1rem 3.5rem; | 254 | padding: 2rem 1rem 3.5rem; |
245 | border-bottom: none; | 255 | border-bottom: none; |
246 | 256 | ||
257 | |||
258 | &-tit2 { | ||
259 | color: $cOrange; | ||
260 | text-align: center; | ||
261 | font-size: $fontSizeTitle; | ||
262 | font-weight: bold; | ||
263 | letter-spacing: .2rem; | ||
264 | text-shadow: 3px 5.2px 9px rgba(236, 100, 41, 0.27); | ||
265 | margin-top: 2rem; | ||
266 | } | ||
267 | |||
247 | &-nav { | 268 | &-nav { |
248 | margin: 1.75rem auto 1rem; | 269 | margin: 1.75rem auto 1rem; |
249 | } | 270 | } | ... | ... |
... | @@ -138,11 +138,13 @@ | ... | @@ -138,11 +138,13 @@ |
138 | 138 | ||
139 | <!----> | 139 | <!----> |
140 | <div v-if="type == 3" class="login"> | 140 | <div v-if="type == 3" class="login"> |
141 | <div class="login-tit"> | 141 | <!-- <div class="login-tit"> |
142 | <img v-if="locale == 'zh'" src="@/assets/images/login/login-tit-zh.png"> | 142 | <img v-if="locale == 'zh'" src="@/assets/images/login/login-tit-zh.png"> |
143 | <img v-if="locale == 'tc'" src="@/assets/images/login/login-tit-tc.png"> | 143 | <img v-if="locale == 'tc'" src="@/assets/images/login/login-tit-tc.png"> |
144 | <img v-if="locale == 'en'" class="img-en" src="@/assets/images/login/login-tit-en.png"> | 144 | <img v-if="locale == 'en'" class="img-en" src="@/assets/images/login/login-tit-en.png"> |
145 | </div> | 145 | </div> --> |
146 | |||
147 | <div class="login-tit2">{{$t('register.title2')}}</div> | ||
146 | <div class="gird-g form"> | 148 | <div class="gird-g form"> |
147 | <div class="pure-u-1 form-item"> | 149 | <div class="pure-u-1 form-item"> |
148 | <div class="label"> | 150 | <div class="label"> | ... | ... |
src/pages/map/map.vue
0 → 100644
... | @@ -20,7 +20,9 @@ export default { | ... | @@ -20,7 +20,9 @@ export default { |
20 | page: 1, | 20 | page: 1, |
21 | size: 10 | 21 | size: 10 |
22 | }, | 22 | }, |
23 | total: 0, | 23 | |
24 | totalPage: 0, | ||
25 | totalItem : 0, | ||
24 | news: [] | 26 | news: [] |
25 | } | 27 | } |
26 | }, | 28 | }, |
... | @@ -53,15 +55,15 @@ export default { | ... | @@ -53,15 +55,15 @@ export default { |
53 | this.queryForm.page = page; | 55 | this.queryForm.page = page; |
54 | this.$nextTick(()=>{ | 56 | this.$nextTick(()=>{ |
55 | this.$refs.pagination.selPage(page); | 57 | this.$refs.pagination.selPage(page); |
56 | }); | 58 | }); |
57 | |||
58 | httpGet({ url: api.newsList, data: this.queryForm }).then(res => { | 59 | httpGet({ url: api.newsList, data: this.queryForm }).then(res => { |
59 | let newsList = res.list; | 60 | let newsList = res.list; |
60 | newsList.forEach(element => { | 61 | newsList.forEach(element => { |
61 | element.dateFormat = getDateYMD(element.createAt); | 62 | element.dateFormat = getDateYMD(element.createAt); |
62 | }); | 63 | }); |
63 | this.$set(this, 'news', newsList); | 64 | this.$set(this, 'news', newsList); |
64 | this.total = Math.ceil(res.total / this.queryForm.size); | 65 | this.totalPage = Math.ceil(res.total / this.queryForm.size); |
66 | this.totalItem = res.total; | ||
65 | }); | 67 | }); |
66 | } | 68 | } |
67 | }, | 69 | }, | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | <div class="news-item-date">{{item.dateFormat}}</div> | 15 | <div class="news-item-date">{{item.dateFormat}}</div> |
16 | </div> | 16 | </div> |
17 | </div> | 17 | </div> |
18 | <pagination ref="pagination" @selpage="selPage" :total="total" class="pagination"></pagination> | 18 | <pagination ref="pagination" @selpage="selPage" :total="totalPage" :totalItem="totalItem" class="pagination"></pagination> |
19 | </div> | 19 | </div> |
20 | </div> | 20 | </div> |
21 | </div> | 21 | </div> | ... | ... |
... | @@ -274,7 +274,7 @@ export default { | ... | @@ -274,7 +274,7 @@ export default { |
274 | case "COMMON_ERROR_E2": | 274 | case "COMMON_ERROR_E2": |
275 | // 身份过期了,请重新登录 | 275 | // 身份过期了,请重新登录 |
276 | this.values.cid = ""; | 276 | this.values.cid = ""; |
277 | this.showModal(this.i18n().passwordReset.cidExpire, "info"); | 277 | // this.showModal(this.i18n().passwordReset.cidExpire, "info"); |
278 | this.step2.idNo = ""; | 278 | this.step2.idNo = ""; |
279 | this.step3.otp = ""; | 279 | this.step3.otp = ""; |
280 | this.step3.error = ""; | 280 | this.step3.error = ""; | ... | ... |
... | @@ -335,6 +335,9 @@ export default { | ... | @@ -335,6 +335,9 @@ export default { |
335 | _showCheckOTPErrTip(msg) { | 335 | _showCheckOTPErrTip(msg) { |
336 | // this.showModal(msg, "info"); | 336 | // this.showModal(msg, "info"); |
337 | // let message = this.i18n.register.tips.e5; | 337 | // let message = this.i18n.register.tips.e5; |
338 | if (msg == "非法操作") { | ||
339 | this._showOTPTip(); | ||
340 | } | ||
338 | this.errorTips.p2 = msg; | 341 | this.errorTips.p2 = msg; |
339 | 342 | ||
340 | // alert(msg); | 343 | // alert(msg); |
... | @@ -514,5 +517,8 @@ export default { | ... | @@ -514,5 +517,8 @@ export default { |
514 | }, | 517 | }, |
515 | created() { | 518 | created() { |
516 | this.initData(); | 519 | this.initData(); |
520 | eventBus.$on("/register", () => { | ||
521 | this.type = 1; | ||
522 | }); | ||
517 | } | 523 | } |
518 | } | 524 | } | ... | ... |
src/pages/responsibility/responsibility.vue
0 → 100644
src/pages/service-net/service-net.vue
0 → 100644
... | @@ -132,6 +132,15 @@ const routes = [ | ... | @@ -132,6 +132,15 @@ const routes = [ |
132 | }, | 132 | }, |
133 | 133 | ||
134 | { | 134 | { |
135 | path: '/product/introduction', | ||
136 | name: 'productIntroduction', | ||
137 | component: () => import('./pages/product-introduction/product-introduction.vue'), | ||
138 | meta: { | ||
139 | title: '平安人寿香港' | ||
140 | } | ||
141 | }, | ||
142 | |||
143 | { | ||
135 | path: '/product', | 144 | path: '/product', |
136 | name: 'product', | 145 | name: 'product', |
137 | component: () => import('./pages/product/product.vue'), | 146 | component: () => import('./pages/product/product.vue'), |
... | @@ -173,6 +182,86 @@ const routes = [ | ... | @@ -173,6 +182,86 @@ const routes = [ |
173 | } | 182 | } |
174 | }, | 183 | }, |
175 | { | 184 | { |
185 | path: '/company/events', | ||
186 | name: 'companyEvents', | ||
187 | component: () => import('./pages/company-events/company-events.vue'), | ||
188 | meta: { | ||
189 | title: '平安人寿香港' | ||
190 | } | ||
191 | }, | ||
192 | { | ||
193 | path: '/responsibility', | ||
194 | name: 'responsibility', | ||
195 | component: () => import('./pages/responsibility/responsibility.vue'), | ||
196 | meta: { | ||
197 | title: '平安人寿香港' | ||
198 | } | ||
199 | }, | ||
200 | { | ||
201 | path: '/awards', | ||
202 | name: 'awards', | ||
203 | component: () => import('./pages/awards/awards.vue'), | ||
204 | meta: { | ||
205 | title: '平安人寿香港' | ||
206 | } | ||
207 | }, | ||
208 | { | ||
209 | path: '/join/us', | ||
210 | name: 'joinUs', | ||
211 | component: () => import('./pages/join-us/join-us.vue'), | ||
212 | meta: { | ||
213 | title: '平安人寿香港' | ||
214 | } | ||
215 | }, | ||
216 | { | ||
217 | path: '/corporate/culture', | ||
218 | name: 'corporateCulture', | ||
219 | component: () => import('./pages/corporate-culture/corporate-culture.vue'), | ||
220 | meta: { | ||
221 | title: '平安人寿香港' | ||
222 | } | ||
223 | }, | ||
224 | { | ||
225 | path: '/career/opportunities', | ||
226 | name: 'careerOpportunities', | ||
227 | component: () => import('./pages/career-opportunities/career-opportunities.vue'), | ||
228 | meta: { | ||
229 | title: '平安人寿香港' | ||
230 | } | ||
231 | }, | ||
232 | { | ||
233 | path: '/help', | ||
234 | name: 'help', | ||
235 | component: () => import('./pages/help/help.vue'), | ||
236 | meta: { | ||
237 | title: '帮助中心' | ||
238 | } | ||
239 | }, | ||
240 | { | ||
241 | path: '/contact/method', | ||
242 | name: 'contactMethod', | ||
243 | component: () => import('./pages/contact-method/contact-method.vue'), | ||
244 | meta: { | ||
245 | title: '联系方式' | ||
246 | } | ||
247 | }, | ||
248 | { | ||
249 | path: '/service/net', | ||
250 | name: 'serviceNet', | ||
251 | component: () => import('./pages/service-net/service-net.vue'), | ||
252 | meta: { | ||
253 | title: '服务网络' | ||
254 | } | ||
255 | }, | ||
256 | { | ||
257 | path: '/map', | ||
258 | name: 'map', | ||
259 | component: () => import('./pages/map/map.vue'), | ||
260 | meta: { | ||
261 | title: '网站地图' | ||
262 | } | ||
263 | }, | ||
264 | { | ||
176 | path: '/empty', | 265 | path: '/empty', |
177 | name: 'empty', | 266 | name: 'empty', |
178 | component: () => import('./pages/empty/empty.vue'), | 267 | component: () => import('./pages/empty/empty.vue'), |
... | @@ -223,16 +312,14 @@ router.beforeEach((to, from, next) => { | ... | @@ -223,16 +312,14 @@ router.beforeEach((to, from, next) => { |
223 | // lang对象为当前语言配置 见 en.js,tc.js,zh.js | 312 | // lang对象为当前语言配置 见 en.js,tc.js,zh.js |
224 | let title = ""; | 313 | let title = ""; |
225 | lang.nav.navList.forEach(e1 => { | 314 | lang.nav.navList.forEach(e1 => { |
226 | if (e1.list && e1.list.length > 0) { | 315 | if (e1.path == to.fullPath) { |
316 | title = e1.name; | ||
317 | } else if (e1.list && e1.list.length > 0) { | ||
227 | e1.list.forEach(e2 => { | 318 | e1.list.forEach(e2 => { |
228 | if(e2.path == to.fullPath){ | 319 | if (e2.path == to.fullPath) { |
229 | title = e2.name; | 320 | title = e2.name; |
230 | } | 321 | } |
231 | }); | 322 | }); |
232 | } else { | ||
233 | if(e1.path == to.fullPath){ | ||
234 | title = e1.name; | ||
235 | } | ||
236 | } | 323 | } |
237 | }); | 324 | }); |
238 | // to参数可以获取要前往页面的信息,包括参数 | 325 | // to参数可以获取要前往页面的信息,包括参数 | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment