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

Merge branch 'fix/policy_add' into 'master'

Fix/policy add

See merge request !217
parents c776df70 ec3240c7
...@@ -7,7 +7,12 @@ ...@@ -7,7 +7,12 @@
&::after { &::after {
content: " "; content: " ";
display: block; display: block;
height: 120px; height: 80px;
}
&.ios-bottom {
&::after {
height: 160px;
}
} }
} }
.policy { .policy {
......
<template> <template>
<div class="container"> <div class="container" :class="{ 'ios-bottom': isIOS }">
<div class="policy-tip-wrap"> <div class="policy-tip-wrap">
<div class="policy-tip">您所填写的数据,仅用于投保,平台将严格保密</div> <div class="policy-tip">您所填写的数据,仅用于投保,平台将严格保密</div>
</div> </div>
...@@ -542,7 +542,8 @@ import { ...@@ -542,7 +542,8 @@ import {
isEmail, isEmail,
isInteger, isInteger,
isBankNumber, isBankNumber,
isChnAddress isChnAddress,
isIOS
} from "@/service/validation"; } from "@/service/validation";
const AUTO_SAVE_KEY = "PolicyFormData"; const AUTO_SAVE_KEY = "PolicyFormData";
...@@ -614,6 +615,7 @@ export default { ...@@ -614,6 +615,7 @@ export default {
benefitOptions, benefitOptions,
countOptions: insuredAmountOptions, countOptions: insuredAmountOptions,
bankInfo, bankInfo,
isIOS,
selfInfoReadonly: false, selfInfoReadonly: false,
infoReadonly: false, infoReadonly: false,
showRelations: false, showRelations: false,
......
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
this.isPayWait = true; this.isPayWait = true;
this.orderInfo = this.$route.query; this.orderInfo = this.$route.query;
// 如果存在isXyqb,同时当前不是在信用钱包环境 // 如果存在isXyqb,同时当前不是在信用钱包环境
if (this.orderInfo.isConsultant && !isXyqb) { if (this.orderInfo.isConsultant) {
window.location.href = "xyqb://my"; window.location.href = "xyqb://my";
this.$router.replace({ path: "/consultant", query: { from: "wxh5" } }); this.$router.replace({ path: "/consultant", query: { from: "wxh5" } });
return; return;
......
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