feat(wiki): restructure BL and JC deployment pages to Wikipedia standard
- Merged overview h2 into lead paragraphs - Converted timeline tables to chronological narrative h3 with date ranges - Added task achievements section to all unmanned mission pages - Unified infobox format with label/data columns Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,149 @@
|
||||
<style>
|
||||
.wiki-article { max-width: 1180px; margin: 0 auto; padding: 24px 32px 48px; color: #202122; background: #fff; font-family: sans-serif; font-size: 14px; line-height: 1.65; }
|
||||
.wiki-article h1 { font-family: "Linux Libertine", Georgia, serif; font-weight: normal; border-bottom: 1px solid #a2a9b1; margin: 0 0 8px; font-size: 2.15em; }
|
||||
.wiki-article h2 { font-family: "Linux Libertine", Georgia, serif; font-weight: normal; border-bottom: 1px solid #a2a9b1; clear: both; margin: 1.35em 0 0.6em; padding-bottom: 0.18em; font-size: 1.55em; }
|
||||
.wiki-article p { margin: 0.45em 0 0.85em; }
|
||||
.wiki-article a { color: #0645ad; text-decoration: none; }
|
||||
.wiki-article a:hover { text-decoration: underline; }
|
||||
.wiki-article img { max-width: 100%; height: auto; }
|
||||
.wiki-article .media-link { display: block; color: inherit; text-decoration: none; }
|
||||
.wiki-article .thumb { width: 265px; border: 1px solid #c8ccd1; background: #f8f9fa; padding: 3px; font-size: 88%; line-height: 1.4; box-sizing: border-box; }
|
||||
.wiki-article .tright { float: right; clear: right; margin: 0.35em 0 1em 1.4em; }
|
||||
.wiki-article .thumbcaption { padding: 4px 3px 2px; text-align: left; color: #202122; }
|
||||
.wiki-article .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 1em 0; }
|
||||
.wiki-article .gallery-item { border: 1px solid #c8ccd1; background: #f8f9fa; padding: 4px; font-size: 88%; line-height: 1.4; }
|
||||
.wiki-article .gallery-item img { display: block; width: 100%; cursor: zoom-in; }
|
||||
.wiki-article .gallery-item .thumbcaption { padding: 4px 2px 2px; }
|
||||
@media (max-width: 820px) { .wiki-article { padding: 18px 16px 36px; } .gallery-grid { grid-template-columns: 1fr; } }
|
||||
|
||||
.wiki-article img[data-wiki-asset] { cursor: zoom-in; }
|
||||
.wiki-image-lightbox { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(32,33,34,0.84); z-index: 10000; box-sizing: border-box; }
|
||||
.wiki-image-lightbox[hidden] { display: none; }
|
||||
.wiki-image-lightbox-panel { position: relative; width: min(1120px, 96vw); max-height: 92vh; overflow: auto; margin: 0; padding: 10px; border: 1px solid #a2a9b1; background: #fff; box-shadow: 0 12px 38px rgba(0,0,0,0.35); box-sizing: border-box; }
|
||||
.wiki-image-lightbox-panel img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; background: #000; }
|
||||
.wiki-image-lightbox-close { position: sticky; top: 0; float: right; width: 30px; height: 30px; margin: -2px -2px 8px 10px; border: 1px solid #a2a9b1; background: #eaecf0; color: #202122; font-weight: bold; line-height: 26px; cursor: pointer; }
|
||||
.wiki-image-lightbox-close:hover, .wiki-image-lightbox-close:focus { background: #fff; }
|
||||
body.wiki-image-lightbox-open { overflow: hidden; }
|
||||
@media (max-width: 820px) { .wiki-image-lightbox { padding: 12px; } .wiki-image-lightbox-panel { width: 98vw; max-height: 94vh; } }
|
||||
</style>
|
||||
|
||||
<article class="mw-parser-output wiki-article">
|
||||
|
||||
<h1 id="top">金蟾部署任务-01 任务图集</h1>
|
||||
<p style="margin-bottom:1.5em;"><a href="/home/mission/Guanghan_Program/JC-01">← 返回任务页</a> | 共 2 张影像</p>
|
||||
<p style="margin-bottom:1.5em;"><b>任务图集导航</b>:<a href="/home/mission/Guanghan_Program/JC-02/Gallery">JC-02 图集 →</a></p>
|
||||
|
||||
<p>JC-01 将广寒计划月球物流链的中转枢纽——金蟾一号可复用转移级——部署至近地轨道。为适配 CZ-10E 航区回收运力(LEO 55 t),金蟾以部分加注状态发射,入轨后进入 400×400 km 停泊轨道待命。</p>
|
||||
|
||||
<h2>发射与分离</h2>
|
||||
<div class="gallery-grid">
|
||||
<div class="gallery-item"><img src="/guanghan-jc-01/cz10e_launch_jinchan.png" alt="CZ-10E发射金蟾一号" data-wiki-asset="/guanghan-jc-01/cz10e_launch_jinchan.png"><div class="thumbcaption">CZ-10E 运载火箭搭载金蟾一号从文昌发射场升空。CZ-10E 全箭直径 5 m,一级使用 9 台 YF-150 液氧煤油发动机(14,850 kN 起飞推力),本次发射采用航区回收模式——一级分离后降落在海上回收驳船。</div></div>
|
||||
<div class="gallery-item"><img src="/guanghan-jc-01/jinchan_sep.png" alt="金蟾一号分离" data-wiki-asset="/guanghan-jc-01/jinchan_sep.png"><div class="thumbcaption">金蟾一号与 CZ-10E 二级分离。二级使用的单台 YF-215X Vac 液氧甲烷发动机已完成入轨推进,金蟾随后自行完成轨道圆化,进入 400×400 km 停泊轨道。金蟾将在 LEO 等待广寒计划后续任务的燃料补给——当冰轮 ISRU 产出足够氢氧燃料并通过柔性管道传输至冰轮二号后,金蟾将启动 LLO↔LEO 往返物流循环。</div></div>
|
||||
</div>
|
||||
|
||||
<p style="margin-top:1.5em;"><b>任务图集导航</b>:<a href="/home/mission/Guanghan_Program/JC-02/Gallery">JC-02 图集 →</a></p>
|
||||
<p style="margin-top:1.5em;"><a href="/home/mission/Guanghan_Program/JC-01">← 返回任务页</a></p>
|
||||
<script>
|
||||
(function () {
|
||||
function ready(fn) {
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', fn, { once: true });
|
||||
} else {
|
||||
fn();
|
||||
}
|
||||
}
|
||||
|
||||
function captionFor(image) {
|
||||
var container = image.closest('figure, td, tr, .infobox-image, .gallery-item');
|
||||
if (!container) {
|
||||
return image.alt || '';
|
||||
}
|
||||
var caption = container.querySelector('.thumbcaption');
|
||||
return caption ? caption.textContent.trim() : (image.alt || '');
|
||||
}
|
||||
|
||||
function install(article) {
|
||||
if (!article || article.dataset.lightboxReady === '1') {
|
||||
return;
|
||||
}
|
||||
article.dataset.lightboxReady = '1';
|
||||
|
||||
var overlay = document.createElement('div');
|
||||
overlay.className = 'wiki-image-lightbox';
|
||||
overlay.hidden = true;
|
||||
overlay.innerHTML = '<figure class="wiki-image-lightbox-panel" role="dialog" aria-modal="true"><button class="wiki-image-lightbox-close" type="button" aria-label="Close image preview">x</button><img alt=""><figcaption class="thumbcaption"></figcaption></figure>';
|
||||
document.body.appendChild(overlay);
|
||||
|
||||
var previewImage = overlay.querySelector('img');
|
||||
var previewCaption = overlay.querySelector('figcaption');
|
||||
var closeButton = overlay.querySelector('.wiki-image-lightbox-close');
|
||||
|
||||
function closePreview() {
|
||||
overlay.hidden = true;
|
||||
previewImage.removeAttribute('src');
|
||||
previewCaption.textContent = '';
|
||||
document.body.classList.remove('wiki-image-lightbox-open');
|
||||
}
|
||||
|
||||
function openPreview(image, event) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
if (event.stopImmediatePropagation) {
|
||||
event.stopImmediatePropagation();
|
||||
}
|
||||
previewImage.src = image.currentSrc || image.src;
|
||||
previewImage.alt = image.alt || '';
|
||||
previewCaption.textContent = captionFor(image);
|
||||
overlay.hidden = false;
|
||||
document.body.classList.add('wiki-image-lightbox-open');
|
||||
closeButton.focus();
|
||||
}
|
||||
|
||||
article.querySelectorAll('img[data-wiki-asset]').forEach(function (image) {
|
||||
if (image.dataset.lightboxBound === '1') {
|
||||
return;
|
||||
}
|
||||
image.dataset.lightboxBound = '1';
|
||||
image.addEventListener('click', function (event) {
|
||||
openPreview(image, event);
|
||||
}, true);
|
||||
});
|
||||
|
||||
article.addEventListener('click', function (event) {
|
||||
var image = event.target.closest && event.target.closest('img[data-wiki-asset]');
|
||||
if (!image || !article.contains(image) || image.closest('.wiki-image-lightbox')) {
|
||||
return;
|
||||
}
|
||||
openPreview(image, event);
|
||||
});
|
||||
|
||||
closeButton.addEventListener('click', closePreview);
|
||||
overlay.addEventListener('click', function (event) {
|
||||
if (event.target === overlay) {
|
||||
closePreview();
|
||||
}
|
||||
});
|
||||
document.addEventListener('keydown', function (event) {
|
||||
if (event.key === 'Escape' && !overlay.hidden) {
|
||||
closePreview();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function installAll() {
|
||||
document.querySelectorAll('.wiki-article, .vulture-article').forEach(install);
|
||||
}
|
||||
|
||||
ready(function () {
|
||||
installAll();
|
||||
if (window.MutationObserver) {
|
||||
var observer = new MutationObserver(installAll);
|
||||
observer.observe(document.body, { childList: true, subtree: true });
|
||||
}
|
||||
window.setTimeout(installAll, 500);
|
||||
window.setTimeout(installAll, 1500);
|
||||
window.setTimeout(installAll, 3000);
|
||||
});
|
||||
}());
|
||||
</script>
|
||||
</article>
|
||||
Reference in New Issue
Block a user