25 lines
1.7 KiB
HTML
25 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN" data-end="vue3" data-slug="imagepreview">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title>imagepreview · Vue 3 预渲染</title>
|
||
<link rel="stylesheet" href="../../.design_library/kole-ui/colors_and_type.css">
|
||
<link rel="stylesheet" href="../../frameworks/ImagePreview.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>
|
||
|
||
</head>
|
||
<body class="kole-end-preview-body">
|
||
<!-- 该端实现(frameworks/ImagePreview.vue3.vue)的离线预渲染产物。类名与该端源码一致(tools/build-end-preview.mjs 断言)。 -->
|
||
<div id="kole-end-preview" data-end="vue3" data-slug="imagepreview">
|
||
<div class="kole-imgprev-mask" close="visible = false" change="index = $event"><button class="kole-imgprev-close">✕</button><button class="kole-imgprev-arrow prev">‹</button><img class="kole-imgprev-img" alt="index"><button class="kole-imgprev-arrow next">›</button><div class="kole-imgprev-count">index1 / 1</div><div class="kole-imgprev-thumbs"><!--[--><img class="kole-imgprev-thumb" src="data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="80"/>"><!--]--></div></div>
|
||
</div>
|
||
</body>
|
||
</html>
|