/
index.html
206 lines (186 loc) · 7.14 KB
/
index.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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!doctype html>
<html lang="zh-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>UI</title>
<style>
* {
padding: 0px;
box-sizing: border-box;
}
.box{
margin:120px;
}
</style>
<style>
/* .box{
margin:20px;
}
.xxx {
position: relative;
width: 500px;
left: 50px;
}*/
/*.col{*/
/*height:100px;*/
/*background:#40a9ff;*/
/*color:white;*/
/*border:1px solid #1890ff;*/
/*text-align: center;*/
/*line-height:100px;*/
/*font-size:20px;*/
/*}*/
/*.toast{*/
/*border:1px solid #666;*/
/*background:white;*/
/*padding:5px;*/
/*border-radius:3px;*/
/*cursor:pointer;*/
/*}*/
/*.layout{color: white;}*/
/*.header{height: 40px; background:#40a9ff;text-align: center;line-height: 40px;}*/
/*.content{height: 80px; background:#096dd9;text-align: center;line-height: 80px;}*/
/*.footer{height: 40px; background:#40a9ff;text-align: center;line-height: 40px;}*/
/*.sider{height: 160px; background:#1890ff;text-align: center;line-height: 160px;width:30%;}*/
</style>
</head>
<body>
<div id="app">
<div class="box">
<y-cascader :source="source" >
</y-cascader>
</div>
<!--<div class="box">-->
<!--<y-popover>-->
<!--<y-button>上方弹出</y-button>-->
<!--<template slot="content" slot-scope="{close}">-->
<!--<y-button @click="close">关闭</y-button>-->
<!--</template>-->
<!--</y-popover>-->
<!--<y-popover position="bottom">-->
<!--<y-button>下方弹出</y-button>-->
<!--<template slot="content">-->
<!--弹出内容-->
<!--</template>-->
<!--</y-popover>-->
<!--<y-popover position="left">-->
<!--<y-button>左边弹出</y-button>-->
<!--<template slot="content">-->
<!--弹出内容-->
<!--</template>-->
<!--</y-popover>-->
<!--<y-popover position="right" trigger="hover">-->
<!--<y-button>右边弹出</y-button>-->
<!--<template slot="content">-->
<!--弹出内容-->
<!--</template>-->
<!--</y-popover>-->
<!--</div>-->
<!--<div class="box">-->
<!--<!–参数 :loading icon icon-position–>-->
<!--<y-button>按钮</y-button>-->
<!--<y-button icon="shezhi1" icon-position="right">按钮</y-button>-->
<!--<y-button loading>按钮</y-button>-->
<!--<y-button disabled>按钮</y-button>-->
<!--<y-button-group>-->
<!--<y-button icon="left">上一页</y-button>-->
<!--<y-button icon="right" icon-position="right">下一页</y-button>-->
<!--</y-button-group>-->
<!--</div>-->
<!--<div class="box">-->
<!--<y-input value="这是输入框" @change="aaa" @input="bbb" @focus="ccc" @blur="ddd"></y-input>-->
<!--<y-input value="这是输入框" disabled></y-input>-->
<!--<y-input value="这是输入框" readonly></y-input>-->
<!--</div>-->
<!--<div class="box">-->
<!--<y-input value="12311" error="请重新输入手机号码"></y-input>-->
<!--</div>-->
<!--<div class="box">-->
<!--<y-row>-->
<!--<y-col class="col" span="11" >11</y-col>-->
<!--<y-col class="col" span="11" offset="2">11</y-col>-->
<!--</y-row>-->
<!--</div>-->
<!--<div class="box">-->
<!--<y-row>-->
<!--<y-col class="col" span="7" >7</y-col>-->
<!--<y-col class="col" span="7" offset="1">7</y-col>-->
<!--<y-col class="col" span="7" offset="2">7</y-col>-->
<!--</y-row>-->
<!--</div>-->
<!--<div class="box">-->
<!--<y-row>-->
<!--<y-col class="col" span="8" >8</y-col>-->
<!--<y-col class="col" span="3" offset="2">3</y-col>-->
<!--<y-col class="col" span="3" offset="2">3</y-col>-->
<!--<y-col class="col" span="4" offset="2">3</y-col>-->
<!--</y-row>-->
<!--</div>-->
<!--<div class="box">-->
<!--<y-row>-->
<!--<y-col class="col" span="8" >8</y-col>-->
<!--<y-col class="col" span="8">8</y-col>-->
<!--<y-col class="col" span="8">8</y-col>-->
<!--</y-row>-->
<!--</div>-->
<!--<div class="box">-->
<!--<y-row>-->
<!--<y-col class="col" span="6">6</y-col>-->
<!--<y-col class="col" span="6">6</y-col>-->
<!--<y-col class="col" span="6">6</y-col>-->
<!--<y-col class="col" span="6">6</y-col>-->
<!--</y-row>-->
<!--</div>-->
<!--<div class="box">-->
<!--<y-layout class="layout">-->
<!--<y-sider class="sider">sider</y-sider>-->
<!--<y-layout>-->
<!--<y-header class="header">header</y-header>-->
<!--<y-content class="content">content</y-content>-->
<!--<y-footer class="footer">footer</y-footer>-->
<!--</y-layout>-->
<!--</y-layout>-->
<!--</div>-->
<!--<div class="box">-->
<!--<button class="toast" @click="showToast1">Toast-top</button>-->
<!--<button class="toast" @click="showToast2">Toast-middle</button>-->
<!--<button class="toast" @click="showToast3">Toast-bottom</button>-->
<!--</div>-->
<!-- <div class="box">
<!–<y-tabs :selected="selectedTab" @update:selected="selectedTab= $event">–>
<y-tabs :selected.sync="selectedTab" class="xxx">
<y-tabs-head>
<template slot="actions">
<button>按钮</button>
</template>
<y-tabs-item name="one">one</y-tabs-item>
<y-tabs-item name="two" disabled >
two
</y-tabs-item>
<y-tabs-item name="three">
<y-icon name="shezhi1" style="margin-right:5px;"></y-icon>
three
</y-tabs-item>
</y-tabs-head>
<y-tabs-body>
<y-tabs-pane name="one">内容 1</y-tabs-pane>
<y-tabs-pane name="two">内容 2</y-tabs-pane>
<y-tabs-pane name="three">内容 3</y-tabs-pane>
</y-tabs-body>
</y-tabs>
</div>-->
<!--<div class="box">-->
<!--<y-collapse :selected.sync="selectedTab" >-->
<!--<y-collapse-item title="标题1" name="1">这是内容</y-collapse-item>-->
<!--<y-collapse-item title="标题2" name="2">这是内容</y-collapse-item>-->
<!--<y-collapse-item title="标题3" name="3">这是内容</y-collapse-item>-->
<!--</y-collapse>-->
<!--</div>-->
</div>
<!--<script src="//at.alicdn.com/t/font_860042_fabgsfluazl.js"></script>-->
<script src="./src/app.js"></script>
</body>
</html>