-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRadio.html
50 lines (43 loc) · 994 Bytes
/
Radio.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>开关</title>
<link rel="stylesheet" href="CSS/style.css">
</head>
<body>
<div id="app">
<!-- <h3>Switch-开关</h3>
<mt-switch v-model="value">开关</mt-switch>
<h3>checklist-复选框列表</h3>
<mt-cell>
<mt-checklist
title="复选框列表"
v-model="value"
:options="['选项A', '选项B', '选项C']">
</mt-checklist>
</mt-cell> -->
<h3>radio-单选框列表</h3>
<mt-radio
title="单选框列表"
v-model="value"
:options="['选项A', '选项B', '选项C']">
</mt-radio>
<mt-radio
align="right"
title="右对齐"
v-model="value"
:options="['选项A', '选项B', '选项C']">
</mt-radio>
</div>
</body>
<!-- 先引入 Vue -->
<script src="JS/vue.js"></script>
<!-- 引入组件库 -->
<script src="JS/index.js"></script>
<script>
new Vue({
el:'#app',
})
</script>
</html>