- assets/vendor 全量迁移: fontawesome5→assets/fontawesome5, css→assets/css, js→assets/js/runtime(避开 14 个同名自有文件), img 合并去重→assets/img, fonts→assets/fonts; 删除 assets/vendor - libs 五个与 widgets/third-party 字节相同的库不重复入库, loader paths 改指向 - 运行时切换: _win.uri=assets 根, loader baseUrl=/js/runtime, enlighter 注入 路径同步; PHP 7 个引用文件切换并改名 $zibll_*→$runtime_* - 去品牌: Qinver 头注释/品牌 console.log/演示链接清除, 默认文案中性化 - 功能标识符改名: zib__→aksrt__, zib_ajax→aksrt_ajax, window.zib→ window.aksrtLegacy, zibllblock/*→aksrtblock/*, .zib-widget→.aksrt-panel, .zib-slider→.aksrt-slider, zib_menu_options meta 键等 - 自有 CSS 改名: legacy-utilities/compat-vars/footer shell - admin SPA 重建; 契约测试同步(路径/断言/文件更名) - 例外保留: tests/visual 对照环境与 fixtures 前缀(外部 Zibll 产品引用) 验证: php -l 133 个改动文件通过; runtime 86 个 JS node --check 通过; 契约测试 68/70(2 个失败经 stash 对照确认为存量问题)
308 lines
7.1 KiB
CSS
308 lines
7.1 KiB
CSS
/**
|
|
* VIP pay modal + hover cards (legacy payvip-modal / vip-card).
|
|
*/
|
|
|
|
.aksrt-vip-modal-panel {
|
|
width: min(560px, 100%);
|
|
max-height: min(90vh, 760px);
|
|
overflow: auto;
|
|
background: var(--main-bg-color, #fff);
|
|
border-radius: 12px;
|
|
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
/* VIP now uses the shared modal runtime host. */
|
|
.aksrt-modal-runtime.aksrt-vip-modal-shell {
|
|
z-index: 1200;
|
|
}
|
|
|
|
.aksrt-modal-runtime.aksrt-vip-modal-shell .aksrt-modal-runtime__dialog {
|
|
width: min(560px, 100%);
|
|
max-height: min(90vh, 760px);
|
|
background: var(--main-bg-color, #fff);
|
|
border-radius: 12px;
|
|
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
|
|
}
|
|
|
|
.aksrt-modal-runtime.aksrt-vip-modal-shell .aksrt-modal-runtime__content {
|
|
padding: 0;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.aksrt-modal-runtime.aksrt-vip-modal-shell.aksrt-modal-runtime--bottom .aksrt-modal-runtime__dialog {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
max-height: calc(100vh - 20px);
|
|
border-radius: 16px 16px 0 0;
|
|
}
|
|
}
|
|
|
|
.payvip-modal {
|
|
position: relative;
|
|
padding: 18px 16px 16px;
|
|
}
|
|
|
|
.aksrt-vip-points-modal__title {
|
|
margin: 0 0 6px;
|
|
padding-right: 24px;
|
|
font-size: 20px;
|
|
}
|
|
.aksrt-vip-points-modal__desc,
|
|
.aksrt-vip-points-modal__note {
|
|
margin: 0 0 12px;
|
|
color: var(--muted-color, #777);
|
|
font-size: 13px;
|
|
line-height: 1.6;
|
|
}
|
|
.aksrt-vip-points-modal__balance {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin: 0 0 14px;
|
|
padding: 12px 14px;
|
|
border: 1px solid rgba(16, 185, 129, 0.2);
|
|
border-radius: 10px;
|
|
background: rgba(16, 185, 129, 0.08);
|
|
}
|
|
.aksrt-vip-points-modal__balance-label { color: var(--muted-color, #777); font-size: 13px; }
|
|
.aksrt-vip-points-modal__balance-value { color: #047857; font-size: 17px; }
|
|
.aksrt-vip-points-modal__packages { display: grid; gap: 9px; margin-bottom: 14px; }
|
|
.aksrt-vip-points-option { display: block; cursor: pointer; }
|
|
.aksrt-vip-points-option > input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
}
|
|
.aksrt-vip-points-option__card {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 4px 10px;
|
|
padding: 12px 13px;
|
|
border: 1px solid var(--color-line, rgba(0, 0, 0, 0.1));
|
|
border-radius: 10px;
|
|
background: var(--main-bg-color, #fff);
|
|
transition: border-color .15s ease, box-shadow .15s ease;
|
|
}
|
|
.aksrt-vip-points-option__title { font-size: 14px; }
|
|
.aksrt-vip-points-option__days { color: var(--muted-color, #777); font-size: 12px; }
|
|
.aksrt-vip-points-option__cost { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: #047857; font-size: 14px; font-weight: 700; }
|
|
.aksrt-vip-points-option > input:checked + .aksrt-vip-points-option__card {
|
|
border-color: #10b981;
|
|
box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.14);
|
|
}
|
|
.aksrt-vip-points-option > input:focus-visible + .aksrt-vip-points-option__card { outline: 3px solid rgba(16, 185, 129, 0.3); outline-offset: 2px; }
|
|
.aksrt-vip-points-option.is-disabled { cursor: not-allowed; opacity: .55; }
|
|
.aksrt-vip-points-option.is-disabled .aksrt-vip-points-option__cost { color: #b91c1c; }
|
|
.aksrt-vip-points-modal__empty { padding: 22px 12px; color: var(--muted-color, #777); text-align: center; }
|
|
.aksrt-vip-points-submit {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
color: #fff;
|
|
background: linear-gradient(90deg, #059669, #10b981);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
}
|
|
.aksrt-vip-points-submit:disabled { cursor: not-allowed; opacity: .5; }
|
|
.aksrt-vip-points-submit.is-loading { cursor: wait; opacity: .7; }
|
|
.aksrt-vip-points-modal__tip { min-height: 1.4em; margin: 9px 0 0; }
|
|
@media (max-width: 480px) {
|
|
.aksrt-vip-points-modal { padding: 16px 13px 14px; }
|
|
.aksrt-vip-points-modal__balance { align-items: flex-start; flex-direction: column; gap: 3px; }
|
|
}
|
|
|
|
|
|
.aksrt-modal-close {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 12px;
|
|
border: 0;
|
|
background: transparent;
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
color: inherit;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.vip-cardminis {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
gap: 8px;
|
|
display: flex;
|
|
}
|
|
|
|
.vip-cardminis > li {
|
|
flex: 1;
|
|
}
|
|
|
|
.vip-cardminis a.aksrt-vip-tab {
|
|
display: block;
|
|
text-align: center;
|
|
padding: 10px 8px;
|
|
border-radius: 8px;
|
|
background: var(--surface-2, rgba(0, 0, 0, 0.05));
|
|
color: inherit;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.vip-cardminis > li.active a.aksrt-vip-tab {
|
|
background: linear-gradient(90deg, #ff6b6b, #f04494);
|
|
color: #fff;
|
|
}
|
|
|
|
.pay-vip-form-row {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.pay-vip-form-row {
|
|
grid-template-columns: 1fr 1.2fr;
|
|
}
|
|
}
|
|
|
|
.aksrt-vip-level-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.aksrt-vip-level-header .aksrt-vip-level-icon {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
background: var(--surface-2, rgba(0, 0, 0, 0.04));
|
|
}
|
|
|
|
.pay-vip-info.level-1 {
|
|
background: linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(255, 152, 0, 0.08));
|
|
}
|
|
|
|
.pay-vip-info.level-2 {
|
|
background: linear-gradient(135deg, rgba(156, 39, 176, 0.12), rgba(63, 81, 181, 0.08));
|
|
}
|
|
|
|
/* Modal-only equity (admin HTML; no forced bullets) */
|
|
.payvip-modal .v-equity,
|
|
.aksrt-vip-modal-panel .v-equity {
|
|
display: block;
|
|
list-style: none;
|
|
margin: 8px 0 0;
|
|
padding: 0;
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
}
|
|
.payvip-modal .v-equity > li,
|
|
.aksrt-vip-modal-panel .v-equity > li {
|
|
display: block;
|
|
margin: 0 0 6px;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
.payvip-modal .v-equity > li::before,
|
|
.payvip-modal .v-equity > li::after,
|
|
.aksrt-vip-modal-panel .v-equity > li::before,
|
|
.aksrt-vip-modal-panel .v-equity > li::after {
|
|
content: none !important;
|
|
display: none !important;
|
|
}
|
|
|
|
.aksrt-vip-products {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.aksrt-vip-product-label {
|
|
display: block;
|
|
cursor: pointer;
|
|
margin: 0;
|
|
}
|
|
|
|
.aksrt-vip-product-label input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.vip-product {
|
|
position: relative;
|
|
padding: 12px 8px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
background: var(--main-bg-color, #fff);
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
}
|
|
|
|
.aksrt-vip-product-label input:checked + .vip-product {
|
|
border-color: #f04494;
|
|
box-shadow: 0 0 0 1px #f04494;
|
|
}
|
|
|
|
.product-price {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.vip-tag {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
font-size: 11px;
|
|
padding: 2px 6px;
|
|
border-radius: 0 10px 0 8px;
|
|
background: #ffc107;
|
|
color: #5c3b00;
|
|
}
|
|
|
|
.aksrt-vip-submit {
|
|
width: 100%;
|
|
margin-top: 8px;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
padding: 12px 16px;
|
|
background: linear-gradient(90deg, #ff6b6b, #f04494);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.aksrt-vip-submit.is-loading,
|
|
.aksrt-vip-submit:disabled {
|
|
opacity: 0.7;
|
|
cursor: wait;
|
|
}
|
|
|
|
.uc-vip-shop__tip.is-error {
|
|
color: #e74c3c;
|
|
}
|
|
|
|
.vipbg-v2 {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
color: #fff;
|
|
background: linear-gradient(90deg, #ffb347, #ff6b6b);
|
|
}
|
|
|
|
.vipbg-v2.level-2 {
|
|
background: linear-gradient(90deg, #9b59b6, #3f51b5);
|
|
}
|
|
|
|
.vip-expdate-tag {
|
|
font-size: 12px;
|
|
}
|