removeAccount.vue
2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<template>
<view class="remove_account" :style="vuex_theme">
<view class="title">注销账户</view>
<view class="sub_title" style="margin-top: 20rpx;">账号主体:{{getPhone}}</view>
<view class="content">
<text class="text">
如您注销{{vuex_appName}}服务,则当前服务在APP
小程序、等留存的信息均将被清空且无法被
找回。具体包括一下信息:
· {{vuex_appName}}学生注册账号及状态信息
· {{vuex_appName}}保存的学生个人信息
· {{vuex_appName}}保存的学生学籍信息
· 学生所有实习及相关活动记录
· 学生实习成绩信息
· 订阅消息、短信等通知不再进行推送
</text>
</view>
<view class="footer">
<view class="left_btn">
<c-button type="confirm" shape="circle" @click="removeAccount" :disabled="false" text="注销申请"></c-button>
</view>
</view>
</view>
</template>
<script>
import {
replaceTextToStar
} from '@/common/commonUtil.js'
import {
mapState,
mapActions
} from 'vuex'
export default {
data() {
return {
}
},
computed: {
...mapState({
getPhone(state) {
let phone = state.vuex_user.phone;
return replaceTextToStar(phone);
},
}),
},
methods: {
removeAccount() {
this.$u.route('/pages/main/my/againRemove/againRemove');
}
}
}
</script>
<style lang="scss" scoped>
.remove_account {
background-color: #FFFFFF;
}
.title {
font-size: 44rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #000000;
margin-top: 48rpx;
text-align: center;
}
.sub_title {
font-size: 17px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(0, 0, 0, 0.65);
line-height: 24px;
text-align: center;
}
.content {
width: 594rpx;
background: rgba(0, 0, 0, 0.03);
padding: 48rpx;
margin: 48rpx auto;
.text {
font-size: 30rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(0, 0, 0, 0.65);
line-height: 42rpx;
}
}
.footer {
width: 100%;
height: 96rpx;
padding: 28rpx 30rpx;
background: #FFFFFF;
position: fixed;
bottom: 0;
left: 0;
z-index: 99;
border-top: 2rpx solid #E2E2E8;
view {
display: inline-block;
}
.left_btn {
width: 690rpx;
margin: 0 30rpx 0 0;
}
}
</style>