用户端小程序修改
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
/* 我的 */
|
||||
.page-shell.mine-page {
|
||||
min-height: auto;
|
||||
padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
|
||||
.mine-page {
|
||||
background: var(--color-background);
|
||||
}
|
||||
|
||||
.mine-header {
|
||||
position: relative;
|
||||
padding: 20px var(--space-page) 52px;
|
||||
padding: 16px var(--space-page) 44px;
|
||||
background: linear-gradient(135deg, #820012 0%, var(--color-heritage-red) 40%, #d4a373 100%);
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -34,7 +39,36 @@
|
||||
.mine-avatar-wrap {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
margin-right: 14px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.mine-avatar-wrap--action {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mine-avatar-status {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: -4px;
|
||||
transform: translateX(-50%);
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
font-size: 9px;
|
||||
font-weight: 600;
|
||||
line-height: 1.3;
|
||||
white-space: nowrap;
|
||||
border: 1px solid rgba(255, 255, 255, 0.85);
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.mine-avatar-status--ok {
|
||||
background: #07c160;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mine-avatar-status--pending {
|
||||
background: #fff;
|
||||
color: var(--color-heritage-red);
|
||||
}
|
||||
|
||||
.mine-avatar-badge {
|
||||
@@ -54,26 +88,44 @@
|
||||
|
||||
.mine-wechat-hint {
|
||||
display: block;
|
||||
margin-top: 6px;
|
||||
margin-top: 4px;
|
||||
font-size: 10px;
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
}
|
||||
|
||||
.mine-avatar {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid rgba(255, 255, 255, 0.35);
|
||||
background: #fff;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
margin-right: 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-heritage-red);
|
||||
font-size: 28px;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mine-avatar--wx-ok {
|
||||
border-color: #07c160;
|
||||
box-shadow: 0 0 0 2px rgba(7, 193, 96, 0.25);
|
||||
}
|
||||
|
||||
.mine-avatar--wx-pending {
|
||||
border-color: rgba(255, 255, 255, 0.9);
|
||||
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
|
||||
.mine-avatar-wrap .mine-avatar {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.mine-profile > .mine-avatar {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.mine-avatar-img {
|
||||
@@ -84,10 +136,10 @@
|
||||
.mine-profile-name {
|
||||
display: block;
|
||||
font-family: var(--font-headline);
|
||||
font-size: 20px;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
margin-bottom: 4px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.mine-member-tag {
|
||||
@@ -100,30 +152,34 @@
|
||||
}
|
||||
|
||||
.mine-main {
|
||||
margin-top: -36px;
|
||||
margin-top: -28px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
padding: 0 var(--space-page) 12px;
|
||||
padding: 0 var(--space-page) 0;
|
||||
}
|
||||
|
||||
.mine-card {
|
||||
background: var(--color-card);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 14px;
|
||||
padding: 12px;
|
||||
box-shadow: var(--shadow-card);
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.mine-card:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.mine-card-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 14px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mine-card-title {
|
||||
font-family: var(--font-headline);
|
||||
font-size: 16px;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
color: var(--color-on-surface);
|
||||
}
|
||||
@@ -137,7 +193,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 16px;
|
||||
padding: 12px;
|
||||
border-radius: var(--radius-md);
|
||||
background: linear-gradient(135deg, #fff9e6 0%, #fff0c2 100%);
|
||||
}
|
||||
@@ -163,16 +219,16 @@
|
||||
|
||||
.mine-asset-value {
|
||||
font-family: var(--font-headline);
|
||||
font-size: 28px;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.mine-asset-cta {
|
||||
padding: 8px 16px;
|
||||
padding: 6px 14px;
|
||||
border-radius: 999px;
|
||||
background: var(--color-heritage-red);
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -185,22 +241,22 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 8px;
|
||||
padding: 4px;
|
||||
position: relative;
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.mine-order-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 12px;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 10px;
|
||||
background: rgba(166, 29, 36, 0.08);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-heritage-red);
|
||||
font-size: 18px;
|
||||
margin-bottom: 6px;
|
||||
font-size: 16px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.mine-order-badge {
|
||||
@@ -233,21 +289,21 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 12px 4px;
|
||||
padding: 6px 4px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mine-service-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 10px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 8px;
|
||||
background: var(--color-surface-container-low);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--color-heritage-red);
|
||||
font-size: 16px;
|
||||
margin-bottom: 6px;
|
||||
font-size: 14px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.mine-service-label {
|
||||
@@ -257,29 +313,59 @@
|
||||
}
|
||||
|
||||
.mine-footer {
|
||||
text-align: center;
|
||||
padding: 8px 0 4px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px 0 0;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.mine-version {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
color: var(--color-subtle-gray);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.mine-logout {
|
||||
display: inline-flex;
|
||||
padding: 10px 32px;
|
||||
padding: 6px 18px;
|
||||
border-radius: var(--radius-full);
|
||||
border: 1px solid rgba(166, 29, 36, 0.3);
|
||||
color: var(--color-heritage-red);
|
||||
font-size: 14px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mine-login-gate {
|
||||
margin-top: -32px;
|
||||
margin-top: -24px;
|
||||
margin-left: var(--space-page);
|
||||
margin-right: var(--space-page);
|
||||
margin-bottom: 8px;
|
||||
padding: 16px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
background: var(--color-card);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-card);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.mine-login-gate-hint {
|
||||
text-align: center;
|
||||
padding: 24px 0 16px;
|
||||
color: var(--color-subtle-gray);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.mine-login-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 12px 18px;
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-heritage-red);
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user