Files
zt-closet-wxmini-frontend/miniprogram/pages/login/login.wxss
T
2026-09-15 16:01:59 +08:00

151 lines
3.6 KiB
Plaintext

/** 登录:全屏纯白 + 居中线稿 Logo + 衬线品牌名 + 底部实心黑胶囊 **/
.login-page {
min-height: 100vh;
background: var(--paper);
display: flex;
flex-direction: column;
}
/* 装饰线稿 */
.lg-hero {
position: relative;
width: 100%;
height: 340rpx;
flex-shrink: 0;
}
.lg-ic {
position: absolute;
color: var(--ink-4);
}
.lg-ic1 { left: 5%; top: 12%; width: 60rpx; height: 60rpx; transform: rotate(-13deg); opacity: .52; }
.lg-ic2 { left: 27%; top: 62%; width: 42rpx; height: 42rpx; transform: rotate(9deg); opacity: .34; }
.lg-ic3 { right: 7%; top: 16%; width: 52rpx; height: 52rpx; transform: rotate(15deg); opacity: .46; }
.lg-ic4 { right: 24%; bottom: 4%; width: 40rpx; height: 40rpx; transform: rotate(-7deg); opacity: .3; }
.lg-ic5 { left: 13%; bottom: 8%; width: 34rpx; height: 34rpx; opacity: .28; }
/* 品牌区 */
.lg-top {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 0 64rpx 120rpx;
}
.lg-logo {
width: 124rpx;
height: 124rpx;
border-radius: 50%;
margin-bottom: 44rpx;
color: var(--ink);
box-shadow: inset 0 0 0 1rpx var(--hairline-2);
display: flex;
align-items: center;
justify-content: center;
}
.lg-logo .icon {
width: 54rpx;
height: 54rpx;
}
.lg-name {
font-family: var(--serif);
font-size: 54rpx;
font-weight: 500;
letter-spacing: .08em;
text-indent: .08em;
line-height: 1.2;
}
.lg-slogan {
margin-top: 24rpx;
font-size: 26rpx;
color: var(--ink-2);
letter-spacing: .03em;
}
/* 底部 */
.lg-foot {
padding: 0 56rpx calc(52rpx + env(safe-area-inset-bottom));
}
.wechat-icon {
width: 44rpx;
height: 44rpx;
background-color: #fff;
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9.5 3C5.36 3 2 5.69 2 9c0 1.87 1.03 3.54 2.62 4.65L4 16.5l3.27-1.72c.73.2 1.47.3 2.23.3h.5A6.2 6.2 0 0 1 9 12c0-3.3 3.36-6 7.5-6h.5A5.7 5.7 0 0 0 9.5 3z'/%3E%3Cpath d='M22 12c0-2.76-2.69-5-6-5s-6 2.24-6 5 2.69 5 6 5c.72 0 1.42-.1 2.06-.28L20.5 18l-.42-2.6c1.17-.88 1.92-2.06 1.92-3.4z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9.5 3C5.36 3 2 5.69 2 9c0 1.87 1.03 3.54 2.62 4.65L4 16.5l3.27-1.72c.73.2 1.47.3 2.23.3h.5A6.2 6.2 0 0 1 9 12c0-3.3 3.36-6 7.5-6h.5A5.7 5.7 0 0 0 9.5 3z'/%3E%3Cpath d='M22 12c0-2.76-2.69-5-6-5s-6 2.24-6 5 2.69 5 6 5c.72 0 1.42-.1 2.06-.28L20.5 18l-.42-2.6c1.17-.88 1.92-2.06 1.92-3.4z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.lg-terms {
margin-top: 28rpx;
text-align: center;
font-size: 22rpx;
line-height: 1.75;
color: var(--ink-3);
}
.lg-terms .link {
color: var(--ink-2);
text-decoration: underline;
text-underline-offset: 6rpx;
text-decoration-thickness: 1rpx;
text-decoration-color: var(--ink-4);
}
/* 新手礼包 */
.lg-gift-ic {
width: 88rpx;
height: 88rpx;
border-radius: 50%;
margin: 0 auto 32rpx;
color: var(--ink);
box-shadow: inset 0 0 0 1rpx var(--hairline-2);
display: flex;
align-items: center;
justify-content: center;
}
.lg-gift-ic .icon {
width: 40rpx;
height: 40rpx;
}
.lg-gift-list {
margin-top: 32rpx;
text-align: left;
}
.lg-gift-row {
display: flex;
align-items: center;
gap: 20rpx;
padding: 22rpx 0;
border-bottom: 1rpx solid var(--hairline);
}
.lg-gift-row:last-child {
border-bottom: 0;
}
.lg-gift-row .icon {
width: 32rpx;
height: 32rpx;
color: var(--ink-2);
flex-shrink: 0;
}
.lg-gift-row .gn {
flex: 1;
font-size: 26rpx;
}
.lg-gift-row .gv {
font-size: 24rpx;
color: var(--ink-3);
}