Authored by 毕凯

css 整理

@@ -8,13 +8,8 @@ module.exports = app => { @@ -8,13 +8,8 @@ module.exports = app => {
8 8
9 // 公共服务 9 // 公共服务
10 10
11 - // 专题活动等活动页面  
12 - // app.use(require('./apps/activity'));  
13 -  
14 // 业务模块 11 // 业务模块
15 - // app.use('/', require('./apps/index')); 12 + app.use(require('./apps/channel')); // 频道页
  13 + app.use(require('./apps/activity')); // 专题活动等活动页面
16 app.use('/product', require('./apps/product')); 14 app.use('/product', require('./apps/product'));
17 -  
18 - // 频道页  
19 - // app.use('/', require('./apps/channel'));  
20 }; 15 };
1 <div class="slide-container {{#if pagination}}slide-thumb-container{{/if}}"> 1 <div class="slide-container {{#if pagination}}slide-thumb-container{{/if}}">
2 - <div class="slide-wrapper">  
3 <ul> 2 <ul>
4 {{# list}} 3 {{# list}}
5 <li style="{{#if bgColor}}background:{{bgColor}}{{/if}}"> 4 <li style="{{#if bgColor}}background:{{bgColor}}{{/if}}">
@@ -19,13 +18,12 @@ @@ -19,13 +18,12 @@
19 </li> 18 </li>
20 {{/ list}} 19 {{/ list}}
21 </ul> 20 </ul>
22 - </div>  
23 21
24 {{#if pagination}} 22 {{#if pagination}}
25 <div class="thumb-pagination"> 23 <div class="thumb-pagination">
26 <ul class="clearfix"> 24 <ul class="clearfix">
27 {{# pagination}} 25 {{# pagination}}
28 - <li> 26 + <li data-slide="{{@index}}">
29 <a href="{{href}}" target="_blank"></a> 27 <a href="{{href}}" target="_blank"></a>
30 <img src="{{image img 138 54}}" alt=""> 28 <img src="{{image img 138 54}}" alt="">
31 </li> 29 </li>
@@ -93,6 +93,7 @@ @@ -93,6 +93,7 @@
93 "yoho-handlebars": "^4.0.5", 93 "yoho-handlebars": "^4.0.5",
94 "yoho-jquery": "^1.12.4", 94 "yoho-jquery": "^1.12.4",
95 "yoho-jquery-lazyload": "^1.9.7", 95 "yoho-jquery-lazyload": "^1.9.7",
  96 + "yoho-slider": "0.0.2",
96 "yoho-swiper": "^3.3.1" 97 "yoho-swiper": "^3.3.1"
97 } 98 }
98 } 99 }
@@ -12,8 +12,8 @@ var homePage = $('.home-page').data('page'), @@ -12,8 +12,8 @@ var homePage = $('.home-page').data('page'),
12 12
13 require('../common'); 13 require('../common');
14 14
15 -require('../plugins/slider');  
16 -require('../plugins/slider2'); 15 +// require('../plugins/slider');
  16 +// require('../plugins/slider2');
17 require('../plugins/logo-brand'); 17 require('../plugins/logo-brand');
18 18
19 require('../plugins/accordion'); 19 require('../plugins/accordion');
@@ -39,13 +39,9 @@ if ($.inArray(homePage, ['boys', 'girls', 'kids', 'lifestyle']) > -1) { @@ -39,13 +39,9 @@ if ($.inArray(homePage, ['boys', 'girls', 'kids', 'lifestyle']) > -1) {
39 }); 39 });
40 } 40 }
41 41
42 -  
43 -  
44 lazyLoad($('img.lazy')); 42 lazyLoad($('img.lazy'));
45 if (homePage === 'boys') { 43 if (homePage === 'boys') {
46 - $('.slide-container').slider({  
47 - pagination: '.thumb-pagination'  
48 - }); 44 + require('../common/top-slider');
49 } else { 45 } else {
50 $('.center-col').slider(); 46 $('.center-col').slider();
51 $('.slide-container').slider(); 47 $('.slide-container').slider();
@@ -55,11 +51,13 @@ if (homePage === 'boys') { @@ -55,11 +51,13 @@ if (homePage === 'boys') {
55 $('.logo-brand').logoBrand({ 51 $('.logo-brand').logoBrand({
56 url: brandUrl 52 url: brandUrl
57 }); 53 });
58 - $('.img-brand').slider2(); 54 +
  55 + // $('.img-brand').slider2();
59 } else { 56 } else {
60 $('.logo-brand').logoBrand({ 57 $('.logo-brand').logoBrand({
61 showNum: 10, 58 showNum: 10,
62 url: brandUrl 59 url: brandUrl
63 }); 60 });
64 - $('.img-slider-wrapper').slider2(); 61 +
  62 + // $('.img-slider-wrapper').slider2();
65 } 63 }
  1 +var $ = require('yoho-jquery');
  2 +
  3 +window.jQuery = $;
  4 +require('yoho-slider');
  5 +
  6 +$(function() {
  7 + var topSlider = $('.slide-container').unslider({
  8 + autoplay: true,
  9 + delay: 5000,
  10 + arrows: {
  11 +
  12 + },
  13 + nav: false,
  14 + animate: 'fade',
  15 + pagination: '.thumb-pagination'
  16 + });
  17 +
  18 + var $thumbPagination = $('.thumb-pagination');
  19 +
  20 + $thumbPagination.on('mouseenter', 'li', function() {
  21 + var $this = $(this);
  22 +
  23 + topSlider.unslider('animate:' + $this.data('slide'));
  24 + });
  25 +
  26 + topSlider.on('unslider.change', function(event, index) {
  27 + $thumbPagination.find('[data-slide="' + index + '"]').addClass('focus').siblings().removeClass('focus');
  28 + });
  29 +
  30 + $thumbPagination.find('li').first().addClass('focus');
  31 +});
@@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
2 width: 1150px; 2 width: 1150px;
3 margin: 10px auto 0; 3 margin: 10px auto 0;
4 4
  5 + /*
5 .slide-container { 6 .slide-container {
6 position: absolute; 7 position: absolute;
7 left: 0; 8 left: 0;
@@ -99,6 +100,7 @@ @@ -99,6 +100,7 @@
99 } 100 }
100 } 101 }
101 102
  103 + */
102 .thumb-pagination { 104 .thumb-pagination {
103 width: 1148px; 105 width: 1148px;
104 margin: 6px auto 0; 106 margin: 6px auto 0;
@@ -169,6 +171,7 @@ @@ -169,6 +171,7 @@
169 } 171 }
170 } 172 }
171 173
  174 + */
