From aba07dd33171c7a5294c62f17ac83f5b09bc885c Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 17 Dec 2025 09:05:08 +0800
Subject: [PATCH] feat:登录页样式调整
---
src/pages/login/index.vue | 28 +++++++++++++++++++---------
1 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue
index e8db5f3..6589ac9 100644
--- a/src/pages/login/index.vue
+++ b/src/pages/login/index.vue
@@ -73,16 +73,16 @@
icon: "none",
duration: 2000
});
- return;
+ return;
}
-
+
if (!loginForm.value.password.trim()) {
uni.showToast({
title: "请输入密码",
icon: "none",
duration: 2000
});
- return;
+ return;
}
let userInfo = {
tenantId: "000000",
@@ -200,12 +200,22 @@
margin-right: 12rpx;
}
- :deep(uni-input) {
- height: 40rpx;
- line-height: 40rpx;
- width: 80%;
- margin-top: 20rpx;
- }
+ :deep(uni-input) {
+ height: 40rpx;
+ line-height: 40rpx;
+ width: 80%;
+ margin-top: 20rpx;
+ padding: 0 !important;
+ }
+
+ :deep(input) {
+ height: 40rpx;
+ line-height: 40rpx;
+ width: 80%;
+ margin-top: 20rpx;
+ padding: 0 !important;
+ margin: 0 !important;
+ }
:deep(.uni-input-placeholder) {
font-size: 32rpx;
--
Gitblit v1.9.3