From 36c5ea0dac00ca30e36f6cd13d623b299d0be4c5 Mon Sep 17 00:00:00 2001
From: whycq <you@example.com>
Date: 星期五, 23 九月 2022 12:32:27 +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