Skip to content

Commit f96bd3b

Browse files
committed
2 parents 67f40d2 + 24fd30a commit f96bd3b

File tree

10 files changed

+940
-11
lines changed

10 files changed

+940
-11
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
2-
dist
2+
dist
3+
.DS_Store

src/css/router.css

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
*{padding:0;margin:0;}
2+
a{text-decoration: none;}
3+
li{list-style: none;}
4+
.clearfix{
5+
zoom:1;
6+
}
7+
.clearfix:after{
8+
content:'';
9+
height:0;
10+
display: block;
11+
visibility: hidden;
12+
clear: both;
13+
}
14+
/*
15+
nav-bar
16+
*/
17+
18+
.nav-bar{
19+
width:1200px;
20+
height:50px;
21+
line-height:50px;
22+
border-bottom:1px solid #ccc;
23+
margin:30px auto;
24+
}
25+
.nav-bar li{
26+
float: left;
27+
}
28+
.nav-bar li a{
29+
display: block;
30+
height:50px;
31+
line-height: 50px;
32+
border-bottom:1px solid transparent;
33+
cursor: pointer;
34+
margin-right:20px;
35+
color:#000;
36+
}
37+
.nav-bar li a.active{
38+
border-bottom:1px solid #cc0000;
39+
color:#cc0000;
40+
}
41+
42+
/*
43+
路由对应的组件的样式
44+
*/
45+
46+
.nav-con{
47+
width:1200px;
48+
margin:0 auto;
49+
}
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
63+

src/css/slide.css

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
*{padding:0;margin:0;}
2+
a{text-decoration: none;}
3+
.clearfix{
4+
zoom:1;
5+
}
6+
.clearfix:after{
7+
content:'';
8+
height:0;
9+
display: block;
10+
visibility: hidden;
11+
clear: both;
12+
}
13+
14+
/*轮播图片大小*/
15+
.slider-wrap{
16+
width:640px;
17+
height:360px;
18+
overflow: hidden;
19+
position: relative;
20+
top:0;
21+
left: 0;
22+
}
23+
24+
.slider-wrap ul{
25+
/*width:1920px;*/
26+
position: absolute;
27+
top:0;
28+
left: 0;
29+
}
30+
.slider-wrap ul li{
31+
list-style: none;
32+
width:640px;
33+
height:360px;
34+
float: left;
35+
}
36+
.slider-wrap ul li a{
37+
display: block;
38+
39+
}
40+
.slider-wrap ul li img{
41+
width:640px;
42+
height:360px;
43+
vertical-align:top;
44+
}
45+
.slide-animate{
46+
transition: all 1s;
47+
}
48+
49+
50+
/*
51+
button
52+
*/
53+
54+
.btn{
55+
width: 55px;
56+
height: 30px;
57+
}
58+
59+
60+
61+
62+
63+
64+
65+
66+
67+
68+
69+
70+

src/css/test.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,31 @@ button:hover {
122122
border-bottom-right-radius: 3px;
123123
border-top-right-radius: 3px;
124124
}
125+
126+
/* 校验出错 */
127+
input[type=text].wrongTip {border:1px solid red;}
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+

0 commit comments

Comments
 (0)