172 .debris-slider { 175 .debris-slider {
173 height: 510px; 176 height: 510px;
174 width: 100%; 177 width: 100%;
  1 +@use postcss-clearfix ;
  2 +
  3 +/* Reset End */
  4 +.clearfix {
  5 + clear: fix;
  6 +}
  7 +
  8 +body {
  9 + font-family: arial, "Microsoft YaHei";
  10 +}
  11 +
  12 +@font-face {
  13 + font-family: "iconfont";
  14 + src: resolve('iconfont.eot');
  15 + src: resolve('iconfont.eot?#iefix') format('embedded-opentype'), resolve('iconfont.woff') format('woff'), resolve('iconfont.ttf') format('truetype'), resolve('iconfont.svg#iconfont') format('svg');
  16 +}
  17 +
  18 +.iconfont {
  19 + font-family: "iconfont" !important;
  20 + font-size: 16px;
  21 + font-style: normal;
  22 + text-decoration: none;
  23 + -webkit-font-smoothing: antialiased;
  24 + -webkit-text-stroke-width: 0.2px;
  25 + -moz-osx-font-smoothing: grayscale;
  26 +}
  27 +
  28 +.center-content {
  29 + width: 1150px;
  30 + margin-left: auto;
  31 + margin-right: auto;
  32 +}
  33 +
  34 +.min-screen .center-content {
  35 + width: 990px;
  36 +}
  37 +
  38 +.left,
  39 +.pull-left {
  40 + float: left;
  41 +}
  42 +
  43 +.right,
  44 +.pull-right {
  45 + float: right;
  46 +}
  47 +
  48 +.center {
  49 + text-align: center;
  50 +}
  51 +
  52 +.hide {
  53 + display: none !important;
  54 +}
  55 +
  56 +a:focus,
  57 +input,
  58 +textarea {
  59 + outline: none;
  60 +}
  61 +
  62 +a {
  63 + text-decoration: none;
  64 + color: #000;
  65 +}
  66 +
  67 +.body-mask {
  68 + position: absolute;
  69 + z-index: 100;
  70 + background: #000;
  71 + opacity: 0.2;
  72 + top: 0;
  73 + left: 0;
  74 +}
  75 +
  76 +@define-mixin ellipsis {
  77 + overflow: hidden;
  78 + text-overflow: ellipsis;
  79 + white-space: nowrap;
  80 +}
  81 +
  82 +/*
  83 +公共样式
  84 +*/
  85 +.g-list {
  86 + li {
  87 + float: left;
  88 + a {
  89 + position: relative;
  90 + display: block;
  91 + overflow: hidden;
  92 + img {
  93 + width: 100%;
  94 + height: 100%;
  95 + }
  96 + }
  97 + }
  98 +}
  99 +
  100 +.yoho-page {
  101 + .floor-header {
  102 + position: relative;
  103 + margin: 80px 0 40px;
  104 +
  105 + .floor-title {
  106 + margin: 0 auto;
  107 + width: 298px;
  108 + height: 31px;
  109 + line-height: 31px;
  110 + border: 1px solid #000;
  111 + font-size: 16px;
  112 + text-align: center;
  113 + }
  114 +
  115 + .header-navs {
  116 + position: absolute;
  117 + padding: 10px 0;
  118 + top: 0;
  119 + right: 0;
  120 + font-size: 14px;
  121 +
  122 + li {
  123 + float: left;
  124 + padding: 1px 15px;
  125 + border-left: 1px solid #ccc;
  126 +
  127 + &:first-child {
  128 + border-left: none;
  129 + }
  130 +
  131 + &:hover {
  132 + text-decoration: underline;
  133 + }
  134 +
  135 + a {
  136 + color: #333;
  137 + }
  138 + }
  139 + }
  140 + }
  141 +}
  142 +
  143 +/*
  144 +热门推荐模板样式
  145 +*/
  146 +.home-page {
  147 + .tpl-recommend {
  148 + width: 100%;
  149 + position: relative;
  150 + a {
  151 + display: block;
  152 + img {
  153 + display: block;
  154 + width: 100%;
  155 + height: 100%;
  156 + }
  157 + }
  158 + .tpl-body {
  159 + margin-bottom: 8px;
  160 + }
  161 + .tpl-nav {
  162 + float: left;
  163 + overflow: hidden;
  164 + .tpl-keywords {
  165 + margin-bottom: 8px;
  166 + }
  167 +
  168 + .tpl-category {
  169 + padding: 10px 0;
  170 + background-color: #f8f8f8;
  171 + overflow: hidden;
  172 +
  173 + a {
  174 + float: left;
  175 + width: 50%;
  176 + text-align: center;
  177 + color: #000;
  178 + overflow: hidden;
  179 + }
  180 + }
  181 + }
  182 + .tpl-brands {
  183 + float: left;
  184 + overflow: hidden;
  185 + margin-left: 8px;
  186 + li {
  187 + margin-top: 8px;
  188 + }
  189 + }
  190 + .tpl-types {
  191 + float: left;
  192 + overflow: hidden;
  193 + margin-top: -8px;
  194 + width: 579px;
  195 +
  196 + li {
  197 + float: left;
  198 + margin-left: 8px;
  199 + margin-top: 8px;
  200 +
  201 + a {
  202 + width: 185px;
  203 + height: 248px;
  204 + }
  205 + }
  206 + }
  207 + .tpl-products {
  208 + overflow: hidden;
  209 + margin-left: -10px;
  210 + li {
  211 + float: left;
  212 + margin-left: 10px;
  213 +
  214 + a {
  215 + width: 222px;
  216 + height: 298px;
  217 + }
  218 + }
  219 + }
  220 +
  221 + .tpl-nav {
  222 + width: 185px;
  223 +
  224 + .keywords0,
  225 + .keywords1,
  226 + .keywords2 {
  227 + margin-bottom: 10px;
  228 + height: 76px;
  229 + }
  230 + .keywords2 {
  231 + margin-bottom: 0;
  232 + }
  233 + .tpl-category {
  234 + height: 228px;
  235 +
  236 + a {
  237 + height: 38px;
  238 + line-height: 38px;
  239 + font-size: 14px;
  240 + }
  241 + }
  242 + }
  243 +
  244 + .tpl-brands {
  245 + width: 378px;
  246 + height: 512px;
  247 +
  248 + li a {
  249 + height: 248px;
  250 + }
  251 + }
  252 + }
  253 +}
  254 +
  255 +/*
  256 +人气单品
  257 +*/
  258 +.home-page .flash-sale {
  259 + .flash-sale-list {
  260 + margin-left: -10px;
  261 + a {
  262 + height: 340px;
  263 + width: 560px;
  264 + }
  265 + li {
  266 + margin: 10px;
  267 + }
  268 +
  269 + .flash-sale-banner {
  270 + position: relative;
  271 + height: 260px;
  272 + }
  273 +
  274 + .flash-sale-bottom {
  275 + height: 78px;
  276 + position: relative;
  277 + border: 1px solid #000;
  278 + border-top-style: none;
  279 + }
  280 + p.flash-sale-count {
  281 + position: absolute;
  282 + left: 50px;
  283 + top: 20px;
  284 + }
  285 +
  286 + p.flash-sale-name {
  287 + position: absolute;
  288 + left: 120px;
  289 + top: 20px;
  290 + }
  291 + p.flash-sale-timer {
  292 + position: absolute;
  293 + left: 50px;
  294 + top: 50px;
  295 + }
  296 +
  297 + .flash-sale-logo {
  298 + position: absolute;
  299 + right: 50px;
  300 + width: 100px;
  301 + height: 80px;
  302 + img {
  303 + width: 100px;
  304 + height: 50px;
  305 + margin-top: 15px;
  306 + }
  307 + }
  308 + }
  309 +}
1 -/*  
2 -公共样式  
3 -*/  
4 -.g-list {  
5 - li {  
6 - float: left;  
7 - a {  
8 - position: relative;  
9 - display: block;  
10 - overflow: hidden;  
11 - img {  
12 - width: 100%;  
13 - height: 100%;  
14 - }  
15 - }  
16 - }  
17 -}  
18 -  
19 -.yoho-page {  
20 - .floor-header {  
21 - position: relative;  
22 - margin: 80px 0 40px;  
23 -  
24 - .floor-title {  
25 - margin: 0 auto;  
26 - width: 298px;  
27 - height: 31px;  
28 - line-height: 31px;  
29 - border: 1px solid #000;  
30 - font-size: 16px;  
31 - text-align: center;  
32 - }  
33 -  
34 - .header-navs {  
35 - position: absolute;  
36 - padding: 10px 0;  
37 - top: 0;  
38 - right: 0;  
39 - font-size: 14px;  
40 -  
41 - li {  
42 - float: left;  
43 - padding: 1px 15px;  
44 - border-left: 1px solid #ccc;  
45 -  
46 - &:first-child {  
47 - border-left: none;  
48 - }  
49 -  
50 - &:hover {  
51 - text-decoration: underline;  
52 - }  
53 -  
54 - a {  
55 - color: #333;  
56 - }  
57 - }  
58 - }  
59 - }  
60 -}  
61 -  
62 -/*  
63 -热门推荐模板样式  
64 -*/  
65 -.home-page {  
66 - .tpl-recommend {  
67 - width: 100%;  
68 - position: relative;  
69 - a {  
70 - display: block;  
71 - img {  
72 - display: block;  
73 - width: 100%;  
74 - height: 100%;  
75 - }  
76 - }  
77 - .tpl-body {  
78 - margin-bottom: 8px;  
79 - }  
80 - .tpl-nav {  
81 - float: left;  
82 - overflow: hidden;  
83 - .tpl-keywords {  
84 - margin-bottom: 8px;  
85 - }  
86 -  
87 - .tpl-category {  
88 - padding: 10px 0;  
89 - background-color: #f8f8f8;  
90 - overflow: hidden;  
91 -  
92 - a {  
93 - float: left;  
94 - width: 50%;  
95 - text-align: center;  
96 - color: #000;  
97 - overflow: hidden;  
98 - }  
99 - }  
100 - }  
101 - .tpl-brands {  
102 - float: left;  
103 - overflow: hidden;  
104 - margin-left: 8px;  
105 - li {  
106 - margin-top: 8px;  
107 - }  
108 - }  
109 - .tpl-types {  
110 - float: left;  
111 - overflow: hidden;  
112 - margin-top: -8px;  
113 - width: 579px;  
114 -  
115 - li {  
116 - float: left;  
117 - margin-left: 8px;  
118 - margin-top: 8px;  
119 -  
120 - a {  
121 - width: 185px;  
122 - height: 248px;  
123 - }  
124 - }  
125 - }  
126 - .tpl-products {  
127 - overflow: hidden;  
128 - margin-left: -10px;  
129 - li {  
130 - float: left;  
131 - margin-left: 10px;  
132 -  
133 - a {  
134 - width: 222px;  
135 - height: 298px;  
136 - }  
137 - }  
138 - }  
139 -  
140 - .tpl-nav {  
141 - width: 185px;  
142 -  
143 - .keywords0,  
144 - .keywords1,  
145 - .keywords2 {  
146 - margin-bottom: 10px;  
147 - height: 76px;  
148 - }  
149 - .keywords2 {  
150 - margin-bottom: 0;  
151 - }  
152 - .tpl-category {  
153 - height: 228px;  
154 -  
155 - a {  
156 - height: 38px;  
157 - line-height: 38px;  
158 - font-size: 14px;  
159 - }  
160 - }  
161 - }  
162 -  
163 - .tpl-brands {  
164 - width: 378px;  
165 - height: 512px;  
166 -  
167 - li a {  
168 - height: 248px;  
169 - }  
170 - }  
171 - }  
172 -}  
173 -  
174 -/*  
175 -人气单品  
176 -*/  
177 -.home-page .flash-sale {  
178 - .flash-sale-list {  
179 - margin-left: -10px;  
180 - a {  
181 - height: 340px;  
182 - width: 560px;  
183 - }  
184 - li {  
185 - margin: 10px;  
186 - }  
187 -  
188 - .flash-sale-banner {  
189 - position: relative;  
190 - height: 260px;  
191 - }  
192 -  
193 - .flash-sale-bottom {  
194 - height: 78px;  
195 - position: relative;  
196 - border: 1px solid #000;  
197 - border-top-style: none;  
198 - }  
199 - p.flash-sale-count {  
200 - position: absolute;  
201 - left: 50px;  
202 - top: 20px;  
203 - }  
204 -  
205 - p.flash-sale-name {  
206 - position: absolute;  
207 - left: 120px;  
208 - top: 20px;  
209 - }  
210 - p.flash-sale-timer {  
211 - position: absolute;  
212 - left: 50px;  
213 - top: 50px;  
214 - }  
215 -  
216 - .flash-sale-logo {  
217 - position: absolute;  
218 - right: 50px;  
219 - width: 100px;  
220 - height: 80px;  
221 - img {  
222 - width: 100px;  
223 - height: 50px;  
224 - margin-top: 15px;  
225 - }  
226 - }  
227 - }  
228 -}  
229 - 1 +@import "reset";
  2 +@import "common";
  3 +@import "header";
  4 +@import "footer";
  5 +@import "slider";
  6 +@import "404";
  1 +
  2 +html,
  3 +body,
  4 +div,
  5 +span,
  6 +applet,
  7 +object,
  8 +iframe,
  9 +h1,
  10 +h2,
  11 +h3,
  12 +h4,
  13 +h5,
  14 +h6,
  15 +p,
  16 +blockquote,
  17 +pre,
  18 +a,
  19 +abbr,
  20 +acronym,
  21 +address,
  22 +big,
  23 +cite,
  24 +code,
  25 +del,
  26 +dfn,
  27 +em,
  28 +img,
  29 +ins,
  30 +kbd,
  31 +q,
  32 +s,
  33 +samp,
  34 +small,
  35 +strike,
  36 +strong,
  37 +sub,
  38 +sup,
  39 +tt,
  40 +var,
  41 +b,
  42 +u,
  43 +i,
  44 +center,
  45 +dl,
  46 +dt,
  47 +dd,
  48 +ol,
  49 +ul,
  50 +li,
  51 +fieldset,
  52 +form,
  53 +label,
  54 +legend,
  55 +table,
  56 +caption,
  57 +tbody,
  58 +tfoot,
  59 +thead,
  60 +tr,
  61 +th,
  62 +td,
  63 +article,
  64 +aside,
  65 +canvas,
  66 +details,
  67 +embed,
  68 +figure,
  69 +figcaption,
  70 +footer,
  71 +header,
  72 +hgroup,
  73 +menu,
  74 +nav,
  75 +output,
  76 +ruby,
  77 +section,
  78 +summary,
  79 +time,
  80 +mark,
  81 +audio,
  82 +video {
  83 + margin: 0;
  84 + padding: 0;
  85 + border: 0;
  86 + font: inherit;
  87 + font-size: 100%;
  88 + vertical-align: baseline;
  89 +}
  90 +
  91 +html {
  92 + line-height: 1;
  93 +}
  94 +
  95 +ol,
  96 +ul {
  97 + list-style: none;
  98 +}
  99 +
  100 +table {
  101 + border-collapse: collapse;
  102 + border-spacing: 0;
  103 +}
  104 +
  105 +caption,
  106 +th,
  107 +td {
  108 + text-align: left;
  109 + font-weight: normal;
  110 + vertical-align: middle;
  111 +}
  112 +
  113 +q,
  114 +blockquote {
  115 + quotes: none;
  116 +}
  117 +
  118 +q:before,
  119 +q:after,
  120 +blockquote:before,
  121 +blockquote:after {
  122 + content: "";
  123 + content: none;
  124 +}
  125 +
  126 +a img {
  127 + border: none;
  128 +}
  129 +
  130 +article,
  131 +aside,
  132 +details,
  133 +figcaption,
  134 +figure,
  135 +footer,
  136 +header,
  137 +hgroup,
  138 +main,
  139 +menu,
  140 +nav,
  141 +section,
  142 +summary {
  143 + display: block;
  144 +}
  1 +.unslider{overflow:auto;margin:0;padding:0}.unslider-wrap{position:relative}.unslider-wrap.unslider-carousel>li{float:left}.unslider-vertical>ul{height:100%}.unslider-vertical li{float:none;width:100%}.unslider-fade{position:relative}.unslider-fade .unslider-wrap li{position:absolute;left:0;top:0;right:0;z-index:8}.unslider-fade .unslider-wrap li.unslider-active{z-index:10}.unslider li,.unslider ol,.unslider ul{list-style:none;margin:0;padding:0;border:none}.unslider-arrow{position:absolute;left:20px;z-index:2;cursor:pointer}.unslider-arrow.next{left:auto;right:20px}
1 @charset "utf-8"; 1 @charset "utf-8";
2 -@use postcss-clearfix ;  
3 -  
4 -html,  
5 -body,  
6 -div,  
7 -span,  
8 -applet,  
9 -object,  
10 -iframe,  
11 -h1,  
12 -h2,  
13 -h3,  
14 -h4,  
15 -h5,  
16 -h6,  
17 -p,  
18 -blockquote,  
19 -pre,  
20 -a,  
21 -abbr,  
22 -acronym,  
23 -address,  
24 -big,  
25 -cite,  
26 -code,  
27 -del,  
28 -dfn,  
29 -em,  
30 -img,  
31 -ins,  
32 -kbd,  
33 -q,  
34 -s,  
35 -samp,  
36 -small,  
37 -strike,  
38 -strong,  
39 -sub,  
40 -sup,  
41 -tt,  
42 -var,  
43 -b,  
44 -u,  
45 -i,  
46 -center,  
47 -dl,  
48 -dt,  
49 -dd,  
50 -ol,  
51 -ul,  
52 -li,  
53 -fieldset,  
54 -form,  
55 -label,  
56 -legend,  
57 -table,  
58 -caption,  
59 -tbody,  
60 -tfoot,  
61 -thead,  
62 -tr,  
63 -th,  
64 -td,  
65 -article,  
66 -aside,  
67 -canvas,  
68 -details,  
69 -embed,  
70 -figure,  
71 -figcaption,  
72 -footer,  
73 -header,  
74 -hgroup,  
75 -menu,  
76 -nav,  
77 -output,  
78 -ruby,  
79 -section,  
80 -summary,  
81 -time,  
82 -mark,  
83 -audio,  
84 -video {  
85 - margin: 0;  
86 - padding: 0;  
87 - border: 0;  
88 - font: inherit;  
89 - font-size: 100%;  
90 - vertical-align: baseline;  
91 -}  
92 -  
93 -html {  
94 - line-height: 1;  
95 -}  
96 -  
97 -ol,  
98 -ul {  
99 - list-style: none;  
100 -}  
101 -  
102 -table {  
103 - border-collapse: collapse;  
104 - border-spacing: 0;  
105 -}  
106 -  
107 -caption,  
108 -th,  
109 -td {  
110 - text-align: left;  
111 - font-weight: normal;  
112 - vertical-align: middle;  
113 -}  
114 -  
115 -q,  
116 -blockquote {  
117 - quotes: none;  
118 -}  
119 -  
120 -q:before,  
121 -q:after,  
122 -blockquote:before,  
123 -blockquote:after {  
124 - content: "";  
125 - content: none;  
126 -}  
127 -  
128 -a img {  
129 - border: none;  
130 -}  
131 -  
132 -article,  
133 -aside,  
134 -details,  
135 -figcaption,  
136 -figure,  
137 -footer,  
138 -header,  
139 -hgroup,  
140 -main,  
141 -menu,  
142 -nav,  
143 -section,  
144 -summary {  
145 - display: block;  
146 -}  
147 -  
148 -/* Reset End */  
149 -.clearfix {  
150 - clear: fix;  
151 -}  
152 -  
153 -body {  
154 - font-family: arial, "Microsoft YaHei";  
155 -}  
156 -  
157 -@font-face {  
158 - font-family: "iconfont";  
159 - src: resolve('iconfont.eot');  
160 - src: resolve('iconfont.eot?#iefix') format('embedded-opentype'), resolve('iconfont.woff') format('woff'), resolve('iconfont.ttf') format('truetype'), resolve('iconfont.svg#iconfont') format('svg');  
161 -}  
162 -  
163 -.iconfont {  
164 - font-family: "iconfont" !important;  
165 - font-size: 16px;  
166 - font-style: normal;  
167 - text-decoration: none;  
168 - -webkit-font-smoothing: antialiased;  
169 - -webkit-text-stroke-width: 0.2px;  
170 - -moz-osx-font-smoothing: grayscale;  
171 -}  
172 -  
173 -.center-content {  
174 - width: 1150px;  
175 - margin-left: auto;  
176 - margin-right: auto;  
177 -}  
178 -  
179 -.min-screen .center-content {  
180 - width: 990px;  
181 -}  
182 -  
183 -.left,  
184 -.pull-left {  
185 - float: left;  
186 -}  
187 -  
188 -.right,  
189 -.pull-right {  
190 - float: right;  
191 -}  
192 -  
193 -.center {  
194 - text-align: center;  
195 -}  
196 -  
197 -.hide {  
198 - display: none !important;  
199 -}  
200 -  
201 -a:focus,  
202 -input,  
203 -textarea {  
204 - outline: none;  
205 -}  
206 -  
207 -a {  
208 - text-decoration: none;  
209 - color: #000;  
210 -}  
211 -  
212 -.body-mask {  
213 - position: absolute;  
214 - z-index: 100;  
215 - background: #000;  
216 - opacity: 0.2;  
217 - top: 0;  
218 - left: 0;  
219 -}  
220 -  
221 -@define-mixin ellipsis {  
222 - overflow: hidden;  
223 - text-overflow: ellipsis;  
224 - white-space: nowrap;  
225 -}  
226 2
227 /* 公共 */ 3 /* 公共 */
228 -@import "header";  
229 -@import "footer";  
230 -@import "404";  
231 -@import "index/index";  
232 -@import "product/index";  
233 -@import "plugins/slider"; 4 +@import "common/index";
234 5
235 /* 模块 */ 6 /* 模块 */
236 -@import "index/index"; 7 +@import "channel/index";
237 @import "product/index"; 8 @import "product/index";
@@ -320,6 +320,6 @@ @@ -320,6 +320,6 @@
320 } 320 }
321 } 321 }
322 322
323 -@import "channel"; 323 +/* @import "channel"; */
324 @import "special"; 324 @import "special";
325 @import "main-product"; 325 @import "main-product";