From d768bdcf99ccd1d9db685e1a97586f6005887177 Mon Sep 17 00:00:00 2001 From: liugongyu <290219706@qq.com> Date: Tue, 16 Dec 2025 16:17:48 +0800 Subject: [PATCH] 删除和压缩图片 --- manifest.json | 1 + pages-sub/daily/patrol-manage/index.vue | 2 -- pages/login/index.vue | 13 +++---------- static/icons/home-active.png | Bin 423 -> 0 bytes static/icons/home.png | Bin 379 -> 0 bytes static/icons/mine-active.png | Bin 422 -> 0 bytes static/icons/mine.png | Bin 338 -> 0 bytes static/imgs/default-avatar.png | Bin 1895477 -> 0 bytes static/imgs/logo.png | Bin 7735 -> 0 bytes 9 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 static/icons/home-active.png delete mode 100644 static/icons/home.png delete mode 100644 static/icons/mine-active.png delete mode 100644 static/icons/mine.png delete mode 100644 static/imgs/logo.png diff --git a/manifest.json b/manifest.json index 8492e8a..067a549 100644 --- a/manifest.json +++ b/manifest.json @@ -58,6 +58,7 @@ "setting" : { "urlCheck" : false }, + "lazyCodeLoading": "requiredComponents", "usingComponents" : true, "permission" : { "scope.userLocation" : { diff --git a/pages-sub/daily/patrol-manage/index.vue b/pages-sub/daily/patrol-manage/index.vue index a32aac6..7f69ae6 100644 --- a/pages-sub/daily/patrol-manage/index.vue +++ b/pages-sub/daily/patrol-manage/index.vue @@ -185,8 +185,6 @@ onShow(() => { .sticky-header { background-color: #ffffff; padding-bottom: 10rpx; - border-bottom: 1px solid #eee; - .search-input { margin: 20rpx 20rpx 10rpx !important; } diff --git a/pages/login/index.vue b/pages/login/index.vue index 4921466..470d30a 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -15,6 +15,7 @@ placeholder="请输入登录账号" border="surround" clearable + maxlength="30" input-align="left" :disabled="isLoading" @blur="checkAccount" @@ -36,6 +37,7 @@ 登录 @@ -127,8 +124,6 @@ const checkLoginStatus = () => { const checkAccount = () => { if (!form.account) { error.account = '请输入登录账号'; - } else if (!/^[a-zA-Z0-9_-]{4,16}$/.test(form.account)) { - error.account = '账号格式错误(4-16位字母/数字/下划线)'; } else { error.account = ''; } @@ -138,8 +133,6 @@ const checkAccount = () => { const checkPassword = () => { if (!form.password) { error.password = '请输入登录密码'; - } else if (form.password.length < 6) { - error.password = '密码长度不能少于6位'; } else { error.password = ''; } diff --git a/static/icons/home-active.png b/static/icons/home-active.png deleted file mode 100644 index 7aceb57..0000000 Binary files a/static/icons/home-active.png and /dev/null differ diff --git a/static/icons/home.png b/static/icons/home.png deleted file mode 100644 index 5676843..0000000 Binary files a/static/icons/home.png and /dev/null differ diff --git a/static/icons/mine-active.png b/static/icons/mine-active.png deleted file mode 100644 index e941770..0000000 Binary files a/static/icons/mine-active.png and /dev/null differ diff --git a/static/icons/mine.png b/static/icons/mine.png deleted file mode 100644 index 1a9ec61..0000000 Binary files a/static/icons/mine.png and /dev/null differ diff --git a/static/imgs/default-avatar.png b/static/imgs/default-avatar.png index d66ef99..01e154b 100644 Binary files a/static/imgs/default-avatar.png and b/static/imgs/default-avatar.png differ diff --git a/static/imgs/logo.png b/static/imgs/logo.png deleted file mode 100644 index 736b27f..0000000 Binary files a/static/imgs/logo.png and /dev/null differ -- libgit2 0.21.4