+
+
{{ item.name }}
-
+
来源:{{ item.source }}
数量限制:{{ item.limit }}
品质值:{{ item.quality }}
{% if item.tip %}
-
+
{{ item.tip }}
{% endif %}
-
-
-
观赏
- {{ item.view }}
+
+
+
- 观赏
+ {{ item.view }}
-
实用
- {{ item.practical }}
+
+
- 实用
+ {{ item.practical }}
-
坚固
- {{ item.hard }}
+
+
- 坚固
+ {{ item.hard }}
-
风水
- {{ item.geomantic }}
+
+
- 风水
+ {{ item.geomantic }}
-
- 趣味
- {{ item.interesting }}
+
+
趣味
+ {{ item.interesting }}
+
建筑适配:{{ item.architecture }}
{% if item.produce %}
|可制作
@@ -61,4 +62,3 @@
{% endfor %}
-
diff --git a/templates/pages/zhueevent.html b/templates/pages/zhueevent.html
index 6987907..f81bca0 100644
--- a/templates/pages/zhueevent.html
+++ b/templates/pages/zhueevent.html
@@ -1,11 +1,12 @@
{# template-title: 诛恶事件 #}
+{# template-components: data-table #}
-
+
+
-
diff --git a/templates/styles/base.css b/templates/styles/base.css
index 1f190bc..447bbc0 100644
--- a/templates/styles/base.css
+++ b/templates/styles/base.css
@@ -11,7 +11,7 @@ body {
}
body.jx3-template {
- min-width: 0;
+ min-width: calc(var(--jx3-page-width) + 94px);
padding: 20px;
color: var(--jx3-text);
font-family: var(--jx3-font);
@@ -67,8 +67,14 @@ body.jx3-template {
}
.jx3-template :where(.container, .page, .page-container),
-.jx3-template > .jx3-frame > :where(.panel, .header, .section) {
- width: min(var(--jx3-page-width), calc(100vw - 92px));
+.jx3-template > .jx3-frame > :where(
+ .panel,
+ .header,
+ .section,
+ .data-header,
+ .collection-section
+) {
+ width: var(--jx3-page-width);
max-width: none;
margin-right: auto;
margin-left: auto;
@@ -102,25 +108,3 @@ body.jx3-template {
.jx3-template img {
max-width: 100%;
}
-
-@media (max-width: 760px) {
- body.jx3-template {
- padding: 10px;
- font-size: 14px;
- }
-
- .jx3-frame {
- min-height: calc(100vh - 20px);
- padding: 16px;
- }
-
- .jx3-template :where(.container, .page, .page-container),
- .jx3-template > .jx3-frame > :where(.panel, .header, .section) {
- width: 100%;
- }
-
- .jx3-template h1 {
- margin-bottom: 16px;
- font-size: 26px;
- }
-}
diff --git a/templates/styles/components.css b/templates/styles/components.css
index 44a4f7b..bc8a273 100644
--- a/templates/styles/components.css
+++ b/templates/styles/components.css
@@ -242,25 +242,534 @@
font-variant-numeric: tabular-nums;
}
-@media (max-width: 760px) {
- .jx3-template :where(.header, .page-header, .top-info, .info-bar) {
- padding: 16px;
- }
-
- .jx3-template :where(th, td) {
- padding: 8px 4px;
- font-size: 11px;
- white-space: normal !important;
- word-break: break-word;
- }
-
- .jx3-template table {
- min-width: 0 !important;
- table-layout: auto !important;
- }
-
- .jx3-template :where(.avatar, .force-icon, .school-icon) {
- width: 28px;
- height: 28px;
- }
+.jx3-template .data-page__meta {
+ margin-bottom: var(--jx3-space-6);
+ color: var(--jx3-text-muted);
+ font-size: 16px;
+ text-align: center;
}
+
+/* @component data-table */
+/* 标准数据页:列数和内容由 HTML 决定,视觉规则由所有查询页共用 */
+.jx3-template .data-table {
+ text-align: left;
+}
+
+.jx3-template .data-table--spaced {
+ margin-top: 10px;
+}
+
+.jx3-template .data-table--center {
+ text-align: center;
+}
+
+.jx3-template .data-table :where(th, td) {
+ vertical-align: middle;
+}
+
+.jx3-template .data-table--nowrap :where(th, td),
+.jx3-template .data-cell--nowrap {
+ white-space: nowrap;
+}
+
+.jx3-template .data-cell--center {
+ text-align: center;
+}
+
+.jx3-template .data-cell--wrap {
+ word-break: break-word;
+}
+
+.jx3-template .data-cell--strong,
+.jx3-template .data-cell--name {
+ color: var(--jx3-text);
+ font-weight: 700;
+}
+
+.jx3-template .data-cell--muted {
+ color: var(--jx3-text-muted);
+}
+
+.jx3-template .data-cell--numeric {
+ font-variant-numeric: tabular-nums;
+}
+
+.jx3-template .data-cell--accent,
+.jx3-template .data-cell--score {
+ color: var(--jx3-gold-bright);
+ font-weight: 800;
+}
+
+.jx3-template .data-cell--rank {
+ width: 56px;
+ color: var(--jx3-gold-bright);
+ font-weight: 800;
+ text-align: center;
+ white-space: nowrap;
+}
+
+.jx3-template .data-cell--score {
+ text-align: center;
+ white-space: nowrap;
+ font-variant-numeric: tabular-nums;
+}
+
+.jx3-template .data-cell--time {
+ min-width: 150px;
+ color: var(--jx3-text-muted);
+ text-align: center;
+ white-space: nowrap;
+ font-variant-numeric: tabular-nums;
+}
+
+.jx3-template .data-cell--copy {
+ max-width: 360px;
+ color: var(--jx3-text-secondary);
+ font-weight: 600;
+ line-height: 1.5;
+ word-break: break-word;
+}
+
+.jx3-template .data-cell--copy.data-cell--name {
+ color: var(--jx3-text);
+ font-weight: 700;
+}
+
+.jx3-template .data-cell--time.data-cell--accent {
+ color: var(--jx3-gold-bright);
+}
+
+.jx3-template .data-cell--compact {
+ width: 90px;
+}
+
+.jx3-template .data-cell--medium {
+ min-width: 120px;
+}
+
+.jx3-template .data-cell--wide {
+ min-width: 150px;
+}
+
+.jx3-template .data-cell--xwide {
+ min-width: 220px;
+}
+
+.jx3-template .data-cell--max-wide {
+ max-width: 260px;
+}
+
+.jx3-template .data-avatar {
+ display: block;
+ width: 40px;
+ height: 40px;
+ margin: 0 auto;
+ border-radius: 50%;
+ object-fit: cover;
+}
+
+.jx3-template .data-cell--rank.rank-1 {
+ color: var(--jx3-gold-bright);
+}
+
+.jx3-template .data-cell--rank.rank-2 {
+ color: #c8d2dc;
+}
+
+.jx3-template .data-cell--rank.rank-3 {
+ color: #c88a62;
+}
+
+.jx3-template .icon-label {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ min-width: 0;
+ color: var(--jx3-text);
+ font-weight: 700;
+ white-space: nowrap;
+}
+
+.jx3-template .icon-label__icon {
+ width: 32px;
+ height: 32px;
+ border: 1px solid var(--jx3-border-soft);
+ border-radius: 50%;
+ object-fit: contain;
+ flex: 0 0 auto;
+ background: rgba(7, 26, 43, 0.6);
+}
+
+.jx3-template .data-table tr.camp-haoqi {
+ color: var(--jx3-blue);
+}
+
+.jx3-template .data-table tr.camp-eren {
+ color: var(--jx3-red);
+}
+
+.jx3-template .data-table--camp-tinted tr.camp-haoqi {
+ background: rgba(114, 169, 213, 0.1);
+}
+
+.jx3-template .data-table--camp-tinted tr.camp-eren {
+ background: rgba(213, 106, 99, 0.1);
+}
+
+.jx3-template .data-table--camp-tinted tr.camp-haoqi .data-cell--name,
+.jx3-template .data-table tr.camp-haoqi .data-cell--camp {
+ color: var(--jx3-blue);
+}
+
+.jx3-template .data-table--camp-tinted tr.camp-eren .data-cell--name,
+.jx3-template .data-table tr.camp-eren .data-cell--camp {
+ color: var(--jx3-red);
+}
+/* @endcomponent */
+
+/* @component data-layout */
+/* 通用分区、统计卡片与可配置列数的卡片网格 */
+.jx3-template .data-section,
+.jx3-template .collection-section {
+ margin-bottom: var(--jx3-space-6);
+}
+
+.jx3-template .data-section__title,
+.jx3-template .collection-heading {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ margin: 0 0 var(--jx3-space-3);
+ color: var(--jx3-gold-bright);
+ font-size: 24px;
+ line-height: 1.3;
+ font-weight: 800;
+}
+
+.jx3-template .data-section__title::before,
+.jx3-template .collection-heading::before {
+ width: 5px;
+ height: 30px;
+ border-radius: 3px;
+ background: var(--jx3-gold);
+ content: "";
+ flex: 0 0 auto;
+}
+
+.jx3-template .card-grid {
+ display: grid;
+ grid-template-columns: repeat(var(--grid-columns, 3), minmax(0, 1fr));
+ gap: var(--grid-gap, 16px);
+}
+
+.jx3-template .stat-grid {
+ display: grid;
+ grid-template-columns: repeat(var(--grid-columns, 3), minmax(0, 1fr));
+ gap: 14px;
+ margin-bottom: 22px;
+}
+
+.jx3-template .stat-card {
+ padding: 18px 14px;
+ border: 1px solid var(--jx3-border-faint);
+ border-radius: var(--jx3-radius-md);
+ background: rgba(13, 41, 66, 0.82);
+ text-align: center;
+ box-shadow: var(--jx3-shadow-sm);
+}
+
+.jx3-template .stat-card__label {
+ margin-bottom: var(--jx3-space-2);
+ color: var(--jx3-text-muted);
+ font-size: 16px;
+}
+
+.jx3-template .stat-card__value {
+ color: var(--jx3-gold-bright);
+ font-size: 30px;
+ line-height: 1;
+ font-weight: 800;
+ font-variant-numeric: tabular-nums;
+}
+/* @endcomponent */
+
+/* @component ability-card */
+/* 技能与奇穴共用同一套能力卡片 */
+.jx3-template .ability-card {
+ display: grid;
+ grid-template-columns: 54px minmax(0, 1fr);
+ gap: 12px;
+ padding: 14px;
+ border: 1px solid var(--jx3-border-faint);
+ border-radius: var(--jx3-radius-md);
+ background: rgba(13, 41, 66, 0.82);
+ box-shadow: var(--jx3-shadow-sm);
+}
+
+.jx3-template .ability-card__icon {
+ width: 48px;
+ height: 48px;
+ border: 1px solid var(--jx3-border-soft);
+ border-radius: 8px;
+ object-fit: cover;
+ background: rgba(7, 26, 43, 0.6);
+}
+
+.jx3-template .ability-card__head {
+ display: flex;
+ align-items: center;
+ flex-wrap: wrap;
+ gap: 8px;
+ margin-bottom: 8px;
+}
+
+.jx3-template .ability-card__name {
+ color: var(--jx3-text);
+ font-size: 18px;
+ line-height: 1.25;
+ font-weight: 800;
+}
+
+.jx3-template .ability-card__tag {
+ padding: 2px 8px;
+ border: 1px solid var(--jx3-border-soft);
+ border-radius: 999px;
+ color: var(--jx3-gold-bright);
+ background: rgba(225, 183, 102, 0.1);
+ font-size: 13px;
+ white-space: nowrap;
+}
+
+.jx3-template .ability-card__tag--accent {
+ color: var(--jx3-bg-deep);
+ background: var(--jx3-gold);
+ font-weight: 700;
+}
+
+.jx3-template .ability-card__desc {
+ color: var(--jx3-text-secondary);
+ font-size: 15px;
+ line-height: 1.55;
+ word-break: break-word;
+}
+/* @endcomponent */
+
+/* @component collection-card */
+/* 奇遇与区服状态共用卡片网格 */
+.jx3-template .collection-section {
+ margin-bottom: var(--jx3-space-8);
+}
+
+.jx3-template .collection-heading {
+ margin-bottom: var(--jx3-space-4);
+ font-size: 32px;
+}
+
+.jx3-template .collection-card {
+ display: flex;
+ min-height: 90px;
+ padding: 16px 12px;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ border: 1px solid var(--jx3-border-faint);
+ border-radius: var(--jx3-radius-md);
+ background: rgba(13, 41, 66, 0.82);
+ text-align: center;
+ box-shadow: var(--jx3-shadow-sm);
+}
+
+.jx3-template .collection-card__image {
+ width: 100%;
+ max-width: 180px;
+ height: auto;
+ margin-bottom: 6px;
+ object-fit: contain;
+}
+
+.jx3-template .collection-card__name {
+ margin-bottom: 4px;
+ color: var(--jx3-text);
+ font-size: 22px;
+ font-weight: 600;
+}
+
+.jx3-template .collection-card__meta {
+ color: var(--jx3-text-muted);
+ font-size: 20px;
+}
+
+.jx3-template .collection-empty {
+ padding: 18px;
+ border: 1px solid var(--jx3-border-faint);
+ border-radius: var(--jx3-radius-md);
+ color: var(--jx3-text-muted);
+ background: rgba(13, 41, 66, 0.82);
+}
+
+.jx3-template .data-header {
+ margin-bottom: var(--jx3-space-6);
+}
+
+.jx3-template .data-header__title {
+ margin-bottom: var(--jx3-space-2);
+ color: var(--jx3-text);
+ font-size: 34px;
+ font-weight: 800;
+}
+
+.jx3-template .data-header__meta {
+ color: var(--jx3-text-muted);
+ font-size: 20px;
+}
+
+.jx3-template .server-status-card {
+ padding: 30px 12px;
+ border-radius: var(--jx3-radius-md);
+ color: #fff;
+ font-size: 28px;
+ font-weight: 600;
+ text-align: center;
+}
+
+.jx3-template .server-status-card.爆满 {
+ background: #b94f4b;
+}
+
+.jx3-template .server-status-card.拥挤 {
+ color: #2c2106;
+ background: #d4a64e;
+}
+
+.jx3-template .server-status-card:is(.正常, .顺畅) {
+ background: #438d65;
+}
+
+.jx3-template .server-status-card.维护 {
+ color: #253443;
+ background: #9eaebb;
+}
+/* @endcomponent */
+
+/* @component object-card */
+/* 器物与家园装饰共用详情卡片 */
+.jx3-template .object-card {
+ display: flex;
+ margin-bottom: var(--jx3-space-6);
+ overflow: hidden;
+ border: 1px solid var(--jx3-border-faint);
+ border-radius: var(--jx3-radius-lg);
+ background: rgba(13, 41, 66, 0.9);
+ box-shadow: var(--jx3-shadow-sm);
+}
+
+.jx3-template .object-card__image {
+ width: 220px;
+ height: 220px;
+ padding: 16px;
+ object-fit: contain;
+ background: rgba(7, 26, 43, 0.72);
+}
+
+.jx3-template .object-card__content {
+ min-width: 0;
+ padding: 20px 24px;
+ flex: 1;
+}
+
+.jx3-template .object-card__title {
+ margin-bottom: 6px;
+ font-size: 26px;
+ font-weight: 800;
+}
+
+.jx3-template :where(.quality-1) { color: var(--jx3-text-muted); }
+.jx3-template :where(.quality-2) { color: var(--jx3-green); }
+.jx3-template :where(.quality-3) { color: var(--jx3-blue); }
+.jx3-template :where(.quality-4) { color: var(--jx3-purple); }
+.jx3-template :where(.quality-5) { color: #e6a25f; }
+
+.jx3-template .object-card__meta {
+ margin-bottom: 14px;
+ color: var(--jx3-text-muted);
+ font-size: 15px;
+}
+
+.jx3-template .object-card__meta span {
+ margin-right: 18px;
+}
+
+.jx3-template .object-card__tip {
+ margin-bottom: 16px;
+ padding: 10px 14px;
+ border-left: 4px solid var(--jx3-gold);
+ color: var(--jx3-text-secondary);
+ background: rgba(114, 169, 213, 0.08);
+ font-size: 14px;
+}
+
+.jx3-template .object-stats {
+ display: grid;
+ grid-template-columns: repeat(var(--grid-columns, 5), minmax(0, 1fr));
+ gap: 12px;
+}
+
+.jx3-template .object-stat {
+ padding: 10px;
+ border: 1px solid var(--jx3-border-faint);
+ border-radius: var(--jx3-radius-md);
+ background: rgba(7, 26, 43, 0.58);
+ text-align: center;
+}
+
+.jx3-template .object-stat__label {
+ margin-bottom: 6px;
+ color: var(--jx3-text-muted);
+ font-size: 13px;
+}
+
+.jx3-template .object-stat__value {
+ color: var(--jx3-text);
+ font-size: 18px;
+ font-weight: 700;
+}
+
+.jx3-template .object-card__footer {
+ margin-top: 12px;
+ color: var(--jx3-text-muted);
+ font-size: 14px;
+}
+/* @endcomponent */
+
+/* @component data-extras */
+.jx3-template .data-subtitle {
+ margin: 40px 0 12px;
+ color: var(--jx3-gold-bright);
+ font-size: 26px;
+ font-weight: 700;
+}
+
+.jx3-template .data-subtitle + .data-table {
+ margin-bottom: var(--jx3-space-5);
+}
+
+.jx3-template .data-note {
+ color: var(--jx3-text-secondary);
+ font-weight: 600;
+}
+
+.jx3-template .data-price {
+ color: var(--jx3-gold-bright);
+ font-weight: 700;
+}
+
+.jx3-template .text-purple {
+ color: var(--jx3-purple);
+ font-weight: 600;
+}
+
+.jx3-template .text-blue {
+ color: var(--jx3-blue);
+ font-weight: 600;
+}
+/* @endcomponent */
diff --git a/templates/styles/pages/baizhan.css b/templates/styles/pages/baizhan.css
index 3c581b3..3810e3f 100644
--- a/templates/styles/pages/baizhan.css
+++ b/templates/styles/pages/baizhan.css
@@ -13,7 +13,7 @@
.time {
font-size: 18px;
font-weight: 600;
- color: #333;
+ color: var(--jx3-text-secondary);
}
.boss-final {
@@ -48,7 +48,7 @@
.index {
font-weight: bold;
font-size: 18px;
- color: #333;
+ color: var(--jx3-text);
margin-bottom: 4px;
}
@@ -60,7 +60,7 @@
}
.buff {
- color: #0984e3;
+ color: var(--jx3-blue);
font-size: 14px;
line-height: 1.5em;
word-break: break-word;
diff --git a/templates/styles/pages/bangzhanjilu.css b/templates/styles/pages/bangzhanjilu.css
deleted file mode 100644
index 41aad75..0000000
--- a/templates/styles/pages/bangzhanjilu.css
+++ /dev/null
@@ -1,44 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .zone-col,
- .server-col {
- width: 90px;
- text-align: center;
- white-space: nowrap;
- font-weight: 700;
- }
-
- .tong-col {
- min-width: 150px;
- max-width: 220px;
- color: #333;
- font-weight: 700;
- word-break: break-word;
- line-height: 1.45;
- }
-
- .time-col {
- min-width: 148px;
- color: #60657a;
- text-align: center;
- white-space: nowrap;
- font-variant-numeric: tabular-nums;
- }
-
- .duration-col {
- width: 120px;
- color: #d93939;
- text-align: center;
- white-space: nowrap;
- font-weight: 800;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/bilei.css b/templates/styles/pages/bilei.css
deleted file mode 100644
index 8df31c0..0000000
--- a/templates/styles/pages/bilei.css
+++ /dev/null
@@ -1,12 +0,0 @@
-table {
- margin-top: 10px;
- text-align: left; /* 不影响表格内容 */
- }
-
- .text-col {
- max-width: 360px;
- line-height: 1.5em;
- word-break: break-word;
- font-weight: 600;
- color: #333;
- }
diff --git a/templates/styles/pages/chengbeng.css b/templates/styles/pages/chengbeng.css
index 16bd373..22a2af5 100644
--- a/templates/styles/pages/chengbeng.css
+++ b/templates/styles/pages/chengbeng.css
@@ -135,7 +135,7 @@
position: relative;
margin-bottom: 9px;
padding-left: 22px;
- color: #555;
+ color: var(--jx3-text-secondary);
font-size: 19px;
line-height: 1.8;
}
@@ -314,11 +314,11 @@
}
.money-silver {
- color: #697581;
+ color: var(--jx3-text-secondary);
}
.money-copper {
- color: #b5673b;
+ color: #e6a25f;
}
.raw-price {
@@ -603,136 +603,3 @@
color: #888;
font-size: 20px;
}
-
- /* ==============================
- 响应式
- ============================== */
-
- @media (max-width: 1100px) {
- .main-card-top {
- grid-template-columns: 180px minmax(0, 1fr);
- }
-
- .main-icon {
- width: 165px;
- height: 165px;
- }
-
- .stat-grid {
- grid-template-columns: repeat(3, minmax(120px, 1fr));
- }
-
- .summary-section {
- grid-template-columns: 1fr;
- }
-
- .material-grid {
- grid-template-columns: 1fr;
- }
- }
-
- @media (max-width: 760px) {
- body {
- padding: 12px;
- font-size: 17px;
- }
-
- .page-title {
- font-size: 31px;
- }
-
- .page-subtitle {
- font-size: 17px;
- }
-
- .main-card-top {
- grid-template-columns: 1fr;
- padding: 22px 17px;
- }
-
- .main-icon-wrapper {
- justify-content: flex-start;
- }
-
- .main-icon {
- width: 135px;
- height: 135px;
- }
-
- .main-name {
- font-size: 29px;
- }
-
- .tip-list li {
- font-size: 17px;
- }
-
- .stat-grid {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- }
-
- .stat-value {
- font-size: 19px;
- }
-
- .summary-panel {
- padding: 22px 17px;
- }
-
- .summary-title {
- font-size: 22px;
- }
-
- .price-grid {
- grid-template-columns: 1fr;
- }
-
- .section-header {
- align-items: flex-start;
- flex-direction: column;
- gap: 7px;
- }
-
- .section-title {
- font-size: 27px;
- }
-
- .section-desc {
- font-size: 16px;
- }
-
- .material-card-header {
- grid-template-columns: 78px minmax(0, 1fr);
- padding: 18px;
- }
-
- .material-icon {
- width: 78px;
- height: 78px;
- }
-
- .material-name {
- font-size: 22px;
- }
-
- .material-quantity {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- min-width: 0;
- text-align: left;
- }
-
- .quantity-value {
- font-size: 24px;
- }
-
- .material-price-grid {
- grid-template-columns: 1fr;
- }
-
- .store-price-box {
- grid-template-columns: 1fr;
- }
- }
diff --git a/templates/styles/pages/chengjiu.css b/templates/styles/pages/chengjiu.css
index dfa424e..d9b5293 100644
--- a/templates/styles/pages/chengjiu.css
+++ b/templates/styles/pages/chengjiu.css
@@ -212,7 +212,7 @@
}
.not-favorite {
- color: #707b9d;
+ color: var(--jx3-text-muted);
}
.description {
@@ -266,40 +266,3 @@
text-align: center;
font-size: 16px;
}
-
- @media (max-width: 850px) {
- body {
- padding: 20px;
- }
-
- .achievement-list {
- grid-template-columns: 1fr;
- }
-
- .role-name {
- font-size: 29px;
- }
- }
-
- @media (max-width: 520px) {
- body {
- padding: 14px;
- }
-
- .page-header {
- padding: 23px 20px;
- }
-
- .achievement-card {
- padding: 18px;
- }
-
- .card-header {
- flex-direction: column;
- }
-
- .status-area {
- flex-direction: row;
- align-items: center;
- }
- }
diff --git a/templates/styles/pages/diaoluo.css b/templates/styles/pages/diaoluo.css
deleted file mode 100644
index 44bc528..0000000
--- a/templates/styles/pages/diaoluo.css
+++ /dev/null
@@ -1,46 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .item-col {
- min-width: 120px;
- color: #d93939;
- font-weight: 800;
- white-space: nowrap;
- }
-
- .server-col {
- min-width: 90px;
- text-align: center;
- white-space: nowrap;
- }
-
- .map-col {
- max-width: 260px;
- color: #333;
- word-break: break-word;
- line-height: 1.45;
- }
-
- .role-col {
- max-width: 260px;
- color: #333;
- font-weight: 700;
- word-break: break-word;
- line-height: 1.45;
- }
-
- .time-col {
- min-width: 150px;
- color: #60657a;
- text-align: center;
- white-space: nowrap;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/dilujilu.css b/templates/styles/pages/dilujilu.css
deleted file mode 100644
index c28ade6..0000000
--- a/templates/styles/pages/dilujilu.css
+++ /dev/null
@@ -1,21 +0,0 @@
-table {
- margin-top: 10px;
- text-align: left;
- }
-
- .text-col {
- max-width: 360px;
- line-height: 1.5em;
- word-break: break-word;
- font-weight: 600;
- color: #333;
- }
-
- /* ===== 阵营整行着色 ===== */
- tr.camp-haoqi {
- color: #1e6bd6; /* 浩气盟 */
- }
-
- tr.camp-eren {
- color: #d93939; /* 恶人谷 */
- }
diff --git a/templates/styles/pages/fubenjilu.css b/templates/styles/pages/fubenjilu.css
index b3aba07..c18326d 100644
--- a/templates/styles/pages/fubenjilu.css
+++ b/templates/styles/pages/fubenjilu.css
@@ -11,7 +11,7 @@
gap: 24px;
margin-bottom: 20px;
font-size: 14px;
- color: #666;
+ color: var(--jx3-text-secondary);
}
.legend-item {
@@ -27,11 +27,11 @@
}
.legend-color.finished {
- background: #c9cdd3;
+ background: #60788f;
}
.legend-color.unfinished {
- background: #2dbd78;
+ background: var(--jx3-green);
}table {
table-layout: fixed;
margin-top: 10px;
@@ -51,7 +51,7 @@
}
.map-name {
- color: #252a34;
+ color: var(--jx3-text);
font-size: 18px;
font-weight: 700;
line-height: 1.5;
@@ -59,7 +59,7 @@
.map-progress {
margin-top: 7px;
- color: #8a909c;
+ color: var(--jx3-text-muted);
font-size: 13px;
font-weight: 500;
}
@@ -92,9 +92,9 @@
* 奖励已经获取,显示灰色
*/
.boss-item.finished {
- color: #747b85;
- background: #e1e4e8;
- border: 1px solid #d1d5db;
+ color: #d5e0e9;
+ background: #24384b;
+ border: 1px solid #60788f;
}
.boss-item.finished:hover {
@@ -106,9 +106,9 @@
* 奖励尚未获取,显示绿色
*/
.boss-item.unfinished {
- color: white;
- background: #2dbd78;
- border: 1px solid #24a96a;
+ color: #c8f3dc;
+ background: #183f34;
+ border: 1px solid #438d68;
}
.boss-item.unfinished:hover {
@@ -155,91 +155,21 @@
}
.boss-item.finished .status-icon {
- color: #777e88;
- background: rgba(255, 255, 255, 0.75);
+ color: #e7eef4;
+ background: rgba(192, 211, 226, 0.16);
}
.boss-item.unfinished .status-icon {
- color: #22a566;
- background: white;
+ color: #d7f8e6;
+ background: rgba(98, 188, 146, 0.18);
}
.empty-data {
padding: 50px 20px;
- color: #8a909c;
+ color: var(--jx3-text-muted);
text-align: center;
- background: white;
+ background: rgba(13, 41, 66, 0.82);
+ border: 1px solid var(--jx3-border-faint);
border-radius: 12px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
-
- @media (max-width: 800px) {
- body {
- padding: 12px;
- }
-
- h1 {
- font-size: 26px;
- }
-
- table,
- thead,
- tbody,
- tr,
- th,
- td {
- display: block;
- }
-
- thead {
- display: none;
- }
-
- table {
- background: transparent;
- box-shadow: none;
- }
-
- tbody tr {
- margin-bottom: 14px;
- overflow: hidden;
- background: white;
- border-radius: 12px;
- box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
- }
-
- th:first-child,
- td:first-child {
- width: 100%;
- }
-
- td {
- border-bottom: none;
- }
-
- .map-info {
- padding: 17px;
- background: #fafbfc;
- border-bottom: 1px solid #eee;
- }
-
- .boss-list {
- padding: 2px;
- }
-
- .boss-item {
- max-width: none;
- }
- }
-
- @media (max-width: 500px) {
- .legend {
- gap: 14px;
- font-size: 13px;
- }
-
- .boss-item {
- flex-basis: 100%;
- max-width: 100%;
- }
- }
diff --git a/templates/styles/pages/guanaishouling.css b/templates/styles/pages/guanaishouling.css
deleted file mode 100644
index 26543eb..0000000
--- a/templates/styles/pages/guanaishouling.css
+++ /dev/null
@@ -1,78 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }
-
- .section {
- margin-bottom: 24px;
- }
-
- .section-title {
- display: flex;
- align-items: center;
- gap: 10px;
- margin: 0 0 12px 0;
- color: #222;
- font-size: 22px;
- font-weight: 800;
- }
-
- .section-title::before {
- content: "";
- display: block;
- width: 5px;
- height: 28px;
- background: #d93939;
- border-radius: 3px;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- tbody tr.camp-eren {
- color: #b91c1c;
- }
-
- tbody tr.camp-haoqi {
- color: #1d4ed8;
- }
-
- .camp-col,
- .status-col {
- width: 90px;
- text-align: center;
- white-space: nowrap;
- font-weight: 800;
- }
-
- .castle-col {
- min-width: 120px;
- font-weight: 800;
- color: #333;
- white-space: nowrap;
- }
-
- tr.camp-eren .castle-col {
- color: #b91c1c;
- }
-
- tr.camp-haoqi .castle-col {
- color: #1d4ed8;
- }
-
- .time-col,
- .remain-col {
- min-width: 150px;
- color: #60657a;
- text-align: center;
- white-space: nowrap;
- font-variant-numeric: tabular-nums;
- }
-
- .remain-col {
- color: #d93939;
- font-weight: 800;
- }
diff --git a/templates/styles/pages/helps.css b/templates/styles/pages/helps.css
index e0a7e6f..5fd7b99 100644
--- a/templates/styles/pages/helps.css
+++ b/templates/styles/pages/helps.css
@@ -170,69 +170,3 @@
.help-footer strong {
color: #e6d4a4;
}
-
-@media (max-width: 1180px) {
- .section-grid {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- }
-
- .section.span-3 {
- grid-column: 1 / -1;
- }
-
- .section.span-2 {
- grid-column: span 2;
- }
-
- .ranking-list {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- }
-
- .push-section .section-body {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- }
-}
-
-@media (max-width: 760px) {
- .help-page {
- padding: 13px;
- border-radius: 14px;
- }
-
- .help-header {
- align-items: flex-start;
- flex-direction: column;
- gap: 10px;
- }
-
- .top-name {
- font-size: 20px;
- }
-
- .top-desc {
- text-align: left;
- }
-
- .section-grid {
- grid-template-columns: 1fr;
- }
-
- .section.span-2,
- .section.span-3 {
- grid-column: span 1;
- }
-
- .span-2 .section-body,
- .push-section .section-body {
- grid-template-columns: 1fr;
- }
-
- .feature,
- .ranking-feature {
- grid-template-columns: 78px minmax(0, 1fr);
- }
-
- .ranking-list {
- grid-template-columns: 1fr;
- }
-}
diff --git a/templates/styles/pages/huajia.css b/templates/styles/pages/huajia.css
deleted file mode 100644
index 0ae9ec2..0000000
--- a/templates/styles/pages/huajia.css
+++ /dev/null
@@ -1,26 +0,0 @@
-h2 {
- margin-top: 40px;
- margin-bottom: 12px;
- color: #d93939;
- font-size: 26px;
- font-weight: 700;
- }table {
- margin-bottom: 20px;
- }th, td {
- text-align: left;
- }
-
- .lines {
- color: #555;
- font-weight: 600;
- }
-
- .price {
- color: #1e6bd6;
- font-weight: 700;
- }
-
- .empty {
- color: #999;
- font-style: italic;
- }
diff --git a/templates/styles/pages/jiaoyihang.css b/templates/styles/pages/jiaoyihang.css
index 65524d0..55b1fd9 100644
--- a/templates/styles/pages/jiaoyihang.css
+++ b/templates/styles/pages/jiaoyihang.css
@@ -1,6 +1,7 @@
-.header {
- background: #ffffff;
- border: 1px solid #e6e8ee;
+ .header {
+ color: var(--jx3-text);
+ background: linear-gradient(180deg, rgba(17, 52, 81, 0.96), rgba(9, 35, 57, 0.96));
+ border: 1px solid var(--jx3-border-soft);
border-radius: 8px;
padding: 22px 26px;
margin-bottom: 16px;
@@ -12,12 +13,12 @@
gap: 18px;
margin-top: 10px;
font-size: 15px;
- color: #667085;
+ color: var(--jx3-text-muted);
}
.table-wrapper {
- background: #ffffff;
- border: 1px solid #e6e8ee;
+ background: rgba(7, 26, 43, 0.76);
+ border: 1px solid var(--jx3-border-soft);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 6px 18px rgba(35, 38, 47, 0.06);
@@ -44,7 +45,7 @@
td {
padding: 14px 16px;
- border-bottom: 1px solid #edf0f5;
+ border-bottom: 1px solid var(--jx3-border-faint);
font-size: 15px;
vertical-align: middle;
}
@@ -61,7 +62,7 @@
height: 34px;
border-radius: 6px;
flex: 0 0 auto;
- background: #edf0f5;
+ background: rgba(7, 26, 43, 0.6);
}
.item-name {
@@ -69,7 +70,7 @@
text-overflow: ellipsis;
white-space: nowrap;
font-weight: 700;
- color: #20232a;
+ color: var(--jx3-text);
}
.price {
@@ -79,7 +80,7 @@
gap: 4px;
white-space: nowrap;
font-weight: 700;
- color: #2f343d;
+ color: var(--jx3-gold-bright);
}
.money-part {
@@ -97,11 +98,11 @@
.sample {
font-weight: 700;
- color: #2f343d;
+ color: var(--jx3-text-secondary);
}
.time {
- color: #667085;
+ color: var(--jx3-text-muted);
font-size: 14px;
white-space: nowrap;
}
diff --git a/templates/styles/pages/jineng.css b/templates/styles/pages/jineng.css
deleted file mode 100644
index 5c4f999..0000000
--- a/templates/styles/pages/jineng.css
+++ /dev/null
@@ -1,84 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }
-
- .section {
- margin-bottom: 24px;
- }
-
- .section-title {
- display: flex;
- align-items: center;
- gap: 10px;
- margin: 0 0 12px 0;
- color: #222;
- font-size: 24px;
- font-weight: 800;
- }
-
- .section-title::before {
- content: "";
- display: block;
- width: 5px;
- height: 30px;
- background: #2f74d0;
- border-radius: 3px;
- }
-
- .cards {
- display: grid;
- grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 14px;
- }
-
- .card {
- display: grid;
- grid-template-columns: 54px minmax(0, 1fr);
- gap: 12px;
- background: white;
- border-radius: 12px;
- padding: 14px;
- box-shadow: 0 4px 16px rgba(0,0,0,0.08);
- }
-
- .icon {
- width: 48px;
- height: 48px;
- border-radius: 8px;
- object-fit: cover;
- background: #f1f2f6;
- }
-
- .head {
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- gap: 8px;
- margin-bottom: 8px;
- }
-
- .name {
- color: #222;
- font-size: 18px;
- font-weight: 800;
- line-height: 1.25;
- }
-
- .tag {
- color: #5d6680;
- background: #eef2f8;
- border-radius: 999px;
- padding: 2px 8px;
- font-size: 13px;
- white-space: nowrap;
- }
-
- .desc {
- color: #333;
- font-size: 15px;
- line-height: 1.55;
- word-break: break-word;
- }
diff --git a/templates/styles/pages/jingnai.css b/templates/styles/pages/jingnai.css
deleted file mode 100644
index 71e3d53..0000000
--- a/templates/styles/pages/jingnai.css
+++ /dev/null
@@ -1,66 +0,0 @@
-.meta {
- margin-bottom: 22px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }
-
- .summary {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 14px;
- margin-bottom: 22px;
- }
-
- .stat {
- background: white;
- border-radius: 12px;
- padding: 18px 14px;
- text-align: center;
- box-shadow: 0 4px 16px rgba(0,0,0,0.08);
- }
-
- .label {
- color: #7a7f99;
- font-size: 16px;
- margin-bottom: 8px;
- }
-
- .value {
- color: #d93939;
- font-size: 30px;
- line-height: 1;
- font-weight: 800;
- font-variant-numeric: tabular-nums;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .skill-col {
- width: 34%;
- font-weight: 800;
- color: #333;
- word-break: break-word;
- line-height: 1.45;
- }
-
- .leader-col {
- width: 30%;
- color: #333;
- word-break: break-word;
- line-height: 1.45;
- }
-
- .color-col,
- .level-col {
- text-align: center;
- white-space: nowrap;
- font-weight: 700;
- }
-
- .level-col {
- color: #d93939;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/jinjia.css b/templates/styles/pages/jinjia.css
deleted file mode 100644
index 8df31c0..0000000
--- a/templates/styles/pages/jinjia.css
+++ /dev/null
@@ -1,12 +0,0 @@
-table {
- margin-top: 10px;
- text-align: left; /* 不影响表格内容 */
- }
-
- .text-col {
- max-width: 360px;
- line-height: 1.5em;
- word-break: break-word;
- font-weight: 600;
- color: #333;
- }
diff --git a/templates/styles/pages/jinqiqiyu.css b/templates/styles/pages/jinqiqiyu.css
deleted file mode 100644
index 59ca324..0000000
--- a/templates/styles/pages/jinqiqiyu.css
+++ /dev/null
@@ -1,24 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- white-space: nowrap;
- }
-
- .event-col {
- font-weight: 700;
- color: #333;
- }
-
- .role-col {
- color: #333;
- }
-
- .time-col {
- color: #60657a;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/juesheliaotian.css b/templates/styles/pages/juesheliaotian.css
index 20afbcb..eda6e8f 100644
--- a/templates/styles/pages/juesheliaotian.css
+++ b/templates/styles/pages/juesheliaotian.css
@@ -20,7 +20,7 @@
/* 角色列 */
.role-col {
width: 16%;
- color: #333333;
+ color: var(--jx3-text);
font-weight: 700;
text-align: center;
word-break: break-word;
@@ -35,7 +35,7 @@
/* 消息列 */
.message-col {
width: 56%;
- color: #333333;
+ color: var(--jx3-text-secondary);
font-weight: 600;
line-height: 1.65;
word-break: break-word;
diff --git a/templates/styles/pages/juesheqiyu.css b/templates/styles/pages/juesheqiyu.css
deleted file mode 100644
index b705b4e..0000000
--- a/templates/styles/pages/juesheqiyu.css
+++ /dev/null
@@ -1,57 +0,0 @@
-.section {
- margin-bottom: 32px;
- }
-
- .section-title {
- font-size: 36px;
- font-weight: bold;
- margin-bottom: 16px;
- border-left: 4px solid #4f7cff;
- padding-left: 10px;
- color: #1f2a44;
- }
-
- .card-container {
- display: grid;
- grid-template-columns: repeat(4, 1fr);
- gap: 16px;
- }
-
- .card {
- background: #ffffff;
- border-radius: 8px;
- padding: 16px 12px;
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- text-align: center;
- min-height: 90px;
- }
-
- .card img {
- width: 100%;
- max-width: 180px;
- height: auto; /* 自动保持比例 */
- object-fit: contain;
- margin-bottom: 6px;
- }
-
- .event-name {
- font-size: 22px;
- font-weight: 600;
- margin-bottom: 4px;
- color: #2b3a67;
- }
-
- .time {
- font-size: 22px;
- color: #7a7f99;
- }
-
- .empty {
- color: #999;
- font-size: 14px;
- padding: 10px 0;
- }
diff --git a/templates/styles/pages/mingjianpaihang.css b/templates/styles/pages/mingjianpaihang.css
deleted file mode 100644
index 08affc5..0000000
--- a/templates/styles/pages/mingjianpaihang.css
+++ /dev/null
@@ -1,21 +0,0 @@
-table {
- margin-top: 10px;
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .avatar {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- }
-
- .rank-1 { color: gold; font-weight: bold; }
- .rank-2 { color: silver; font-weight: bold; }
- .rank-3 { color: #cd7f32; font-weight: bold; }
-
- .winrate {
- color: #27ae60;
- font-weight: bold;
- }
diff --git a/templates/styles/pages/mingjiantongji.css b/templates/styles/pages/mingjiantongji.css
deleted file mode 100644
index 71cc363..0000000
--- a/templates/styles/pages/mingjiantongji.css
+++ /dev/null
@@ -1,34 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- white-space: nowrap;
- vertical-align: middle;
- }
-
- .school {
- display: flex;
- align-items: center;
- gap: 8px;
- font-weight: 700;
- color: #333;
- }
-
- .school-icon {
- width: 32px;
- height: 32px;
- border-radius: 50%;
- object-fit: contain;
- flex: 0 0 auto;
- }
-
- .num-col {
- color: #d93939;
- font-weight: 700;
- text-align: center;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/qiwu.css b/templates/styles/pages/qiwu.css
deleted file mode 100644
index 09b355d..0000000
--- a/templates/styles/pages/qiwu.css
+++ /dev/null
@@ -1,84 +0,0 @@
-.item {
- display: flex;
- background: #fff;
- border-radius: 14px;
- box-shadow: 0 6px 18px rgba(0,0,0,0.08);
- margin-bottom: 22px;
- overflow: hidden;
- }
-
- .item img {
- width: 200px;
- height: 200px;
- object-fit: contain;
- background: #fafafa;
- padding: 14px;
- }
-
- .info {
- flex: 1;
- padding: 18px 22px;
- }
-
- .name {
- font-size: 26px;
- font-weight: 800;
- margin-bottom: 6px;
- }
-
- /* 品质颜色 */
- .q1 { color: #999; }
- .q2 { color: #2ecc71; }
- .q3 { color: #3498db; }
- .q4 { color: #9b59b6; }
- .q5 { color: #e67e22; }
-
- .meta {
- font-size: 15px;
- color: #555;
- margin-bottom: 12px;
- }
-
- .meta span {
- margin-right: 16px;
- }
-
- .tip {
- background: #f8f9fb;
- border-left: 4px solid #d93939;
- padding: 8px 12px;
- font-size: 14px;
- color: #555;
- margin-bottom: 14px;
- }
-
- .attrs {
- display: grid;
- grid-template-columns: repeat(5, 1fr);
- gap: 10px;
- }
-
- .attr {
- background: #fafafa;
- border-radius: 10px;
- padding: 10px;
- text-align: center;
- }
-
- .attr-name {
- font-size: 13px;
- color: #777;
- margin-bottom: 4px;
- }
-
- .attr-value {
- font-size: 17px;
- font-weight: 700;
- color: #333;
- }
-
- .footer {
- margin-top: 10px;
- font-size: 14px;
- color: #777;
- }
diff --git a/templates/styles/pages/qixue.css b/templates/styles/pages/qixue.css
deleted file mode 100644
index 7a2d275..0000000
--- a/templates/styles/pages/qixue.css
+++ /dev/null
@@ -1,94 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }
-
- .section {
- margin-bottom: 24px;
- }
-
- .section-title {
- display: flex;
- align-items: center;
- gap: 10px;
- margin: 0 0 12px 0;
- color: #222;
- font-size: 24px;
- font-weight: 800;
- }
-
- .section-title::before {
- content: "";
- display: block;
- width: 5px;
- height: 30px;
- background: #d93939;
- border-radius: 3px;
- }
-
- .cards {
- display: grid;
- grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 14px;
- }
-
- .card {
- display: grid;
- grid-template-columns: 54px minmax(0, 1fr);
- gap: 12px;
- background: white;
- border-radius: 12px;
- padding: 14px;
- box-shadow: 0 4px 16px rgba(0,0,0,0.08);
- }
-
- .icon {
- width: 48px;
- height: 48px;
- border-radius: 8px;
- object-fit: cover;
- background: #f1f2f6;
- }
-
- .head {
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- gap: 8px;
- margin-bottom: 8px;
- }
-
- .name {
- color: #222;
- font-size: 18px;
- font-weight: 800;
- line-height: 1.25;
- }
-
- .tag {
- color: white;
- background: #d93939;
- border-radius: 999px;
- padding: 2px 8px;
- font-size: 13px;
- font-weight: 700;
- white-space: nowrap;
- }
-
- .interval {
- color: #7a7f99;
- background: #f1f2f6;
- border-radius: 999px;
- padding: 2px 8px;
- font-size: 13px;
- white-space: nowrap;
- }
-
- .desc {
- color: #333;
- font-size: 15px;
- line-height: 1.55;
- word-break: break-word;
- }
diff --git a/templates/styles/pages/qiyuhuizong.css b/templates/styles/pages/qiyuhuizong.css
deleted file mode 100644
index 20ad96e..0000000
--- a/templates/styles/pages/qiyuhuizong.css
+++ /dev/null
@@ -1,30 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- white-space: nowrap;
- }
-
- .event-col {
- font-weight: 700;
- color: #333;
- }
-
- .count-col {
- color: #d93939;
- font-weight: 700;
- text-align: center;
- }
-
- .role-col {
- color: #333;
- }
-
- .time-col {
- color: #60657a;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/qiyuliebiao.css b/templates/styles/pages/qiyuliebiao.css
deleted file mode 100644
index 8df31c0..0000000
--- a/templates/styles/pages/qiyuliebiao.css
+++ /dev/null
@@ -1,12 +0,0 @@
-table {
- margin-top: 10px;
- text-align: left; /* 不影响表格内容 */
- }
-
- .text-col {
- max-width: 360px;
- line-height: 1.5em;
- word-break: break-word;
- font-weight: 600;
- color: #333;
- }
diff --git a/templates/styles/pages/qufuzhuangtai.css b/templates/styles/pages/qufuzhuangtai.css
deleted file mode 100644
index 77a1a1a..0000000
--- a/templates/styles/pages/qufuzhuangtai.css
+++ /dev/null
@@ -1,54 +0,0 @@
-.section {
- margin-bottom: 32px;
- }
- .section-title {
- font-size: 32px;
- font-weight: bold;
- margin-bottom: 16px;
- border-left: 4px solid #4f7cff;
- padding-left: 10px;
- color: #1f2a44;
- }
-
- .card-container {
- display: grid;
- grid-template-columns: repeat(4, 1fr);
- gap: 16px;
- }
- .card {
- border-radius: 8px;
- padding: 30px 12px;
- text-align: center;
- font-weight: 600;
- font-size: 28px;
- color: #ffffff;
- }
-
- /* 整块背景颜色控制 */
- .爆满 {
- background: #d9534f; /* 红 */
- }
- .拥挤 {
- background: #f0ad4e; /* 橙 */
- color: #3b2e00;
- }
- .正常, .顺畅 {
- background: #4cae4c; /* 绿 */
- }
- .维护 {
- background: #bfbfbf; /* 灰 */
- color: #333333;
- }
-
- .empty {
- color: #7a7f99;
- font-size: 16px;
- padding: 6px 0;
- }
-
- @media (max-width: 1000px) {
- .card-container { grid-template-columns: repeat(2, 1fr); }
- }
- @media (max-width: 600px) {
- .card-container { grid-template-columns: repeat(1, 1fr); }
- }
diff --git a/templates/styles/pages/rank_role.css b/templates/styles/pages/rank_role.css
deleted file mode 100644
index da20550..0000000
--- a/templates/styles/pages/rank_role.css
+++ /dev/null
@@ -1,61 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .rank-col,
- .level-col,
- .camp-col,
- .score-col {
- white-space: nowrap;
- text-align: center;
- }
-
- .rank-col {
- width: 56px;
- color: #d93939;
- font-weight: 800;
- }
-
- .force {
- display: flex;
- align-items: center;
- gap: 8px;
- min-width: 108px;
- font-weight: 700;
- color: #333;
- white-space: nowrap;
- }
-
- .force-icon {
- width: 30px;
- height: 30px;
- border-radius: 50%;
- object-fit: contain;
- flex: 0 0 auto;
- }
-
- .role-col {
- min-width: 120px;
- font-weight: 700;
- color: #333;
- white-space: nowrap;
- }
-
- .tong-col {
- max-width: 260px;
- word-break: break-word;
- color: #333;
- }
-
- .score-col {
- color: #d93939;
- font-weight: 800;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/rank_tong0.css b/templates/styles/pages/rank_tong0.css
deleted file mode 100644
index bb78ddc..0000000
--- a/templates/styles/pages/rank_tong0.css
+++ /dev/null
@@ -1,53 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .rank-col,
- .people-col,
- .score-col {
- white-space: nowrap;
- text-align: center;
- }
-
- .rank-col {
- width: 56px;
- color: #d93939;
- font-weight: 800;
- }
-
- .tong-col {
- min-width: 220px;
- font-weight: 800;
- color: #333;
- word-break: break-word;
- }
-
- .master-col {
- min-width: 150px;
- color: #333;
- word-break: break-word;
- }
-
- .castle-col {
- min-width: 110px;
- color: #60657a;
- word-break: break-word;
- }
-
- .people-col {
- color: #333;
- font-variant-numeric: tabular-nums;
- }
-
- .score-col {
- color: #d93939;
- font-weight: 800;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/rank_tong1.css b/templates/styles/pages/rank_tong1.css
deleted file mode 100644
index bb78ddc..0000000
--- a/templates/styles/pages/rank_tong1.css
+++ /dev/null
@@ -1,53 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .rank-col,
- .people-col,
- .score-col {
- white-space: nowrap;
- text-align: center;
- }
-
- .rank-col {
- width: 56px;
- color: #d93939;
- font-weight: 800;
- }
-
- .tong-col {
- min-width: 220px;
- font-weight: 800;
- color: #333;
- word-break: break-word;
- }
-
- .master-col {
- min-width: 150px;
- color: #333;
- word-break: break-word;
- }
-
- .castle-col {
- min-width: 110px;
- color: #60657a;
- word-break: break-word;
- }
-
- .people-col {
- color: #333;
- font-variant-numeric: tabular-nums;
- }
-
- .score-col {
- color: #d93939;
- font-weight: 800;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/rank_tong2.css b/templates/styles/pages/rank_tong2.css
deleted file mode 100644
index bb78ddc..0000000
--- a/templates/styles/pages/rank_tong2.css
+++ /dev/null
@@ -1,53 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .rank-col,
- .people-col,
- .score-col {
- white-space: nowrap;
- text-align: center;
- }
-
- .rank-col {
- width: 56px;
- color: #d93939;
- font-weight: 800;
- }
-
- .tong-col {
- min-width: 220px;
- font-weight: 800;
- color: #333;
- word-break: break-word;
- }
-
- .master-col {
- min-width: 150px;
- color: #333;
- word-break: break-word;
- }
-
- .castle-col {
- min-width: 110px;
- color: #60657a;
- word-break: break-word;
- }
-
- .people-col {
- color: #333;
- font-variant-numeric: tabular-nums;
- }
-
- .score-col {
- color: #d93939;
- font-weight: 800;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/richangyuche.css b/templates/styles/pages/richangyuche.css
index 9ae76db..351f372 100644
--- a/templates/styles/pages/richangyuche.css
+++ b/templates/styles/pages/richangyuche.css
@@ -10,7 +10,7 @@
text-align: center;
font-size: 18px;
font-weight: 700;
- color: #555;
+ color: var(--jx3-text-secondary);
}
/* 卡片基础 */
@@ -24,19 +24,19 @@
/* 状态样式 */
.card.past {
- background: #e5e5e5;
- color: #666;
+ background: rgba(71, 91, 108, 0.72);
+ color: var(--jx3-text-secondary);
}
.card.today {
- background: #3b82f6;
- color: #fff;
+ background: rgba(53, 113, 165, 0.9);
+ color: var(--jx3-text);
}
.card.future {
- background: #ffffff;
- color: #333;
- border: 1px solid #ddd;
+ background: rgba(13, 41, 66, 0.82);
+ color: var(--jx3-text);
+ border: 1px solid var(--jx3-border-faint);
}
/* 内容 */
diff --git a/templates/styles/pages/shilianpaixing.css b/templates/styles/pages/shilianpaixing.css
deleted file mode 100644
index df5d8e1..0000000
--- a/templates/styles/pages/shilianpaixing.css
+++ /dev/null
@@ -1,34 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .rank-col,
- .number-col {
- white-space: nowrap;
- text-align: center;
- font-variant-numeric: tabular-nums;
- }
-
- .rank-col {
- width: 60px;
- color: #d93939;
- font-weight: 800;
- }
-
- .role-col {
- min-width: 180px;
- font-weight: 700;
- color: #333;
- }
-
- .score-col {
- color: #d93939;
- font-weight: 800;
- }
diff --git a/templates/styles/pages/shitu.css b/templates/styles/pages/shitu.css
deleted file mode 100644
index 452e1b5..0000000
--- a/templates/styles/pages/shitu.css
+++ /dev/null
@@ -1,49 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .force-col {
- min-width: 120px;
- }
-
- .force {
- display: flex;
- align-items: center;
- gap: 8px;
- font-weight: 700;
- color: #333;
- white-space: nowrap;
- }
-
- .force-icon {
- width: 32px;
- height: 32px;
- border-radius: 50%;
- object-fit: contain;
- flex: 0 0 auto;
- }
-
- .name-col {
- font-weight: 700;
- color: #333;
- white-space: nowrap;
- }
-
- .small-col {
- white-space: nowrap;
- text-align: center;
- }
-
- .comment-col {
- max-width: 420px;
- line-height: 1.5;
- word-break: break-word;
- color: #333;
- }
diff --git a/templates/styles/pages/temp_test.css b/templates/styles/pages/temp_test.css
deleted file mode 100644
index 8b13789..0000000
--- a/templates/styles/pages/temp_test.css
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/templates/styles/pages/tuanduizhaomu.css b/templates/styles/pages/tuanduizhaomu.css
deleted file mode 100644
index 8df31c0..0000000
--- a/templates/styles/pages/tuanduizhaomu.css
+++ /dev/null
@@ -1,12 +0,0 @@
-table {
- margin-top: 10px;
- text-align: left; /* 不影响表格内容 */
- }
-
- .text-col {
- max-width: 360px;
- line-height: 1.5em;
- word-break: break-word;
- font-weight: 600;
- color: #333;
- }
diff --git a/templates/styles/pages/weizuoqiyu.css b/templates/styles/pages/weizuoqiyu.css
deleted file mode 100644
index 41a2d07..0000000
--- a/templates/styles/pages/weizuoqiyu.css
+++ /dev/null
@@ -1,76 +0,0 @@
-.header {
- margin-bottom: 24px;
- color: #1f2a44;
- }
-
- .title {
- font-size: 34px;
- font-weight: 800;
- margin-bottom: 8px;
- }
-
- .meta {
- font-size: 20px;
- color: #7a7f99;
- }
-
- .section {
- margin-bottom: 32px;
- }
-
- .section-title {
- font-size: 36px;
- font-weight: bold;
- margin-bottom: 16px;
- border-left: 4px solid #4f7cff;
- padding-left: 10px;
- color: #1f2a44;
- }
-
- .card-container {
- display: grid;
- grid-template-columns: repeat(4, 1fr);
- gap: 16px;
- }
-
- .card {
- background: #ffffff;
- border-radius: 8px;
- padding: 16px 12px;
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- text-align: center;
- min-height: 90px;
- }
-
- .card img {
- width: 100%;
- max-width: 180px;
- height: auto;
- object-fit: contain;
- margin-bottom: 6px;
- }
-
- .event-name {
- font-size: 22px;
- font-weight: 600;
- margin-bottom: 4px;
- color: #2b3a67;
- }
-
- .time {
- font-size: 22px;
- color: #7a7f99;
- }
-
- .empty {
- background: #ffffff;
- border-radius: 8px;
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
- color: #7a7f99;
- font-size: 20px;
- padding: 22px;
- }
diff --git a/templates/styles/pages/wujia.css b/templates/styles/pages/wujia.css
index d2635d1..1586dfb 100644
--- a/templates/styles/pages/wujia.css
+++ b/templates/styles/pages/wujia.css
@@ -9,7 +9,7 @@
.goods-desc {
font-size: 16px;
line-height: 1.8;
- color: #444;
+ color: var(--jx3-text-secondary);
margin: 0 0 10px;
text-align: left;
}
@@ -22,10 +22,11 @@
gap: 20px 40px;
font-size: 18px;
margin-bottom: 30px;
+ color: var(--jx3-text-muted);
}
.meta-row .price {
- color: #d93939;
+ color: var(--jx3-gold-bright);
font-weight: 800;
}
@@ -46,7 +47,7 @@
font-weight: 700;
margin-bottom: 8px;
text-align: center;
- color: #d93939;
+ color: var(--jx3-gold-bright);
}
.table-scroll {
@@ -71,7 +72,7 @@
}
.price-col {
- color: #d93939;
+ color: var(--jx3-gold-bright);
font-weight: 700;
}
@@ -79,77 +80,48 @@
height: 80px;
padding: 28px 10px;
text-align: center;
- color: #999999;
+ color: var(--jx3-text-muted);
font-weight: 400;
}
/* ===== 万宝楼公示(蓝色) ===== */
.table-card.notice .table-title {
- color: #1e6bd6;
+ color: var(--jx3-blue);
}
.table-card.notice .price-col {
- color: #1e6bd6;
+ color: var(--jx3-blue);
}
.table-card.notice thead {
- background: #1e6bd6;
+ background: rgba(63, 111, 153, 0.78);
}
/* ===== 万宝楼在售(绿色) ===== */
.table-card.sale .table-title {
- color: #2e8b57;
+ color: var(--jx3-green);
}
.table-card.sale .price-col {
- color: #2e8b57;
+ color: var(--jx3-green);
}
.table-card.sale thead {
- background: #2e8b57;
+ background: rgba(43, 111, 82, 0.78);
}
/* ===== 查询区服(紫色) ===== */
.table-card.query .table-title {
- color: #8a4fd3;
+ color: var(--jx3-purple);
}
.table-card.query .price-col {
- color: #8a4fd3;
+ color: var(--jx3-purple);
}
.table-card.query thead {
- background: #8a4fd3;
- }
-
- @media (max-width: 1100px) {
- .table-wrapper {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- }
- }
-
- @media (max-width: 720px) {
- body {
- padding: 12px;
- }
-
- h1 {
- font-size: 24px;
- }
-
- .goods-desc {
- font-size: 14px;
- }
-
- .meta-row {
- gap: 12px 20px;
- font-size: 16px;
- }
-
- .table-wrapper {
- grid-template-columns: 1fr;
- }
+ background: rgba(90, 67, 126, 0.8);
}
diff --git a/templates/styles/pages/xiaoyao.css b/templates/styles/pages/xiaoyao.css
deleted file mode 100644
index c9098b9..0000000
--- a/templates/styles/pages/xiaoyao.css
+++ /dev/null
@@ -1,18 +0,0 @@
-table {
- text-align: center;
- }
-
- .purple {
- color: #a020f0;
- font-weight: 600;
- }
-
- .blue {
- color: #1e90ff;
- font-weight: 600;
- }
-
- .kungfu {
- font-weight: bold;
- color: #333;
- }
diff --git a/templates/styles/pages/xingxiashijian.css b/templates/styles/pages/xingxiashijian.css
index d2980f8..5d819a3 100644
--- a/templates/styles/pages/xingxiashijian.css
+++ b/templates/styles/pages/xingxiashijian.css
@@ -45,7 +45,7 @@
.desc {
font-size: 20px;
- color: #444;
+ color: var(--jx3-text-secondary);
line-height: 1.5;
}
@@ -54,11 +54,11 @@
width: 36px;
height: 36px;
border-radius: 8px;
- background: #e5e7eb;
+ background: rgba(114, 169, 213, 0.16);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
font-weight: 700;
- color: #374151;
+ color: var(--jx3-blue);
}
diff --git a/templates/styles/pages/yanhuan.css b/templates/styles/pages/yanhuan.css
deleted file mode 100644
index 8df31c0..0000000
--- a/templates/styles/pages/yanhuan.css
+++ /dev/null
@@ -1,12 +0,0 @@
-table {
- margin-top: 10px;
- text-align: left; /* 不影响表格内容 */
- }
-
- .text-col {
- max-width: 360px;
- line-height: 1.5em;
- word-break: break-word;
- font-weight: 600;
- color: #333;
- }
diff --git a/templates/styles/pages/zhanji.css b/templates/styles/pages/zhanji.css
index 55d539d..b82bd42 100644
--- a/templates/styles/pages/zhanji.css
+++ b/templates/styles/pages/zhanji.css
@@ -69,7 +69,7 @@
.stat-title {
font-size: 26px;
- color: #777;
+ color: var(--jx3-text-muted);
}
.stat-value {
diff --git a/templates/styles/pages/zhengyingpaimai.css b/templates/styles/pages/zhengyingpaimai.css
deleted file mode 100644
index c28ade6..0000000
--- a/templates/styles/pages/zhengyingpaimai.css
+++ /dev/null
@@ -1,21 +0,0 @@
-table {
- margin-top: 10px;
- text-align: left;
- }
-
- .text-col {
- max-width: 360px;
- line-height: 1.5em;
- word-break: break-word;
- font-weight: 600;
- color: #333;
- }
-
- /* ===== 阵营整行着色 ===== */
- tr.camp-haoqi {
- color: #1e6bd6; /* 浩气盟 */
- }
-
- tr.camp-eren {
- color: #d93939; /* 恶人谷 */
- }
diff --git a/templates/styles/pages/zhenyingevent.css b/templates/styles/pages/zhenyingevent.css
deleted file mode 100644
index c09b3a9..0000000
--- a/templates/styles/pages/zhenyingevent.css
+++ /dev/null
@@ -1,59 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- tbody tr.camp-eren {
- background: #fff2f2;
- color: #b91c1c;
- }
-
- tbody tr.camp-haoqi {
- background: #eff6ff;
- color: #1d4ed8;
- }
-
- .camp-col {
- width: 90px;
- text-align: center;
- white-space: nowrap;
- font-weight: 800;
- }
-
- .fenxian-col,
- .server-col {
- width: 130px;
- text-align: center;
- white-space: nowrap;
- font-weight: 700;
- }
-
- .role-col {
- max-width: 320px;
- color: #333;
- font-weight: 700;
- word-break: break-word;
- line-height: 1.45;
- }
-
- tr.camp-eren .role-col {
- color: #b91c1c;
- }
-
- tr.camp-haoqi .role-col {
- color: #1d4ed8;
- }
-
- .time-col {
- min-width: 150px;
- color: #60657a;
- text-align: center;
- white-space: nowrap;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/zhuangshi.css b/templates/styles/pages/zhuangshi.css
deleted file mode 100644
index 48ab99a..0000000
--- a/templates/styles/pages/zhuangshi.css
+++ /dev/null
@@ -1,84 +0,0 @@
-.card {
- display: flex;
- background: #fff;
- border-radius: 16px;
- box-shadow: 0 6px 20px rgba(0,0,0,0.08);
- margin-bottom: 24px;
- overflow: hidden;
- }
-
- .card img {
- width: 220px;
- height: 220px;
- object-fit: contain;
- background: #fafafa;
- padding: 16px;
- }
-
- .content {
- flex: 1;
- padding: 20px 24px;
- }
-
- .title {
- font-size: 26px;
- font-weight: 800;
- margin-bottom: 6px;
- }
-
- /* 品质颜色 */
- .q1 { color: #999; }
- .q2 { color: #2ecc71; }
- .q3 { color: #3498db; }
- .q4 { color: #9b59b6; }
- .q5 { color: #e67e22; }
-
- .meta {
- color: #666;
- font-size: 15px;
- margin-bottom: 14px;
- }
-
- .meta span {
- margin-right: 18px;
- }
-
- .tip {
- background: #f8f9fb;
- border-left: 4px solid #d93939;
- padding: 10px 14px;
- font-size: 14px;
- color: #555;
- margin-bottom: 16px;
- }
-
- .stats {
- display: grid;
- grid-template-columns: repeat(5, 1fr);
- gap: 12px;
- }
-
- .stat {
- background: #fafafa;
- border-radius: 10px;
- padding: 10px;
- text-align: center;
- }
-
- .stat-name {
- font-size: 13px;
- color: #777;
- margin-bottom: 6px;
- }
-
- .stat-value {
- font-size: 18px;
- font-weight: 700;
- color: #333;
- }
-
- .footer {
- margin-top: 12px;
- font-size: 14px;
- color: #888;
- }
diff --git a/templates/styles/pages/zhueevent.css b/templates/styles/pages/zhueevent.css
deleted file mode 100644
index e80bf7a..0000000
--- a/templates/styles/pages/zhueevent.css
+++ /dev/null
@@ -1,34 +0,0 @@
-.meta {
- margin-bottom: 24px;
- color: #7a7f99;
- font-size: 16px;
- text-align: center;
- }table {
- text-align: left;
- }th, td {
- vertical-align: middle;
- }
-
- .server-col {
- width: 160px;
- text-align: center;
- white-space: nowrap;
- font-weight: 800;
- color: #d93939;
- }
-
- .map-col {
- max-width: 300px;
- color: #333;
- font-weight: 700;
- word-break: break-word;
- line-height: 1.45;
- }
-
- .time-col {
- min-width: 160px;
- color: #60657a;
- text-align: center;
- white-space: nowrap;
- font-variant-numeric: tabular-nums;
- }
diff --git a/templates/styles/pages/zilipaixing.css b/templates/styles/pages/zilipaixing.css
index f61bffc..e38961d 100644
--- a/templates/styles/pages/zilipaixing.css
+++ b/templates/styles/pages/zilipaixing.css
@@ -92,7 +92,7 @@
gap: 9px;
width: 100%;
min-width: 0;
- color: #333;
+ color: var(--jx3-text);
font-size: 17px;
font-weight: 700;
white-space: nowrap;
@@ -120,7 +120,7 @@
.role-name-col {
padding-left: 10px;
padding-right: 10px;
- color: #333;
+ color: var(--jx3-text);
font-size: 17px;
font-weight: 600;
text-align: center;
@@ -135,7 +135,7 @@
.server-col {
padding-left: 8px;
padding-right: 8px;
- color: #333;
+ color: var(--jx3-text-secondary);
font-size: 17px;
text-align: center;
overflow: hidden;
@@ -156,58 +156,3 @@
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
-
- /*
- * 小尺寸页面适配
- */
- @media screen and (max-width: 760px) {
- body {
- padding: 10px;
- }
-
- h1 {
- font-size: 30px;
- }
-
- .meta {
- margin-bottom: 18px;
- font-size: 15px;
- }
-
- th,
- td {
- height: 58px;
- padding: 8px 5px;
- font-size: 15px;
- }
-
- th {
- height: 46px;
- font-size: 15px;
- }
-
- .avatar {
- width: 40px;
- height: 40px;
- }
-
- .force-icon {
- width: 34px;
- height: 34px;
- }
-
- .force {
- gap: 6px;
- font-size: 15px;
- }
-
- .rank-col,
- .role-name-col,
- .server-col {
- font-size: 15px;
- }
-
- .score-col {
- font-size: 16px;
- }
- }
diff --git a/tests/test_template_system.py b/tests/test_template_system.py
index da9cd9a..95b0cb5 100644
--- a/tests/test_template_system.py
+++ b/tests/test_template_system.py
@@ -10,6 +10,21 @@ from core.template import TemplateRepository
ROOT = Path(__file__).parent.parent
TEMPLATE_ROOT = ROOT / "templates"
+SPECIAL_PAGE_STYLES = {
+ "baizhan",
+ "chengbeng",
+ "chengjiu",
+ "fubenjilu",
+ "helps",
+ "jiaoyihang",
+ "juesheliaotian",
+ "richangyuche",
+ "wujia",
+ "xingxiashijian",
+ "zhanji",
+ "zili",
+ "zilipaixing",
+}
class TemplateRepositoryTests(unittest.TestCase):
@@ -21,7 +36,7 @@ class TemplateRepositoryTests(unittest.TestCase):
page_styles = sorted((TEMPLATE_ROOT / "styles" / "pages").glob("*.css"))
self.assertEqual(46, len(pages))
self.assertEqual(
- {page.stem for page in pages},
+ SPECIAL_PAGE_STYLES,
{style.stem for style in page_styles},
)
@@ -46,13 +61,165 @@ class TemplateRepositoryTests(unittest.TestCase):
self.assertIn("
诛恶事件
-更新时间:{{ update_time }}
+ 更新时间:{{ update_time }}
- | 服务器 | @@ -17,12 +18,11 @@|||||
|---|---|---|---|---|---|
| {{ item.server }} | -{{ item.mapName }} | -{{ item.time }} | +{{ item.server }} | +{{ item.mapName }} | +{{ item.time }} |