Commit e02ef7f4 authored by 郭志伟's avatar 郭志伟

fix: 华贵,泰康详情文案补充

parent a8af82d0
......@@ -4,7 +4,7 @@
* @Description: 华贵大麦2020定期寿险
* @Date: 2020-07-27 15:46:37
* @LastEditors: gzw
* @LastEditTime: 2020-08-26 18:57:16
* @LastEditTime: 2020-08-27 10:11:50
*/
import goodsBg from "@/assets/images/goods/detail/shouxian/bg.png";
......@@ -223,12 +223,38 @@ export default {
a: "可以指定父母、配偶、子女作为受益人,最多可以指定3名受益人。"
},
{
q: "电子保单有效力吗??",
q: "电子保单有效力吗?",
a: "根据《中华人民共和国合同法》第十一条规定,数据电文是合法的合同表现形式,电子保单与纸质保单具有同等法律效力。完成购买后,我们会把电子保单发到您投保时所填写的邮箱。"
},
{
q: "不同年龄和地区的人群购买有保额限制吗?",
a: "待补充。。。"
a: `
<p><strong>1)18-40周岁,有社保:</strong></p>
<p>常住地为超一类城市可投保保额最高为350万;</p>
<p>常住地为一类城市可投保保额最高为300万;</p>
<p>常住地为二类城市可投保保额最高为200万;</p>
<p>常住地为其他城市可投保保额最高为150万。</p>
<p><strong>18-40周岁,无社保:</strong></p>
<p>常住地为超一类城市、一类城市可投保保额最高为200万;</p>
<p>常住地为二类城市最高为150万;</p>
<p>常住地为其他城市最高100万。</p>
<p><strong>2)41-50周岁,有社保:</strong></p>
<p>常住地为超一类城市、一类城市可投保保额最高为200万;</p>
<p>常住地为二类城市可投保保额最高为150万;</p>
<p>常住地为其他城市最高100万。</p>
<p><strong>41-50周岁,无社保:</strong></p>
<p>常住地为超一类城市、一类城市可投保保额最高为150万;</p>
<p>常住地为二类城市最高为100万;</p>
<p>常住地为其他城市最高50万。</p>
<p><strong>3)51-60周岁,有社保:</strong></p>
<p>常住地为超一类城市、一类城市可投保保额最高为100万;</p>
<p>常住地为二类城市可投保保额最高为80万;</p>
<p>常住地为其他城市最高50万。</p>
<p><strong>51-60周岁,无社保:</strong></p>
<p>常住地为超一类城市、一类城市可投保保额最高为80万;</p>
<p>常住地为二类城市最高为50万;</p>
<p>常住地为其他城市最高30万。</p>
`
},
{
q: "原位癌可以投保吗?",
......
This diff is collapsed.
......@@ -47,7 +47,7 @@ router.onError(error => {
});
async function getAuthInfo(xyqbToken) {
if (localStorage.get("xyqbToken")) return;
if (!xyqbToken || xyqbToken === localStorage.get("xyqbToken")) return;
const res = await authByxyqb({ xyqbToken });
if (res) {
localStorage.set("mongoToken", res.token);
......
......@@ -69,9 +69,11 @@
text-align: center;
}
.cr-button {
height: @button-large-height + 2;
line-height: @button-large-line-height + 2;
font-size: @font-size-16;
height: @button-large-height + 10;
line-height: @button-large-line-height + 10;
font-size: @font-size-20;
box-shadow: 1px 12px 14px 0px rgba(255, 200, 66, 0.4);
border-radius: @border-radius-max !important;
}
&-foot {
position: relative;
......
......@@ -97,8 +97,9 @@
}
&-date {
.sub-text-mixins();
margin-top: 8px;
&-item {
margin-right: 16px;
margin-right: 8px;
strong {
font-weight: @font-weight-bold;
}
......@@ -151,3 +152,15 @@
}
}
}
.plan-table {
thead {
th {
padding: 14px 5px 14px 14px;
}
}
tbody {
td {
padding: 14px 0px 14px 7px;
}
}
}
\ No newline at end of file
......@@ -27,23 +27,23 @@
</div>
</card>
<card title="保障总览">
<table class="table">
<table class="table plan-table">
<thead>
<tr>
<th style="width: 19%">险种</th>
<th style="width: 20%">保额</th>
<th style="width: 23%">保障期限</th>
<th style="width: 16%">险种</th>
<th style="width: 18%">保额</th>
<th style="width: 25%">保障期限</th>
<th style="width: 17%">缴费期</th>
<th style="width: 20%">保费</th>
<th style="width: 22%">保费</th>
</tr>
</thead>
<tbody>
<tr v-for="(item, index) in goodInfo.ensure" :key="index">
<th>{{ item.productType }}</th>
<th>{{ item.insuredAmount }}</th>
<th>{{ item.term }}</th>
<th>{{ item.paymentPeriod }}</th>
<th>{{ item.price || "-" }}</th>
<td>{{ item.productType }}</td>
<td>{{ item.insuredAmount }}</td>
<td>{{ item.term }}</td>
<td>{{ item.paymentPeriod }}</td>
<td>{{ item.price || "-" }}</td>
</tr>
</tbody>
</table>
......@@ -52,7 +52,9 @@
<div class="good-item" v-for="(item, index) in ensureList" :key="index">
<div class="good-title">
{{ item.productName || "" }}
<cr-tag :type="tagFilter(item.productType)" plain>{{ item.productType }}</cr-tag>
<cr-tag :type="tagClassFilter(item.productNo)" plain>
{{ tagFilter(item.productNo) }}
</cr-tag>
</div>
<div class="good-date">
<span class="good-date-item">
......@@ -104,13 +106,7 @@ export default {
avator,
goodInfo: {
ensure: []
},
distList: [
{ title: "医疗险", price: "500万" },
{ title: "重疾险", price: "50万" },
{ title: "意外险", price: "60万" },
{ title: "寿险", price: "350万" }
]
}
};
},
computed: {
......@@ -130,16 +126,37 @@ export default {
tagFilter(type) {
let _type = "";
switch (type) {
case "医疗":
case "TKYLX001":
_type = "医疗险";
break;
case "HTDQZJX001":
_type = "重疾险";
break;
case "ZAYWX001":
_type = "意外险";
break;
case "BNZJX001":
_type = "人寿险";
break;
default:
_type = "";
break;
}
return _type;
},
tagClassFilter(type) {
let _type = "";
switch (type) {
case "TKYLX001":
_type = "warning";
break;
case "重疾":
case "HTDQZJX001":
_type = "danger";
break;
case "意外":
case "ZAYWX001":
_type = "primary";
break;
case "寿险":
case "BNZJX001":
_type = "";
break;
default:
......
......@@ -12,7 +12,7 @@
</template>
</cr-field>
<div v-show="!showRadio"></div>
<div class="insure-form-pact-link">
<div class="insure-form-pact-link" :style="{ paddingLeft: showRadio ? 'inherit' : 0 }">
<a
href="javascript:;"
@click="openIframe(item.id)"
......
......@@ -15,6 +15,17 @@
font-size: @font-size-12;
line-height: @line-height-sm + 2;
margin-bottom: 0;
p {
margin-bottom: 8px;
&:last-child {
margin-bottom: 0;
}
}
h4 {
font-weight: bold;
font-size: 14px;
margin: 10px 0;
}
}
&-footer {
position: absolute;
......@@ -36,14 +47,7 @@
&-body {
padding: @padding-lg;
margin-bottom: 0;
p {
&:nth-child(2n) {
margin-bottom: 20px;
}
&:last-child {
margin-bottom: 0;
}
}
strong {
font-weight: @font-weight-bold;
}
......
......@@ -64,8 +64,9 @@ export default {
case "mi":
this.planInfo = mi.planInfo;
break;
case "mi-more":
this.planInfo = mi.greenInfo;
case "mi-greenInfo":
case "mi-advanceInfo":
this.planInfo = mi[detailType.split("-")[1]];
break;
case "ai":
this.planInfo = ai.planInfo;
......@@ -80,6 +81,10 @@ export default {
window.location.href = pupopData.path;
return;
}
if (pupopData.type === "router") {
this.$router.push(pupopData.path);
return;
}
this.pupopData = pupopData;
this.popupShow = true;
}
......
......@@ -893,10 +893,10 @@
resolved "http://npmprivate.quantgroups.com/@nodelib%2ffs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==
"@qg/cherry-ui@=1.2.1":
version "1.2.1"
resolved "http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-1.2.1.tgz#5f59ebf0ed677c6d3f41dd04e3b9f6a43811936b"
integrity sha512-icj5WLUCJswPLF02YtCdppdfSDwQQrFoLxhRFCie2SFffIKVZSMEtSVVuEh2nZv2khPd/cvEISGpmzwDcBS7tw==
"@qg/cherry-ui@^1.2.3":
version "1.2.3"
resolved "http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-1.2.3.tgz#280698c19039ee079f33e33856653e16d3f0e0c6"
integrity sha512-0sgYtoAg8Ixbqw/HpPvnkUxLlBCLbgK8ZgzaRLnSeuvdgNzOH2bZoI0siWt9BFygak3MIcwD984bkywV5ggEqg==
"@qg/qg-scroll@^1.4.2":
version "1.4.2"
......@@ -3346,6 +3346,11 @@ es-to-primitive@^1.2.1:
is-date-object "^1.0.1"
is-symbol "^1.0.2"
es6-promise-pool@^2.5.0:
version "2.5.0"
resolved "http://npmprivate.quantgroups.com/es6-promise-pool/-/es6-promise-pool-2.5.0.tgz#147c612b36b47f105027f9d2bf54a598a99d9ccb"
integrity sha1-FHxhKza0fxBQJ/nSv1SlmKmdnMs=
escalade@^3.0.1:
version "3.0.2"
resolved "http://npmprivate.quantgroups.com/escalade/-/escalade-3.0.2.tgz#6a580d70edb87880f22b4c91d0d56078df6962c4"
......@@ -6983,6 +6988,11 @@ range-parser@^1.2.1, range-parser@~1.2.1:
resolved "http://npmprivate.quantgroups.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==
raven-js@^3.27.2:
version "3.27.2"
resolved "http://npmprivate.quantgroups.com/raven-js/-/raven-js-3.27.2.tgz#6c33df952026cd73820aa999122b7b7737a66775"
integrity sha512-mFWQcXnhRFEQe5HeFroPaEghlnqy7F5E2J3Fsab189ondqUzcjwSVi7el7F36cr6PvQYXoZ1P2F5CSF2/azeMQ==
raw-body@2.4.0:
version "2.4.0"
resolved "http://npmprivate.quantgroups.com/raw-body/-/raw-body-2.4.0.tgz#a1ce6fb9c9bc356ca52e89256ab59059e13d0332"
......@@ -7154,7 +7164,24 @@ repeat-string@^1.6.1:
resolved "http://npmprivate.quantgroups.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc=
request@^2.88.2:
request-promise-core@1.1.4:
version "1.1.4"
resolved "http://npmprivate.quantgroups.com/request-promise-core/-/request-promise-core-1.1.4.tgz#3eedd4223208d419867b78ce815167d10593a22f"
integrity sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==
dependencies:
lodash "^4.17.19"
request-promise@^4.2.2:
version "4.2.6"
resolved "http://npmprivate.quantgroups.com/request-promise/-/request-promise-4.2.6.tgz#7e7e5b9578630e6f598e3813c0f8eb342a27f0a2"
integrity sha512-HCHI3DJJUakkOr8fNoCc73E5nU5bqITjOYFMDrKHYOXWXrgD/SBaC7LjwuPymUprRyuF06UK7hd/lMHkmUXglQ==
dependencies:
bluebird "^3.5.0"
request-promise-core "1.1.4"
stealthy-require "^1.1.1"
tough-cookie "^2.3.3"
request@^2.85.0, request@^2.88.2:
version "2.88.2"
resolved "http://npmprivate.quantgroups.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
......@@ -7782,6 +7809,11 @@ static-extend@^0.1.1:
resolved "http://npmprivate.quantgroups.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=
stealthy-require@^1.1.1:
version "1.1.1"
resolved "http://npmprivate.quantgroups.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=
stream-browserify@^2.0.1:
version "2.0.2"
resolved "http://npmprivate.quantgroups.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b"
......@@ -8229,7 +8261,7 @@ toposort@^1.0.0:
resolved "http://npmprivate.quantgroups.com/toposort/-/toposort-1.0.7.tgz#2e68442d9f64ec720b8cc89e6443ac6caa950029"
integrity sha1-LmhELZ9k7HILjMieZEOsbKqVACk=
tough-cookie@~2.5.0:
tough-cookie@^2.3.3, tough-cookie@~2.5.0:
version "2.5.0"
resolved "http://npmprivate.quantgroups.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==
......@@ -8775,6 +8807,15 @@ webpack-merge@^4.2.2:
dependencies:
lodash "^4.17.15"
webpack-sentry-plugin@^1.16.0:
version "1.16.0"
resolved "http://npmprivate.quantgroups.com/webpack-sentry-plugin/-/webpack-sentry-plugin-1.16.0.tgz#ea545c1fc5bd3303a3f2f33e6d3b0662f4ea9149"
integrity sha512-sXWPa1iWb+VihBi0JfhiWDrGkyihHKx12fFL1E67NpOsYVFyNwj/sUHGiciEim1CHYzDz0usjbSuY6oIRVct4A==
dependencies:
es6-promise-pool "^2.5.0"
request "^2.85.0"
request-promise "^4.2.2"
webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack-sources@^1.4.3:
version "1.4.3"
resolved "http://npmprivate.quantgroups.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment