216 lines
8.8 KiB
Vue
216 lines
8.8 KiB
Vue
<template>
|
||
<view :style="themeColor">
|
||
<view class="page" >
|
||
<view class="flex benben-position-layout flex flex-wrap align-center accountCancellationSubmission_flex_0" :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
|
||
<view class='flex flex-wrap align-center justify-between flex-sub accountCancellationSubmission_fd0_0' >
|
||
<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1" >
|
||
<text class='fu-iconfont2 accountCancellationSubmission_fd0_0_c0_c0' ></text>
|
||
</view>
|
||
<view class='flex flex-wrap align-stretch justify-center flex-sub' >
|
||
<text class='accountCancellationSubmission_fd0_0_c1_c0' >注销账号</text>
|
||
</view>
|
||
<view class='flex flex-wrap align-center accountCancellationSubmission_fd0_0_c2' >
|
||
</view>
|
||
</view>
|
||
|
||
</view>
|
||
<view :style="{height: (88+StatusBarRpx)+'rpx'}" ></view>
|
||
<!---注销账号提交成功flex布局开始-->
|
||
<view class="flex flex-direction flex-wrap align-center benben-flex-layout accountCancellationSubmission_flex_1" v-if= " type=='1'" >
|
||
<image class='accountCancellationSubmission_fd1_0' mode="aspectFit" :src='STATIC_URL+"175.png"'></image>
|
||
<text class='accountCancellationSubmission_fd1_1' >注销申请提交成功!</text>
|
||
<text class='accountCancellationSubmission_fd1_2' >我们工作人员将会对您的账号进行审核,审核通过后, 账号将会被注销,请知悉</text>
|
||
<button class='accountCancellationSubmission_fd1_3' @tap.stop="logOutFunc()" >退出登录</button>
|
||
</view>
|
||
|
||
<!---注销账号提交成功flex布局结束-->
|
||
<!---注销账号提交处理中flex布局开始-->
|
||
<view class="flex flex-direction flex-wrap align-center benben-flex-layout accountCancellationSubmission_flex_2" v-if= " type!='1' || dataDetails.status=='1'" >
|
||
<image class='accountCancellationSubmission_fd2_0' mode="aspectFit" :src='STATIC_URL+"176.png"'></image>
|
||
<text class='accountCancellationSubmission_fd2_1' >处理中</text>
|
||
</view>
|
||
|
||
<!---注销账号提交处理中flex布局结束-->
|
||
<benben-popup v-model="popupShow1683366891854" :mask="true" :mask-close-able="false" mode='center' >
|
||
<!---退出登录flex布局开始-->
|
||
<view class="flex flex-direction flex-wrap align-center accountCancellationSubmission_flex_3" >
|
||
<text class='accountCancellationSubmission_fd3_0' >提示</text>
|
||
<text class='accountCancellationSubmission_fd3_1' >确定退出当前账号?</text>
|
||
<view class='flex flex-wrap align-center accountCancellationSubmission_fd3_2' >
|
||
<button class='accountCancellationSubmission_fd3_2_c0' >取消</button>
|
||
<button class='accountCancellationSubmission_fd3_2_c1' >确定</button>
|
||
</view>
|
||
</view>
|
||
|
||
<!---退出登录flex布局结束-->
|
||
|
||
</benben-popup>
|
||
<!---注销账号提交失败flex布局开始-->
|
||
<view class="flex flex-direction flex-wrap align-center benben-flex-layout accountCancellationSubmission_flex_4" v-if= " type!='1' && dataDetails.status=='3'" >
|
||
<image class='accountCancellationSubmission_fd4_0' mode="aspectFit" :src='STATIC_URL+"177.png"'></image>
|
||
<text class='accountCancellationSubmission_fd4_1' >处理中</text>
|
||
<view class='flex flex-wrap align-center' >
|
||
<text class='accountCancellationSubmission_fd4_2_c0' >驳回原因:</text>
|
||
<text class='accountCancellationSubmission_fd4_2_c0' >不想使用了</text>
|
||
</view>
|
||
<button class='accountCancellationSubmission_fd4_3' @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/setUp/reasonForAccountCancellation/reasonForAccountCancellation`" >重新申请</button>
|
||
</view>
|
||
|
||
<!---注销账号提交失败flex布局结束-->
|
||
|
||
|
||
</view>
|
||
</view>
|
||
</template>
|
||
<script>
|
||
import {validate} from '@/common/utils/validate.js'
|
||
|
||
export default {
|
||
components:{},
|
||
|
||
|
||
data(){
|
||
return {"popupShow1683366891854":false,"status":"","dataDetails":{"aid":"","user_nickname":"","user_avatar":"","user_mobile":"","cancel_type":"","create_time":"","status":"","cancel_name":"","status_name":""},"type":""};
|
||
},
|
||
computed:{
|
||
themeColor() {
|
||
return this.$store.getters.themeColor
|
||
},
|
||
|
||
},
|
||
watch:{},
|
||
onLoad(options){
|
||
let {type,status}=options
|
||
if (type !== undefined) this.type = type
|
||
if (status !== undefined) this.status = status
|
||
},
|
||
onUnload() {
|
||
|
||
},
|
||
onReady(){
|
||
|
||
},
|
||
onShow(){
|
||
|
||
},
|
||
onHide(){
|
||
|
||
},
|
||
onResize(){
|
||
|
||
},
|
||
onPullDownRefresh(){
|
||
|
||
},
|
||
onReachBottom(e){
|
||
|
||
},
|
||
onPageScroll(e){
|
||
|
||
},
|
||
methods:{
|
||
//获取状态
|
||
async getStatusFunc(){
|
||
//请求方法
|
||
//数据验证
|
||
|
||
let datadataDetails = await this.$api.get(global.apiUrls.post637c4deb97aa9, {
|
||
sort_type:'desc'
|
||
});
|
||
|
||
if (datadataDetails.data.code != 1) {
|
||
this.$message.info(datadataDetails.data.msg);
|
||
return
|
||
}
|
||
let infodataDetails = datadataDetails.data;
|
||
this.dataDetails = infodataDetails.data
|
||
|
||
},
|
||
//退出登录
|
||
logOutFunc(){
|
||
this.$store.commit('logout')
|
||
this.toLoginDiy();
|
||
}
|
||
}
|
||
};
|
||
</script>
|
||
<style lang="scss" scoped>
|
||
.page{
|
||
width: 100vw;
|
||
overflow-x: hidden;
|
||
min-height: calc(100vh - var(--window-bottom));
|
||
background:#fff;background-size: 100% auto;
|
||
}
|
||
.accountCancellationSubmission_flex_0{
|
||
border-bottom:1px solid #eee;background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
|
||
}
|
||
.accountCancellationSubmission_fd0_0_c2{
|
||
width:32rpx;height:32rpx;
|
||
}
|
||
.accountCancellationSubmission_fd0_0_c1_c0{
|
||
font-size:36rpx;font-weight:500;color:#333;line-height:88rpx;
|
||
}
|
||
.accountCancellationSubmission_fd0_0_c0_c0{
|
||
font-size:32rpx;font-weight:500;color:#333;line-height:88rpx;
|
||
}
|
||
.accountCancellationSubmission_fd0_0{
|
||
margin:0rpx 32rpx 0rpx 32rpx;
|
||
}
|
||
.accountCancellationSubmission_flex_1{
|
||
padding:88rpx 39rpx 0rpx 39rpx;
|
||
}
|
||
.accountCancellationSubmission_fd1_3{
|
||
background:rgba(17, 91, 195, 1);border-radius:36rpx 36rpx 36rpx 36rpx;font-size:28rpx;color:#fff;width:320rpx;height:72rpx;line-height:72rpx;margin:104rpx 0rpx 0rpx 0rpx;
|
||
}
|
||
.accountCancellationSubmission_fd1_2{
|
||
line-height:40rpx;font-size:28rpx;font-weight:400;color:#666666;text-align:center;
|
||
}
|
||
.accountCancellationSubmission_fd1_1{
|
||
line-height:105rpx;font-size:32rpx;font-weight:700;color:#000000;
|
||
}
|
||
.accountCancellationSubmission_fd1_0{
|
||
width:250rpx;height:180rpx;margin:0rpx 0rpx 10rpx 0rpx;
|
||
}
|
||
.accountCancellationSubmission_flex_2{
|
||
padding:88rpx 0rpx 0rpx 0rpx;
|
||
}
|
||
.accountCancellationSubmission_fd2_1{
|
||
line-height:105rpx;font-size:32rpx;font-weight:700;color:#000000;
|
||
}
|
||
.accountCancellationSubmission_fd2_0{
|
||
width:250rpx;height:180rpx;margin:0rpx 0rpx 10rpx 0rpx;
|
||
}
|
||
.accountCancellationSubmission_flex_3{
|
||
background:#fff;width:540rpx;border-radius:16rpx 16rpx 16rpx 16rpx;
|
||
}
|
||
.accountCancellationSubmission_fd3_2_c1{
|
||
border-top:1px solid #eee;border-left:1px solid #eee;background:#fff;line-height:110rpx;border-radius:0rpx 0rpx 16rpx 0rpx;font-size:32rpx;color:rgba(238, 82, 90, 1);width:269rpx;
|
||
}
|
||
.accountCancellationSubmission_fd3_2_c0{
|
||
border-top:1px solid #eee;background:#fff;line-height:110rpx;border-radius:0rpx 0rpx 0rpx 16rpx;font-size:32rpx;color:rgba(153, 153, 153, 1);padding:0rpx 103rpx 0rpx 103rpx;
|
||
}
|
||
.accountCancellationSubmission_fd3_2{
|
||
margin:37rpx 0rpx 0rpx 0rpx;
|
||
}
|
||
.accountCancellationSubmission_fd3_1{
|
||
line-height:44rpx;font-size:32rpx;font-weight:500;color:#333333;
|
||
}
|
||
.accountCancellationSubmission_fd3_0{
|
||
font-size:36rpx;font-weight:800;line-height:44rpx;color:#333333;margin:40rpx 0rpx 40rpx 0rpx;
|
||
}
|
||
.accountCancellationSubmission_flex_4{
|
||
padding:88rpx 0rpx 0rpx 0rpx;
|
||
}
|
||
.accountCancellationSubmission_fd4_3{
|
||
background:rgba(17, 91, 195, 1);border-radius:36rpx 36rpx 36rpx 36rpx;font-size:28rpx;color:#fff;width:320rpx;height:72rpx;line-height:72rpx;margin:104rpx 0rpx 0rpx 0rpx;
|
||
}
|
||
.accountCancellationSubmission_fd4_2_c0{
|
||
line-height:40rpx;font-size:28rpx;font-weight:400;color:#666666;
|
||
}
|
||
.accountCancellationSubmission_fd4_1{
|
||
line-height:105rpx;font-size:32rpx;font-weight:700;color:#000000;
|
||
}
|
||
.accountCancellationSubmission_fd4_0{
|
||
width:250rpx;height:180rpx;margin:0rpx 0rpx 10rpx 0rpx;
|
||
}
|
||
</style> |