feat(wiki): 新增 GHC06 任务页与图库发布体系,级联更新既有页面
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -16,15 +16,157 @@
|
||||
.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; }
|
||||
/* mission-gallery-enhancements:start */
|
||||
.wiki-article .gallery-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
|
||||
align-items: stretch;
|
||||
}
|
||||
.wiki-article .gallery-item {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr;
|
||||
overflow: hidden;
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: 340px 300px;
|
||||
}
|
||||
.wiki-article .gallery-item img[data-wiki-asset] {
|
||||
width: 100%;
|
||||
aspect-ratio: 16 / 9;
|
||||
object-fit: contain;
|
||||
background: #202122;
|
||||
cursor: zoom-in;
|
||||
}
|
||||
.wiki-article .gallery-item .thumbcaption {
|
||||
padding: 8px 7px 7px;
|
||||
}
|
||||
.wiki-article .gallery-notice {
|
||||
margin: 1em 0 1.25em;
|
||||
padding: 10px 12px;
|
||||
border-left: 4px solid #36c;
|
||||
background: #f1f4fd;
|
||||
color: #202122;
|
||||
}
|
||||
.wiki-article .image-placeholder {
|
||||
position: relative;
|
||||
border: 1px dashed #72777d;
|
||||
background: linear-gradient(135deg, #f8f9fa, #eaecf0);
|
||||
color: #54595d;
|
||||
}
|
||||
.wiki-article.gallery-planning .gallery-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
.wiki-article.gallery-planning .gallery-item {
|
||||
display: block;
|
||||
content-visibility: visible;
|
||||
contain-intrinsic-size: none;
|
||||
border-color: #a2a9b1;
|
||||
background: #fff;
|
||||
box-shadow: 0 1px 2px rgba(32, 33, 34, 0.08);
|
||||
}
|
||||
.wiki-article.gallery-planning .image-placeholder {
|
||||
min-height: 0 !important;
|
||||
display: block;
|
||||
padding: 14px 14px 12px;
|
||||
border: 0;
|
||||
border-left: 4px solid #72777d;
|
||||
background: #f8f9fa;
|
||||
color: #202122;
|
||||
text-align: left;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.65;
|
||||
}
|
||||
.wiki-article.gallery-planning .gallery-item .thumbcaption {
|
||||
padding: 10px 14px 12px;
|
||||
border-top: 1px solid #eaecf0;
|
||||
color: #54595d;
|
||||
}
|
||||
.wiki-article.gallery-planning > .image-placeholder {
|
||||
min-height: 0;
|
||||
padding: 22px 18px;
|
||||
border-left: 4px solid #72777d;
|
||||
}
|
||||
.wiki-image-lightbox {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 24px;
|
||||
background: rgba(32, 33, 34, 0.88);
|
||||
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; }
|
||||
.wiki-image-lightbox-panel {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 44px minmax(0, 1fr) 44px;
|
||||
grid-template-areas: "close close close" "prev image next" "counter caption caption";
|
||||
gap: 8px;
|
||||
width: min(1320px, 96vw);
|
||||
max-height: 94vh;
|
||||
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 {
|
||||
grid-area: image;
|
||||
width: 100%;
|
||||
height: min(78vh, 900px);
|
||||
object-fit: contain;
|
||||
background: #000;
|
||||
}
|
||||
.wiki-image-lightbox-close {
|
||||
grid-area: close;
|
||||
justify-self: end;
|
||||
position: static;
|
||||
float: none;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
margin: 0;
|
||||
border: 1px solid #a2a9b1;
|
||||
border-radius: 3px;
|
||||
background: #eaecf0;
|
||||
color: #202122;
|
||||
font-size: 22px;
|
||||
line-height: 30px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.wiki-image-lightbox-close:hover,
|
||||
.wiki-image-lightbox-close:focus { background: #fff; }
|
||||
.wiki-image-lightbox-prev { grid-area: prev; }
|
||||
.wiki-image-lightbox-next { grid-area: next; }
|
||||
.wiki-image-lightbox-nav {
|
||||
align-self: center;
|
||||
width: 40px;
|
||||
height: 56px;
|
||||
border: 1px solid #a2a9b1;
|
||||
border-radius: 3px;
|
||||
background: #eaecf0;
|
||||
color: #202122;
|
||||
font-size: 26px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.wiki-image-lightbox-nav:hover,
|
||||
.wiki-image-lightbox-nav:focus { background: #fff; }
|
||||
.wiki-image-lightbox-counter { grid-area: counter; color: #54595d; white-space: nowrap; }
|
||||
.wiki-image-lightbox-panel .thumbcaption { grid-area: caption; padding: 0 4px 3px; }
|
||||
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; } }
|
||||
@media (max-width: 820px) {
|
||||
.wiki-article .gallery-grid { grid-template-columns: 1fr; }
|
||||
.wiki-image-lightbox-panel {
|
||||
grid-template-columns: 36px minmax(0, 1fr) 36px;
|
||||
width: 98vw;
|
||||
}
|
||||
.wiki-image-lightbox-panel > img { height: 70vh; }
|
||||
.wiki-image-lightbox-nav { width: 34px; height: 48px; }
|
||||
}
|
||||
/* mission-gallery-enhancements:end */
|
||||
</style>
|
||||
|
||||
<article class="mw-parser-output wiki-article">
|
||||
@@ -33,128 +175,24 @@ body.wiki-image-lightbox-open { overflow: hidden; }
|
||||
<p style="margin-bottom:1.5em;"><a href="/home/mission/Guanghan_Program/BL-02">← 返回任务页</a> | 共 5 张影像,按任务阶段排列</p>
|
||||
<p style="margin-bottom:1.5em;"><b>任务图集导航</b>:<a href="/home/mission/Guanghan_Program/BL-01/Gallery">← BL-01 图集</a> | <a href="/home/mission/Guanghan_Program/BL-03/Gallery">BL-03 图集 →</a></p>
|
||||
|
||||
<p>BL-02 将第二艘冰轮着陆器(货运构型)送上月面。与冰轮一号的 ISRU 构型不同,冰轮二号的货仓装载空置氢氧燃料罐——它将成为月面燃料储存和分发的中转节点,与冰轮一号的燃料生产能力形成互补。</p>
|
||||
<p>冰轮部署任务-02 将第二艘冰轮着陆器(货运构型)送上月面。与冰轮一号的 ISRU 构型不同,冰轮二号的货仓装载空置氢氧燃料罐——它将成为月面燃料储存和分发的中转节点,与冰轮一号的燃料生产能力形成互补。</p>
|
||||
|
||||
<h2>发射与上升</h2>
|
||||
<div class="gallery-grid">
|
||||
<div class="gallery-item"><img src="/guanghan-bl-02/bl02_launch.png" alt="冰轮02发射" data-wiki-asset="/guanghan-bl-02/bl02_launch.png"><div class="thumbcaption">CZ-16 运载火箭搭载冰轮二号从文昌发射场升空。与 BL-01 相同的 CZ-16 构型,但载荷由 ISRU 型切换为货运型——货仓内装载空置氢氧燃料罐而非 ISRU 模块。</div></div>
|
||||
<div class="gallery-item"><img src="/guanghan-bl-02/bl02_launch2.png" alt="冰轮02发射" data-wiki-asset="/guanghan-bl-02/bl02_launch2.png"><div class="thumbcaption">冰轮二号上升段另一视角。CZ-16 一级 15 台 YF-215X 发动机喷出的甲烷燃烧尾焰呈淡蓝色半透明状,几乎不含碳烟——这正是全流量补燃循环液氧甲烷发动机的优点之一。</div></div>
|
||||
<div class="gallery-item"><img src="/guanghan-bl-02/bl02_launch.png" alt="冰轮02发射" data-wiki-asset="/guanghan-bl-02/bl02_launch.png" loading="lazy" decoding="async" fetchpriority="low"><div class="thumbcaption">长征十六号运载火箭搭载冰轮二号从文昌发射场升空。与冰轮部署任务-01 相同的长征十六号运载火箭构型,但载荷由 ISRU 型切换为货运型——货仓内装载空置氢氧燃料罐而非 ISRU 模块。</div></div>
|
||||
<div class="gallery-item"><img src="/guanghan-bl-02/bl02_launch2.png" alt="冰轮02发射" data-wiki-asset="/guanghan-bl-02/bl02_launch2.png" loading="lazy" decoding="async" fetchpriority="low"><div class="thumbcaption">冰轮二号上升段另一视角。长征十六号运载火箭一级 15 台 YF-215X 发动机喷出的甲烷燃烧尾焰呈淡蓝色半透明状,几乎不含碳烟——这正是全流量补燃循环液氧甲烷发动机的优点之一。</div></div>
|
||||
</div>
|
||||
|
||||
<h2>地月转移</h2>
|
||||
<div class="gallery-grid">
|
||||
<div class="gallery-item"><img src="/guanghan-bl-02/bl02_tli.png" alt="冰轮02 TLI点火" data-wiki-asset="/guanghan-bl-02/bl02_tli.png"><div class="thumbcaption">CZ-16 二级执行 TLI 点火。二级 2 台 YF-215X Vac 发动机将冰轮二号推向地月转移轨道。此次发射后仅一天,JC-01 的金蟾一号也由 CZ-10E 送入 LEO——广寒计划在 24 小时内连续执行两次发射。</div></div>
|
||||
<div class="gallery-item"><img src="/guanghan-bl-02/bl02_tli_sep.png" alt="TLI点火及二级分离" data-wiki-asset="/guanghan-bl-02/bl02_tli_sep.png"><div class="thumbcaption">TLI 点火后,CZ-16 二级与冰轮二号/转移级组合体分离。二级任务完成,冰轮二号将依靠自身的转移级完成剩余航程。</div></div>
|
||||
<div class="gallery-item"><img src="/guanghan-bl-02/bl02_tli.png" alt="冰轮02 TLI点火" data-wiki-asset="/guanghan-bl-02/bl02_tli.png" loading="lazy" decoding="async" fetchpriority="low"><div class="thumbcaption">长征十六号运载火箭二级执行 TLI 点火。二级 2 台 YF-215X Vac 发动机将冰轮二号推向地月转移轨道。此次发射后仅一天,金蟾部署任务-01 的金蟾一号也由长征十号戊型运载火箭送入 LEO——广寒计划在 24 小时内连续执行两次发射。</div></div>
|
||||
<div class="gallery-item"><img src="/guanghan-bl-02/bl02_tli_sep.png" alt="TLI点火及二级分离" data-wiki-asset="/guanghan-bl-02/bl02_tli_sep.png" loading="lazy" decoding="async" fetchpriority="low"><div class="thumbcaption">TLI 点火后,长征十六号运载火箭二级与冰轮二号/转移级组合体分离。二级任务完成,冰轮二号将依靠自身的转移级完成剩余航程。</div></div>
|
||||
</div>
|
||||
|
||||
<h2>月面着陆</h2>
|
||||
<div class="gallery-grid">
|
||||
<div class="gallery-item"><img src="/guanghan-bl-02/bl02_landing.png" alt="月面着陆" data-wiki-asset="/guanghan-bl-02/bl02_landing.png"><div class="thumbcaption">2024 年 6 月 23 日 05:23,冰轮二号成功着陆于月球东方海,着陆点位于广寒核心舱以东约 112 m。着陆精度在月面环境下达到亚米级控制水平,为后续 GHC-02 乘组使用柔性管道连接冰轮一号与二号创造了精确的位置条件。背景中可见东方海盆地的月壤层次和撞击溅射物分布。</div></div>
|
||||
<div class="gallery-item"><img src="/guanghan-bl-02/bl02_landing.png" alt="月面着陆" data-wiki-asset="/guanghan-bl-02/bl02_landing.png" loading="lazy" decoding="async" fetchpriority="low"><div class="thumbcaption">2024 年 6 月 23 日 05:23,冰轮二号成功着陆于月球东方海,着陆点位于广寒核心舱以东约 112 m。着陆精度在月面环境下达到亚米级控制水平,为后续广寒基地建设任务-02 乘组使用柔性管道连接冰轮一号与二号创造了精确的位置条件。背景中可见东方海盆地的月壤层次和撞击溅射物分布。</div></div>
|
||||
</div>
|
||||
|
||||
<p style="margin-top:1.5em;"><b>任务图集导航</b>:<a href="/home/mission/Guanghan_Program/BL-01/Gallery">← BL-01 图集</a> | <a href="/home/mission/Guanghan_Program/BL-03/Gallery">BL-03 图集 →</a></p>
|
||||
<p style="margin-top:1.5em;"><a href="/home/mission/Guanghan_Program/BL-02">← 返回任务页</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