chore(deploy): stop tracking auto-release.env; feat(mini-user): avatar profile sheet
CI / verify (pull_request) Has been cancelled
CI / verify (pull_request) Has been cancelled
Remove secrets file from the index (keep local). Mine page can choose avatar and nickname via WeChat components. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -367,3 +367,126 @@
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mine-profile-sheet-mask {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 1000;
|
||||
background: rgba(20, 16, 14, 0.45);
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.mine-profile-sheet {
|
||||
width: 100%;
|
||||
max-width: 480px;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
border-radius: 20px 20px 0 0;
|
||||
padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
|
||||
.mine-profile-sheet-title {
|
||||
display: block;
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
color: #1f1a17;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mine-profile-sheet-hint {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
color: #8d706e;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mine-profile-avatar-btn {
|
||||
margin: 20px auto 0;
|
||||
padding: 0;
|
||||
width: auto;
|
||||
background: transparent;
|
||||
border: none;
|
||||
line-height: 1.2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.mine-profile-avatar-btn::after {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.mine-profile-avatar-preview {
|
||||
width: 88px;
|
||||
height: 88px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
border: 2px solid rgba(166, 29, 36, 0.25);
|
||||
background: #f7f4ef;
|
||||
}
|
||||
|
||||
.mine-profile-avatar-tip {
|
||||
margin-top: 8px;
|
||||
font-size: 12px;
|
||||
color: var(--color-heritage-red);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mine-profile-nickname-wrap {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.mine-profile-nickname-label {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
color: #5c504c;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.mine-profile-nickname-input {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
height: 44px;
|
||||
padding: 0 14px;
|
||||
border-radius: 12px;
|
||||
background: #f7f4ef;
|
||||
font-size: 15px;
|
||||
color: #1f1a17;
|
||||
}
|
||||
|
||||
.mine-profile-sheet-actions {
|
||||
margin-top: 22px;
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.mine-profile-sheet-cancel,
|
||||
.mine-profile-sheet-save {
|
||||
flex: 1;
|
||||
height: 44px;
|
||||
border-radius: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mine-profile-sheet-cancel {
|
||||
background: #f0ebe4;
|
||||
color: #5c504c;
|
||||
}
|
||||
|
||||
.mine-profile-sheet-save {
|
||||
background: var(--color-heritage-red);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mine-profile-sheet-save.is-disabled {
|
||||
opacity: 0.65;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user