fix(vip): 会员弹窗 DOM 结构 1:1 对齐 Zibll payvip-modal

整体结构由自实现(aksrt-panel/aksrt-vip-tab/aksrt-modal-close)迁移到
参考主题 zibpay_get_pay_modal 原生 DOM:

- 根元素 box-body payvip-modal;close 按钮改为 Zibll 原版内联 SVG
  (.close + ic-close 1024 viewBox path)
- 用户信息 list-inline user-box(avatar-img 头像 + b.em12 + badg
  c-yellow vip-expdate-tag 到期标签)
- 会员缩略卡 tab:vip-cardminis + vip-card vip-cardmini level-N
  vip-themeN + abs-center vip-baicon + v-iconbox(v-icon/v-info/
  v-name/v-desc)+ abs-right active-icon 勾选图标
- pane 改为 bootstrap 原生 tab-pane fade active in(移除冗余 hidden
  属性),tab 切换同步 active/in 双类
- 左侧信息盒 pay-vip-info:v-iconbox 图标 + v-name/v-desc + 管理员
  配置的 v-equity 权益列表 + abs-center vip-baicon 背景图标
- 套餐卡 zib-widget vip-product product-box:价格行 mark 小号 px12
  前缀 + original-price 原价 + abs-right vip-tag badg 折扣角标 +
  时长 badge;label-box charge-box 盒由 bootstrap :checked 选中态驱动
- pane 内积分兑换链接与 more 说明移至套餐区(对齐 Zibll 顺序)
- 清理 vip-modal.css 死样式(aksrt-vip-modal-panel、aksrt-vip-tab、
  aksrt-vip-level-header、aksrt-vip-product-label、vip-product/
  vip-tag/product-price 本地重复、uc-vip-shop__tip 等 -148 行),
  样式统一由 main.css 复刻的 Zibll 原版段提供
This commit is contained in:
2026-09-18 13:04:19 +08:00
parent 721fa29b8d
commit b3b21df409
2 changed files with 127 additions and 199 deletions
+3 -145
View File
@@ -2,15 +2,6 @@
* 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;
@@ -116,47 +107,6 @@
}
.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;
@@ -168,33 +118,8 @@
}
}
.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 {
.payvip-modal .v-equity {
display: block;
list-style: none;
margin: 8px 0 0;
@@ -202,91 +127,24 @@
font-size: 12px;
line-height: 1.6;
}
.payvip-modal .v-equity > li,
.aksrt-vip-modal-panel .v-equity > li {
.payvip-modal .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 {
.payvip-modal .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;