Showing
5 changed files
with
15 additions
and
106 deletions
@@ -228,9 +228,8 @@ a { | @@ -228,9 +228,8 @@ a { | ||
228 | @import "header"; | 228 | @import "header"; |
229 | @import "footer"; | 229 | @import "footer"; |
230 | @import "404"; | 230 | @import "404"; |
231 | -@import "index/index"; | ||
232 | -@import "product/index"; | ||
233 | -@import "plugins/slider"; | 231 | +@import "common/index"; |
232 | +@import "plugin/index"; | ||
234 | 233 | ||
235 | /* 模块 */ | 234 | /* 模块 */ |
236 | @import "index/index"; | 235 | @import "index/index"; |
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | min-width: 350px; | 7 | min-width: 350px; |
8 | background: #f8f8f8; | 8 | background: #f8f8f8; |
9 | z-index: 1001; | 9 | z-index: 1001; |
10 | - border: 5px solid rgba(0,0,0,.38); | 10 | + border: 5px solid rgba(0, 0, 0, 0.38); |
11 | 11 | ||
12 | .close { | 12 | .close { |
13 | position: absolute; | 13 | position: absolute; |
@@ -23,11 +23,11 @@ | @@ -23,11 +23,11 @@ | ||
23 | .btns { | 23 | .btns { |
24 | text-align: center; | 24 | text-align: center; |
25 | } | 25 | } |
26 | - .alert-sure{ | 26 | + .alert-sure { |
27 | background: #000; | 27 | background: #000; |
28 | color: #fff; | 28 | color: #fff; |
29 | } | 29 | } |
30 | - .confirm-sure{ | 30 | + .confirm-sure { |
31 | background: #000; | 31 | background: #000; |
32 | color: #fff; | 32 | color: #fff; |
33 | } | 33 | } |
@@ -55,7 +55,7 @@ | @@ -55,7 +55,7 @@ | ||
55 | position: relative; | 55 | position: relative; |
56 | padding-top: 40px; | 56 | padding-top: 40px; |
57 | padding-bottom: 20px; | 57 | padding-bottom: 20px; |
58 | - p{ | 58 | + p { |
59 | position: absolute; | 59 | position: absolute; |
60 | left: 0; | 60 | left: 0; |
61 | bottom: 25px; | 61 | bottom: 25px; |
@@ -63,7 +63,7 @@ | @@ -63,7 +63,7 @@ | ||
63 | color: #444; | 63 | color: #444; |
64 | line-height: 25px; | 64 | line-height: 25px; |
65 | } | 65 | } |
66 | - div{ | 66 | + div { |
67 | position: absolute; | 67 | position: absolute; |
68 | top: 0; | 68 | top: 0; |
69 | left: 100px; | 69 | left: 100px; |
@@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
74 | height: 30px; | 74 | height: 30px; |
75 | line-height: 30px; | 75 | line-height: 30px; |
76 | margin: 0 auto; | 76 | margin: 0 auto; |
77 | - span{ | 77 | + span { |
78 | background: url(/cart/del.png); | 78 | background: url(/cart/del.png); |
79 | float: left; | 79 | float: left; |
80 | width: 27px; | 80 | width: 27px; |
@@ -84,11 +84,11 @@ | @@ -84,11 +84,11 @@ | ||
84 | } | 84 | } |
85 | 85 | ||
86 | &.subcontent-dialog { | 86 | &.subcontent-dialog { |
87 | - padding: 30px 0px 30px 0px; | 87 | + padding: 30px 0; |
88 | 88 | ||
89 | .content { | 89 | .content { |
90 | font-weight: bold; | 90 | font-weight: bold; |
91 | - margin: 0px auto 30px auto; | 91 | + margin: 0 auto 30px; |
92 | } | 92 | } |
93 | 93 | ||
94 | .sub-content { | 94 | .sub-content { |
@@ -99,7 +99,6 @@ | @@ -99,7 +99,6 @@ | ||
99 | margin-bottom: 5px; | 99 | margin-bottom: 5px; |
100 | } | 100 | } |
101 | 101 | ||
102 | - | ||
103 | .btn { | 102 | .btn { |
104 | margin-top: 25px; | 103 | margin-top: 25px; |
105 | width: 100px; | 104 | width: 100px; |
public/scss/plugin/_index.css
0 → 100644
public/scss/plugins/_slider.css
deleted
100644 → 0
1 | -.slider { | ||
2 | - position: relative; | ||
3 | - height: 327px; | ||
4 | - width: 100%; | ||
5 | - overflow: hidden; | ||
6 | - | ||
7 | - img { | ||
8 | - max-width: 100%; | ||
9 | - max-height: 100%; | ||
10 | - } | ||
11 | -} | ||
12 | - | ||
13 | -.slide-pagination { | ||
14 | - position: absolute; | ||
15 | - left: 0; | ||
16 | - right: 0; | ||
17 | - bottom: 12px; | ||
18 | - text-align: center; | ||
19 | -} | ||
20 | - | ||
21 | -.slide-pagination-inner { | ||
22 | - display: inline-block; | ||
23 | - position: relative; | ||
24 | - padding: 7px; | ||
25 | - vertical-align: middle; | ||
26 | -} | ||
27 | - | ||
28 | -.slide-shade { | ||
29 | - position: absolute; | ||
30 | - left: 0; | ||
31 | - right: 0; | ||
32 | - top: 0; | ||
33 | - bottom: 0; | ||
34 | - background: #000; | ||
35 | - opacity: 0.3; | ||
36 | - border-radius: 13px; | ||
37 | -} | ||
38 | - | ||
39 | -.slide-pagination-last span { | ||
40 | - display: block; | ||
41 | - float: left; | ||
42 | - position: relative; | ||
43 | - margin: 0 7px; | ||
44 | - width: 12px; | ||
45 | - height: 12px; | ||
46 | - background: #fff; | ||
47 | - cursor: pointer; | ||
48 | - opacity: 0.6; | ||
49 | - border-radius: 6px; | ||
50 | - z-index: 2; | ||
51 | - | ||
52 | - &.focus { | ||
53 | - opacity: 1; | ||
54 | - } | ||
55 | -} | ||
56 | - | ||
57 | -.slide-switch { | ||
58 | - display: none; | ||
59 | - | ||
60 | - &.show { | ||
61 | - display: block; | ||
62 | - } | ||
63 | - | ||
64 | - a { | ||
65 | - display: block; | ||
66 | - position: absolute; | ||
67 | - top: 50%; | ||
68 | - margin: -30px 0 0; | ||
69 | - width: 60px; | ||
70 | - height: 60px; | ||
71 | - line-height: 56px; | ||
72 | - text-align: center; | ||
73 | - z-index: 2; | ||
74 | - background: #fff; | ||
75 | - opacity: 0.55; | ||
76 | - | ||
77 | - &:hover{ | ||
78 | - opacity: 0.9; | ||
79 | - } | ||
80 | - | ||
81 | - .iconfont { | ||
82 | - font-size: 32px; | ||
83 | - color: #59585a; | ||
84 | - } | ||
85 | - } | ||
86 | - | ||
87 | - .prev { | ||
88 | - left: 0; | ||
89 | - } | ||
90 | - | ||
91 | - .next { | ||
92 | - right: 0; | ||
93 | - } | ||
94 | -} |
-
Please register or login to post a comment