style(douyu): 优化领取页选择切换与顶部提示
This commit is contained in:
@@ -446,10 +446,6 @@ export default function DouyuFulfillmentPage() {
|
|||||||
) : null}
|
) : null}
|
||||||
</section>
|
</section>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="customer-auth-privacy">
|
|
||||||
资料仅用于本次订单履约。内部账号和登录凭证不会展示给客户。
|
|
||||||
</div>
|
|
||||||
</CustomerFrame>
|
</CustomerFrame>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -465,6 +461,7 @@ function CustomerFrame({ title, children }: { title: string; children: ReactNode
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
<div className="customer-auth-warning">温馨提示:未成年人禁止下单</div>
|
||||||
<main className="customer-auth-main">{children}</main>
|
<main className="customer-auth-main">{children}</main>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2957,6 +2957,107 @@
|
|||||||
background: #343c4a;
|
background: #343c4a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-auth-hero {
|
||||||
|
min-height: 156px;
|
||||||
|
align-items: flex-end;
|
||||||
|
padding: 72px 18px 24px;
|
||||||
|
background-color: #111827;
|
||||||
|
background-image:
|
||||||
|
linear-gradient(180deg, rgba(11, 18, 32, 0.08) 0%, rgba(11, 18, 32, 0.56) 68%, #232936 100%),
|
||||||
|
url('/images/customer/inside-kv.jpg');
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center 38%;
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-auth-brand h1 {
|
||||||
|
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82);
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-auth-warning {
|
||||||
|
padding-top: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-body .ant-segmented {
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 4px;
|
||||||
|
border: 1px solid #354052;
|
||||||
|
border-radius: 12px;
|
||||||
|
background: #171d27;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-body .ant-segmented-group {
|
||||||
|
overflow: hidden;
|
||||||
|
border-radius: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-body .ant-segmented-item {
|
||||||
|
color: #aeb8c8;
|
||||||
|
border-radius: 9px;
|
||||||
|
transition: color 140ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu
|
||||||
|
.customer-collect-body
|
||||||
|
.ant-segmented-item:hover:not(.ant-segmented-item-selected) {
|
||||||
|
color: #e2e8f0;
|
||||||
|
background: #242c39;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-body .ant-segmented-item-selected {
|
||||||
|
color: #fff;
|
||||||
|
background: #2f6fed;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu
|
||||||
|
.customer-collect-body
|
||||||
|
.ant-segmented-item-selected
|
||||||
|
.ant-segmented-item-label {
|
||||||
|
color: #fff;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-body .ant-segmented-thumb {
|
||||||
|
background: #2f6fed;
|
||||||
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
|
||||||
|
backface-visibility: hidden;
|
||||||
|
transform: translateZ(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-body .ant-segmented-thumb-motion-appear-active {
|
||||||
|
will-change: transform;
|
||||||
|
transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-body .ant-segmented-item-label {
|
||||||
|
transition: color 140ms ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-body .ant-segmented-thumb-motion-appear-active {
|
||||||
|
transition: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-submit.ant-btn {
|
||||||
|
height: 52px;
|
||||||
|
margin-top: 14px;
|
||||||
|
color: #fff !important;
|
||||||
|
border-color: #2f6fed !important;
|
||||||
|
border-radius: 12px;
|
||||||
|
background: #2f6fed !important;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-submit.ant-btn:hover,
|
||||||
|
.customer-auth-page.is-douyu .customer-collect-submit.ant-btn:focus-visible {
|
||||||
|
color: #fff !important;
|
||||||
|
border-color: #4a83ff !important;
|
||||||
|
background: #4a83ff !important;
|
||||||
|
}
|
||||||
|
|
||||||
.customer-binding-next.ant-btn {
|
.customer-binding-next.ant-btn {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 52px;
|
height: 52px;
|
||||||
|
|||||||
Reference in New Issue
Block a user