sync: 同步文档 v1.0.4 并脱敏
This commit is contained in:
@@ -13,6 +13,7 @@ const webManualItems = [
|
||||
{ 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 = [
|
||||
@@ -25,6 +26,7 @@ const miniProgramManualItems = [
|
||||
{ text: '工单服务', link: '/manual/mini-program/work-orders' },
|
||||
{ text: '批次执行日志', link: '/manual/mini-program/execution-logs' },
|
||||
{ text: '消息与个人中心', link: '/manual/mini-program/messages-and-profile' },
|
||||
{ text: '常见问题', link: '/manual/mini-program/faq' },
|
||||
]
|
||||
|
||||
function manualSidebar(_active: 'web' | 'mini' | 'both' = 'both') {
|
||||
|
||||
@@ -83,39 +83,7 @@
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
/* 手册图片组共用图片行和图注行,图片高度不同时图注仍保持并排对齐。 */
|
||||
.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 {
|
||||
.vp-doc[class*="_docs_openapi_"] table {
|
||||
display: table;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
@@ -133,8 +101,7 @@
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.vp-doc[class*="_docs_openapi_"] table,
|
||||
.vp-doc[class*="_docs_manual_web_"] table {
|
||||
.vp-doc[class*="_docs_openapi_"] table {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user