微信小程序端登录和头像调整

This commit is contained in:
2026-07-21 08:59:44 +08:00
parent c5f526d51d
commit 350a086a73
10 changed files with 84 additions and 263 deletions
-12
View File
@@ -120,19 +120,7 @@
font-size: 18px;
}
.benefit-hero-actions {
display: flex;
margin-top: 8px;
}
.benefit-hero-link {
font-size: 13px;
color: var(--color-heritage-red);
margin-right: 16px;
}
.benefit-hero-cta {
flex: 1;
height: 44px;
border-radius: var(--radius-full);
background: var(--color-heritage-red);
-43
View File
@@ -46,42 +46,11 @@
cursor: pointer;
}
/* 小程序 chooseAvatar:去掉 Button 默认样式,保留圆形头像 */
.mine-avatar-btn {
position: relative;
flex-shrink: 0;
margin: 0 12px 0 0 !important;
padding: 0 !important;
background: transparent !important;
border: none !important;
border-radius: 0 !important;
line-height: 1 !important;
overflow: visible !important;
}
.mine-avatar-btn::after {
border: none !important;
}
.mine-profile-meta {
min-width: 0;
flex: 1;
}
.mine-nickname-input {
width: 100%;
max-width: 200px;
height: 32px;
padding: 0 10px;
margin-bottom: 4px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.95);
color: var(--color-ink-black);
font-size: 15px;
font-weight: 600;
box-sizing: border-box;
}
.mine-avatar-status {
position: absolute;
left: 50%;
@@ -122,18 +91,6 @@
background: rgba(255, 255, 255, 0.25);
}
.mine-wechat-hint {
display: block;
margin-top: 4px;
font-size: 10px;
color: rgba(255, 255, 255, 0.75);
}
.mine-wechat-hint--link {
text-decoration: underline;
text-underline-offset: 2px;
}
.mine-avatar {
width: 64px;
height: 64px;
+10 -6
View File
@@ -47,16 +47,20 @@
color: var(--color-heritage-red);
text-align: center;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
}
.redeem-input-placeholder {
color: var(--color-subtle-gray);
text-align: center;
}
/* 小程序原生 inputtext-align 需落到组件自身与内部节点 */
.redeem-input,
.redeem-input input,
.redeem-input .taro-input,
.redeem-input .weui-input {
width: 100% !important;
height: 100% !important;
height: 52px !important;
min-height: 0 !important;
padding: 0 !important;
margin: 0 !important;
@@ -65,8 +69,8 @@
box-sizing: border-box !important;
font-size: 24px !important;
font-weight: 700 !important;
line-height: normal !important;
color: inherit;
line-height: 52px !important;
color: var(--color-heritage-red);
text-align: center !important;
}