Web 端本地缓存、首页与会员弹窗体验优化
新增 IndexedDB 与最近文件 L1 缓存、云保存/打开链路;首页支持下载与清空本地缓存;修复清空 storage 后语言初始化报错;优化 design2 背景加载与侧栏标签样式;完善会员激活/支付弹层样式;后端补充文件缩略图字段与 thumb 接口。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -424,6 +424,7 @@ body.soon-design-page,
|
||||
body.soon-design-page .layui-fluid.main,
|
||||
body.soon-design-page .layui-row {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
html:has(body.soon-design-page) {
|
||||
@@ -431,15 +432,22 @@ html:has(body.soon-design-page) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body.soon-design-page,
|
||||
body.soon-design-page *,
|
||||
body.soon-design-page *::before,
|
||||
body.soon-design-page *::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body.soon-design-page {
|
||||
height: 100vh;
|
||||
max-height: 100vh;
|
||||
max-width: 100vw;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
padding: 0 !important;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
background-color: #1e1e1e;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
@@ -448,7 +456,21 @@ body.soon-design-page .soon-design-portal-bar,
|
||||
body.soon-design-page .soon-portal-topbar {
|
||||
position: static !important;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-width: 0;
|
||||
flex-shrink: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body.soon-design-page .soon-portal-topbar__brand {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
body.soon-design-page .soon-portal-topbar__actions {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
body.soon-design-page #portal-topbar {
|
||||
@@ -457,6 +479,7 @@ body.soon-design-page #portal-topbar {
|
||||
|
||||
body.soon-design-page .layui-fluid.main {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
height: auto !important;
|
||||
overflow: hidden;
|
||||
@@ -467,6 +490,7 @@ body.soon-design-page .layui-fluid.main {
|
||||
|
||||
body.soon-design-page .layui-row {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
@@ -477,7 +501,7 @@ body.soon-design-page .layui-row {
|
||||
}
|
||||
|
||||
body.soon-design-page .col-left {
|
||||
flex: 1;
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
margin-right: 0;
|
||||
float: none;
|
||||
@@ -509,15 +533,116 @@ body.soon-design-page .tools-bar {
|
||||
background-color: #31373d;
|
||||
}
|
||||
|
||||
body.soon-design-page .tools-bar.left-bar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body.soon-design-page .tools-bar.left-bar .mode-left {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body.soon-design-page .tools-bar.left-bar .mode-warp {
|
||||
min-width: 0;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
flex-wrap: nowrap;
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
body.soon-design-page .tools-bar.left-bar .mode-warp::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.soon-design-page .tools-bar.left-bar .mode3 {
|
||||
float: none;
|
||||
flex-shrink: 0;
|
||||
line-height: normal;
|
||||
margin-right: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
body.soon-design-page #version_change {
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
min-width: 60px;
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
body.soon-design-page .soon-side-tabs {
|
||||
display: inline-flex;
|
||||
flex-shrink: 0;
|
||||
align-items: stretch;
|
||||
margin-left: 10px;
|
||||
height: 32px;
|
||||
border: 1px solid #646E76;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
background-color: #2a2f35;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body.soon-design-page .soon-side-tabs .ui-button {
|
||||
margin-left: 0;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-width: 48px;
|
||||
height: 100%;
|
||||
width: auto;
|
||||
padding: 0 12px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 13px;
|
||||
white-space: nowrap;
|
||||
line-height: 1;
|
||||
box-sizing: border-box;
|
||||
background-color: transparent;
|
||||
color: #e8eaed;
|
||||
}
|
||||
|
||||
body.soon-design-page .soon-side-tabs .ui-button + .ui-button {
|
||||
border-left: 1px solid #646E76;
|
||||
}
|
||||
|
||||
body.soon-design-page .soon-side-tabs .ui-button.ui-button-active {
|
||||
background-color: #646E76;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
body.soon-design-page .soon-side-tabs .ui-button:not(.ui-button-active):hover {
|
||||
background-color: #4a535c;
|
||||
}
|
||||
|
||||
body.soon-design-page .soon-side-tabs .ui-button.ui-button-active:hover {
|
||||
background-color: #74808a;
|
||||
}
|
||||
|
||||
body.soon-design-page .soon-tool-text-btn {
|
||||
flex-shrink: 0;
|
||||
height: 32px;
|
||||
min-width: 52px;
|
||||
margin-left: 10px;
|
||||
padding: 0 12px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 13px;
|
||||
white-space: nowrap;
|
||||
line-height: 1;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body.soon-design-page .img-warp {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -567,15 +692,18 @@ body.soon-design-page .container .right {
|
||||
|
||||
body.soon-design-page #canvas-div {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
body.soon-design-page .canvas-wrapper {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
position: relative;
|
||||
|
||||
@@ -45,15 +45,23 @@
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--pay,
|
||||
.layui-layer-soon-layer.soon-layer--pay {
|
||||
width: min(480px, calc(100vw - 32px)) !important;
|
||||
max-width: min(480px, calc(100vw - 32px)) !important;
|
||||
max-height: calc(100vh - 32px) !important;
|
||||
border-radius: var(--soon-radius-lg) !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--pay .layui-layer-content,
|
||||
.layui-layer-soon-layer.soon-layer--pay .layui-layer-content {
|
||||
overflow: visible !important;
|
||||
max-height: none !important;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--pay,
|
||||
.layui-layer-soon-layer.soon-layer--pay {
|
||||
max-height: calc(100vh - 32px);
|
||||
height: auto !important;
|
||||
max-height: calc(100vh - 32px) !important;
|
||||
padding: 0 !important;
|
||||
box-sizing: border-box !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--subscribe,
|
||||
@@ -77,6 +85,136 @@
|
||||
right: 14px;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--activate,
|
||||
.layui-layer-soon-layer.soon-layer--activate {
|
||||
width: min(480px, calc(100vw - 32px)) !important;
|
||||
max-width: min(480px, calc(100vw - 32px)) !important;
|
||||
max-height: calc(100vh - 32px) !important;
|
||||
border-radius: var(--soon-radius-lg) !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--activate .layui-layer-content,
|
||||
.layui-layer-soon-layer.soon-layer--activate .layui-layer-content {
|
||||
overflow: visible !important;
|
||||
height: auto !important;
|
||||
max-height: calc(100vh - 32px) !important;
|
||||
padding: 0 !important;
|
||||
box-sizing: border-box !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--activate .layui-layer-setwin,
|
||||
.layui-layer-soon-layer.soon-layer--activate .layui-layer-setwin,
|
||||
.layui-layer.soon-layer.soon-layer--pay .layui-layer-setwin,
|
||||
.layui-layer-soon-layer.soon-layer--pay .layui-layer-setwin,
|
||||
.layui-layer.soon-layer.soon-layer--login-gate .layui-layer-setwin,
|
||||
.layui-layer-soon-layer.soon-layer--login-gate .layui-layer-setwin {
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
/* title:false 时 layui 用 close2,默认 top/right:-28px 会裁到弹窗外;此处统一自定义关闭钮 */
|
||||
.layui-layer.soon-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico,
|
||||
.layui-layer-soon-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico,
|
||||
.layui-layer.soon-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico,
|
||||
.layui-layer-soon-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico,
|
||||
.layui-layer.soon-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico,
|
||||
.layui-layer-soon-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico,
|
||||
body.soon-design-page .layui-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico,
|
||||
body.soon-design-page .layui-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico,
|
||||
body.soon-design-page .layui-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico {
|
||||
position: relative !important;
|
||||
top: auto !important;
|
||||
right: auto !important;
|
||||
display: flex !important;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 30px !important;
|
||||
height: 30px !important;
|
||||
margin: 0 !important;
|
||||
border-radius: 8px;
|
||||
background: rgba(255, 255, 255, 0.94) !important;
|
||||
background-image: none !important;
|
||||
filter: none !important;
|
||||
opacity: 1 !important;
|
||||
font-size: 0 !important;
|
||||
line-height: 1 !important;
|
||||
text-indent: 0 !important;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
|
||||
transition: background 0.15s, box-shadow 0.15s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico:hover,
|
||||
.layui-layer-soon-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico:hover,
|
||||
.layui-layer.soon-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico:hover,
|
||||
.layui-layer-soon-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico:hover,
|
||||
.layui-layer.soon-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico:hover,
|
||||
.layui-layer-soon-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico:hover,
|
||||
body.soon-design-page .layui-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico:hover,
|
||||
body.soon-design-page .layui-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico:hover,
|
||||
body.soon-design-page .layui-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico:hover {
|
||||
background: #fff !important;
|
||||
opacity: 1 !important;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico::before,
|
||||
.layui-layer-soon-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico::before,
|
||||
.layui-layer.soon-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico::before,
|
||||
.layui-layer-soon-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico::before,
|
||||
.layui-layer.soon-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico::before,
|
||||
.layui-layer-soon-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico::before,
|
||||
body.soon-design-page .layui-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico::before,
|
||||
body.soon-design-page .layui-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico::before,
|
||||
body.soon-design-page .layui-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico::before {
|
||||
content: '×';
|
||||
display: block;
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: none !important;
|
||||
transform: none;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
color: #1a1f24;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico::after,
|
||||
.layui-layer-soon-layer.soon-layer--activate .layui-layer-setwin a.layui-layer-ico::after,
|
||||
.layui-layer.soon-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico::after,
|
||||
.layui-layer-soon-layer.soon-layer--pay .layui-layer-setwin a.layui-layer-ico::after,
|
||||
.layui-layer.soon-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico::after,
|
||||
.layui-layer-soon-layer.soon-layer--login-gate .layui-layer-setwin a.layui-layer-ico::after {
|
||||
display: none !important;
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--login-gate,
|
||||
.layui-layer-soon-layer.soon-layer--login-gate {
|
||||
width: min(400px, calc(100vw - 32px)) !important;
|
||||
max-height: calc(100vh - 32px) !important;
|
||||
border-radius: var(--soon-radius-lg);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--soon-shadow);
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer.soon-layer--login-gate .layui-layer-content,
|
||||
.layui-layer-soon-layer.soon-layer--login-gate .layui-layer-content {
|
||||
overflow: visible !important;
|
||||
height: auto !important;
|
||||
max-height: none !important;
|
||||
padding: 0 !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.layui-layer.soon-layer .layui-layer-content.soon-layer-content--scroll,
|
||||
.layui-layer-soon-layer .layui-layer-content.soon-layer-content--scroll {
|
||||
overflow-x: hidden !important;
|
||||
@@ -149,12 +287,12 @@ body.soon-design-page .layui-layer .layui-layer-content {
|
||||
color: var(--soon-text) !important;
|
||||
}
|
||||
|
||||
body.soon-design-page .layui-layer .layui-layer-setwin .layui-layer-ico {
|
||||
body.soon-design-page .layui-layer:not(.soon-layer--activate):not(.soon-layer--pay):not(.soon-layer--login-gate) .layui-layer-setwin .layui-layer-ico {
|
||||
filter: brightness(0) invert(1);
|
||||
opacity: 0.88;
|
||||
}
|
||||
|
||||
body.soon-design-page .layui-layer .layui-layer-setwin .layui-layer-ico:hover {
|
||||
body.soon-design-page .layui-layer:not(.soon-layer--activate):not(.soon-layer--pay):not(.soon-layer--login-gate) .layui-layer-setwin .layui-layer-ico:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -803,461 +803,7 @@
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
/* ── 支付弹窗 ── */
|
||||
.soon-pay-sheet {
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
padding: 22px 26px 20px;
|
||||
background: linear-gradient(160deg, rgba(0, 150, 136, 0.12) 0%, rgba(30, 36, 42, 0.95) 55%);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
||||
}
|
||||
|
||||
.soon-pay-sheet__eyebrow {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--soon-accent);
|
||||
}
|
||||
|
||||
.soon-pay-sheet__title {
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: var(--soon-text-strong);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__order {
|
||||
margin: 8px 0 0;
|
||||
font-size: 11px;
|
||||
font-family: ui-monospace, Consolas, monospace;
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-pay-sheet__head-price {
|
||||
flex-shrink: 0;
|
||||
text-align: right;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__currency {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: var(--soon-text-muted);
|
||||
vertical-align: top;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__amount {
|
||||
font-size: 34px;
|
||||
font-weight: 800;
|
||||
color: var(--soon-text-strong);
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__body {
|
||||
padding: 22px 26px 0;
|
||||
}
|
||||
|
||||
.soon-pay-stepper {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
list-style: none;
|
||||
margin: 0 0 24px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
width: 72px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__bridge {
|
||||
flex: 1;
|
||||
min-width: 24px;
|
||||
max-width: 56px;
|
||||
height: 2px;
|
||||
margin-top: 15px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 1px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__bridge.is-done {
|
||||
background: linear-gradient(90deg, var(--soon-accent), rgba(77, 182, 172, 0.6));
|
||||
}
|
||||
|
||||
.soon-pay-stepper__dot {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
color: var(--soon-text-muted);
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
border: 2px solid rgba(255, 255, 255, 0.12);
|
||||
transition: background 0.2s, border-color 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__label {
|
||||
font-size: 11px;
|
||||
color: var(--soon-text-muted);
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__item.is-active .soon-pay-stepper__dot {
|
||||
color: #fff;
|
||||
background: var(--soon-accent);
|
||||
border-color: var(--soon-accent);
|
||||
box-shadow: 0 0 0 4px rgba(0, 150, 136, 0.18);
|
||||
}
|
||||
|
||||
.soon-pay-stepper__item.is-active .soon-pay-stepper__label {
|
||||
color: var(--soon-text-strong);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__item.is-done .soon-pay-stepper__dot {
|
||||
color: #fff;
|
||||
background: rgba(77, 182, 172, 0.35);
|
||||
border-color: var(--soon-accent);
|
||||
}
|
||||
|
||||
.soon-pay-stepper__item.is-done .soon-pay-stepper__label {
|
||||
color: var(--soon-text);
|
||||
}
|
||||
|
||||
.soon-pay-section {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.soon-pay-section__title {
|
||||
margin: 0 0 12px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--soon-text-muted);
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
.soon-pay-channels {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.soon-pay-channels--single {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-fixed {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-fixed:hover {
|
||||
border-color: rgba(255, 255, 255, 0.08);
|
||||
background: rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-fixed.is-active:hover {
|
||||
border-color: var(--soon-accent);
|
||||
background: rgba(0, 150, 136, 0.07);
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-fixed .soon-pay-channel__radio {
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-fixed.is-active .soon-pay-channel__radio::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.soon-pay-channel {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
padding: 12px 14px;
|
||||
border: 1.5px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
background: rgba(0, 0, 0, 0.18);
|
||||
transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.soon-pay-channel:hover {
|
||||
border-color: rgba(255, 255, 255, 0.16);
|
||||
background: rgba(0, 0, 0, 0.24);
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-active {
|
||||
border-color: var(--soon-accent);
|
||||
background: rgba(0, 150, 136, 0.07);
|
||||
box-shadow: inset 0 0 0 1px rgba(0, 150, 136, 0.15);
|
||||
}
|
||||
|
||||
.soon-pay-channel[data-ch="wechat"].is-active {
|
||||
border-color: #07c160;
|
||||
background: rgba(7, 193, 96, 0.08);
|
||||
box-shadow: inset 0 0 0 1px rgba(7, 193, 96, 0.2);
|
||||
}
|
||||
|
||||
.soon-pay-channel[data-ch="alipay"].is-active {
|
||||
border-color: #1677ff;
|
||||
background: rgba(22, 119, 255, 0.08);
|
||||
box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.2);
|
||||
}
|
||||
|
||||
.soon-pay-channel__radio {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid rgba(255, 255, 255, 0.2);
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-active .soon-pay-channel__radio {
|
||||
border-color: currentColor;
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-active .soon-pay-channel__radio::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 3px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.soon-pay-channel[data-ch="wechat"].is-active .soon-pay-channel__radio { color: #07c160; }
|
||||
.soon-pay-channel[data-ch="alipay"].is-active .soon-pay-channel__radio { color: #1677ff; }
|
||||
|
||||
.soon-pay-channel__icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 9px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
color: #fff;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.soon-pay-channel__icon--wechat { background: linear-gradient(135deg, #06ae56, #07c160); }
|
||||
.soon-pay-channel__icon--alipay { background: linear-gradient(135deg, #0958d9, #1677ff); }
|
||||
|
||||
.soon-pay-channel__text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.soon-pay-channel__name {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--soon-text-strong);
|
||||
}
|
||||
|
||||
.soon-pay-channel__hint {
|
||||
font-size: 11px;
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-pay-qr-panel {
|
||||
min-height: 168px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
justify-content: center;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.soon-pay-sheet--checkout .soon-pay-qr-panel {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.soon-pay-sheet--checkout .soon-pay-stepper {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
padding: 28px 20px;
|
||||
border-radius: 12px;
|
||||
background: rgba(0, 0, 0, 0.22);
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-empty__icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
color: rgba(255, 255, 255, 0.22);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-empty__icon svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-empty__title {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--soon-text);
|
||||
}
|
||||
|
||||
.soon-pay-checkout-empty__desc {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: var(--soon-text-muted);
|
||||
line-height: 1.55;
|
||||
max-width: 260px;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-loading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
background: rgba(0, 0, 0, 0.22);
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.soon-pay-checkout-loading p {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 22px 20px 18px;
|
||||
border-radius: 12px;
|
||||
background: rgba(0, 0, 0, 0.22);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready--alipay {
|
||||
padding: 18px 16px 14px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__brand {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 15px;
|
||||
font-weight: 800;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__brand--wechat { background: linear-gradient(135deg, #06ae56, #07c160); }
|
||||
.soon-pay-checkout-ready__brand--alipay { background: linear-gradient(135deg, #0958d9, #1677ff); }
|
||||
|
||||
.soon-pay-checkout-ready__title {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: var(--soon-text-strong);
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__desc {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: var(--soon-text-muted);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__qr {
|
||||
padding: 10px;
|
||||
background: #fff;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__qr canvas,
|
||||
.soon-pay-checkout-ready__qr img {
|
||||
display: block;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__btn {
|
||||
min-width: 180px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__foot {
|
||||
padding: 12px 26px 18px;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.soon-pay-sheet--checkout .soon-pay-sheet__foot {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
.soon-pay-status {
|
||||
margin: 0 0 12px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-pay-status--ok { color: #4db6ac; }
|
||||
.soon-pay-status--err { color: var(--soon-danger); }
|
||||
|
||||
.soon-pay-sheet__cta {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__cta--secondary {
|
||||
margin-top: 8px;
|
||||
}
|
||||
@import url('pay-sheet.css');
|
||||
|
||||
.soon-member-page ::-webkit-scrollbar { width: 8px; height: 8px; }
|
||||
.soon-member-page ::-webkit-scrollbar-thumb {
|
||||
|
||||
@@ -0,0 +1,472 @@
|
||||
/* 支付确认弹窗(设计页 / 会员页共用) */
|
||||
.soon-pay-sheet {
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
border-radius: 14px;
|
||||
background: var(--soon-bg-panel);
|
||||
color: var(--soon-text);
|
||||
}
|
||||
|
||||
.soon-pay-sheet__toolbar {
|
||||
padding: 12px 16px 0;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__back {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
padding: 22px 52px 20px 26px;
|
||||
background: linear-gradient(160deg, rgba(0, 150, 136, 0.12) 0%, rgba(30, 36, 42, 0.95) 55%);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
|
||||
}
|
||||
|
||||
.soon-pay-sheet__head-main {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__eyebrow {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--soon-accent);
|
||||
}
|
||||
|
||||
.soon-pay-sheet__title {
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: var(--soon-text-strong);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__order {
|
||||
margin: 8px 0 0;
|
||||
font-size: 11px;
|
||||
font-family: ui-monospace, Consolas, monospace;
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-pay-sheet__head-price {
|
||||
flex-shrink: 0;
|
||||
text-align: right;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__currency {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: var(--soon-text-muted);
|
||||
vertical-align: top;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__amount {
|
||||
font-size: 34px;
|
||||
font-weight: 800;
|
||||
color: var(--soon-text-strong);
|
||||
letter-spacing: -0.03em;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__body {
|
||||
padding: 22px 26px 0;
|
||||
}
|
||||
|
||||
.soon-pay-stepper {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
list-style: none;
|
||||
margin: 0 0 24px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
width: 72px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__bridge {
|
||||
flex: 1;
|
||||
min-width: 24px;
|
||||
max-width: 56px;
|
||||
height: 2px;
|
||||
margin-top: 15px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 1px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__bridge.is-done {
|
||||
background: linear-gradient(90deg, var(--soon-accent), rgba(77, 182, 172, 0.6));
|
||||
}
|
||||
|
||||
.soon-pay-stepper__dot {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
color: var(--soon-text-muted);
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
border: 2px solid rgba(255, 255, 255, 0.12);
|
||||
transition: background 0.2s, border-color 0.2s, color 0.2s;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__label {
|
||||
font-size: 11px;
|
||||
color: var(--soon-text-muted);
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__item.is-active .soon-pay-stepper__dot {
|
||||
color: #fff;
|
||||
background: var(--soon-accent);
|
||||
border-color: var(--soon-accent);
|
||||
box-shadow: 0 0 0 4px rgba(0, 150, 136, 0.18);
|
||||
}
|
||||
|
||||
.soon-pay-stepper__item.is-active .soon-pay-stepper__label {
|
||||
color: var(--soon-text-strong);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.soon-pay-stepper__item.is-done .soon-pay-stepper__dot {
|
||||
color: #fff;
|
||||
background: rgba(77, 182, 172, 0.35);
|
||||
border-color: var(--soon-accent);
|
||||
}
|
||||
|
||||
.soon-pay-stepper__item.is-done .soon-pay-stepper__label {
|
||||
color: var(--soon-text);
|
||||
}
|
||||
|
||||
.soon-pay-section {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.soon-pay-section__title {
|
||||
margin: 0 0 12px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--soon-text-muted);
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
.soon-pay-channels {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.soon-pay-channels--single {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-fixed {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-fixed:hover {
|
||||
border-color: rgba(255, 255, 255, 0.08);
|
||||
background: rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-fixed.is-active:hover {
|
||||
border-color: var(--soon-accent);
|
||||
background: rgba(0, 150, 136, 0.07);
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-fixed .soon-pay-channel__radio {
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-fixed.is-active .soon-pay-channel__radio::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.soon-pay-channel {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
padding: 12px 14px;
|
||||
border: 1.5px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
background: rgba(0, 0, 0, 0.18);
|
||||
transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.soon-pay-channel:hover {
|
||||
border-color: rgba(255, 255, 255, 0.16);
|
||||
background: rgba(0, 0, 0, 0.24);
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-active {
|
||||
border-color: var(--soon-accent);
|
||||
background: rgba(0, 150, 136, 0.07);
|
||||
box-shadow: inset 0 0 0 1px rgba(0, 150, 136, 0.15);
|
||||
}
|
||||
|
||||
.soon-pay-channel[data-ch="wechat"].is-active {
|
||||
border-color: #07c160;
|
||||
background: rgba(7, 193, 96, 0.08);
|
||||
box-shadow: inset 0 0 0 1px rgba(7, 193, 96, 0.2);
|
||||
}
|
||||
|
||||
.soon-pay-channel[data-ch="alipay"].is-active {
|
||||
border-color: #1677ff;
|
||||
background: rgba(22, 119, 255, 0.08);
|
||||
box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.2);
|
||||
}
|
||||
|
||||
.soon-pay-channel__radio {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid rgba(255, 255, 255, 0.2);
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-active .soon-pay-channel__radio {
|
||||
border-color: currentColor;
|
||||
}
|
||||
|
||||
.soon-pay-channel.is-active .soon-pay-channel__radio::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 3px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.soon-pay-channel[data-ch="wechat"].is-active .soon-pay-channel__radio { color: #07c160; }
|
||||
.soon-pay-channel[data-ch="alipay"].is-active .soon-pay-channel__radio { color: #1677ff; }
|
||||
|
||||
.soon-pay-channel__icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 9px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
color: #fff;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.soon-pay-channel__icon--wechat { background: linear-gradient(135deg, #06ae56, #07c160); }
|
||||
.soon-pay-channel__icon--alipay { background: linear-gradient(135deg, #0958d9, #1677ff); }
|
||||
|
||||
.soon-pay-channel__text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.soon-pay-channel__name {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--soon-text-strong);
|
||||
}
|
||||
|
||||
.soon-pay-channel__hint {
|
||||
font-size: 11px;
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-pay-qr-panel {
|
||||
min-height: 168px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
justify-content: center;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.soon-pay-sheet--checkout .soon-pay-qr-panel {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.soon-pay-sheet--checkout .soon-pay-stepper {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
padding: 28px 20px;
|
||||
border-radius: 12px;
|
||||
background: rgba(0, 0, 0, 0.22);
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-empty__icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
color: rgba(255, 255, 255, 0.22);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-empty__icon svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-empty__title {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--soon-text);
|
||||
}
|
||||
|
||||
.soon-pay-checkout-empty__desc {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: var(--soon-text-muted);
|
||||
line-height: 1.55;
|
||||
max-width: 280px;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-loading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 24px;
|
||||
border-radius: 12px;
|
||||
background: rgba(0, 0, 0, 0.22);
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.soon-pay-checkout-loading p {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 22px 20px 18px;
|
||||
border-radius: 12px;
|
||||
background: rgba(0, 0, 0, 0.22);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready--alipay {
|
||||
padding: 18px 16px 14px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__brand {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 15px;
|
||||
font-weight: 800;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__brand--wechat { background: linear-gradient(135deg, #06ae56, #07c160); }
|
||||
.soon-pay-checkout-ready__brand--alipay { background: linear-gradient(135deg, #0958d9, #1677ff); }
|
||||
|
||||
.soon-pay-checkout-ready__title {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: var(--soon-text-strong);
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__desc {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
color: var(--soon-text-muted);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__qr {
|
||||
padding: 10px;
|
||||
background: #fff;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__qr canvas,
|
||||
.soon-pay-checkout-ready__qr img {
|
||||
display: block;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.soon-pay-checkout-ready__btn {
|
||||
min-width: 180px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__foot {
|
||||
padding: 12px 26px 18px;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
||||
margin-top: 16px;
|
||||
background: rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.soon-pay-sheet--checkout .soon-pay-sheet__foot {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
.soon-pay-status {
|
||||
margin: 0 0 12px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-pay-status--ok { color: #4db6ac; }
|
||||
.soon-pay-status--err { color: var(--soon-danger); }
|
||||
|
||||
.soon-pay-sheet__cta {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.soon-pay-sheet__cta--secondary {
|
||||
margin-top: 8px;
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
@import url('pay-sheet.css');
|
||||
|
||||
.soon-subscribe-modal {
|
||||
text-align: left;
|
||||
background: var(--soon-bg-panel);
|
||||
@@ -223,31 +225,149 @@
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.soon-login-gate {
|
||||
text-align: left;
|
||||
background: var(--soon-bg-panel);
|
||||
color: var(--soon-text);
|
||||
border-radius: var(--soon-radius-lg);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.soon-login-gate__head {
|
||||
padding: 22px 48px 16px 22px;
|
||||
border-bottom: 1px solid var(--soon-border-subtle);
|
||||
background: linear-gradient(160deg, rgba(0, 150, 136, 0.12) 0%, transparent 100%);
|
||||
}
|
||||
|
||||
.soon-login-gate__eyebrow {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--soon-accent);
|
||||
}
|
||||
|
||||
.soon-login-gate__title {
|
||||
margin: 0;
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
color: var(--soon-text-strong);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.soon-login-gate__desc {
|
||||
margin: 6px 0 0;
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-login-gate__form {
|
||||
padding: 0 24px 8px;
|
||||
padding: 18px 22px 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.soon-login-gate__form .soon-input-wrap {
|
||||
width: 100%;
|
||||
.soon-login-gate__field.soon-input-wrap {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.soon-login-gate__input.soon-input {
|
||||
height: 42px;
|
||||
padding: 0 14px 0 40px;
|
||||
background: var(--soon-bg-deep);
|
||||
border: 1px solid var(--soon-border-subtle);
|
||||
border-radius: var(--soon-radius-sm);
|
||||
color: var(--soon-text-strong);
|
||||
font-size: 14px;
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
|
||||
.soon-login-gate__input.soon-input::placeholder {
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-login-gate__input.soon-input:focus {
|
||||
border-color: var(--soon-accent);
|
||||
box-shadow: var(--soon-focus-ring);
|
||||
}
|
||||
|
||||
.soon-login-gate__input.soon-input:-webkit-autofill,
|
||||
.soon-login-gate__input.soon-input:-webkit-autofill:hover,
|
||||
.soon-login-gate__input.soon-input:-webkit-autofill:focus {
|
||||
-webkit-text-fill-color: var(--soon-text-strong);
|
||||
caret-color: var(--soon-text-strong);
|
||||
transition: background-color 99999s ease-out 0s;
|
||||
-webkit-box-shadow: 0 0 0 1000px var(--soon-bg-deep) inset;
|
||||
box-shadow: 0 0 0 1000px var(--soon-bg-deep) inset;
|
||||
border: 1px solid var(--soon-border-subtle);
|
||||
}
|
||||
|
||||
.soon-login-gate__error {
|
||||
color: #f87171;
|
||||
font-size: 13px;
|
||||
margin: 0;
|
||||
padding: 8px 10px;
|
||||
border-radius: var(--soon-radius-sm);
|
||||
background: rgba(229, 115, 115, 0.12);
|
||||
border: 1px solid rgba(229, 115, 115, 0.28);
|
||||
color: #fca5a5;
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.soon-login-gate__error[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.soon-login-gate__submit {
|
||||
margin-top: 2px;
|
||||
height: 42px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.soon-login-gate__links {
|
||||
padding: 0 24px 16px;
|
||||
margin: 0;
|
||||
padding: 0 0 4px;
|
||||
font-size: 13px;
|
||||
color: rgba(255, 255, 255, 0.65);
|
||||
text-align: center;
|
||||
color: var(--soon-text-muted);
|
||||
}
|
||||
|
||||
.soon-login-gate__links a {
|
||||
color: #7dd3fc;
|
||||
color: var(--soon-accent-hover);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.soon-login-gate__links a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.soon-login-gate__foot {
|
||||
padding: 12px 22px 18px;
|
||||
border-top: 1px solid var(--soon-border-subtle);
|
||||
background: rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.soon-login-gate__stay {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 9px 16px;
|
||||
border: 1px solid var(--soon-border-subtle);
|
||||
border-radius: var(--soon-radius-sm);
|
||||
background: transparent;
|
||||
color: var(--soon-text-muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
cursor: pointer;
|
||||
transition: color 0.15s, border-color 0.15s, background 0.15s;
|
||||
}
|
||||
|
||||
.soon-login-gate__stay:hover {
|
||||
color: var(--soon-text);
|
||||
border-color: rgba(255, 255, 255, 0.18);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
}
|
||||
|
||||
.soon-activate-price {
|
||||
@@ -265,12 +385,6 @@
|
||||
color: rgba(255, 255, 255, 0.55);
|
||||
}
|
||||
|
||||
.soon-activate-price__value {
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.soon-activate-price__hint {
|
||||
font-size: 12px;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
@@ -283,25 +397,69 @@
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.soon-activate-channel {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 8px 14px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.soon-activate-channel.is-active {
|
||||
border-color: #38bdf8;
|
||||
background: rgba(56, 189, 248, 0.12);
|
||||
}
|
||||
|
||||
.soon-activate-load {
|
||||
margin: 12px 0 0;
|
||||
font-size: 13px;
|
||||
color: rgba(255, 255, 255, 0.55);
|
||||
min-height: 18px;
|
||||
}
|
||||
|
||||
.soon-activate-modal {
|
||||
border-radius: var(--soon-radius-lg);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.soon-activate-modal .soon-subscribe-modal__head {
|
||||
padding: 22px 52px 18px 24px;
|
||||
}
|
||||
|
||||
.soon-activate-modal .soon-subscribe-modal__body {
|
||||
padding: 18px 24px 20px;
|
||||
}
|
||||
|
||||
.soon-activate-modal .soon-subscribe-modal__foot {
|
||||
padding: 16px 24px 20px;
|
||||
}
|
||||
|
||||
.soon-activate-price__value {
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
color: var(--soon-text-strong);
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.soon-activate-channel {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 16px;
|
||||
border-radius: 10px;
|
||||
border: 1.5px solid rgba(255, 255, 255, 0.1);
|
||||
background: rgba(0, 0, 0, 0.18);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--soon-text);
|
||||
cursor: pointer;
|
||||
transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
|
||||
.soon-activate-channel input[type="radio"] {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.soon-activate-channel.is-active {
|
||||
border-color: #1677ff;
|
||||
background: rgba(22, 119, 255, 0.1);
|
||||
box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.18);
|
||||
}
|
||||
|
||||
.soon-activate-channel.is-active::before {
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #1677ff;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user