预约
Showing
11 changed files
with
634 additions
and
27 deletions
| ... | @@ -43,7 +43,7 @@ module.exports = { | ... | @@ -43,7 +43,7 @@ module.exports = { |
| 43 | path: "/custom/product", | 43 | path: "/custom/product", |
| 44 | list: [{ | 44 | list: [{ |
| 45 | name: "Contact us", | 45 | name: "Contact us", |
| 46 | path: "" | 46 | path: "/custom/service?q=m1" |
| 47 | }, | 47 | }, |
| 48 | { | 48 | { |
| 49 | name: "Pay premium", | 49 | name: "Pay premium", |
| ... | @@ -51,27 +51,27 @@ module.exports = { | ... | @@ -51,27 +51,27 @@ module.exports = { |
| 51 | }, | 51 | }, |
| 52 | { | 52 | { |
| 53 | name: "Query policy", | 53 | name: "Query policy", |
| 54 | path: "/custom/service" | 54 | path: "/custom/service?q=m3" |
| 55 | }, | 55 | }, |
| 56 | { | 56 | { |
| 57 | name: "Change policy", | 57 | name: "Change policy", |
| 58 | path: "" | 58 | path: "/custom/service?q=m4" |
| 59 | }, | 59 | }, |
| 60 | { | 60 | { |
| 61 | name: "Claim report", | 61 | name: "Claim report", |
| 62 | path: "" | 62 | path: "/custom/service?q=m5" |
| 63 | }, | 63 | }, |
| 64 | { | 64 | { |
| 65 | name: "Reservation service", | 65 | name: "Reservation service", |
| 66 | path: "/reservation" | 66 | path: "/custom/service?q=m6" |
| 67 | }, | 67 | }, |
| 68 | { | 68 | { |
| 69 | name: "Suggestions", | 69 | name: "Suggestions", |
| 70 | path: "" | 70 | path: "/custom/service?q=m7" |
| 71 | }, | 71 | }, |
| 72 | { | 72 | { |
| 73 | name: "Common form", | 73 | name: "Common form", |
| 74 | path: "" | 74 | path: "/custom/service?q=m8" |
| 75 | }, | 75 | }, |
| 76 | ] | 76 | ] |
| 77 | }, | 77 | }, | ... | ... |
| ... | @@ -43,7 +43,7 @@ module.exports = { | ... | @@ -43,7 +43,7 @@ module.exports = { |
| 43 | path: "/custom/product", | 43 | path: "/custom/product", |
| 44 | list: [{ | 44 | list: [{ |
| 45 | name: "聯系我們", | 45 | name: "聯系我們", |
| 46 | path: "" | 46 | path: "/custom/service?q=m1" |
| 47 | }, | 47 | }, |
| 48 | { | 48 | { |
| 49 | name: "繳付保費", | 49 | name: "繳付保費", |
| ... | @@ -51,27 +51,27 @@ module.exports = { | ... | @@ -51,27 +51,27 @@ module.exports = { |
| 51 | }, | 51 | }, |
| 52 | { | 52 | { |
| 53 | name: "保單查詢", | 53 | name: "保單查詢", |
| 54 | path: "/custom/service" | 54 | path: "/custom/service?q=m3" |
| 55 | }, | 55 | }, |
| 56 | { | 56 | { |
| 57 | name: "保單變更", | 57 | name: "保單變更", |
| 58 | path: "" | 58 | path: "/custom/service?q=m4" |
| 59 | }, | 59 | }, |
| 60 | { | 60 | { |
| 61 | name: "理賠申請", | 61 | name: "理賠申請", |
| 62 | path: "" | 62 | path: "/custom/service?q=m5" |
| 63 | }, | 63 | }, |
| 64 | { | 64 | { |
| 65 | name: "預約服務", | 65 | name: "預約服務", |
| 66 | path: "/reservation" | 66 | path: "/custom/service?q=m6" |
| 67 | }, | 67 | }, |
| 68 | { | 68 | { |
| 69 | name: "投訴受理", | 69 | name: "投訴受理", |
| 70 | path: "" | 70 | path: "/custom/service?q=m7" |
| 71 | }, | 71 | }, |
| 72 | { | 72 | { |
| 73 | name: "常用表格", | 73 | name: "常用表格", |
| 74 | path: "" | 74 | path: "/custom/service?q=m8" |
| 75 | }, | 75 | }, |
| 76 | ] | 76 | ] |
| 77 | }, | 77 | }, | ... | ... |
| ... | @@ -43,7 +43,7 @@ module.exports = { | ... | @@ -43,7 +43,7 @@ module.exports = { |
| 43 | path: "/custom/product", | 43 | path: "/custom/product", |
| 44 | list: [{ | 44 | list: [{ |
| 45 | name: "联系我们", | 45 | name: "联系我们", |
| 46 | path: "" | 46 | path: "/custom/service?q=m1" |
| 47 | }, | 47 | }, |
| 48 | { | 48 | { |
| 49 | name: "缴付保费", | 49 | name: "缴付保费", |
| ... | @@ -51,27 +51,27 @@ module.exports = { | ... | @@ -51,27 +51,27 @@ module.exports = { |
| 51 | }, | 51 | }, |
| 52 | { | 52 | { |
| 53 | name: "保单查询", | 53 | name: "保单查询", |
| 54 | path: "/custom/service" | 54 | path: "/custom/service?q=m3" |
| 55 | }, | 55 | }, |
| 56 | { | 56 | { |
| 57 | name: "保单变更", | 57 | name: "保单变更", |
| 58 | path: "" | 58 | path: "/custom/service?q=m4" |
| 59 | }, | 59 | }, |
| 60 | { | 60 | { |
| 61 | name: "理赔申请", | 61 | name: "理赔申请", |
| 62 | path: "" | 62 | path: "/custom/service?q=m5" |
| 63 | }, | 63 | }, |
| 64 | { | 64 | { |
| 65 | name: "预约服务", | 65 | name: "预约服务", |
| 66 | path: "/reservation" | 66 | path: "/custom/service?q=m6" |
| 67 | }, | 67 | }, |
| 68 | { | 68 | { |
| 69 | name: "投诉受理", | 69 | name: "投诉受理", |
| 70 | path: "" | 70 | path: "/custom/service?q=m7" |
| 71 | }, | 71 | }, |
| 72 | { | 72 | { |
| 73 | name: "常用表格", | 73 | name: "常用表格", |
| 74 | path: "" | 74 | path: "/custom/service?q=m8" |
| 75 | }, | 75 | }, |
| 76 | ] | 76 | ] |
| 77 | }, | 77 | }, | ... | ... |
| 1 | import api from '@/api/api' | ||
| 2 | import { | ||
| 3 | httpGet, | ||
| 4 | httpPost | ||
| 5 | } from '@/api/fetch-api.js' | ||
| 6 | |||
| 7 | export default { | ||
| 8 | data() { | ||
| 9 | return { | ||
| 10 | key: 'value', | ||
| 11 | dataList: [], | ||
| 12 | curIndex: 0, | ||
| 13 | } | ||
| 14 | }, | ||
| 15 | components: {}, | ||
| 16 | computed: { | ||
| 17 | locale() { | ||
| 18 | return this.$i18n.locale || 'tc'; | ||
| 19 | }, | ||
| 20 | i18n() { | ||
| 21 | return this.$i18n.messages && this.$i18n.locale ? this.$i18n.messages[this.$i18n.locale] : {}; | ||
| 22 | }, | ||
| 23 | }, | ||
| 24 | methods: { | ||
| 25 | onOverHandler(val) { | ||
| 26 | this.curIndex = val; | ||
| 27 | }, | ||
| 28 | initData() { | ||
| 29 | let i18n = this.$i18n.locale; | ||
| 30 | let list = [{ | ||
| 31 | tit: "亲临客服中心付款", | ||
| 32 | type: "", | ||
| 33 | }, { | ||
| 34 | tit: "网银付款", | ||
| 35 | type: "", | ||
| 36 | }, { | ||
| 37 | tit: "电汇付款", | ||
| 38 | type: "", | ||
| 39 | }, { | ||
| 40 | tit: "柜员机付款", | ||
| 41 | type: "", | ||
| 42 | }, { | ||
| 43 | tit: "「缴费灵」付款", | ||
| 44 | type: "", | ||
| 45 | }, { | ||
| 46 | tit: "香港邮政局", | ||
| 47 | type: "", | ||
| 48 | }]; | ||
| 49 | if (i18n != 'zh') { | ||
| 50 | list = [{ | ||
| 51 | tit: "親臨客服中心付款", | ||
| 52 | type: "", | ||
| 53 | }, { | ||
| 54 | tit: "網銀付款", | ||
| 55 | type: "", | ||
| 56 | }, { | ||
| 57 | tit: "電匯付款", | ||
| 58 | type: "", | ||
| 59 | }, { | ||
| 60 | tit: "櫃員機付款", | ||
| 61 | type: "", | ||
| 62 | }, { | ||
| 63 | tit: "「繳費靈」付款", | ||
| 64 | type: "", | ||
| 65 | }, { | ||
| 66 | tit: "香港郵政局", | ||
| 67 | type: "", | ||
| 68 | }]; | ||
| 69 | } | ||
| 70 | this.$set(this, 'dataList', list); | ||
| 71 | } | ||
| 72 | }, | ||
| 73 | mounted() { | ||
| 74 | this.initData(); | ||
| 75 | }, | ||
| 76 | created() { | ||
| 77 | } | ||
| 78 | } |
| 1 | @import '@/styles/_support'; | ||
| 2 | |||
| 3 | .content { | ||
| 4 | } | ||
| 5 | |||
| 6 | .top-space { | ||
| 7 | height: 2.25rem; | ||
| 8 | } | ||
| 9 | |||
| 10 | .box { | ||
| 11 | border: solid 1px #f2f2f2; | ||
| 12 | background-color: #ffffff; | ||
| 13 | @extend .bb; | ||
| 14 | padding: 4.5rem 1.75rem 3.5rem; | ||
| 15 | border-bottom: none; | ||
| 16 | @include border-top-radius(.75rem); | ||
| 17 | } | ||
| 18 | |||
| 19 | .payment { | ||
| 20 | min-height: 26rem; | ||
| 21 | &-nav { | ||
| 22 | display: flex; | ||
| 23 | justify-content: space-between; | ||
| 24 | flex-wrap: wrap; | ||
| 25 | |||
| 26 | &-item { | ||
| 27 | @extend .pointer; | ||
| 28 | @include border-top-radius(.5rem); | ||
| 29 | display: flex; | ||
| 30 | justify-content: center; | ||
| 31 | align-items: center; | ||
| 32 | height: 3.75rem; | ||
| 33 | background-color: #f2f2f2; | ||
| 34 | width: 12rem; | ||
| 35 | |||
| 36 | &-icon { | ||
| 37 | margin-right: .5rem; | ||
| 38 | |||
| 39 | img { | ||
| 40 | max-height: 1.75rem; | ||
| 41 | max-width: 1.5rem; | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } | ||
| 45 | |||
| 46 | .active { | ||
| 47 | color: #ffffff; | ||
| 48 | background-image: linear-gradient(to bottom, #f05f28, #f05021); | ||
| 49 | } | ||
| 50 | } | ||
| 51 | |||
| 52 | &-line { | ||
| 53 | height: 1px; | ||
| 54 | background-color: #f05a23; | ||
| 55 | } | ||
| 56 | |||
| 57 | |||
| 58 | &-cont { | ||
| 59 | margin-top: 3.5rem; | ||
| 60 | max-width: 67.5rem; | ||
| 61 | |||
| 62 | &-item { | ||
| 63 | @extend .bb; | ||
| 64 | line-height: 3; | ||
| 65 | padding: 0 1rem; | ||
| 66 | |||
| 67 | ul { | ||
| 68 | list-style-type: none; | ||
| 69 | } | ||
| 70 | |||
| 71 | li { | ||
| 72 | background-image: url('~@assets/images/payment-type/icon-li.png'); | ||
| 73 | background-repeat: no-repeat; | ||
| 74 | background-position: 0rem 1.25rem; | ||
| 75 | padding-left: 1rem; | ||
| 76 | } | ||
| 77 | } | ||
| 78 | } | ||
| 79 | } |
| 1 | |||
| 2 | <template> | ||
| 3 | <div class=""> | ||
| 4 | <div class="box"> | ||
| 5 | <div class="payment"> | ||
| 6 | <div class="payment-nav"> | ||
| 7 | <div @mouseover="onOverHandler(index)" class="payment-nav-item" :class="{'active' : index == curIndex}" v-for="(item, index) in dataList" :key="item.id"> | ||
| 8 | <div class="payment-nav-item-icon"> | ||
| 9 | <img :src="require('@assets/images/payment-type/icon-payment-'+(index+1)+(index == curIndex?'-act':'')+'.png')"> | ||
| 10 | </div> | ||
| 11 | {{ item.tit }} | ||
| 12 | </div> | ||
| 13 | </div> | ||
| 14 | <div class="payment-line"></div> | ||
| 15 | |||
| 16 | <div class="payment-cont"> | ||
| 17 | |||
| 18 | <template v-if="locale =='zh'"> | ||
| 19 | <!-- 简体 --> | ||
| 20 | <div v-if="curIndex == 0" class="payment-cont-item"> | ||
| 21 | <ul> | ||
| 22 | <li>现金:缴付保费的上限为每张保单15,000美元正或等值港元。</li> | ||
| 23 | <li>支票:请以划线支票付款,抬头写上「中国平安人寿保险股份有限公司香港分公司」并于支票背面写上缴费通知书右上方的「收款单编号」</li> | ||
| 24 | <li>信用卡:您可透过信用卡以港元缴费,最高缴款额须按您的指定银行而定。</li> | ||
| 25 | <li>易办事:您可透过由「易办事」会员银行发行的提款卡及具备提款功能之信用卡透过易办事以港元缴付费用,最高缴款额须按您的指定银行而定。</li> | ||
| 26 | </ul> | ||
| 27 | 客户服务中心地址:香港尖沙嘴港威永金融大楼 | ||
| 28 | <br>服务时间:星期一至五上午9时至下午6时正 | ||
| 29 | </div> | ||
| 30 | |||
| 31 | <div v-else-if="curIndex == 1" class="payment-cont-item"> | ||
| 32 | 您可通过本港银行提供的「网上缴费服务」以港元信用卡/银行账户缴交保费。详情请联络您的银行。 | ||
| 33 | <ul> | ||
| 34 | <li>1.通过「本港银行港元信用卡」进行网上缴费: | ||
| 35 | <br>缴费商户 : 中国平安人寿保险股份有限公司香港分公司 | ||
| 36 | <br>提款账户: 请选择「港元信用卡」 | ||
| 37 | <br>账单号码: 缴费通知书上之「账单号码」 | ||
| 38 | </li> | ||
| 39 | <li>2.通过「本港银行账户」进行网上缴费: | ||
| 40 | <br>缴费商户: 中国平安人寿保险股份有限公司香港分公司 | ||
| 41 | <br>提款账户 :请选择往来或储蓄账户 | ||
| 42 | <br>账单号码: 缴费通知书上之「收款单编号」 | ||
| 43 | <br>账单类别: 11 - 缴付港元,12 - 缴付美元,13 - 缴付人民币 | ||
| 44 | </li> | ||
| 45 | </ul> | ||
| 46 | </div> | ||
| 47 | |||
| 48 | <div v-else-if="curIndex == 2" class="payment-cont-item"> | ||
| 49 | 您可通过本港银行把保费电汇至以下银行户口。 | ||
| 50 | <br>收款银行:**银行 | ||
| 51 | <br>银行地址:香港*** | ||
| 52 | <br>收款人名字:中国平安人寿保险股份有限公司香港分公司 | ||
| 53 | <br>银行代码:*** | ||
| 54 | <br>收款人账号:***-****** | ||
| 55 | <br>代号:****** | ||
| 56 | </div> | ||
| 57 | |||
| 58 | <div v-else-if="curIndex == 3" class="payment-cont-item"> | ||
| 59 | 您可通过24小时「银通」自动柜员机从您的香港银行账户转账付款。 | ||
| 60 | <br>请选择服务:「缴费」>「输入商户号码」 | ||
| 61 | <br>商户编号 : **** | ||
| 62 | <br>账单类别 : 01 - 新单保费 ,02 - 续期保费及征费,03 - 偿还个人保单贷款 | ||
| 63 | <br>账单号码 : 缴费通知书右上方之「收款单编号」 | ||
| 64 | </div> | ||
| 65 | |||
| 66 | <div v-else-if="curIndex == 4" class="payment-cont-item"> | ||
| 67 | 缴费灵网上服务: 请浏览www.ppshk.com | ||
| 68 | <br>缴费灵电话服务: 请致电18033 (广东话) 或18031 (英语) | ||
| 69 | <br>商户编号 : **** | ||
| 70 | <br>账单类别 : 01 - 保费及保费征费/偿还保单贷款 | ||
| 71 | <br>账单号码:缴费通知书右上方之「账单号码」 | ||
| 72 | </div> | ||
| 73 | |||
| 74 | <div v-else-if="curIndex == 5" class="payment-cont-item"> | ||
| 75 | 请携同缴费通知书到香港任何一间邮政局以现金、支票及易办事缴费。 | ||
| 76 | <br>1.每笔现金交易金额的上限为港元80,000。 | ||
| 77 | <br>2.易办事交易上限为港元50,000.00。 | ||
| 78 | <br>3.支票交易无上限。 | ||
| 79 | <br>4.支票的截数日期为星期一至五下午3时及星期六上午11时,现金/ 易办事的截数日期为星期一至六下午6时,星期日及公众假期会于下一个工作天处理,请预留最少三个工作天处理有关付款。 | ||
| 80 | </div> | ||
| 81 | </template> | ||
| 82 | |||
| 83 | <template v-else> | ||
| 84 | <!-- 繁体--> | ||
| 85 | <div v-if="curIndex == 0" class="payment-cont-item"> | ||
| 86 | <ul> | ||
| 87 | <li>現金:繳付保費的上限為每張保單15,000美元正或等值港元。</li> | ||
| 88 | <li>支票:請以劃線支票付款,擡頭寫上「中國平安人壽保險股份有限公司香港分公司」並於支票背面寫上繳費通知書右上方的「收款單編號」</li> | ||
| 89 | <li>信用卡:您可透過信用卡以港元繳費,最高繳款額須按您的指定銀行而定。</li> | ||
| 90 | <li>易辦事:您可透過由「易辦事」會員銀行發行的提款卡及具備提款功能之信用卡透過易辦事以港元繳付費用,最高繳款額須按您的指定銀行而定。</li> | ||
| 91 | </ul> | ||
| 92 | 客戶服務中心地址:香港尖沙嘴港威永金融大樓 | ||
| 93 | <br>服務時間:星期壹至五上午9時至下午6時正 | ||
| 94 | </div> | ||
| 95 | |||
| 96 | <div v-else-if="curIndex == 1" class="payment-cont-item"> | ||
| 97 | 您可通過本港銀行提供的「網上繳費服務」以港元信用卡/銀行賬戶繳交保費。詳情請聯絡您的銀行。 | ||
| 98 | <ul> | ||
| 99 | <li>1.通過「本港銀行港元信用卡」進行網上繳費: | ||
| 100 | <br>繳費商戶 : 中國平安人壽保險股份有限公司香港分公司 | ||
| 101 | <br>提款賬戶: 請選擇「港元信用卡」 | ||
| 102 | <br>賬單號碼: 繳費通知書上之「賬單號碼」 | ||
| 103 | </li> | ||
| 104 | <li>2.通過「本港銀行賬戶」進行網上繳費: | ||
| 105 | <br>繳費商戶: 中國平安人壽保險股份有限公司香港分公司 | ||
| 106 | <br>提款賬戶 :請選擇往來或儲蓄賬戶 | ||
| 107 | <br>賬單號碼: 繳費通知書上之「收款單編號」 | ||
| 108 | <br>賬單類別: 11 - 繳付港元,12 - 繳付美元,13 - 繳付人民幣 | ||
| 109 | </li> | ||
| 110 | </ul> | ||
| 111 | </div> | ||
| 112 | |||
| 113 | <div v-else-if="curIndex == 2" class="payment-cont-item"> | ||
| 114 | 您可通過本港銀行把保費電匯至以下銀行戶口。 | ||
| 115 | <br>收款銀行:**銀行 | ||
| 116 | <br>銀行地址:香港*** | ||
| 117 | <br>收款人名字:中國平安人壽保險股份有限公司香港分公司 | ||
| 118 | <br>銀行代碼:*** | ||
| 119 | <br>收款人賬號:***-****** | ||
| 120 | </div> | ||
| 121 | |||
| 122 | <div v-else-if="curIndex == 3" class="payment-cont-item"> | ||
| 123 | 您可通過24小時「銀通」自動櫃員機從您的香港銀行賬戶轉賬付款。 | ||
| 124 | <br>請選擇服務:「繳費」>「輸入商戶號碼」 | ||
| 125 | <br>商戶編號 : **** | ||
| 126 | <br>賬單類別 : 01 - 新單保費 ,02 - 續期保費及征費,03 - 償還個人保單貸款 | ||
| 127 | <br>賬單號碼 : 繳費通知書右上方之「收款單編號 | ||
| 128 | </div> | ||
| 129 | |||
| 130 | <div v-else-if="curIndex == 4" class="payment-cont-item"> | ||
| 131 | 繳費靈網上服務: 請瀏覽www.ppshk.com | ||
| 132 | <br>繳費靈電話服務: 請致電18033 (廣東話) 或18031 (英語) | ||
| 133 | <br>商戶編號 : **** | ||
| 134 | <br>賬單類別 : 01 - 保費及保費征費/償還保單貸款 | ||
| 135 | <br>賬單號碼:繳費通知書右上方之「賬單號碼」 | ||
| 136 | </div> | ||
| 137 | |||
| 138 | <div v-else-if="curIndex == 5" class="payment-cont-item"> | ||
| 139 | 請攜同繳費通知書到香港任何壹間郵政局以現金、支票及易辦事繳費。 | ||
| 140 | <br>1.每筆現金交易金額的上限為港元80,000。 | ||
| 141 | <br>2.易辦事交易上限為港元50,000.00。 | ||
| 142 | <br>3.支票交易無上限。 | ||
| 143 | <br>4.支票的截數日期為星期壹至五下午3時及星期六上午11時,現金/ 易辦事的截數日期為星期壹至六下午6時,星期日及公眾假期會於下壹個工作天處理, 請預留最少三個工作天處理有關付款。 | ||
| 144 | </div> | ||
| 145 | </template> | ||
| 146 | |||
| 147 | </div> | ||
| 148 | </div> | ||
| 149 | |||
| 150 | </div> | ||
| 151 | </div> | ||
| 152 | </template> | ||
| 153 | |||
| 154 | <script src="./payment-type.js"></script> | ||
| 155 | <style lang="scss" scoped> | ||
| 156 | @import "./payment-type.scss"; | ||
| 157 | </style> |
| 1 | import api from '@/api/api' | ||
| 2 | import { | ||
| 3 | httpGet, | ||
| 4 | httpPost | ||
| 5 | } from '@/api/fetch-api.js' | ||
| 6 | |||
| 7 | export default { | ||
| 8 | data() { | ||
| 9 | return { | ||
| 10 | key: 'value' | ||
| 11 | } | ||
| 12 | }, | ||
| 13 | components: {}, | ||
| 14 | computed: { | ||
| 15 | locale() { | ||
| 16 | return this.$i18n.locale || 'tc'; | ||
| 17 | }, | ||
| 18 | i18n() { | ||
| 19 | return this.$i18n.messages && this.$i18n.locale ? this.$i18n.messages[this.$i18n.locale] : {}; | ||
| 20 | } | ||
| 21 | }, | ||
| 22 | methods: { | ||
| 23 | initData() {} | ||
| 24 | }, | ||
| 25 | mounted() {}, | ||
| 26 | created() {} | ||
| 27 | } |
| 1 | @import '@/styles/_support'; | ||
| 2 | |||
| 3 | input { | ||
| 4 | padding: 0 2.083333rem /* 25/12 */; | ||
| 5 | } | ||
| 6 | |||
| 7 | .content { | ||
| 8 | padding-bottom: 6rem; | ||
| 9 | } | ||
| 10 | |||
| 11 | .top-space { | ||
| 12 | height: 4.25rem; | ||
| 13 | } | ||
| 14 | |||
| 15 | .box {} | ||
| 16 | |||
| 17 | .form { | ||
| 18 | display: flex; | ||
| 19 | justify-content: space-between; | ||
| 20 | flex-wrap: wrap; | ||
| 21 | |||
| 22 | &-item { | ||
| 23 | position: relative; | ||
| 24 | padding: 0 1.75rem; | ||
| 25 | margin-bottom: 2.5rem; | ||
| 26 | |||
| 27 | .label { | ||
| 28 | color: #f05a23; | ||
| 29 | display: flex; | ||
| 30 | align-items: center; | ||
| 31 | margin-bottom: .7rem; | ||
| 32 | |||
| 33 | img { | ||
| 34 | height: 1rem; | ||
| 35 | margin-right: .8rem; | ||
| 36 | } | ||
| 37 | } | ||
| 38 | |||
| 39 | .ipt-wrap { | ||
| 40 | position: relative; | ||
| 41 | |||
| 42 | // input和下拉 | ||
| 43 | .ipt { | ||
| 44 | @extend .bb; | ||
| 45 | |||
| 46 | width: 100%; | ||
| 47 | height: 3.5rem; | ||
| 48 | border: solid 1px #dcdddd; | ||
| 49 | background-color: #ffffff; | ||
| 50 | border-radius: 3.5rem; | ||
| 51 | padding: 0 2.083333rem /* 25/12 */; | ||
| 52 | } | ||
| 53 | |||
| 54 | // 长文本 | ||
| 55 | .textarea { | ||
| 56 | min-height: 8.75rem; | ||
| 57 | border-radius: 1rem; | ||
| 58 | @extend .bb; | ||
| 59 | padding: .75rem; | ||
| 60 | } | ||
| 61 | |||
| 62 | .down-arrow { | ||
| 63 | position: absolute; | ||
| 64 | top: 1.6rem; | ||
| 65 | right: 2rem; | ||
| 66 | } | ||
| 67 | } | ||
| 68 | |||
| 69 | } | ||
| 70 | |||
| 71 | // 不换行 | ||
| 72 | &-item2 { | ||
| 73 | display: flex; | ||
| 74 | |||
| 75 | .label { | ||
| 76 | min-width: 13.75rem; | ||
| 77 | height: 2.5rem; | ||
| 78 | } | ||
| 79 | |||
| 80 | .cont { | ||
| 81 | |||
| 82 | display: flex; | ||
| 83 | |||
| 84 | .boo-btn { | ||
| 85 | width: 5.25rem; | ||
| 86 | height: 2.5rem; | ||
| 87 | line-height: 2.5rem; | ||
| 88 | border: solid 1px #dcdddd; | ||
| 89 | background-color: #ffffff; | ||
| 90 | border-radius: 2.5rem; | ||
| 91 | text-align: center; | ||
| 92 | margin: 0 0.6rem; | ||
| 93 | } | ||
| 94 | |||
| 95 | .active { | ||
| 96 | border: none; | ||
| 97 | color: #ffffff; | ||
| 98 | background-color: #f05a23; | ||
| 99 | box-shadow: 0px 10px 13px 0 rgba(236, 100, 41, 0.2); | ||
| 100 | background-blend-mode: soft-light, ; | ||
| 101 | // background-image: linear-gradient(to top, #000000, #ffffff), linear-gradient(to bottom, #f05a23, #f05a23); | ||
| 102 | background-image: linear-gradient(to bottom, #f05f28, #f05021); | ||
| 103 | } | ||
| 104 | } | ||
| 105 | } | ||
| 106 | |||
| 107 | &-item3 { | ||
| 108 | display: flex; | ||
| 109 | align-items: flex-start; | ||
| 110 | flex-wrap: wrap; | ||
| 111 | |||
| 112 | .label { | ||
| 113 | min-width: 13.75rem; | ||
| 114 | } | ||
| 115 | |||
| 116 | .cont { | ||
| 117 | .calendar { | ||
| 118 | img { | ||
| 119 | max-width: 96%; | ||
| 120 | } | ||
| 121 | } | ||
| 122 | } | ||
| 123 | } | ||
| 124 | } | ||
| 125 | |||
| 126 | |||
| 127 | .notice { | ||
| 128 | margin-top: 4rem; | ||
| 129 | @extend .bb; | ||
| 130 | padding: 0 1rem; | ||
| 131 | |||
| 132 | &-item { | ||
| 133 | position: relative; | ||
| 134 | line-height: 2; | ||
| 135 | letter-spacing: 1.2px; | ||
| 136 | margin-bottom: 1rem; | ||
| 137 | |||
| 138 | &-icon { | ||
| 139 | // display: inline-block; | ||
| 140 | position: absolute; | ||
| 141 | top: .5rem; | ||
| 142 | } | ||
| 143 | } | ||
| 144 | } |
| 1 | |||
| 2 | <template> | ||
| 3 | <div class=""> | ||
| 4 | <div class="box"> | ||
| 5 | <div class="gird-g form"> | ||
| 6 | |||
| 7 | <div class="pure-u-1 pure-u-md-1-2 form-item"> | ||
| 8 | <div class="label"> | ||
| 9 | <img src="@/assets/images/reservation/icon-re-name.png"> {{$t('reservation.name')}} | ||
| 10 | </div> | ||
| 11 | <div class="ipt-wrap"> | ||
| 12 | <input :placeholder="$t('reservation.namePlaceholder')" class="ipt" type="text"> | ||
| 13 | </div> | ||
| 14 | </div> | ||
| 15 | |||
| 16 | <div class="pure-u-1 pure-u-md-1-2 form-item"> | ||
| 17 | <div class="label"> | ||
| 18 | <img src="@/assets/images/reservation/icon-re-contact.png">{{$t('reservation.contactType')}} | ||
| 19 | </div> | ||
| 20 | <div class="ipt-wrap"> | ||
| 21 | <img class="down-arrow" src="@/assets/images/reservation/re-down-arrow.png" alt=""> | ||
| 22 | <select class="ipt"> | ||
| 23 | <option v-if="locale !='zh'">電話</option> | ||
| 24 | <option v-else>电话</option> | ||
| 25 | </select> | ||
| 26 | </div> | ||
| 27 | </div> | ||
| 28 | |||
| 29 | <div class="pure-u-1 pure-u-md-1-2 form-item"> | ||
| 30 | <div class="label"> | ||
| 31 | <img src="@/assets/images/reservation/icon-re-name.png">{{$t('reservation.contact')}} | ||
| 32 | </div> | ||
| 33 | <div class="ipt-wrap"> | ||
| 34 | <input :placeholder="$t('reservation.contactPlaceholder')" class="ipt" type="text"> | ||
| 35 | </div> | ||
| 36 | </div> | ||
| 37 | |||
| 38 | <div class="pure-u-1 pure-u-md-1-2 form-item"> | ||
| 39 | <div class="label"> | ||
| 40 | <img src="@/assets/images/reservation/icon-re-clock.png">{{$t('reservation.reservationType')}} | ||
| 41 | </div> | ||
| 42 | <div class="ipt-wrap"> | ||
| 43 | <img class="down-arrow" src="@/assets/images/reservation/re-down-arrow.png" alt=""> | ||
| 44 | <select class="ipt"> | ||
| 45 | <template v-if="locale =='zh'"> | ||
| 46 | <option>投保咨询</option> | ||
| 47 | <option>代办保单变更</option> | ||
| 48 | </template> | ||
| 49 | <template v-else> | ||
| 50 | <option>投保咨詢</option> | ||
| 51 | <option>代辦保單變更</option> | ||
| 52 | </template> | ||
| 53 | </select> | ||
| 54 | </div> | ||
| 55 | </div> | ||
| 56 | |||
| 57 | <div class="pure-u-1 form-item"> | ||
| 58 | <div class="label"> | ||
| 59 | <img src="@/assets/images/reservation/icon-re-arrow-reservation.png">{{$t('reservation.reservationRemark')}} | ||
| 60 | </div> | ||
| 61 | <div class="ipt-wrap"> | ||
| 62 | <textarea :placeholder="$t('reservation.reservationRemarkPlaceholder')" class="ipt textarea"></textarea> | ||
| 63 | </div> | ||
| 64 | </div> | ||
| 65 | |||
| 66 | <div class="pure-u-1 form-item form-item2"> | ||
| 67 | <div class="label"> | ||
| 68 | <img src="@/assets/images/reservation/icon-re-custom.png">{{$t('reservation.hkClient')}} | ||
| 69 | </div> | ||
| 70 | <div class="cont"> | ||
| 71 | <div class="boo-btn pointer active">{{$t('reservation.yes')}}</div> | ||
| 72 | <div class="boo-btn pointer">{{$t('reservation.no')}}</div> | ||
| 73 | </div> | ||
| 74 | </div> | ||
| 75 | |||
| 76 | <div class="pure-u-1 form-item form-item3"> | ||
| 77 | <div class="label"> | ||
| 78 | <img src="@/assets/images/reservation/icon-re-calendar.png">{{$t('reservation.contactTime')}} | ||
| 79 | </div> | ||
| 80 | <div class="cont"> | ||
| 81 | <div class="calendar"> | ||
| 82 | <img src="@/assets/images/reservation/re-calendar.png"> | ||
| 83 | </div> | ||
| 84 | </div> | ||
| 85 | </div> | ||
| 86 | |||
| 87 | </div> | ||
| 88 | </div> | ||
| 89 | |||
| 90 | <div class="box notice"> | ||
| 91 | <p class="notice-item"> | ||
| 92 | <img class="notice-item-icon" src="@/assets/images/reservation/icon-re-notice.png"> {{$t('reservation.notice1')}} | ||
| 93 | </p> | ||
| 94 | <p class="notice-item"> | ||
| 95 | <img class="notice-item-icon" src="@/assets/images/reservation/icon-re-notice.png"> {{$t('reservation.notice2')}} | ||
| 96 | </p> | ||
| 97 | </div> | ||
| 98 | </div> | ||
| 99 | </template> | ||
| 100 | |||
| 101 | <script src="./reservation.js"></script> | ||
| 102 | <style lang="scss" > | ||
| 103 | @import "./reservation.scss"; | ||
| 104 | </style> |
| ... | @@ -5,6 +5,8 @@ import { | ... | @@ -5,6 +5,8 @@ import { |
| 5 | } from '@/api/fetch-api.js' | 5 | } from '@/api/fetch-api.js' |
| 6 | 6 | ||
| 7 | import InsuranceQuery from './components/insurance-query.vue' | 7 | import InsuranceQuery from './components/insurance-query.vue' |
| 8 | import reservation from './components/reservation.vue' | ||
| 9 | import PaymentType from './components/payment-type.vue' | ||
| 8 | 10 | ||
| 9 | export default { | 11 | export default { |
| 10 | data() { | 12 | data() { |
| ... | @@ -13,19 +15,31 @@ export default { | ... | @@ -13,19 +15,31 @@ export default { |
| 13 | } | 15 | } |
| 14 | }, | 16 | }, |
| 15 | methods: { | 17 | methods: { |
| 16 | initData() {}, | 18 | initData() { }, |
| 17 | toPath(path) { | 19 | toPath(path) { |
| 18 | this.$router.push({ | 20 | this.$router.push({ |
| 19 | path: path | 21 | path: path |
| 20 | }); | 22 | }); |
| 21 | } | 23 | } |
| 22 | }, | 24 | }, |
| 25 | watch: { | ||
| 26 | $route() { | ||
| 27 | let activity = this.$route.query.q; | ||
| 28 | // console.log("watch", this.$route); | ||
| 29 | if (activity) { | ||
| 30 | this.$set(this, 'activity', activity); | ||
| 31 | } | ||
| 32 | // console.log("activity === ", this.activity); | ||
| 33 | } | ||
| 34 | }, | ||
| 23 | created() { | 35 | created() { |
| 24 | let activity = this.$route.params.p; | 36 | let activity = this.$route.query.q; |
| 25 | activity = activity ? activity : "m3"; | 37 | activity = activity ? activity : "m3"; |
| 26 | this.activity = activity; | 38 | this.activity = activity; |
| 27 | }, | 39 | }, |
| 28 | components: { | 40 | components: { |
| 29 | InsuranceQuery | 41 | InsuranceQuery, |
| 42 | reservation, | ||
| 43 | PaymentType | ||
| 30 | } | 44 | } |
| 31 | } | 45 | } | ... | ... |
| ... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
| 22 | <i class="m5"></i>{{$t('customService.menu5')}} | 22 | <i class="m5"></i>{{$t('customService.menu5')}} |
| 23 | </div> | 23 | </div> |
| 24 | <div class="separator"></div> | 24 | <div class="separator"></div> |
| 25 | <div class="menu-item" :class="{activity : activity == 'm6'}" @click="toPath('/reservation')/*activity = 'm6'*/"> | 25 | <div class="menu-item" :class="{activity : activity == 'm6'}" @click="/*toPath('/reservation')*/activity = 'm6'"> |
| 26 | <i class="m6"></i>{{$t('customService.menu6')}} | 26 | <i class="m6"></i>{{$t('customService.menu6')}} |
| 27 | </div> | 27 | </div> |
| 28 | <div class="separator"></div> | 28 | <div class="separator"></div> |
| ... | @@ -62,13 +62,17 @@ | ... | @@ -62,13 +62,17 @@ |
| 62 | </div> | 62 | </div> |
| 63 | <div class="right-panel"> | 63 | <div class="right-panel"> |
| 64 | <div class="panel" :class="{activity : activity == 'm1'}"></div> | 64 | <div class="panel" :class="{activity : activity == 'm1'}"></div> |
| 65 | <div class="panel" :class="{activity : activity == 'm2'}"></div> | 65 | <div class="panel" :class="{activity : activity == 'm2'}"> |
| 66 | <payment-type></payment-type> | ||
| 67 | <div class="empty-line"></div></div> | ||
| 66 | <div class="panel" :class="{activity : activity == 'm3'}"> | 68 | <div class="panel" :class="{activity : activity == 'm3'}"> |
| 67 | <insurance-query></insurance-query> | 69 | <insurance-query></insurance-query> |
| 68 | <div class="empty-line"></div></div> | 70 | <div class="empty-line"></div></div> |
| 69 | <div class="panel" :class="{activity : activity == 'm4'}"></div> | 71 | <div class="panel" :class="{activity : activity == 'm4'}"></div> |
| 70 | <div class="panel" :class="{activity : activity == 'm5'}"></div> | 72 | <div class="panel" :class="{activity : activity == 'm5'}"></div> |
| 71 | <div class="panel" :class="{activity : activity == 'm6'}"></div> | 73 | <div class="panel" :class="{activity : activity == 'm6'}"> |
| 74 | <reservation></reservation> | ||
| 75 | <div class="empty-line"></div></div> | ||
| 72 | <div class="panel" :class="{activity : activity == 'm7'}"></div> | 76 | <div class="panel" :class="{activity : activity == 'm7'}"></div> |
| 73 | <div class="panel" :class="{activity : activity == 'm8'}"></div> | 77 | <div class="panel" :class="{activity : activity == 'm8'}"></div> |
| 74 | </div> | 78 | </div> | ... | ... |
-
Please register or sign in to post a comment