-
Notifications
You must be signed in to change notification settings - Fork 3
/
demo.html
67 lines (62 loc) · 1.89 KB
/
demo.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
<!doctype html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>vue-date-select Demo</title>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="wap-font-scale" content="no">
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1,user-scalable=no">
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" type="text/css" href="css/public.css">
<style>
.vue-date-input{
display: block;
width: 100%;
height: 40px;
border-radius: 5px;
border: 1px solid #999;
margin-bottom: 20px;
text-align: center;
font-size: 14px;
cursor: pointer;
line-height: 40px;
}
</style>
</head>
<body>
<div class="contain" id="app">
<div class="fixWidth">
<div class="nav">
<h1>vue-date-select Demo</h1>
</div>
<div class="demo">
<vue-date-select
placeholder="请选择日期"
v-model="dateVal"
:theme-color="'#2196f3'"
:min="'2000-01-01'"
:max="'2030-01-01'"
:input-class="'vue-date-input'"
:input-style="{color:'#333333'}"
>
</vue-date-select>
</div>
</div>
</div>
<script src="js/vue.js" charset="UTF-8"></script>
<script src="vue-date-select/vue_date_select.js" charset="UTF-8"></script>
<link rel="stylesheet" type="text/css" href="vue-date-select/vue_date_select.css"></link>
<script>
var vm = new Vue({
el: '#app',
data: {
dateVal: ''
},
methods: {
}
});
</script>
</body>
</html>