优化代码

This commit is contained in:
pengxiaolong
2025-09-29 20:48:31 +08:00
parent 0a721e99f8
commit 0044f8f334
63 changed files with 667 additions and 137 deletions

View File

@@ -12,6 +12,9 @@
<button class="login-btn" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
使用手机号快捷登录
</button>
<button class="login-btns" @click="loginWithEmailOrAccount">
使用邮箱或者账号登录
</button>
</view>
</template>
@@ -51,6 +54,12 @@ export default {
},
methods: {
// 邮箱或者账号登录
loginWithEmailOrAccount() {
uni.navigateTo({
url: "/pages/loginWithEmailOrAccount/loginWithEmailOrAccount",
});
},
// 返回首页
Return() {
uni.reLaunch({
@@ -156,6 +165,12 @@ export default {
border: 1px solid #00ff0000;
color: #ffffff;
}
.login-btns{
margin-top: 20rpx;
background-color: hsla(0, 0%, 100%, 0);
border: 1px solid #00ff0000;
color: #ffffff;
}
.tips {
color: #666;