新市民弹窗样式修改

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-09-22 16:52:30 +08:00
parent cc73fb4ebb
commit e43f9e9881

View File

@@ -271,6 +271,12 @@
<div v-for="(item,index) in thisdialogcontent" style="margin-bottom: 10px;letter-spacing: 1px;">{{index+1}}{{item}}</div> <div v-for="(item,index) in thisdialogcontent" style="margin-bottom: 10px;letter-spacing: 1px;">{{index+1}}{{item}}</div>
</div> </div>
</van-dialog> </van-dialog>
<van-dialog v-model="thisnewpeopledialogshow" title="提示" confirmButtonText="确定" @confirm="newpeopledialogconfirm">
<div style="padding: 20px;font-size: 14px;padding-top: 0px;">
<div style="line-height: 25px;letter-spacing: 1px;">尊敬的客户您好</div>
<div style="line-height: 25px;letter-spacing: 1px;text-indent: 2em;">感谢您投保我公司爱心保/安心保产品在本保险合同生效后被保险人将获得一份专属的健康管理服务详情请登录公司官方微信公众号国富人寿保险>发现国富>新市民专区 查询或拨打公司客服热线400-694-6688咨询本服务为无偿提供</div>
</div>
</van-dialog>
</div> </div>
</template> </template>
@@ -286,6 +292,7 @@ import utils from '../../../assets/js/business-common'
export default { export default {
data() { data() {
return { return {
thisnewpeopledialogshow: false,
thisdialogshow: false, thisdialogshow: false,
thisdialogcontent: '', thisdialogcontent: '',
isNotify: false, //是否有异常的健康告知 isNotify: false, //是否有异常的健康告知
@@ -1025,27 +1032,9 @@ export default {
} }
}); });
}, },
newpeopledialogconfirm(){
// 点击下一步
next() {
let that = this let that = this
that.list.map((i) => { that.thisnewpeopledialogshow = false
delete i.name
})
let nowTime = new Date().getTime()
let localTime = window.localStorage.getItem('serrorTime')
if(nowTime - localTime < 20000){
this.$toast('您操作过于频繁请20S后再试')
return false
}
if(JSON.parse(localStorage.mainRiskCodes)[0] == 'GFRS_M0076' || JSON.parse(localStorage.mainRiskCodes)[0] == 'GFRS_M0077') {
this.$dialog
.alert({
title: '提示',
message: '尊敬的客户您好!感谢您投保我公司“爱心保/安心保”产品,在本保险合同生效后被保险人将获得一份专属的健康管理服务,详情请登录公司官方微信公众号“国富人寿保险”>发现国富>新市民专区 查询或拨打公司客服热线400-694-6688咨询本服务为无偿提供。',
confirmButtonColor: '#E9332E',
})
.then(() => {
let data = { let data = {
orderDTO: { orderDTO: {
orderInfoDTO: { orderInfoDTO: {
@@ -1107,10 +1096,21 @@ export default {
} }
} }
}) })
},
// 点击下一步
next() {
let that = this
that.list.map((i) => {
delete i.name
}) })
.catch(() => { let nowTime = new Date().getTime()
return let localTime = window.localStorage.getItem('serrorTime')
}) if(nowTime - localTime < 20000){
this.$toast('您操作过于频繁请20S后再试')
return false
}
if(JSON.parse(localStorage.mainRiskCodes)[0] == 'GFRS_M0076' || JSON.parse(localStorage.mainRiskCodes)[0] == 'GFRS_M0077') {
that.thisnewpeopledialogshow = true
} else { } else {
let data = { let data = {
orderDTO: { orderDTO: {