docs: sync reviewed public manuals
Sync manuals, navigation and screenshots from open-source c8fa783 while preserving public README, LICENSE and history.
This commit is contained in:
@@ -6,10 +6,13 @@ const webManualItems = [
|
||||
{ text: '卡信息', link: '/manual/web/card-info' },
|
||||
{ text: '智能诊断', link: '/manual/web/intelligent-diagnosis' },
|
||||
{ text: '业务受理与达量断网', link: '/manual/web/business-operations' },
|
||||
{ text: '套餐配置与定价', link: '/manual/web/packages-and-pricing' },
|
||||
{ text: '预警管理', link: '/manual/web/warnings' },
|
||||
{ text: '入库、库存与出库', link: '/manual/web/inventory' },
|
||||
{ text: '通道与接入管理', link: '/manual/web/channels' },
|
||||
{ text: '企业、用户与角色', link: '/manual/web/enterprise-management' },
|
||||
{ text: '工单管理', link: '/manual/web/work-orders' },
|
||||
{ text: 'API 凭证与执行日志', link: '/manual/web/api-and-logs' },
|
||||
{ text: '常见问题', link: '/manual/web/faq' },
|
||||
]
|
||||
|
||||
const miniProgramManualItems = [
|
||||
@@ -17,7 +20,11 @@ const miniProgramManualItems = [
|
||||
{ text: '首页公开查卡', link: '/manual/mini-program/home' },
|
||||
{ text: '公开卡片详情', link: '/manual/mini-program/devices' },
|
||||
{ text: '卡片排查', link: '/manual/mini-program/diagnosis' },
|
||||
{ text: '常见问题', link: '/manual/mini-program/faq' },
|
||||
{ text: '登录后办理概览', link: '/manual/mini-program/business' },
|
||||
{ text: '客户管理与卡片划拨', link: '/manual/mini-program/customers-and-allocation' },
|
||||
{ text: '工单服务', link: '/manual/mini-program/work-orders' },
|
||||
{ text: '批次执行日志', link: '/manual/mini-program/execution-logs' },
|
||||
{ text: '消息与个人中心', link: '/manual/mini-program/messages-and-profile' },
|
||||
]
|
||||
|
||||
function manualSidebar(_active: 'web' | 'mini' | 'both' = 'both') {
|
||||
|
||||
@@ -83,7 +83,39 @@
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.vp-doc[class*="_docs_openapi_"] table {
|
||||
/* 手册图片组共用图片行和图注行,图片高度不同时图注仍保持并排对齐。 */
|
||||
.vp-doc .manual-image-grid {
|
||||
align-items: stretch !important;
|
||||
row-gap: 6px !important;
|
||||
}
|
||||
|
||||
.vp-doc .manual-image-grid > figure {
|
||||
display: grid;
|
||||
grid-row: span 2;
|
||||
grid-template-rows: subgrid;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.vp-doc .manual-image-grid > figure > img {
|
||||
align-self: start;
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.vp-doc .manual-image-grid > figure > figcaption {
|
||||
align-self: start;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
color: var(--vp-c-brand-1);
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
/* 接口文档和 Web 端手册的表格铺满正文区域。 */
|
||||
.vp-doc[class*="_docs_openapi_"] table,
|
||||
.vp-doc[class*="_docs_manual_web_"] table {
|
||||
display: table;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
@@ -101,7 +133,8 @@
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.vp-doc[class*="_docs_openapi_"] table {
|
||||
.vp-doc[class*="_docs_openapi_"] table,
|
||||
.vp-doc[class*="_docs_manual_web_"] table {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user