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 |   25 ++++++++++++++++++++-----
 1 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/pages/login/login.vue b/pages/login/login.vue
index bc94028..628d129 100644
--- a/pages/login/login.vue
+++ b/pages/login/login.vue
@@ -6,19 +6,21 @@
 			<view class="user-info-item shadow-warp">
 				<view class="icons"><uni-icons type="person" size="20"></uni-icons></view>
 				<text>璐﹀彿锛�</text>
-				<input type="text">
+				<input type="text" placeholder="璇疯緭鍏ヨ处鍙�!" 
+				placeholder-style="font-size:14px;color:#ccc;">
 			</view>
 			<view class="user-info-item shadow-warp">
 				<view class="icons"><uni-icons type="locked" size="20"></uni-icons></view>
 				<text>瀵嗙爜锛�</text>
-				<input :password="!showPassword" v-model="password">
+				<input :password="!showPassword" v-model="password" placeholder="璇疯緭鍏ュ瘑鐮�!"
+				placeholder-style="font-size:14px;color:#ccc;">
 				<view class="showPassword" v-if="showPassword" @click="changePassword"><uni-icons type="eye" size="20"></uni-icons></view>
 				<view class="showPassword" v-if="!showPassword" @click="changePassword"><uni-icons type="eye-slash" size="20"></uni-icons></view>
 			</view>
 		</view>
 		<!-- 鐧诲綍鎸夐挳 -->
 		<view class="loging">
-			<button class="button" >鐧诲綍</button>
+			<button class="button" @click="onLogin()" >鐧诲綍</button>
 		</view>
 		<!-- #ifdef APP-PLUS -->
 		<view class="version">
@@ -49,6 +51,14 @@
 		methods: {
 			changePassword: function() {
 			    this.showPassword = !this.showPassword;
+			},
+			onLogin() {
+				uni.reLaunch({
+					url:"/pages/home/home",
+					animationType: 'pop-in',
+					animationDuration: 2000
+					
+				})
 			},
 		}
 	}
@@ -86,9 +96,14 @@
 		align-items:center;
 		background-color: #fff;
 		margin-bottom: 30rpx;
+		font-size: 28rpx;
+		font-weight: 500;
 	}
-	.user-info-item input{
-		width: 350rpx;
+	.user-info-item>input{
+		width: 400rpx;
+		color:#606266;
+		font-weight: 500;
+		caret-color:#606266; // 鍏夋爣棰滆壊
 	}
 	.icons {
 		margin-left: 20rpx;

--
Gitblit v1.9.1