91 lines
2.1 KiB
Vue
91 lines
2.1 KiB
Vue
<template>
|
|
<view>
|
|
<u-navbar :autoBack="true" title="会员中心"></u-navbar>
|
|
<u--image src="/static/my/wo_icon_hyzxbj.png" width="750rpx" height="349rpx" :lazy-load="true">
|
|
</u--image>
|
|
<myAvatar></myAvatar>
|
|
<myForm></myForm>
|
|
<view class="commitment">
|
|
{{commitment}}
|
|
</view>
|
|
|
|
<u-button type="success" text="升级VIP" color="#0EBB5B" @click="showModal()"></u-button>
|
|
<u-modal :show="showM" closeOnClickOverlay confirmText="确定" @confirm="confirm" @close="close">
|
|
<rich-text :nodes="content"></rich-text>
|
|
</u-modal>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
showM: false,
|
|
content: `请保持手机畅通<br>
|
|
客服会及时联系您`,
|
|
commitment: '承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置承诺声明预留文字位置'
|
|
}
|
|
},
|
|
methods: {
|
|
// 联系客服模态框
|
|
showModal() {
|
|
this.showM = true
|
|
},
|
|
confirm() {
|
|
this.showM = false
|
|
},
|
|
cancel() {
|
|
this.showM = false
|
|
},
|
|
close() {
|
|
this.showM = false
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.commitment {
|
|
font-size: 26rpx;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-weight: 400;
|
|
color: #C8C8C8;
|
|
line-height: 28rpx;
|
|
margin: 40rpx 66rpx;
|
|
}
|
|
|
|
.u-button {
|
|
width: 644rpx !important;
|
|
height: 86rpx !important;
|
|
background: #0EBB5B;
|
|
border-radius: 20rpx !important;
|
|
}
|
|
|
|
.u-modal {
|
|
width: 472rpx !important;
|
|
}
|
|
|
|
.u-modal__content {
|
|
padding: 43rpx 104rpx !important;
|
|
text-indent: 14rpx;
|
|
}
|
|
|
|
.u-modal__content__text {
|
|
font-size: 32rpx !important;
|
|
font-weight: 400;
|
|
color: #252421 !important;
|
|
}
|
|
|
|
.u-modal__button-group__wrapper--hover {
|
|
background: #0EBB5B !important;
|
|
}
|
|
|
|
.u-modal__button-group__wrapper--confirm {
|
|
background: #0EBB5B;
|
|
|
|
.u-modal__button-group__wrapper__text {
|
|
color: #fff !important;
|
|
}
|
|
}
|
|
</style>
|