chore(build): 同步构建产物(site/** + sitemap 公网基址)——含本任务接线后的 data.json/data.js/逐端页,以及并行会话(S10/S9-P3)在途工作的生成物;其源码文件仍留在工作区未提交
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN" data-end="vue2" data-slug="tree">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>tree · Vue 2 预渲染</title>
|
||||
<link rel="stylesheet" href="../../.design_library/kole-ui/colors_and_type.css">
|
||||
<link rel="stylesheet" href="../../frameworks/Tree.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-tree { min-width: 240px; border: 1px solid #E8ECF1; border-radius: 8px; padding: 4px; background: #fff; }
|
||||
.kole-tree-node {
|
||||
display: flex; align-items: center; gap: 4px; height: 32px; border-radius: 4px;
|
||||
cursor: pointer; user-select: none; font-size: 14px; color: #262626; padding-right: 8px;
|
||||
}
|
||||
.kole-tree-node:hover { background: #F5F7FA; }
|
||||
.kole-tree-node.is-selected { background: #F0F5FF; color: #2F54EB; }
|
||||
.kole-tree-arrow {
|
||||
display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px;
|
||||
font-size: 12px; color: #6E6E6E; transition: transform .15s; flex-shrink: 0;
|
||||
}
|
||||
.kole-tree-arrow.is-open { transform: rotate(90deg); }
|
||||
.kole-tree-arrow-placeholder { width: 16px; flex-shrink: 0; }
|
||||
.kole-tree-check { width: 14px; height: 14px; flex-shrink: 0; cursor: pointer; }
|
||||
.kole-tree-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body class="kole-end-preview-body">
|
||||
<!-- 该端实现(frameworks/Tree.vue2.vue)的离线预渲染产物。类名与该端源码一致(tools/build-end-preview.mjs 断言)。 -->
|
||||
<div id="kole-end-preview" data-end="vue2" data-slug="tree">
|
||||
<div data-server-rendered="true" class="kole-tree"><div class="kole-tree-node" style="padding-left:4px;"><span class="kole-tree-arrow-placeholder"></span> <input type="checkbox" class="kole-tree-check"> <span class="kole-tree-label"></span></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user