Commit 3f526367 authored by 郭志伟's avatar 郭志伟

Merge branch 'fix/goods' into 'master'

fix: 众安文案修改

See merge request !176
parents 02c7f6fb 5089efb5
......@@ -4,7 +4,7 @@
* @Description:众安50万意外险
* @Date: 2020-07-27 15:46:37
* @LastEditors: gzw
* @LastEditTime: 2020-08-30 16:20:48
* @LastEditTime: 2020-09-01 15:03:43
*/
import goodsBg from "@/assets/images/goods/detail/yiwaixian/bg.png";
import title from "@/assets/images/goods/detail/yiwaixian/title.png";
......@@ -183,10 +183,11 @@ export default {
{
title: "理赔",
event: `
<p>本次事故花费医疗费4.4万元,其中医保报销1.6万,社保外费用0.8万,意外医疗可赔付 医保内100%报销:</p>
<p>医保内100%报销:</p>
<p>本次事故花费医疗费4.4万元,其中医保报销1.6万,社保外费用0.8万,意外医疗可赔付</p>
<p>医保内100%报销(每次扣除免赔额200元):</p>
<p>(44000-16000-8000-200)*100% </p>
<p>医保外80%报销:(8000-200)*80%</p>
<p>医保外80%报销(每次扣除免赔额200元):</p>
<p>(8000-200)*80%</p>
<p style="font-weight: bold;color: #333;margin-bottom: 15px;">意外医疗赔付合计:26040元</p>
<p>另外刘先生乘网约车发生意外导致4根肋骨骨折,构成10级伤残,意外伤残可赔付</p>
<p>10级伤残:50万*10%=5万</p>
......@@ -286,11 +287,17 @@ export default {
processDetail: [
{
title: "报案",
desc: "发生事故后24小时内拨打众安保险客服热线10109955电话报案,客服人员将告知理赔所需材料及相关事宜。"
desc: `
<p>发生事故后24小时内拨打众安保险客服热线10109955电话报案,客服人员将告知理赔所需材料及相关事宜。</p>
<p>如需申请意外医疗理赔,可直接在支付宝搜索“众安保险服务”小程序,在线发起理赔。</p>
`
},
{
title: "申请",
desc: `根据客服指引准备理赔资料,理赔材料齐全后快递至众安保险。`
desc: `
<p>根据客服指引准备理赔资料,理赔材料齐全后快递至众安保险。</p>
<p>如需申请意外医疗理赔,可直接在支付宝搜索“众安保险服务”小程序,提交材料即可,必要时,审合同过需寄送材料原件。</p>
`
},
{
title: "审核",
......@@ -324,12 +331,12 @@ export default {
},
{
title: "猝死",
desc: `被保险人在本附加合同的保险期限内突然发生急性疾病,且在疾病发生后24小时内死亡,则保险人按本附加合同约定的保险金额给付猝死保险金,本附加合同终止。`
desc: `被保险人在保险期间内突然发生急性疾病,且在疾病发生后24小时内死亡,则保险人按本合同约定的猝死保险金额进行给付。该急性疾病是被保险人在保险合同生效之前自身未知且未曾进行诊疗而在保险期间内突然发生的。`
},
{
title: "意外医疗",
desc:
"本附加险合同的保险期间内,被保险人遭受主合同责任范围内的意外伤害,并在中华人民共和国境内(不包括香港、澳门及台湾地区)的医院或保险人认可的医疗机构进行治疗所支出的合理且必要的医疗费用的,保险人按照下列约定进行赔偿"
"保险期间内,被保险人遭受意外伤害并自该意外伤害发生之日起180日(含)内在国内(不包括港、澳、台)二级及以上公立医院进行治疗并实际发生的必需且合理的医疗费用,符合当地社会基本医疗保险规定的,每次事故扣除免赔额200元后按100%进行赔付;对于不符合当地社会基本医疗保险规定的,每次事故扣除免赔额200元后按80%进行赔付,北京市平谷区、密云县和怀柔区的任何医疗机构、四川省宜宾市的所有医疗机构、四川省雅安市雨城区人民医院、四川省雅安市第二人民医院与山东省栖霞市的所有医疗机构除外"
},
{
title: "营运交通工具乘客意外",
......
......@@ -160,6 +160,12 @@ export default [
component: () => import("../views/Policy/PayWaiting/index.vue"),
meta: { title: "支付中" }
},
{
path: "/share",
name: "Share",
component: () => import("../views/Home/Share/index.vue"),
meta: { title: "跳转中" }
},
{
path: "*",
redirect: "/goods"
......
......@@ -2,7 +2,7 @@
* @Description: 支付微信h5, jsapi, 第三方收银台,跳转)
* @Date: 2020-07-28 15:03:52
* @LastEditors: gzw
* @LastEditTime: 2020-08-30 17:29:21
* @LastEditTime: 2020-09-01 15:14:57
*/
import qs from "qs";
......@@ -21,17 +21,17 @@ function payByWeixinJsapi(info = {}, callback) {
WeixinJSBridge.invoke("getBrandWCPayRequest", info, function(res) {
console.log(res);
callback();
// if (res.err_msg == "get_brand_wcpay_request:ok") {
// // 使用以上方式判断前端返回,微信团队郑重提示:
// //res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。
// callback("ok");
// } else if (res.err_msg == "get_brand_wcpay_request:cancel") {
// // 支付取消
// callback("cancel");
// } else {
// // 支付失败
// callback("fail");
// }
if (res.err_msg == "get_brand_wcpay_request:ok") {
// 使用以上方式判断前端返回,微信团队郑重提示:
//res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。
callback("ok");
} else if (res.err_msg == "get_brand_wcpay_request:cancel") {
// 支付取消
callback("cancel");
} else {
// 支付失败
callback("fail");
}
});
}
if (typeof WeixinJSBridge == "undefined") {
......@@ -101,13 +101,12 @@ function payByThirdPartyCashier(info) {
export function payByWay(type = "THIRD", payInfo) {
return new Promise((resolve, reject) => {
if (type === "JSAPI" && !payInfo.url) {
payByWeixinJsapi(payInfo, function() {
// if (e === "ok") {
// Notify({ type: "success", message: "支付成功" });
// } else {
// Notify({ type: "warning", message: "支付失败" });
// }
resolve();
payByWeixinJsapi(payInfo, function(e) {
if (e === "ok") {
resolve();
} else {
reject();
}
});
} else {
if (payInfo.url.indexOf("tenpay") > -1) {
......
......@@ -2,7 +2,7 @@
* @Description: weixin-js-sdk
* @LastEditors: gzw
* @Date: 20120-08-30 18:40:11
* @LastEditTime: 2020-09-01 12:49:34
* @LastEditTime: 2020-09-01 15:31:27
*/
import cfg from "@/config/index";
import { getwxAuth } from "@/api/user";
......@@ -21,12 +21,7 @@ export default async function({ title = "", desc = "", link = window.location.hr
timestamp, // 必填,生成签名的时间戳,刚才接口拿到的数据
nonceStr, // 必填,生成签名的随机串
signature, // 必填,签名,见附录1
jsApiList: [
"onMenuShareTimeline",
"onMenuShareAppMessage",
"updateAppMessageShareData",
"updateTimelineShareData"
]
jsApiList: ["updateAppMessageShareData", "updateTimelineShareData"]
});
wx.ready(function() {
//分享到朋友圈
......
......@@ -51,7 +51,7 @@
立即投保
<img src="@/assets/images/goods/detail/get-insure.png" alt="立即投保" />
</button>
<div class="det-hd-insured-people">
<div class="det-hd-insured-people" v-if="props.det.type !== 'zhongan'">
已有
<em>{{ props.det.insuredNum }}</em>
位用户投保
......
......@@ -86,6 +86,10 @@ export default {
})
.catch(() => {
console.log("h5支付");
// tradeType === "JSAPI" && this.$notify({ type: "warning", message: "支付异常" });
this.$router.replace({
path: "/policy"
});
return;
});
} else {
......
<template>
<div>
跳转中...
</div>
</template>
<script>
export default {
name: "Share",
data() {
return {};
},
created() {}
};
</script>
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