feat: 支持游客免登录浏览核心页面

未登录用户可先浏览衣橱、穿搭、运势、分享等内容,登录改为用户主动选择,并在登录页增加协议勾选确认与暂不登录入口。
This commit is contained in:
2026-09-16 21:44:04 +08:00
parent c07a969642
commit 45222317af
47 changed files with 996 additions and 12150 deletions
+54 -4
View File
@@ -81,15 +81,48 @@
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;
/* 协议同意行:默认未勾选(空心细描边),勾选后为墨色实底 + 白色对勾 */
.lg-consent {
display: flex;
align-items: flex-start;
gap: 16rpx;
margin-top: 30rpx;
padding: 0 4rpx;
}
.lg-check {
width: 34rpx;
height: 34rpx;
margin-top: 5rpx;
flex-shrink: 0;
border-radius: 8rpx;
box-shadow: inset 0 0 0 1rpx var(--ink-4);
color: transparent;
display: flex;
align-items: center;
justify-content: center;
transition: background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.lg-check .icon {
width: 24rpx;
height: 24rpx;
}
.lg-check.is-on {
background: var(--ink);
box-shadow: none;
color: #fff;
}
.lg-consent-t {
flex: 1;
font-size: 22rpx;
line-height: 1.75;
color: var(--ink-3);
}
.lg-terms .link {
.lg-consent-t .link {
color: var(--ink-2);
text-decoration: underline;
text-underline-offset: 6rpx;
@@ -97,6 +130,23 @@
text-decoration-color: var(--ink-4);
}
/* 暂不登录:细描边文字按钮,与主按钮形成主次 */
.lg-browse {
margin-top: 28rpx;
height: 84rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 26rpx;
color: var(--ink-2);
letter-spacing: .02em;
transition: opacity .18s var(--ease);
}
.lg-browse:active {
opacity: .5;
}
/* 新手礼包 */
.lg-gift-ic {
width: 88rpx;