chore(build): 同步构建产物(site/** + sitemap 公网基址)——含本任务接线后的 data.json/data.js/逐端页,以及并行会话(S10/S9-P3)在途工作的生成物;其源码文件仍留在工作区未提交
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN" data-end="vue3" data-slug="anchornav">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>anchornav · Vue 3 预渲染</title>
|
||||
<link rel="stylesheet" href="../../.design_library/kole-ui/colors_and_type.css">
|
||||
<link rel="stylesheet" href="../../frameworks/AnchorNav.css">
|
||||
<style>
|
||||
/* 演示页的 body 口径(见 frameworks/*.html 的 <style>):组件 CSS 不写 body 样式,
|
||||
而 .btn 这类 inline-flex 元素的高度依赖行高与留白,缺了就会塌成 0 高。 */
|
||||
body { margin: 0; padding: 24px; background: var(--kole-color-page-bg); color: var(--kole-color-text-body);
|
||||
font-family: var(--kole-font-family); font-size: 14px; line-height: 22px; }
|
||||
#kole-end-preview { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
|
||||
html.kole-dark body { background: var(--kole-color-page-bg); color: var(--kole-color-text-body); }
|
||||
</style>
|
||||
<style>
|
||||
|
||||
.kole-anchor { font-family: var(--font-family, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif); width: 160px; }
|
||||
.kole-anchor.fixed { position: fixed; right: 24px; top: 80px; }
|
||||
.kole-anchor-item { display: block; padding: 6px 12px; font-size: 13px; color: #6E6E6E; cursor: pointer; border-left: 2px solid #E8ECF1; line-height: 1.4; transition: color .15s, border-color .15s; background: none; border-top: none; border-right: none; border-bottom: none; text-align: left; width: 100%; }
|
||||
.kole-anchor-item:hover { color: #2F54EB; }
|
||||
.kole-anchor-item.is-active { color: #2F54EB; border-left-color: #2F54EB; font-weight: 500; }
|
||||
.kole-anchor-sub { padding-left: 8px; }
|
||||
.kole-anchor-sub .kole-anchor-item { border-left: none; padding-left: 20px; }
|
||||
.kole-anchor-sub .kole-anchor-item.is-active { border-left: 2px solid #2F54EB; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body class="kole-end-preview-body">
|
||||
<!-- 该端实现(frameworks/AnchorNav.vue3.vue)的离线预渲染产物。类名与该端源码一致(tools/build-end-preview.mjs 断言)。 -->
|
||||
<div id="kole-end-preview" data-end="vue3" data-slug="anchornav">
|
||||
<nav class="kole-anchor fixed" data-v-anchornav><!--[--><!--[--><button class="is-active kole-anchor-item" data-v-anchornav>第一节</button><div class="kole-anchor-sub" data-v-anchornav><!--[--><!--]--></div><!--]--><!--]--></nav>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user