调整 发布

This commit is contained in:
浅念
2026-03-12 16:47:27 +08:00
parent 12bc0f8ba9
commit f892dbcb32
13 changed files with 536 additions and 111 deletions
+6 -8
View File
@@ -61,11 +61,12 @@
<view class="input-wrapper">
<uni-icons type="locked" size="20" color="#999"></uni-icons>
<input
class="input-field"
class="input-field uni-input-input"
:type="showPassword ? 'text' : 'password'"
placeholder="请输入密码"
v-model="formData.password"
placeholder-class="input-placeholder"
step="" enterkeyhint="done" autocomplete="off"
/>
<uni-icons
:type="showPassword ? 'eye' : 'eye-slash'"
@@ -345,6 +346,9 @@
// 处理角色信息(统一使用 role.js 工具)
saveRoles(data.role, data.role_wp)
// 通知自定义 TabBar 刷新
uni.$emit && uni.$emit('userRoleChanged')
// 保存记住的密码
this.saveRememberedPassword()
@@ -878,13 +882,7 @@
border-radius: 16rpx;
border: 2rpx solid transparent;
transition: all 0.3s;
&:focus-within {
background: #fff;
border-color: #FF972F;
box-shadow: 0 0 0 6rpx rgba(255, 151, 47, 0.08);
}
.input-field {
flex: 1;
margin: 0 16rpx;