ike-weblca-html 2.1.0 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demo/index.html +55 -0
- package/dist/index.js +1 -1
- package/package.json +7 -2
- package/scripts/dev-server.js +125 -0
- package/src/IkeWebHeader.js +1148 -555
- package/src/index.js +4 -4
- package/src/IkeWebHeader-temporary.js +0 -529
package/demo/index.html
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>ike-weblca-html 本地预览</title>
|
|
7
|
+
<style>
|
|
8
|
+
body {
|
|
9
|
+
margin: 0;
|
|
10
|
+
font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
11
|
+
background: #f6f7fb;
|
|
12
|
+
color: #222;
|
|
13
|
+
}
|
|
14
|
+
.page {
|
|
15
|
+
min-height: 100vh;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
}
|
|
19
|
+
main {
|
|
20
|
+
flex: 1;
|
|
21
|
+
max-width: 980px;
|
|
22
|
+
margin: 32px auto;
|
|
23
|
+
padding: 24px;
|
|
24
|
+
background: #fff;
|
|
25
|
+
border-radius: 12px;
|
|
26
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
|
|
27
|
+
}
|
|
28
|
+
h1 {
|
|
29
|
+
margin: 0 0 12px;
|
|
30
|
+
font-size: 22px;
|
|
31
|
+
}
|
|
32
|
+
p {
|
|
33
|
+
margin: 6px 0;
|
|
34
|
+
line-height: 1.6;
|
|
35
|
+
}
|
|
36
|
+
code {
|
|
37
|
+
padding: 2px 6px;
|
|
38
|
+
background: #f1f1f1;
|
|
39
|
+
border-radius: 4px;
|
|
40
|
+
}
|
|
41
|
+
</style>
|
|
42
|
+
</head>
|
|
43
|
+
<body>
|
|
44
|
+
<div class="page">
|
|
45
|
+
<ike-web-header></ike-web-header>
|
|
46
|
+
<main>
|
|
47
|
+
<h1>本地预览已启动</h1>
|
|
48
|
+
<p>你看到的是 <code>ike-weblca-html</code> 的本地预览页面。</p>
|
|
49
|
+
<p>修改 <code>src/</code> 下的代码后,webpack 会自动重新构建。</p>
|
|
50
|
+
</main>
|
|
51
|
+
<ike-web-footer></ike-web-footer>
|
|
52
|
+
</div>
|
|
53
|
+
<script src="/index.js"></script>
|
|
54
|
+
</body>
|
|
55
|
+
</html>
|