diff --git a/src/api/benefits/index.js b/src/api/benefits/index.js index 08f3ec6..4bd7639 100644 --- a/src/api/benefits/index.js +++ b/src/api/benefits/index.js @@ -41,7 +41,7 @@ export function fetchBenefitInfoListV2(data) { data: data, }) } - +// 新增家庭成员 export function addCustomerFamilyMember(data) { return request({ url: getUrl('/sysUserEx/addCustomerFamilyMember'), @@ -66,3 +66,20 @@ export function activationCodeActive(data) { data: data, }) } +// 放弃家庭成员 +export function giveUpAddCustomerFamilyMember(data) { + return request({ + url: getUrl('/sysUserEx/giveUpAddCustomerFamilyMember'), + method: 'post', + data: data, + }) +} + +// 客户权益使用手册 +export function downloadPdf(data) { + return request({ + url: getUrl('/configCodeEx/getBenefitPdf'), + method: 'get', + params: data, + }) +} diff --git a/src/assets/js/utils/request.js b/src/assets/js/utils/request.js index 689071b..73ca132 100644 --- a/src/assets/js/utils/request.js +++ b/src/assets/js/utils/request.js @@ -58,7 +58,7 @@ service.interceptors.response.use( } else { Toast({ icon: 'warning-o', - message: res.content.content ? res.content.content : '接口服务异常', + message: res.message ? res.message : '接口服务异常', }) } } diff --git a/src/views/myBenefits/benefitsIntrodctuion.vue b/src/views/myBenefits/benefitsIntrodctuion.vue index bf53220..531c22b 100644 --- a/src/views/myBenefits/benefitsIntrodctuion.vue +++ b/src/views/myBenefits/benefitsIntrodctuion.vue @@ -38,7 +38,7 @@ 定级保费 -
{{ userInfo.stdPrem }}
+
{{ userInfo.stdPrem }}元
@@ -94,9 +94,9 @@ - +
- +
@@ -157,7 +157,7 @@
- +
diff --git a/src/views/myBenefits/benefitsList.vue b/src/views/myBenefits/benefitsList.vue index 4064aa8..3086769 100644 --- a/src/views/myBenefits/benefitsList.vue +++ b/src/views/myBenefits/benefitsList.vue @@ -27,7 +27,7 @@ - + + +
+ +
+
+
+
+
提示
+
当前部分权益可与家庭成员共享,点击“继续”可以绑定家庭成员,点击“放弃绑定”则放弃本服务年度绑定家庭成员的权利。
+
+ 放弃绑定 + + 继续 + +
+
+
- +
提示
@@ -50,7 +76,7 @@
- +
提示
@@ -415,4 +441,113 @@ export default { } } } +.tipsPopup1 { + top: calc(50% - 35px); + background-color: transparent; + .closeBtn { + position: absolute; + top: 0px; + right: 0px; + width: 30px; + height: 30px; + display: block; + z-index: 3000; + img { + width: 100%; + height: 100%; + } + } + .popupContent { + background: #ffffff; + border-radius: 30px; + position: relative; + margin-top: 35px; + } + .bg { + position: absolute; + top: 0px; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + z-index: 1; + height: 72px; + background: linear-gradient(180deg, #ffe4e7 0%, #ffffff 100%); + border-radius: 30px; + } + .popupDiv { + // background: #ffffff; + border-radius: 30px; + position: relative; + z-index: 5; + font-family: SourceHanSansCN, SourceHanSansCN; + font-weight: bold; + font-size: 18px; + color: #333333; + line-height: 21px; + text-align: center; + font-style: normal; + width: 327px; + + .title { + padding-top: 16px; + } + } + .ocrContent { + padding: 45px 20px 45px; + font-family: PingFangSC, PingFang SC; + font-weight: 500; + font-size: 14px; + color: #333333; + line-height: 21px; + text-align: center; + font-style: normal; + } + .btnBottom { + padding-bottom: 24px; + padding-left: 18px; + padding-right: 18px; + box-sizing: border-box; + .sub1 { + background: #f3eeee; + border-radius: 20px; + font-family: PingFangSC, PingFang SC; + font-weight: 400; + font-size: 14px; + color: #666666; + line-height: 40px; + height: 40px; + text-align: center; + font-style: normal; + width: 100%; + } + .sub { + background: #bd1c2d; + border-radius: 20px; + font-family: PingFangSC, PingFang SC; + font-weight: 400; + font-size: 14px; + color: #fff; + line-height: 40px; + height: 40px; + text-align: center; + font-style: normal; + width: 100%; + margin-left: 22px; + } + .sub2 { + background: #f3eeee; + border-radius: 20px; + font-family: PingFangSC, PingFang SC; + font-weight: 600; + font-size: 14px; + color: #bd1c2d; + line-height: 40px; + height: 40px; + text-align: center; + font-style: normal; + width: 100%; + } + } +} diff --git a/src/views/myBenefits/components/addFamilyMember.vue b/src/views/myBenefits/components/addFamilyMember.vue index a711fc1..fd4d9a0 100644 --- a/src/views/myBenefits/components/addFamilyMember.vue +++ b/src/views/myBenefits/components/addFamilyMember.vue @@ -1,7 +1,15 @@