From be4e2d7c2b330c3b8991a0286ea16cc1285b9ec0 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 08 May 2026 17:47:32 +0800
Subject: [PATCH] feat: 微信小程序支持上传头像
---
src/subPackages/userDetail/password/index.vue | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/src/subPackages/userDetail/password/index.vue b/src/subPackages/userDetail/password/index.vue
index d8b2c52..dd51f58 100644
--- a/src/subPackages/userDetail/password/index.vue
+++ b/src/subPackages/userDetail/password/index.vue
@@ -71,12 +71,6 @@
});
return false;
}
- // const hasLetter = /[a-zA-Z]/.test(password);
- // const hasNumber = /\d/.test(password);
- // if (!hasLetter || !hasNumber) {
- // ElMessage.error('密码需同时包含字母和数字');
- // return false;
- // }
return true;
};
const clearForm = () => {
@@ -210,9 +204,10 @@
color: #222324;
font-family: Source Han Sans CN, Source Han Sans CN;
}
-
+ :deep(.uni-input-placeholder) {
+ color: #D5D5D5;
+ }
input.input-item::placeholder {
- color: #c9c9c9;
font-size: 30rpx;
}
}
@@ -224,12 +219,16 @@
bottom: 150rpx;
}
- .u-button:first-child {
- margin-right: 30rpx;
+ :deep(.u-button:first-child) {
+ margin-right: 30rpx !important;
}
.custom-style {
width: 276rpx;
height: 76rpx;
}
-</style>
\ No newline at end of file
+ :deep(.u-button){
+ width: 276rpx !important;
+ height: 76rpx !important;
+ }
+</style>
--
Gitblit v1.9.3