-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (86 loc) · 2.1 KB
/
index.html
File metadata and controls
93 lines (86 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ko</title>
<style>
/*[k-cloack] {
display: none;
}*/
* {
box-sizing: border-box;
}
html,
body {
font: 14px '微软雅黑';
margin: 0;
padding: 0;
}
.profile,
.skill {
padding: 20px;
width: 300px;
min-height: 300px;
margin: 50px auto;
box-shadow: 0px 0px 5px #dedede;
}
.profile .profile_item,
.skill .skill_item {
padding: 10px 0;
}
</style>
</head>
<body>
<main id="app">
<!-- <div class="profile">
<section class="profile_item">
<label>姓:</label>
<span k-text="first.split(',')"></span>
</section>
<section class="profile_item">
<label>名:</label>
<span k-text="name"></span>
</section>
<section class="profile_item">
<label>姓名:</label>
<span k-text="first"></span>
</section>
<section class="profile_item">
<label>年龄:</label>
<span k-text="age * 2"></span>
</section>
<section class="profile_item">
<label>nickName:</label>
<span k-text="nickName"></span>
</section>
<section class="profile_item">
<label>github:</label>
<a href="{{github}}" k-text="github" target="_blank"></a>
</section>
<section class="profile_item">
<label>职业:</label>
<span k-text="job.name"></span>
</section>
<section class="profile_item">
<label>工作年限:</label>
<span k-text="job.year"></span>
</section>
<section class="profile_item">
<label>company:</label>
<span>your company is: {{company}}, this is a big company!</span>
</section>
</div>
<div class="skill">
<section class="skill_item" k-for="skill in skillList">
<span k-text="skill.name"></span>
<span k-text="skill.mastery"></span>
</section>
</div>
<div k-show="true">
skillList
</div> -->
<button k-on:click="showName">click me</button>
<k-modal>tesdt</k-modal>
</main>
</body>
</html>