注销更改为退出
This commit is contained in:
parent
bc8a96ba09
commit
086d96ee54
|
@ -27,7 +27,7 @@ export const page = data => request.get('/api/page', data)
|
|||
export const auth = data => request.post('/api/auth', data)
|
||||
//修改密码
|
||||
export const password = data => request.post('/api/password', data)
|
||||
//注销帐号
|
||||
//退出帐号
|
||||
export const logout_account = data => request.post('/api/logout_account', data)
|
||||
//修改手机号
|
||||
export const phoneBind = data => request.get('/api/phoneBind', data)
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
{
|
||||
"path": "pages/my/account/logout_account",
|
||||
"style": {
|
||||
"navigationBarTitleText": "注销帐号",
|
||||
"navigationBarTitleText": "退出帐号",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
|
|
|
@ -96,7 +96,7 @@ export default {
|
|||
path: "/pages/user/versionInfo/index",
|
||||
},
|
||||
{
|
||||
title: "注销",
|
||||
title: "退出",
|
||||
icon: "/static/adminImg/item5.png",
|
||||
path: "",
|
||||
},
|
||||
|
@ -131,10 +131,10 @@ export default {
|
|||
}
|
||||
},
|
||||
toPage(path, item) {
|
||||
if (item.title === "注销") {
|
||||
if (item.title === "退出") {
|
||||
uni.showModal({
|
||||
title: "提示",
|
||||
content: "确定注销吗?",
|
||||
content: "确定退出吗?",
|
||||
showCancel: true,
|
||||
success: function (res) {
|
||||
if (!res.confirm) { return }
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
</u-cell-group>
|
||||
|
||||
<u-cell-group title="帐号:">
|
||||
<u-cell-item icon="minus-people-fill" title="注销帐号" value="" @click="logout_account"></u-cell-item>
|
||||
<u-cell-item icon="minus-people-fill" title="退出帐号" value="" @click="logout_account"></u-cell-item>
|
||||
</u-cell-group>
|
||||
|
||||
<u-button @click="showModal=true" type="primary" style="margin-top: 20rpx;width:98%">
|
||||
|
|
|
@ -7,15 +7,15 @@
|
|||
|
||||
<view class="tipsArea">
|
||||
<view class="operation">
|
||||
<u-checkbox v-model="agree">我同意<<注销协议>>,提交后帐号将不再恢复</u-checkbox>
|
||||
<u-checkbox v-model="agree">我同意<<退出协议>>,提交后帐号将不再恢复</u-checkbox>
|
||||
</view>
|
||||
<view class="btn">
|
||||
<u-button type="primary" style="width: 98%;margin-bottom: 15rpx;" @click="confirme">注销帐号</u-button>
|
||||
<u-button type="primary" style="width: 98%;margin-bottom: 15rpx;" @click="confirme">退出帐号</u-button>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<u-modal v-model="showModal" showCancelButton title="注销" content='确定要注销帐号吗?' @cancel="closeShowModal" @confirm="confirmOperation"></u-modal>
|
||||
<u-modal v-model="showModal" showCancelButton title="退出" content='确定要退出帐号吗?' @cancel="closeShowModal" @confirm="confirmOperation"></u-modal>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
|
|
|
@ -101,7 +101,7 @@ export default {
|
|||
path: "/pages/user/versionInfo/index",
|
||||
},
|
||||
{
|
||||
title: "注销",
|
||||
title: "退出",
|
||||
icon: "/static/images/icon-logout.png",
|
||||
path: "",
|
||||
},
|
||||
|
@ -190,11 +190,11 @@ export default {
|
|||
toPage(path,item) {
|
||||
console.log(item,'item--')
|
||||
// return
|
||||
if(item.title === '注销'){
|
||||
if(item.title === '退出'){
|
||||
|
||||
uni.showModal({
|
||||
title: "提示",
|
||||
content: "确定注销吗?",
|
||||
content: "确定退出吗?",
|
||||
showCancel: true,
|
||||
success: function (res) {
|
||||
if(!res.confirm){return}
|
||||
|
|
Loading…
Reference in New Issue