注册流程
This commit is contained in:
@@ -18,5 +18,11 @@ Page({
|
||||
console.log(e);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
exitLogin(){
|
||||
wx.clearStorageSync();
|
||||
wx.redirectTo({url:"/pages/login/index"})
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"t-button": "/components/button/button"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,3 +10,6 @@
|
||||
</t-cell>
|
||||
<t-cell title="昵称" description="{{'浙A88FU7'}}" />
|
||||
<t-cell title="邮箱" description="{{'540344226@qq.com'}}" />
|
||||
<view class="subButton">
|
||||
<t-button block theme="danger" bind:tap="exitLogin">退出登录</t-button>
|
||||
</view>
|
||||
|
||||
@@ -4,3 +4,8 @@
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.subButton {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
bottom:10rpx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user