From 13982bb9c69e7faa7dc1b96f3048e76314b7f95c Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期四, 22 九月 2022 23:59:57 +0800 Subject: [PATCH] # --- pages/login/login.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index 0fccb8f..628d129 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -20,7 +20,7 @@ </view> <!-- 鐧诲綍鎸夐挳 --> <view class="loging"> - <button class="button" >鐧诲綍</button> + <button class="button" @click="onLogin()" >鐧诲綍</button> </view> <!-- #ifdef APP-PLUS --> <view class="version"> @@ -52,6 +52,14 @@ changePassword: function() { this.showPassword = !this.showPassword; }, + onLogin() { + uni.reLaunch({ + url:"/pages/home/home", + animationType: 'pop-in', + animationDuration: 2000 + + }) + }, } } </script> -- Gitblit v1.9.1