1 /*初始化浏览器默认样式*/
2 *{
3 margin: 0;
4 padding: 0;
5 }
6 /*sowingMap*/
7 .sowingMap{
8 width: 800px;
9 height: 500px;
10 margin: 0 auto;
11 position: relative;
12 overflow: hidden;
13 }
14 /*imgPart*/
15 .imgPart{
16 width: 800px;
17 height: 500px;
18 position: absolute;
19 }
20 /*imgSwitch*/
21 .imgSwitch{
22 width: 800px;
23 height: 500px;
24 position: absolute;
25 list-style: none;
26 display: none;
27 cursor: pointer;
28 }
29 .imgSwitch img{
30 width: 100%;
31 height: 500px;
32 }
33 .imgShow{
34 display: block;
35 }
36 /*spotPart*/
37 .spotPart{
38 position: absolute;
39 bottom: 0;
40 height: 40px;
41 left: 36%;
42 }
43 .spotPart p{
44 width: 20px;
45 height: 20px;
46 border-radius: 100%;
47 background-color: #fff;
48 float: left;
49 margin-left: 20px;
50 cursor: pointer;
51 }
52 /*提示点的选中颜色*/
53 .spotPart .spotColor{
54 background-color: #f00;
55 }
56 /*上一张下一张切换部分*/
57 .preImg , .nextImg{
58 width: 70px;
59 height: 70px;
60 border-radius: 100%;
61 background-color: rgba(255,255,255,0.5);
62 text-align: center;
63 line-height: 70px;
64 font-size: 30px;
65 color: #f5f5f5;
66 position: absolute;
67 top: 190px;
68 cursor: pointer;
69 display: none;
70 }
71 .preImg{
72 left: -35px;
73 text-indent: 25px;
74 }
75 .nextImg{
76 right: -35px;
77 text-indent: -25px;
78 }