From 72aad5cf3182e78c7020be092d03fc861a912145 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Sat, 7 Feb 2026 13:18:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8A=9F=E8=83=BD=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=AE=8C=E5=96=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../node_modules/ws/lib/.DS_Store | Bin 0 -> 6148 bytes src/pages/login.vue | 2 +- src/pages/register.vue | 10 +- .../pages/system/config/addEdit.vue | 51 +++++- src/pages_mine/pages/system/dept/addEdit.vue | 55 ++++-- src/pages_mine/pages/system/dict/addEdit.vue | 35 +++- .../pages/system/dictData/addEdit.vue | 49 +++++- src/pages_mine/pages/system/menu/addEdit.vue | 119 +++++++++---- .../pages/system/notice/addEdit.vue | 159 +++++++++++++----- src/pages_mine/pages/system/post/addEdit.vue | 51 +++++- src/pages_mine/pages/system/role/addEdit.vue | 55 ++++-- src/pages_mine/pages/system/user/addEdit.vue | 87 +++++++--- 12 files changed, 509 insertions(+), 164 deletions(-) create mode 100644 node_modules/websocket-stream/node_modules/ws/lib/.DS_Store diff --git a/node_modules/websocket-stream/node_modules/ws/lib/.DS_Store b/node_modules/websocket-stream/node_modules/ws/lib/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..6cee8b4decba4db104745819a5e98c37dd4ab22a GIT binary patch literal 6148 zcmeHK%T59@6g^cIC}4XI09@1#9#r>FPclT14W;9ASk8PEh!Wf83Gvx=C!m$G3yVWdWMy2c}N++u+VvW?j` zU<#N5e@y}Tb{lA6i7}t@_j`(G%rCRqaFERgoF!Yt1M)VwIy6zhDfXr9U7GF2?nd6DQMa--FT;qz@H_jFIoO_gyJQlCy z`CiKN2-jrgxMDr$(^s!;_Qu@l`nqOp9m%`AP7PghhAb1!B9F!`IhR>`=#epns1#>N zre#J0cZ@2dmyt&2bB#sFOkK5 z0iM}nRoMf~OaW8C6eueo`$NJamej(ZuK>gfht=4Y9|hqg0n>nmN4}vsPbGS) z3s(&1=^RhOyfk3p(bM6=<--NfF5FO@dguCyPKQf9T5SrL0;>w_`fgLs|IW|%|5cLp zOaW8iUn$@!?OwaZl)~A%k(`{h3CjbEn9M6YDuq=zj)qz5z;GwFm$J literal 0 HcmV?d00001 diff --git a/src/pages/login.vue b/src/pages/login.vue index a632578..e267ebf 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -62,7 +62,7 @@ - Copyright © 2025 qdintc All Rights Reserved. + Copyright © 2026 qdintc All Rights Reserved. diff --git a/src/pages/register.vue b/src/pages/register.vue index f671bf5..cc0f9f8 100644 --- a/src/pages/register.vue +++ b/src/pages/register.vue @@ -51,7 +51,7 @@ - Copyright © 2026 All Rights Reserved. + Copyright © 2026 qdintc All Rights Reserved. @@ -133,16 +133,14 @@ uni.navigateTo({ url: `/pages/login` }) @@ -254,4 +262,29 @@ function submit() { font-weight: 500 !important; letter-spacing: 2rpx !important; } + +/* 统一输入框高度和行高 */ +.u--input, +.u-input__content__field-wrapper { + height: 60rpx !important; + line-height: 60rpx !important; + min-height: 60rpx !important; + box-sizing: border-box !important; +} + +/* 强制统一所有输入框宽度 */ +.u-form-item__body { + flex: 1 !important; +} + +.u-form-item__body .u--input { + width: 100% !important; + box-sizing: border-box !important; +} + +/* 确保输入框内的文字垂直居中 */ +.u-input__content__field-wrapper__field { + line-height: 60rpx !important; + height: 60rpx !important; +} diff --git a/src/pages_mine/pages/system/dept/addEdit.vue b/src/pages_mine/pages/system/dept/addEdit.vue index 8dbed35..0ee97f1 100644 --- a/src/pages_mine/pages/system/dept/addEdit.vue +++ b/src/pages_mine/pages/system/dept/addEdit.vue @@ -3,13 +3,13 @@ {{ title }} - - + - + @@ -38,10 +38,10 @@ - + - + @@ -93,7 +93,10 @@ const inputBaseStyle = { border: '2rpx solid #dcdfe6', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 输入框错误样式 @@ -102,7 +105,10 @@ const inputErrorStyle = { border: '2rpx solid #f56c6c', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 根据字段名获取输入框样式 @@ -318,17 +324,19 @@ function submit() { } } -.select-input-wrapper { +.input-with-arrow { position: relative; + width: 100%; - .select-arrow { + .arrow-icon { position: absolute; - right: 24rpx; + right: 20rpx; top: 50%; transform: translateY(-50%); color: #c0c4cc; - font-size: 28rpx; + font-size: 20rpx; pointer-events: none; + z-index: 10; } } @@ -347,4 +355,29 @@ function submit() { font-weight: 500 !important; letter-spacing: 2rpx !important; } + +/* 统一输入框高度和行高 */ +.u--input, +.u-input__content__field-wrapper { + height: 60rpx !important; + line-height: 60rpx !important; + min-height: 60rpx !important; + box-sizing: border-box !important; +} + +/* 强制统一所有输入框宽度 */ +.u-form-item__body { + flex: 1 !important; +} + +.u-form-item__body .u--input { + width: 100% !important; + box-sizing: border-box !important; +} + +/* 确保输入框内的文字垂直居中 */ +.u-input__content__field-wrapper__field { + line-height: 60rpx !important; + height: 60rpx !important; +} diff --git a/src/pages_mine/pages/system/dict/addEdit.vue b/src/pages_mine/pages/system/dict/addEdit.vue index 537c8c4..2cd9fcb 100644 --- a/src/pages_mine/pages/system/dict/addEdit.vue +++ b/src/pages_mine/pages/system/dict/addEdit.vue @@ -3,7 +3,7 @@ {{ title }} - diff --git a/src/pages_mine/pages/system/dictData/addEdit.vue b/src/pages_mine/pages/system/dictData/addEdit.vue index ec45f0e..7f0cfbf 100644 --- a/src/pages_mine/pages/system/dictData/addEdit.vue +++ b/src/pages_mine/pages/system/dictData/addEdit.vue @@ -3,7 +3,7 @@ {{ title }} - - + - + @@ -87,7 +87,10 @@ const inputBaseStyle = { border: '2rpx solid #dcdfe6', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 输入框错误样式 @@ -96,7 +99,10 @@ const inputErrorStyle = { border: '2rpx solid #f56c6c', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 根据字段名获取输入框样式 @@ -233,17 +239,19 @@ function submit() { } } -.select-input-wrapper { +.input-with-arrow { position: relative; + width: 100%; - .select-arrow { + .arrow-icon { position: absolute; - right: 24rpx; + right: 20rpx; top: 50%; transform: translateY(-50%); color: #c0c4cc; - font-size: 28rpx; + font-size: 20rpx; pointer-events: none; + z-index: 10; } } @@ -262,4 +270,27 @@ function submit() { font-weight: 500 !important; letter-spacing: 2rpx !important; } + +/* 统一输入框高度和行高 */ +.u--input, +.u-input__content__field-wrapper { + height: 60rpx !important; + line-height: 60rpx !important; + min-height: 60rpx !important; + box-sizing: border-box !important; +} + +.u-form-item__body { + flex: 1 !important; +} + +.u-form-item__body .u--input { + width: 100% !important; + box-sizing: border-box !important; +} + +.u-input__content__field-wrapper__field { + line-height: 60rpx !important; + height: 60rpx !important; +} diff --git a/src/pages_mine/pages/system/menu/addEdit.vue b/src/pages_mine/pages/system/menu/addEdit.vue index 507b190..a0ec3c9 100644 --- a/src/pages_mine/pages/system/menu/addEdit.vue +++ b/src/pages_mine/pages/system/menu/addEdit.vue @@ -3,28 +3,28 @@ {{ title }} - - - + + + + - - + + + + + inputAlign="left" :customStyle="getInputStyle('menuName')"> @@ -33,49 +33,49 @@ + inputAlign="left" :customStyle="getInputStyle('path')"> + inputAlign="left" :customStyle="getInputStyle('component')"> + inputAlign="left" :customStyle="getInputStyle('perms')"> - - + + + + - - + + + + - - + + + + - - + + + + @@ -175,7 +175,10 @@ const inputBaseStyle = { border: '2rpx solid #dcdfe6', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 输入框错误样式 @@ -184,7 +187,10 @@ const inputErrorStyle = { border: '2rpx solid #f56c6c', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 根据字段名获取输入框样式 @@ -428,6 +434,22 @@ function submit() { .form-btn { padding-top: 16rpx; } + + .input-with-arrow { + position: relative; + width: 100%; + + .arrow-icon { + position: absolute; + right: 20rpx; + top: 50%; + transform: translateY(-50%); + color: #c0c4cc; + font-size: 20rpx; + pointer-events: none; + z-index: 10; + } + } } } @@ -460,4 +482,27 @@ function submit() { font-weight: 500 !important; letter-spacing: 2rpx !important; } + +/* 统一输入框高度和行高 */ +.u--input, +.u-input__content__field-wrapper { + height: 60rpx !important; + line-height: 60rpx !important; + min-height: 60rpx !important; + box-sizing: border-box !important; +} + +.u-form-item__body { + flex: 1 !important; +} + +.u-form-item__body .u--input { + width: 100% !important; + box-sizing: border-box !important; +} + +.u-input__content__field-wrapper__field { + line-height: 60rpx !important; + height: 60rpx !important; +} diff --git a/src/pages_mine/pages/system/notice/addEdit.vue b/src/pages_mine/pages/system/notice/addEdit.vue index a98309f..bf0f10a 100644 --- a/src/pages_mine/pages/system/notice/addEdit.vue +++ b/src/pages_mine/pages/system/notice/addEdit.vue @@ -3,63 +3,75 @@ 公告信息 - - - + + + - + - + - - - - - B - - - I - - - U - - - - - - - - - - - - + + + + + + * + 内容 + + + + + B - - - {{ contentLength }}/20000 + + I + + + U + + + + + + + + + + + - + + + {{ contentLength }}/20000 + + + + + + @@ -101,7 +113,10 @@ const inputBaseStyle = { border: '2rpx solid #dcdfe6', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 输入框错误样式 @@ -110,7 +125,10 @@ const inputErrorStyle = { border: '2rpx solid #f56c6c', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 根据字段名获取输入框样式 @@ -454,6 +472,34 @@ function doSubmit() { .form-btn { padding-top: 16rpx; } + + /* 确保表单项正常布局 */ + .u-form-item { + display: flex; + align-items: center; + + &[labelPosition="top"] { + display: block; + } + } + + /* 富文本编辑器独立字段 */ + .editor-field { + margin-top: 24rpx; + + .editor-label { + color: #333333; + font-size: 30rpx; + margin-bottom: 16rpx; + display: flex; + align-items: center; + + .required-star { + color: #f56c6c; + margin-right: 4rpx; + } + } + } } } @@ -574,4 +620,27 @@ function doSubmit() { font-weight: 500 !important; letter-spacing: 2rpx !important; } + +/* 统一输入框高度和行高 */ +.u--input, +.u-input__content__field-wrapper { + height: 60rpx !important; + line-height: 60rpx !important; + min-height: 60rpx !important; + box-sizing: border-box !important; +} + +.u-form-item__body { + flex: 1 !important; +} + +.u-form-item__body .u--input { + width: 100% !important; + box-sizing: border-box !important; +} + +.u-input__content__field-wrapper__field { + line-height: 60rpx !important; + height: 60rpx !important; +} \ No newline at end of file diff --git a/src/pages_mine/pages/system/post/addEdit.vue b/src/pages_mine/pages/system/post/addEdit.vue index a7e06a0..a764092 100644 --- a/src/pages_mine/pages/system/post/addEdit.vue +++ b/src/pages_mine/pages/system/post/addEdit.vue @@ -3,7 +3,7 @@ {{ title }} - - + - + @@ -73,7 +73,10 @@ const inputBaseStyle = { border: '2rpx solid #dcdfe6', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 输入框错误样式 @@ -82,7 +85,10 @@ const inputErrorStyle = { border: '2rpx solid #f56c6c', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 根据字段名获取输入框样式 @@ -210,17 +216,19 @@ function submit() { } } -.select-input-wrapper { +.input-with-arrow { position: relative; + width: 100%; - .select-arrow { + .arrow-icon { position: absolute; - right: 24rpx; + right: 20rpx; top: 50%; transform: translateY(-50%); color: #c0c4cc; - font-size: 28rpx; + font-size: 20rpx; pointer-events: none; + z-index: 10; } } @@ -239,4 +247,29 @@ function submit() { font-weight: 500 !important; letter-spacing: 2rpx !important; } + +/* 统一输入框高度和行高 */ +.u--input, +.u-input__content__field-wrapper { + height: 60rpx !important; + line-height: 60rpx !important; + min-height: 60rpx !important; + box-sizing: border-box !important; +} + +/* 强制统一所有输入框宽度 */ +.u-form-item__body { + flex: 1 !important; +} + +.u-form-item__body .u--input { + width: 100% !important; + box-sizing: border-box !important; +} + +/* 确保输入框内的文字垂直居中 */ +.u-input__content__field-wrapper__field { + line-height: 60rpx !important; + height: 60rpx !important; +} diff --git a/src/pages_mine/pages/system/role/addEdit.vue b/src/pages_mine/pages/system/role/addEdit.vue index 986d5e6..d533f69 100644 --- a/src/pages_mine/pages/system/role/addEdit.vue +++ b/src/pages_mine/pages/system/role/addEdit.vue @@ -3,7 +3,7 @@ {{ title }} - @@ -21,10 +21,10 @@ - + - + @@ -34,10 +34,10 @@ - + - + @@ -158,7 +158,10 @@ const inputBaseStyle = { border: '2rpx solid #dcdfe6', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 输入框错误样式 @@ -167,7 +170,10 @@ const inputErrorStyle = { border: '2rpx solid #f56c6c', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 根据字段名获取输入框样式 @@ -531,17 +537,19 @@ function submit() { } } -.select-input-wrapper { +.input-with-arrow { position: relative; + width: 100%; - .select-arrow { + .arrow-icon { position: absolute; - right: 24rpx; + right: 20rpx; top: 50%; transform: translateY(-50%); color: #c0c4cc; - font-size: 28rpx; + font-size: 20rpx; pointer-events: none; + z-index: 10; } } @@ -560,4 +568,29 @@ function submit() { font-weight: 500 !important; letter-spacing: 2rpx !important; } + +/* 统一输入框高度和行高 */ +.u--input, +.u-input__content__field-wrapper { + height: 60rpx !important; + line-height: 60rpx !important; + min-height: 60rpx !important; + box-sizing: border-box !important; +} + +/* 强制统一所有输入框宽度 */ +.u-form-item__body { + flex: 1 !important; +} + +.u-form-item__body .u--input { + width: 100% !important; + box-sizing: border-box !important; +} + +/* 确保输入框内的文字垂直居中 */ +.u-input__content__field-wrapper__field { + line-height: 60rpx !important; + height: 60rpx !important; +} diff --git a/src/pages_mine/pages/system/user/addEdit.vue b/src/pages_mine/pages/system/user/addEdit.vue index 8955673..78ce421 100644 --- a/src/pages_mine/pages/system/user/addEdit.vue +++ b/src/pages_mine/pages/system/user/addEdit.vue @@ -3,7 +3,7 @@ {{ title }} - - + - + - + - + - + - + @@ -65,10 +65,10 @@ - + - + @@ -83,10 +83,10 @@ - + - + @@ -118,7 +118,7 @@ + activeColor="#667eea" labelSize="30rpx" iconSize="36rpx"> @@ -140,7 +140,7 @@ + activeColor="#667eea" labelSize="30rpx" iconSize="36rpx"> @@ -214,7 +214,10 @@ const inputBaseStyle = { border: '2rpx solid #dcdfe6', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 输入框错误样式 @@ -223,7 +226,10 @@ const inputErrorStyle = { border: '2rpx solid #f56c6c', borderRadius: '8rpx', padding: '0 24rpx', - height: '68rpx' + height: '60rpx', + lineHeight: '60rpx', + width: '100%', + boxSizing: 'border-box' } // 根据字段名获取输入框样式 @@ -539,18 +545,20 @@ function submit() { padding-top: 16rpx; } - // 下拉选择输入框容器 - .select-input-wrapper { + // 带箭头的输入框容器 + .input-with-arrow { position: relative; + width: 100%; - .select-arrow { + .arrow-icon { position: absolute; - right: 24rpx; + right: 20rpx; top: 50%; transform: translateY(-50%); color: #c0c4cc; - font-size: 28rpx; + font-size: 20rpx; pointer-events: none; + z-index: 10; } } @@ -612,11 +620,19 @@ function submit() { .popup-content { flex: 1; max-height: 60vh; - padding: 24rpx; + padding: 16rpx 24rpx 24rpx; .checkbox-item { - padding: 16rpx 0; - border-bottom: 1rpx solid #f5f5f5; + padding: 20rpx 24rpx; + margin-bottom: 12rpx; + background: #f8f9fa; + border-radius: 12rpx; + border: 2rpx solid transparent; + transition: all 0.3s; + + &:active { + background: #f0f2f5; + } } } @@ -702,4 +718,29 @@ function submit() { border: 2rpx solid #f56c6c !important; background: #fef0f0 !important; } + +/* 统一输入框高度和行高 */ +.u--input, +.u-input__content__field-wrapper { + height: 60rpx !important; + line-height: 60rpx !important; + min-height: 60rpx !important; + box-sizing: border-box !important; +} + +/* 强制统一所有输入框宽度 */ +.u-form-item__body { + flex: 1 !important; +} + +.u-form-item__body .u--input { + width: 100% !important; + box-sizing: border-box !important; +} + +/* 确保输入框内的文字垂直居中 */ +.u-input__content__field-wrapper__field { + line-height: 60rpx !important; + height: 60rpx !important; +}