Commit 9ee1c1f475e6b4e1a96b9c40d7856767124250b7

Authored by linksgo2011
2 parents ba8d5483 c0cfc1ba

merge

css/common.css
@@ -258,6 +258,186 @@ a { @@ -258,6 +258,186 @@ a {
258 } 258 }
259 } 259 }
260 /*************************************************** 260 /***************************************************
  261 +<<<<<<< HEAD
  262 +=======
  263 +* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等;
  264 +* update : 2015/02/03;
  265 +* use : 按需使用对应class即可;
  266 +* desc : ;
  267 +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
  268 +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
  269 +****************************************************/
  270 +.text-left {
  271 + text-align: left !important;
  272 +}
  273 +.text-center {
  274 + text-align: center !important;
  275 +}
  276 +.text-right {
  277 + text-align: right !important;
  278 +}
  279 +.text-nowrap {
  280 + white-space: nowrap !important;
  281 +}
  282 +.text-overflow {
  283 + overflow: hidden;
  284 + text-overflow: ellipsis;
  285 +}
  286 +.text-lowercase {
  287 + text-transform: lowercase;
  288 +}
  289 +.text-uppercase {
  290 + text-transform: uppercase;
  291 +}
  292 +.text-capitalize {
  293 + text-transform: capitalize;
  294 +}
  295 +.text-indent {
  296 + text-indent: -999em;
  297 +}
  298 +.float-left {
  299 + float: left !important;
  300 +}
  301 +.float-right {
  302 + float: right !important;
  303 +}
  304 +.float-none {
  305 + float: none !important;
  306 +}
  307 +.display-block {
  308 + display: block !important;
  309 +}
  310 +.clearfix:after {
  311 + content: '';
  312 + display: block;
  313 + height: 0;
  314 + overflow: hidden;
  315 + font-size: 0;
  316 + clear: both;
  317 +}
  318 +.m-hide {
  319 + display: none !important;
  320 + visibility: hidden;
  321 + opacity: 0;
  322 + z-index: -1;
  323 +}
  324 +.m-hidden {
  325 + visibility: hidden;
  326 + opacity: 0;
  327 + z-index: -1;
  328 +}
  329 +.m-show {
  330 + display: block !important;
  331 + visibility: visible;
  332 +}
  333 +.m-separate {
  334 + position: relative;
  335 + width: 100%;
  336 + line-height: 50px;
  337 + text-align: center;
  338 + font-size: 12px;
  339 + color: #666;
  340 + overflow: visible;
  341 +}
  342 +.m-more,
  343 +a.m-more {
  344 + display: block;
  345 + font-size: 12px;
  346 + text-align: center;
  347 + color: #999;
  348 + line-height: 45px;
  349 + background-color: #FFF;
  350 +}
  351 +.m-animate-hide {
  352 + -webkit-transform: translate(0, 100%) translateZ(0) !important;
  353 + -ms-transform: translate(0, 100%) translateZ(0) !important;
  354 + -o-transform: translate(0, 100%) translateZ(0) !important;
  355 + transform: translate(0, 100%) translateZ(0) !important;
  356 +}
  357 +.m-animate-show {
  358 + -webkit-transform: translate(0, 0) translateZ(0) !important;
  359 + -ms-transform: translate(0, 0) translateZ(0) !important;
  360 + -o-transform: translate(0, 0) translateZ(0) !important;
  361 + transform: translate(0, 0) translateZ(0) !important;
  362 +}
  363 +.hidden {
  364 + opacity: 0;
  365 + z-index: -1;
  366 +}
  367 +.mask-hidden {
  368 + opacity: 0;
  369 +}
  370 +.font-white {
  371 + color: #FFF !important;
  372 +}
  373 +.font-white-opacity {
  374 + color: rgba(255, 255, 255, 0.8) !important;
  375 +}
  376 +.font-deep {
  377 + color: #333 !important;
  378 +}
  379 +.font-gray {
  380 + color: #666 !important;
  381 +}
  382 +.font-light {
  383 + color: #999 !important;
  384 +}
  385 +.font-yellow {
  386 + color: #FF9D2C !important;
  387 +}
  388 +.font-orange {
  389 + color: #FF6B00 !important;
  390 +}
  391 +.font-red {
  392 + color: #fa4535 !important;
  393 +}
  394 +.font-green {
  395 + color: #23ac38 !important;
  396 +}
  397 +.background-white {
  398 + background-color: #FFF;
  399 +}
  400 +.background-gray {
  401 + background-color: #666 !important;
  402 +}
  403 +.background-yellow {
  404 + background-color: #FF9D2C !important;
  405 +}
  406 +.background-orange {
  407 + background-color: #FF6B00 !important;
  408 +}
  409 +.background-red {
  410 + background-color: #fa4535 !important;
  411 +}
  412 +.background-green {
  413 + background-color: #23ac38 !important;
  414 +}
  415 +.position-relative {
  416 + position: relative;
  417 +}
  418 +.z-index2 {
  419 + z-index: 2;
  420 +}
  421 +.width-auto {
  422 + width: auto !important;
  423 +}
  424 +.width-200p {
  425 + width: 200%;
  426 +}
  427 +.m-col-1 {
  428 + width: 100% !important;
  429 +}
  430 +.m-col-2 {
  431 + width: 50% !important;
  432 +}
  433 +.m-col-3 {
  434 + width: 33.33% !important;
  435 +}
  436 +.m-col-4 {
  437 + width: 25% !important;
  438 +}
  439 +/***************************************************
  440 +>>>>>>> c0cfc1bac841f1dbd73cdd87de041380fd52f99a
261 * feature : 全局头部,提供默认 深色(绿底白字) & 浅色(白底黑字)主题; 441 * feature : 全局头部,提供默认 深色(绿底白字) & 浅色(白底黑字)主题;
262 * update : 2015/02/03; 442 * update : 2015/02/03;
263 * use : .m-header; 443 * use : .m-header;
@@ -913,6 +1093,7 @@ Pagination Styles @@ -913,6 +1093,7 @@ Pagination Styles
913 height: 2px; 1093 height: 2px;
914 background-color: #23ac38; 1094 background-color: #23ac38;
915 } 1095 }
  1096 +<<<<<<< HEAD
916 /*************************************************** 1097 /***************************************************
917 * feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等; 1098 * feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等;
918 * update : 2015/02/03; 1099 * update : 2015/02/03;
@@ -1120,3 +1301,5 @@ a.m-more { @@ -1120,3 +1301,5 @@ a.m-more {
1120 .scroll-wrap .m-tab li a { 1301 .scroll-wrap .m-tab li a {
1121 display: inline-block; 1302 display: inline-block;
1122 } 1303 }
  1304 +=======
  1305 +>>>>>>> c0cfc1bac841f1dbd73cdd87de041380fd52f99a
css/common.less
1 @import "reset"; 1 @import "reset";
2 @import "one-border"; 2 @import "one-border";
  3 +@import "util";
3 @import "header"; 4 @import "header";
4 @import "slider"; 5 @import "slider";
5 @import "section"; 6 @import "section";
@@ -7,40 +8,11 @@ @@ -7,40 +8,11 @@
7 @import "goods-items"; 8 @import "goods-items";
8 @import "photo-wall"; 9 @import "photo-wall";
9 @import "tab"; 10 @import "tab";
10 -@import "util"; 11 +
11 @import "icon.css"; 12 @import "icon.css";
12 @import "icon_admin.css"; 13 @import "icon_admin.css";
13 14
14 -.scroll-wrap{  
15 - overflow-y: hidden;  
16 - overflow-x:scroll;  
17 - -webkit-overflow-scrolling: touch;  
18 - .m-goods-items{  
19 - white-space: nowrap;  
20 - li{  
21 - float: none;  
22 - display: inline;  
23 - width: 110px !important;  
24 - a{  
25 - display: inline-block;  
26 - width: 100px;  
27 - }  
28 - }  
29 - }  
30 - .m-tab{  
31 - white-space: nowrap;  
32 - overflow: visible;  
33 - width: auto;  
34 - li{  
35 - float: none;  
36 - display: inline;  
37 - width: 90px;  
38 - a{  
39 - display: inline-block;  
40 - }  
41 - }  
42 - }  
43 -} 15 +
44 //自定义 非合并图 16 //自定义 非合并图
45 // 17 //
46 // body{ 18 // body{
css/global.css 0 → 100644
  1 +* {
  2 + -moz-tap-highlight-color: rgba(0, 0, 0, 0);
  3 + -o-tap-highlight-color: rgba(0, 0, 0, 0);
  4 + -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  5 +}
  6 +html {
  7 + height: 100%;
  8 +}
  9 +html,
  10 +body,
  11 +div,
  12 +span,
  13 +object,
  14 +iframe,
  15 +h1,
  16 +h2,
  17 +h3,
  18 +h4,
  19 +h5,
  20 +h6,
  21 +p,
  22 +blockquote,
  23 +pre,
  24 +abbr,
  25 +address,
  26 +cite,
  27 +code,
  28 +del,
  29 +dfn,
  30 +em,
  31 +img,
  32 +ins,
  33 +kbd,
  34 +q,
  35 +samp,
  36 +small,
  37 +strong,
  38 +sub,
  39 +sup,
  40 +var,
  41 +b,
  42 +i,
  43 +dl,
  44 +dt,
  45 +dd,
  46 +ol,
  47 +ul,
  48 +li,
  49 +fieldset,
  50 +form,
  51 +label,
  52 +legend,
  53 +table,
  54 +caption,
  55 +tbody,
  56 +tfoot,
  57 +thead,
  58 +tr,
  59 +th,
  60 +td,
  61 +article,
  62 +aside,
  63 +canvas,
  64 +details,
  65 +figcaption,
  66 +figure,
  67 +footer,
  68 +header,
  69 +menu,
  70 +nav,
  71 +section,
  72 +summary,
  73 +time,
  74 +mark,
  75 +audio,
  76 +video {
  77 + margin: 0;
  78 + padding: 0;
  79 + border: 0;
  80 + outline: 0;
  81 + vertical-align: baseline;
  82 + background: transparent;
  83 +}
  84 +body {
  85 + font: 12px/1.5 sans-serif;
  86 + background-color: #F5F5F5;
  87 + position: relative;
  88 + color: #333;
  89 + min-height: 100%;
  90 + overflow-x: hidden;
  91 +}
  92 +article,
  93 +aside,
  94 +details,
  95 +figcaption,
  96 +figure,
  97 +footer,
  98 +header,
  99 +menu,
  100 +nav,
  101 +section {
  102 + display: block;
  103 +}
  104 +nav ul {
  105 + list-style: none;
  106 +}
  107 +li {
  108 + list-style: none;
  109 +}
  110 +em {
  111 + font-style: normal;
  112 +}
  113 +ins {
  114 + background-color: #ff9;
  115 + color: #000;
  116 + text-decoration: none;
  117 +}
  118 +mark {
  119 + background-color: #ff9;
  120 + color: #000;
  121 + font-style: italic;
  122 + font-weight: bold;
  123 +}
  124 +table {
  125 + border-collapse: collapse;
  126 + border-spacing: 0;
  127 +}
  128 +hr {
  129 + display: block;
  130 + height: 1px;
  131 + border: 0;
  132 + border-top: 1px solid #cccccc;
  133 + margin: 0;
  134 + padding: 0;
  135 +}
  136 +input,
  137 +select {
  138 + vertical-align: middle;
  139 +}
  140 +input:focus,
  141 +button:focus {
  142 + outline: none;
  143 +}
  144 +a {
  145 + color: #333;
  146 + text-decoration: none;
  147 + margin: 0;
  148 + padding: 0;
  149 + vertical-align: baseline;
  150 + background: transparent;
  151 +}
  152 +a:active,
  153 +a:visited {
  154 + color: #333;
  155 +}
  156 +input,
  157 +img {
  158 + border: 0;
  159 + vertical-align: middle;
  160 +}
  161 +textarea,
  162 +input,
  163 +a {
  164 + -webkit-tap-highlight-color: transparent;
  165 +}
  166 +/* 清除浮动 */
  167 +.clearfix,
  168 +.clear {
  169 + display: inline-table;
  170 + zoom: 1;
  171 +}
  172 +* html .clearfix,
  173 +* html .clear {
  174 + height: 1%;
  175 +}
  176 +* html .clearfix,
  177 +* html .clear {
  178 + zoom: 1;
  179 +}
  180 +.clearfix,
  181 +.clear {
  182 + display: block;
  183 +}
  184 +.clear {
  185 + clear: both;
  186 +}
  187 +.clearfix:after,
  188 +.clear:after {
  189 + content: " ";
  190 + display: block;
  191 + height: 0;
  192 + clear: both;
  193 + visibility: hidden;
  194 + line-height: 0px;
  195 +}
  196 +/***************************************************
  197 +* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等;
  198 +* update : 2015/02/03;
  199 +* use : 按需使用对应class即可;
  200 +* desc : ;
  201 +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
  202 +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
  203 +****************************************************/
  204 +.text-left {
  205 + text-align: left !important;
  206 +}
  207 +.text-center {
  208 + text-align: center !important;
  209 +}
  210 +.text-right {
  211 + text-align: right !important;
  212 +}
  213 +.text-nowrap {
  214 + white-space: nowrap !important;
  215 +}
  216 +.text-overflow {
  217 + overflow: hidden;
  218 + text-overflow: ellipsis;
  219 +}
  220 +.text-lowercase {
  221 + text-transform: lowercase;
  222 +}
  223 +.text-uppercase {
  224 + text-transform: uppercase;
  225 +}
  226 +.text-capitalize {
  227 + text-transform: capitalize;
  228 +}
  229 +.text-indent {
  230 + text-indent: -999em;
  231 +}
  232 +.float-left {
  233 + float: left !important;
  234 +}
  235 +.float-right {
  236 + float: right !important;
  237 +}
  238 +.float-none {
  239 + float: none !important;
  240 +}
  241 +.display-block {
  242 + display: block !important;
  243 +}
  244 +.clearfix:after {
  245 + content: '';
  246 + display: block;
  247 + height: 0;
  248 + overflow: hidden;
  249 + font-size: 0;
  250 + clear: both;
  251 +}
  252 +.m-hide {
  253 + display: none !important;
  254 + visibility: hidden;
  255 + opacity: 0;
  256 + z-index: -1;
  257 +}
  258 +.m-hidden {
  259 + visibility: hidden;
  260 + opacity: 0;
  261 + z-index: -1;
  262 +}
  263 +.m-show {
  264 + display: block !important;
  265 + visibility: visible;
  266 +}
  267 +.m-separate {
  268 + position: relative;
  269 + width: 100%;
  270 + line-height: 50px;
  271 + text-align: center;
  272 + font-size: 12px;
  273 + color: #666;
  274 + overflow: visible;
  275 +}
  276 +.m-more,
  277 +a.m-more {
  278 + display: block;
  279 + font-size: 12px;
  280 + text-align: center;
  281 + color: #999;
  282 + line-height: 45px;
  283 + background-color: #FFF;
  284 +}
  285 +.m-animate-hide {
  286 + -webkit-transform: translate(0, 100%) translateZ(0) !important;
  287 + -ms-transform: translate(0, 100%) translateZ(0) !important;
  288 + -o-transform: translate(0, 100%) translateZ(0) !important;
  289 + transform: translate(0, 100%) translateZ(0) !important;
  290 +}
  291 +.m-animate-show {
  292 + -webkit-transform: translate(0, 0) translateZ(0) !important;
  293 + -ms-transform: translate(0, 0) translateZ(0) !important;
  294 + -o-transform: translate(0, 0) translateZ(0) !important;
  295 + transform: translate(0, 0) translateZ(0) !important;
  296 +}
  297 +.hidden {
  298 + opacity: 0;
  299 + z-index: -1;
  300 +}
  301 +.mask-hidden {
  302 + opacity: 0;
  303 +}
  304 +.font-white {
  305 + color: #FFF !important;
  306 +}
  307 +.font-white-opacity {
  308 + color: rgba(255, 255, 255, 0.8) !important;
  309 +}
  310 +.font-deep {
  311 + color: #333 !important;
  312 +}
  313 +.font-gray {
  314 + color: #666 !important;
  315 +}
  316 +.font-light {
  317 + color: #999 !important;
  318 +}
  319 +.font-yellow {
  320 + color: #FF9D2C !important;
  321 +}
  322 +.font-orange {
  323 + color: #FF6B00 !important;
  324 +}
  325 +.font-red {
  326 + color: #fa4535 !important;
  327 +}
  328 +.font-green {
  329 + color: #23ac38 !important;
  330 +}
  331 +.background-white {
  332 + background-color: #FFF;
  333 +}
  334 +.background-gray {
  335 + background-color: #666 !important;
  336 +}
  337 +.background-yellow {
  338 + background-color: #FF9D2C !important;
  339 +}
  340 +.background-orange {
  341 + background-color: #FF6B00 !important;
  342 +}
  343 +.background-red {
  344 + background-color: #fa4535 !important;
  345 +}
  346 +.background-green {
  347 + background-color: #23ac38 !important;
  348 +}
  349 +.position-relative {
  350 + position: relative;
  351 +}
  352 +.z-index2 {
  353 + z-index: 2;
  354 +}
  355 +.width-auto {
  356 + width: auto !important;
  357 +}
  358 +.width-200p {
  359 + width: 200%;
  360 +}
  361 +.m-col-1 {
  362 + width: 100% !important;
  363 +}
  364 +.m-col-2 {
  365 + width: 50% !important;
  366 +}
  367 +.m-col-3 {
  368 + width: 33.33% !important;
  369 +}
  370 +.m-col-4 {
  371 + width: 25% !important;
  372 +}
  373 +.border-1px {
  374 + position: relative;
  375 +}
  376 +.border-1px:before,
  377 +.border-1px:after {
  378 + border-top: 1px solid #e2e2e2;
  379 + content: '';
  380 + display: block;
  381 + width: 100%;
  382 + position: absolute;
  383 + left: 0;
  384 + z-index: 1;
  385 +}
  386 +.border-1px:before {
  387 + top: 0;
  388 +}
  389 +.border-1px:after {
  390 + bottom: 0;
  391 +}
  392 +.border-1px.border-top:after {
  393 + display: none;
  394 +}
  395 +.border-1px.border-bottom:before {
  396 + display: none;
  397 +}
  398 +.border-1px-full {
  399 + position: relative;
  400 +}
  401 +.border-1px-full:after {
  402 + content: '';
  403 + position: absolute;
  404 + top: 0;
  405 + left: 0;
  406 + z-index: 1;
  407 + border: 1px solid #e2e2e2;
  408 + -webkit-box-sizing: border-box;
  409 + box-sizing: border-box;
  410 + width: 200%;
  411 + height: 200%;
  412 + -webkit-transform: scale(0.5);
  413 + transform: scale(0.5);
  414 + -webkit-transform-origin: left top;
  415 + transform-origin: left top;
  416 +}
  417 +@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) {
  418 + .border-1px::after,
  419 + .border-1px::before {
  420 + -webkit-transform: scaleY(0.7);
  421 + -webkit-transform-origin: 0 0;
  422 + transform: scaleY(0.7);
  423 + }
  424 + .border-1px::after {
  425 + -webkit-transform-origin: left bottom;
  426 + }
  427 +}
  428 +@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) {
  429 + .border-1px::after,
  430 + .border-1px::before {
  431 + -webkit-transform: scaleY(0.5);
  432 + transform: scaleY(0.5);
  433 + }
  434 +}
  435 +.m-section .section-head {
  436 + line-height: 45px;
  437 + padding: 0 10px;
  438 + background-color: #fff;
  439 + font-size: 14px;
  440 + color: #666;
  441 + text-align: left;
  442 + font-weight: bold;
  443 + margin-bottom: 10px;
  444 +}
  445 +.m-section .section-head:first-letter {
  446 + font-size: 18px;
  447 + color: #23ac38;
  448 +}
  449 +.section-items {
  450 + margin-bottom: 10px;
  451 +}
  452 +.section-items .section-item {
  453 + display: block;
  454 + margin-bottom: 5px;
  455 + width: 100%;
  456 +}
  457 +.section-items .section-item img {
  458 + width: 100%;
  459 + max-width: 100%;
  460 +}
  461 +.product-items {
  462 + background-color: #FFF;
  463 + margin-bottom: 10px;
  464 +}
  465 +.product-items .items .item {
  466 + width: 33.33%;
  467 + float: left;
  468 + font-size: 13px;
  469 + text-align: center;
  470 + padding: 8px 0;
  471 +}
  472 +.product-items .items .item a {
  473 + display: block;
  474 + position: relative;
  475 + z-index: 2;
  476 +}
  477 +.product-items .items .item h3 {
  478 + font-size: 13px;
  479 + padding: 0 5px;
  480 + font-weight: 700;
  481 + color: #333;
  482 + line-height: 16px;
  483 + padding: 0 10px;
  484 + text-align: left;
  485 + text-overflow: ellipsis;
  486 + overflow: hidden;
  487 + white-space: nowrap;
  488 +}
  489 +.product-items .items .item p {
  490 + padding: 0 10px;
  491 + text-align: left;
  492 +}
  493 +.product-items .items .item em {
  494 + text-align: left;
  495 + display: block;
  496 + font-size: 13px;
  497 + font-weight: 700;
  498 + font-style: normal;
  499 + color: #FA4535;
  500 + text-overflow: ellipsis;
  501 + overflow: hidden;
  502 + white-space: nowrap;
  503 +}
  504 +.product-items .items .item span {
  505 + display: block;
  506 + text-align: center;
  507 + overflow: hidden;
  508 + white-space: nowrap;
  509 + text-overflow: ellipsis;
  510 +}
  511 +.product-items .items .item .pic {
  512 + max-width: 100%;
  513 + height: 60px;
  514 + display: inline-block;
  515 + vertical-align: middle;
  516 +}
  517 +.product-items .items .item:after {
  518 + border-left: none;
  519 + border-top: none;
  520 +}
  521 +.scroll-wrap {
  522 + overflow-y: hidden;
  523 + overflow-x: scroll;
  524 + -webkit-overflow-scrolling: touch;
  525 +}
  526 +.scroll-wrap .m-goods-items {
  527 + white-space: nowrap;
  528 +}
  529 +.scroll-wrap .m-goods-items li {
  530 + float: none;
  531 + display: inline;
  532 + width: 110px !important;
  533 +}
  534 +.scroll-wrap .m-goods-items li a {
  535 + display: inline-block;
  536 + width: 100px;
  537 +}
  538 +.scroll-wrap .m-tab {
  539 + white-space: nowrap;
  540 + overflow: visible;
  541 + width: auto;
  542 +}
  543 +.scroll-wrap .m-tab li {
  544 + float: none;
  545 + display: inline;
  546 + width: 90px;
  547 +}
  548 +.scroll-wrap .m-tab li a {
  549 + display: inline-block;
  550 +}
css/global.less 0 → 100644
  1 +@import "reset";
  2 +@import "util";
  3 +@import "one-border";
  4 +@import "section";
  5 +@import "section";
  6 +.scroll-wrap{
  7 + overflow-y: hidden;
  8 + overflow-x:scroll;
  9 + -webkit-overflow-scrolling: touch;
  10 + .m-goods-items{
  11 + white-space: nowrap;
  12 + li{
  13 + float: none;
  14 + display: inline;
  15 + width: 110px !important;
  16 + a{
  17 + display: inline-block;
  18 + width: 100px;
  19 + }
  20 + }
  21 + }
  22 + .m-tab{
  23 + white-space: nowrap;
  24 + overflow: visible;
  25 + width: auto;
  26 + li{
  27 + float: none;
  28 + display: inline;
  29 + width: 90px;
  30 + a{
  31 + display: inline-block;
  32 + }
  33 + }
  34 + }
  35 +}
css/goods-items.css
1 .m-goods-items { 1 .m-goods-items {
2 - padding: 0 5px 10px; 2 + padding: 0 5px 5px;
  3 + overflow-x: scroll;
  4 + overflow-y: hidden;
  5 + -webkit-overflow-scrolling: touch;
3 } 6 }
4 .m-goods-items li { 7 .m-goods-items li {
5 float: left; 8 float: left;
6 - width: 50%; 9 + width: 110px;
7 padding: 0 5px 10px; 10 padding: 0 5px 10px;
8 box-sizing: border-box; 11 box-sizing: border-box;
9 } 12 }
@@ -24,25 +27,20 @@ @@ -24,25 +27,20 @@
24 font-size: 0; 27 font-size: 0;
25 overflow: hidden; 28 overflow: hidden;
26 } 29 }
27 -.m-goods-items img {  
28 - display: block;  
29 - width: 100%;  
30 - height: 90px;  
31 - margin: 0 auto 5px;  
32 -}  
33 .m-goods-items .pic { 30 .m-goods-items .pic {
34 display: block; 31 display: block;
35 width: 100%; 32 width: 100%;
36 - height: 90px; 33 + height: 110px;
37 margin: 0 auto 5px; 34 margin: 0 auto 5px;
38 - background: url(../images/upload/p_1.jpg) center center no-repeat; 35 + background-position: center center;
  36 + background-repeat: no-repeat;
39 background-size: cover; 37 background-size: cover;
40 } 38 }
41 .m-goods-items h3 { 39 .m-goods-items h3 {
42 - font-size: 12px; 40 + font-size: 13px;
43 padding: 0 5px; 41 padding: 0 5px;
44 font-weight: 700; 42 font-weight: 700;
45 - color: #5d6065; 43 + color: #333;
46 text-align: left; 44 text-align: left;
47 line-height: 16px; 45 line-height: 16px;
48 height: 32px; 46 height: 32px;
@@ -52,14 +50,13 @@ @@ -52,14 +50,13 @@
52 text-align: left; 50 text-align: left;
53 display: block; 51 display: block;
54 padding: 0 5px; 52 padding: 0 5px;
55 - font-size: 14px; 53 + font-size: 13px;
56 font-weight: 700; 54 font-weight: 700;
57 font-style: normal; 55 font-style: normal;
58 - color: #fe4442; 56 + color: #FA4535;
59 } 57 }
60 .m-goods-items .origin-price { 58 .m-goods-items .origin-price {
61 font-size: 12px; 59 font-size: 12px;
62 - text-align: center;  
63 - color: #9c9c9c; 60 + color: #bbb;
64 text-decoration: line-through; 61 text-decoration: line-through;
65 } 62 }
css/header.css
1 -.m-header{z-index:5;color:#FFF;color:#fff;background-color:#23AC38;position:relative}.m-header .head{padding:0 50px;box-sizing:border-box;height:44px;text-align:center}.m-header .head h1{display:inline-block;vertical-align:middle;line-height:44px;font-weight:400;font-size:18px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.m-header .lt-bar,.m-header .rt-bar{position:absolute;left:0;top:0;bottom:0;min-width:44px;line-height:44px;height:100%;text-align:center;cursor:pointer;z-index:1}.m-header .lt-bar{float:left}.m-header .lt-bar.text{padding-left:10px;text-align:left}.m-header .rt-bar{float:right;left:auto;right:0}.m-header .rt-bar.text{padding-right:10px;text-align:right}.m-header .text{text-align:center;line-height:44px;font-size:15px;color:#FFF}.m-header.header-light{background-color:#FFF;color:#666}.m-header.header-light .text{color:#666}.m-header.header-light .m-input{color:#333}.m-header.header-light .m-input::-webkit-input-placeholder{color:#999}  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +/***************************************************
  3 +* feature : 全局头部,提供默认 深色(绿底白字) & 浅色(白底黑字)主题;
  4 +* update : 2015/02/03;
  5 +* use : .m-header;
  6 +* extend : .header-*;
  7 +* example : <header class="m-header header-light"></header>;
  8 +* desc : 默认为深色主题, 通过 .header-light 来引用浅色主题;
  9 +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
  10 +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
  11 +****************************************************/
  12 +.m-header {
  13 + z-index: 5;
  14 + color: #FFF;
  15 + color: #ffffff;
  16 + background-color: #23AC38;
  17 + position: relative;
  18 +}
  19 +.m-header .head {
  20 + padding: 0 50px;
  21 + box-sizing: border-box;
  22 + height: 44px;
  23 + text-align: center;
  24 +}
  25 +.m-header .head h1 {
  26 + display: inline-block;
  27 + vertical-align: middle;
  28 + line-height: 44px;
  29 + font-weight: normal;
  30 + font-size: 18px;
  31 + white-space: nowrap;
  32 + text-overflow: ellipsis;
  33 + overflow: hidden;
  34 +}
  35 +.m-header .lt-bar,
  36 +.m-header .rt-bar {
  37 + position: absolute;
  38 + left: 0;
  39 + top: 0;
  40 + bottom: 0;
  41 + min-width: 44px;
  42 + line-height: 44px;
  43 + height: 100%;
  44 + text-align: center;
  45 + cursor: pointer;
  46 + z-index: 1;
  47 +}
  48 +.m-header .lt-bar {
  49 + float: left;
  50 +}
  51 +.m-header .lt-bar.text {
  52 + padding-left: 10px;
  53 + text-align: left;
  54 +}
  55 +.m-header .rt-bar {
  56 + float: right;
  57 + left: auto;
  58 + right: 0;
  59 +}
  60 +.m-header .rt-bar.text {
  61 + padding-right: 10px;
  62 + text-align: right;
  63 +}
  64 +.m-header .text {
  65 + text-align: center;
  66 + line-height: 44px;
  67 + font-size: 15px;
  68 + color: #FFF;
  69 +}
  70 +.m-header.header-light {
  71 + background-color: #FFF;
  72 + color: #666;
  73 +}
  74 +.m-header.header-light .text {
  75 + color: #666;
  76 +}
  77 +.m-header.header-light .m-input {
  78 + color: #333;
  79 +}
  80 +.m-header.header-light .m-input::-webkit-input-placeholder {
  81 + color: #999;
  82 +}
css/list-view.css 0 → 100644
  1 +.m-list-view {
  2 + margin-bottom: 10px;
  3 +}
  4 +.m-list-view .cell {
  5 + font-size: 14px;
  6 + padding: 0 0 0 15px;
  7 + background-color: #FFF;
  8 + overflow: hidden;
  9 + position: relative;
  10 + text-align: left;
  11 +}
  12 +.m-list-view .cell-header {
  13 + background-color: #f8f8f8;
  14 + padding: 0 10px;
  15 +}
  16 +.m-list-view .cell-header .title {
  17 + font-size: 13px;
  18 + color: #333;
  19 + line-height: 35px;
  20 + width: auto;
  21 +}
  22 +.m-list-view .cell-header .text {
  23 + font-size: 13px;
  24 + line-height: 35px;
  25 + float: right;
  26 + color: #9e9e9e;
  27 + text-align: right;
  28 + margin: 0;
  29 +}
  30 +.m-list-view .cell-basic {
  31 + padding: 11px 10px;
  32 +}
  33 +.m-list-view .cell-basic .title,
  34 +.m-list-view .cell-basic .text {
  35 + float: none;
  36 + display: inline-block;
  37 + vertical-align: middle;
  38 + margin: 0 10px 0 0;
  39 + line-height: 1.5;
  40 +}
  41 +.m-list-view .cell-basic .sub-title {
  42 + padding-top: 10px;
  43 + font-size: 13px;
  44 + color: #999;
  45 +}
  46 +.m-list-view .cell-radio {
  47 + text-align: right;
  48 + padding: 0 10px;
  49 + margin-bottom: 10px;
  50 + background-color: #eee;
  51 +}
  52 +.m-list-view .cell-radio .title {
  53 + color: #333;
  54 + width: auto;
  55 + text-align: left;
  56 +}
  57 +.m-list-view .cell-radio .text {
  58 + float: none;
  59 + text-align: right;
  60 +}
  61 +.m-list-view .cell-radio .m-radio {
  62 + margin-left: 8px;
  63 +}
  64 +.m-list-view .cell-radio .m-table-view {
  65 + margin: 0 -10px;
  66 +}
  67 +.m-list-view .cell-radio .m-table-view .cell-radio {
  68 + margin: 0;
  69 + background-color: #FFF;
  70 +}
  71 +.m-list-view .cell-block {
  72 + padding: 8px 10px;
  73 +}
  74 +.m-list-view .cell-block h3 {
  75 + font-size: 16px;
  76 + font-weight: normal;
  77 + padding-right: 60px;
  78 + white-space: nowrap;
  79 + text-overflow: ellipsis;
  80 + overflow: hidden;
  81 +}
  82 +.m-list-view .cell-block p {
  83 + font-size: 14px;
  84 + color: #666;
  85 +}
  86 +.m-list-view .cell-block .bottom {
  87 + margin-top: 10px;
  88 + padding-top: 8px;
  89 + line-height: 30px;
  90 +}
  91 +.m-list-view .cell-extend .m-table-view {
  92 + margin: 0 0 0 45px;
  93 +}
  94 +.m-list-view .cell-extend .m-table-view .cell {
  95 + padding: 0;
  96 +}
  97 +.m-list-view .cell-extend .m-table-view .text {
  98 + margin-left: 0;
  99 +}
  100 +.m-list-view .cell-pic {
  101 + padding: 15px;
  102 +}
  103 +.m-list-view .cell-pic .pic {
  104 + float: left;
  105 +}
  106 +.m-list-view .cell-pic .cont {
  107 + margin-left: 90px;
  108 +}
  109 +.m-list-view .cell-pic h3 {
  110 + font-size: 14px;
  111 + font-weight: normal;
  112 +}
  113 +.m-list-view .cell-pic em {
  114 + font-size: 16px;
  115 + font-weight: normal;
  116 +}
  117 +.m-list-view .cell-pic p {
  118 + color: #9b9b9b;
  119 + font-size: 12px;
  120 +}
  121 +.m-list-view .acc-icon {
  122 + position: relative;
  123 + padding-right: 30px;
  124 +}
  125 +.m-list-view .acc-icon .acc {
  126 + position: absolute;
  127 + right: 0;
  128 + top: 0;
  129 + min-width: 30px;
  130 + height: 100%;
  131 + line-height: 44px;
  132 + text-align: left;
  133 + color: #999;
  134 + text-align: right;
  135 +}
  136 +.m-list-view .acc-icon .acc .m-icon {
  137 + margin-right: 4px;
  138 +}
  139 +.m-list-view .title {
  140 + font-size: 15px;
  141 + color: #999;
  142 + float: left;
  143 + font-weight: 400;
  144 + line-height: 44px;
  145 +}
  146 +.m-list-view .text {
  147 + display: block;
  148 + font-size: 15px;
  149 + color: #333;
  150 + line-height: 44px;
  151 + position: relative;
  152 + white-space: nowrap;
  153 + word-break: break-all;
  154 + text-overflow: ellipsis;
  155 + overflow: hidden;
  156 +}
  157 +.m-list-view .text .m-input {
  158 + font-size: 15px;
  159 +}
css/one-border.css 0 → 100644
  1 +.border-1px {
  2 + position: relative;
  3 +}
  4 +.border-1px:before,
  5 +.border-1px:after {
  6 + border-top: 1px solid #e2e2e2;
  7 + content: '';
  8 + display: block;
  9 + width: 100%;
  10 + position: absolute;
  11 + left: 0;
  12 + z-index: 1;
  13 +}
  14 +.border-1px:before {
  15 + top: 0;
  16 +}
  17 +.border-1px:after {
  18 + bottom: 0;
  19 +}
  20 +.border-1px.border-top:after {
  21 + display: none;
  22 +}
  23 +.border-1px.border-bottom:before {
  24 + display: none;
  25 +}
  26 +.border-1px-full {
  27 + position: relative;
  28 +}
  29 +.border-1px-full:after {
  30 + content: '';
  31 + position: absolute;
  32 + top: 0;
  33 + left: 0;
  34 + z-index: 1;
  35 + border: 1px solid #e2e2e2;
  36 + -webkit-box-sizing: border-box;
  37 + box-sizing: border-box;
  38 + width: 200%;
  39 + height: 200%;
  40 + -webkit-transform: scale(0.5);
  41 + transform: scale(0.5);
  42 + -webkit-transform-origin: left top;
  43 + transform-origin: left top;
  44 +}
  45 +@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) {
  46 + .border-1px::after,
  47 + .border-1px::before {
  48 + -webkit-transform: scaleY(0.7);
  49 + -webkit-transform-origin: 0 0;
  50 + transform: scaleY(0.7);
  51 + }
  52 + .border-1px::after {
  53 + -webkit-transform-origin: left bottom;
  54 + }
  55 +}
  56 +@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) {
  57 + .border-1px::after,
  58 + .border-1px::before {
  59 + -webkit-transform: scaleY(0.5);
  60 + transform: scaleY(0.5);
  61 + }
  62 +}
css/photo-wall.css
1 .photo-wall { 1 .photo-wall {
2 width: 100%; 2 width: 100%;
  3 + padding-left: 5px;
  4 + box-sizing: border-box;
  5 + margin-bottom: 5px;
3 } 6 }
4 .photo-wall .photo-item { 7 .photo-wall .photo-item {
5 float: left; 8 float: left;
6 box-sizing: border-box; 9 box-sizing: border-box;
7 - padding: 0 5px 5px; 10 + padding: 0 5px 5px 0;
8 height: 105px; 11 height: 105px;
9 } 12 }
10 .photo-wall .photo-item img { 13 .photo-wall .photo-item img {
11 width: 100%; 14 width: 100%;
  15 + height: 100%;
12 max-width: 100%; 16 max-width: 100%;
  17 + max-height: 100%;
13 } 18 }
14 .photo-wall .photo-1p { 19 .photo-wall .photo-1p {
15 width: 33.33%; 20 width: 33.33%;
css/reset.css
1 -*{-moz-tap-highlight-color:transparent;-o-tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent}html{height:100%}abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;outline:0;vertical-align:baseline;background:0 0}body{font:12px/1.5 sans-serif;background-color:#F5F5F5;position:relative;color:#333;min-height:100%;overflow-x:hidden}article,aside,details,figcaption,figure,footer,header,menu,nav,section{display:block}nav ul{list-style:none}li{list-style:none}em{font-style:normal}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:700}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:0;padding:0}input,select{vertical-align:middle}button:focus,input:focus{outline:0}a{color:#333;text-decoration:none;margin:0;padding:0;vertical-align:baseline;background:0 0}a:active,a:visited{color:#333}img,input{border:0;vertical-align:middle}a,input,textarea{-webkit-tap-highlight-color:transparent}.clear,.clearfix{display:inline-table;zoom:1}* html .clear,* html .clearfix{height:1%}* html .clear,* html .clearfix{zoom:1}.clear,.clearfix{display:block}.clear{clear:both}.clear:after,.clearfix:after{content:" ";display:block;height:0;clear:both;visibility:hidden;line-height:0}  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +* {
  3 + -moz-tap-highlight-color: rgba(0, 0, 0, 0);
  4 + -o-tap-highlight-color: rgba(0, 0, 0, 0);
  5 + -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  6 +}
  7 +html {
  8 + height: 100%;
  9 +}
  10 +html,
  11 +body,
  12 +div,
  13 +span,
  14 +object,
  15 +iframe,
  16 +h1,
  17 +h2,
  18 +h3,
  19 +h4,
  20 +h5,
  21 +h6,
  22 +p,
  23 +blockquote,
  24 +pre,
  25 +abbr,
  26 +address,
  27 +cite,
  28 +code,
  29 +del,
  30 +dfn,
  31 +em,
  32 +img,
  33 +ins,
  34 +kbd,
  35 +q,
  36 +samp,
  37 +small,
  38 +strong,
  39 +sub,
  40 +sup,
  41 +var,
  42 +b,
  43 +i,
  44 +dl,
  45 +dt,
  46 +dd,
  47 +ol,
  48 +ul,
  49 +li,
  50 +fieldset,
  51 +form,
  52 +label,
  53 +legend,
  54 +table,
  55 +caption,
  56 +tbody,
  57 +tfoot,
  58 +thead,
  59 +tr,
  60 +th,
  61 +td,
  62 +article,
  63 +aside,
  64 +canvas,
  65 +details,
  66 +figcaption,
  67 +figure,
  68 +footer,
  69 +header,
  70 +menu,
  71 +nav,
  72 +section,
  73 +summary,
  74 +time,
  75 +mark,
  76 +audio,
  77 +video {
  78 + margin: 0;
  79 + padding: 0;
  80 + border: 0;
  81 + outline: 0;
  82 + vertical-align: baseline;
  83 + background: transparent;
  84 +}
  85 +body {
  86 + font: 12px/1.5 sans-serif;
  87 + background-color: #F5F5F5;
  88 + position: relative;
  89 + color: #333;
  90 + min-height: 100%;
  91 + overflow-x: hidden;
  92 +}
  93 +article,
  94 +aside,
  95 +details,
  96 +figcaption,
  97 +figure,
  98 +footer,
  99 +header,
  100 +menu,
  101 +nav,
  102 +section {
  103 + display: block;
  104 +}
  105 +nav ul {
  106 + list-style: none;
  107 +}
  108 +li {
  109 + list-style: none;
  110 +}
  111 +em {
  112 + font-style: normal;
  113 +}
  114 +ins {
  115 + background-color: #ff9;
  116 + color: #000;
  117 + text-decoration: none;
  118 +}
  119 +mark {
  120 + background-color: #ff9;
  121 + color: #000;
  122 + font-style: italic;
  123 + font-weight: bold;
  124 +}
  125 +table {
  126 + border-collapse: collapse;
  127 + border-spacing: 0;
  128 +}
  129 +hr {
  130 + display: block;
  131 + height: 1px;
  132 + border: 0;
  133 + border-top: 1px solid #cccccc;
  134 + margin: 0;
  135 + padding: 0;
  136 +}
  137 +input,
  138 +select {
  139 + vertical-align: middle;
  140 +}
  141 +input:focus,
  142 +button:focus {
  143 + outline: none;
  144 +}
  145 +a {
  146 + color: #333;
  147 + text-decoration: none;
  148 + margin: 0;
  149 + padding: 0;
  150 + vertical-align: baseline;
  151 + background: transparent;
  152 +}
  153 +a:active,
  154 +a:visited {
  155 + color: #333;
  156 +}
  157 +input,
  158 +img {
  159 + border: 0;
  160 + vertical-align: middle;
  161 +}
  162 +textarea,
  163 +input,
  164 +a {
  165 + -webkit-tap-highlight-color: transparent;
  166 +}
  167 +/* 清除浮动 */
  168 +.clearfix,
  169 +.clear {
  170 + display: inline-table;
  171 + zoom: 1;
  172 +}
  173 +* html .clearfix,
  174 +* html .clear {
  175 + height: 1%;
  176 +}
  177 +* html .clearfix,
  178 +* html .clear {
  179 + zoom: 1;
  180 +}
  181 +.clearfix,
  182 +.clear {
  183 + display: block;
  184 +}
  185 +.clear {
  186 + clear: both;
  187 +}
  188 +.clearfix:after,
  189 +.clear:after {
  190 + content: " ";
  191 + display: block;
  192 + height: 0;
  193 + clear: both;
  194 + visibility: hidden;
  195 + line-height: 0px;
  196 +}
css/section.css
  1 +.m-section .section-head {
  2 + line-height: 45px;
  3 + padding: 0 10px;
  4 + background-color: #fff;
  5 + font-size: 14px;
  6 + color: #666;
  7 + text-align: left;
  8 + font-weight: bold;
  9 + margin-bottom: 10px;
  10 +}
  11 +.m-section .section-head:first-letter {
  12 + font-size: 18px;
  13 + color: #23ac38;
  14 +}
  15 +.section-items {
  16 + margin-bottom: 10px;
  17 +}
  18 +.section-items .section-item {
  19 + display: block;
  20 + margin-bottom: 5px;
  21 + width: 100%;
  22 +}
  23 +.section-items .section-item img {
  24 + width: 100%;
  25 + max-width: 100%;
  26 +}
  27 +.product-items {
  28 + background-color: #FFF;
  29 + margin-bottom: 10px;
  30 +}
  31 +.product-items .items .item {
  32 + width: 33.33%;
  33 + float: left;
  34 + font-size: 13px;
  35 + text-align: center;
  36 + padding: 8px 0;
  37 +}
  38 +.product-items .items .item a {
  39 + display: block;
  40 + position: relative;
  41 + z-index: 2;
  42 +}
  43 +.product-items .items .item h3 {
  44 + font-size: 13px;
  45 + padding: 0 5px;
  46 + font-weight: 700;
  47 + color: #333;
  48 + line-height: 16px;
  49 + padding: 0 10px;
  50 + text-align: left;
  51 + text-overflow: ellipsis;
  52 + overflow: hidden;
  53 + white-space: nowrap;
  54 +}
  55 +.product-items .items .item p {
  56 + padding: 0 10px;
  57 + text-align: left;
  58 +}
  59 +.product-items .items .item em {
  60 + text-align: left;
  61 + display: block;
  62 + font-size: 13px;
  63 + font-weight: 700;
  64 + font-style: normal;
  65 + color: #FA4535;
  66 + text-overflow: ellipsis;
  67 + overflow: hidden;
  68 + white-space: nowrap;
  69 +}
  70 +.product-items .items .item span {
  71 + display: block;
  72 + text-align: center;
  73 + overflow: hidden;
  74 + white-space: nowrap;
  75 + text-overflow: ellipsis;
  76 +}
  77 +.product-items .items .item .pic {
  78 + max-width: 100%;
  79 + height: 60px;
  80 + display: inline-block;
  81 + vertical-align: middle;
  82 +}
  83 +.product-items .items .item:after {
  84 + border-left: none;
  85 + border-top: none;
  86 +}
css/slider.css
  1 +/*
  2 + * Swiper 2.7.0
  3 + * Mobile touch slider and framework with hardware accelerated transitions
  4 + *
  5 + * http://www.idangero.us/sliders/swiper/
  6 + *
  7 + * Copyright 2010-2014, Vladimir Kharlampidi
  8 + * The iDangero.us
  9 + * http://www.idangero.us/
  10 + *
  11 + * Licensed under GPL & MIT
  12 + *
  13 + * Released on: August 30, 2014
  14 +*/
  15 +/* ===============================================================
  16 +Basic Swiper Styles
  17 +================================================================*/
  18 +.swiper-container {
  19 + margin: 0 auto;
  20 + position: relative;
  21 + overflow: hidden;
  22 + -webkit-backface-visibility: hidden;
  23 + -moz-backface-visibility: hidden;
  24 + -ms-backface-visibility: hidden;
  25 + -o-backface-visibility: hidden;
  26 + backface-visibility: hidden;
  27 + /* Fix of Webkit flickering */
  28 + z-index: 1;
  29 +}
  30 +.swiper-wrapper {
  31 + position: relative;
  32 + width: 100%;
  33 + -webkit-transition-property: -webkit-transform, left, top;
  34 + -webkit-transition-duration: 0s;
  35 + -webkit-transform: translate3d(0px, 0, 0);
  36 + -webkit-transition-timing-function: ease;
  37 + -moz-transition-property: -moz-transform, left, top;
  38 + -moz-transition-duration: 0s;
  39 + -moz-transform: translate3d(0px, 0, 0);
  40 + -moz-transition-timing-function: ease;
  41 + -o-transition-property: -o-transform, left, top;
  42 + -o-transition-duration: 0s;
  43 + -o-transform: translate3d(0px, 0, 0);
  44 + -o-transition-timing-function: ease;
  45 + -o-transform: translate(0px, 0px);
  46 + -ms-transition-property: -ms-transform, left, top;
  47 + -ms-transition-duration: 0s;
  48 + -ms-transform: translate3d(0px, 0, 0);
  49 + -ms-transition-timing-function: ease;
  50 + transition-property: transform, left, top;
  51 + transition-duration: 0s;
  52 + transform: translate3d(0px, 0, 0);
  53 + transition-timing-function: ease;
  54 + -webkit-box-sizing: content-box;
  55 + -moz-box-sizing: content-box;
  56 + box-sizing: content-box;
  57 +}
  58 +.swiper-free-mode > .swiper-wrapper {
  59 + -webkit-transition-timing-function: ease-out;
  60 + -moz-transition-timing-function: ease-out;
  61 + -ms-transition-timing-function: ease-out;
  62 + -o-transition-timing-function: ease-out;
  63 + transition-timing-function: ease-out;
  64 + margin: 0 auto;
  65 +}
  66 +.swiper-slide {
  67 + float: left;
  68 + -webkit-box-sizing: content-box;
  69 + -moz-box-sizing: content-box;
  70 + box-sizing: content-box;
  71 +}
  72 +/* IE10 Windows Phone 8 Fixes */
  73 +.swiper-wp8-horizontal {
  74 + -ms-touch-action: pan-y;
  75 +}
  76 +.swiper-wp8-vertical {
  77 + -ms-touch-action: pan-x;
  78 +}
  79 +/* ===============================================================
  80 +Your custom styles, here you need to specify container's and slide's
  81 +sizes, pagination, etc.
  82 +================================================================*/
  83 +.swiper-container {
  84 + /* Specify Swiper's Size: */
  85 + /*width:200px;
  86 + height: 100px;*/
  87 +}
  88 +.swiper-slide {
  89 + /* Specify Slides's Size: */
  90 + /*width: 100%;
  91 + height: 100%;*/
  92 +}
  93 +.swiper-slide-active {
  94 + /* Specific active slide styling: */
  95 +}
  96 +.swiper-slide-visible {
  97 + /* Specific visible slide styling: */
  98 +}
  99 +/* ===============================================================
  100 +Pagination Styles
  101 +================================================================*/
  102 +.swiper-pagination-switch {
  103 + /* Stylize pagination button: */
  104 +}
  105 +.swiper-active-switch {
  106 + /* Specific active button style: */
  107 +}
  108 +.swiper-visible-switch {
  109 + /* Specific visible button style: */
  110 +}
  111 +.swiper-pagination {
  112 + position: absolute;
  113 + text-align: center;
  114 + -webkit-transition: 300ms;
  115 + -moz-transition: 300ms;
  116 + -o-transition: 300ms;
  117 + transition: 300ms;
  118 + -webkit-transform: translate3d(0, 0, 0);
  119 + -ms-transform: translate3d(0, 0, 0);
  120 + -o-transform: translate3d(0, 0, 0);
  121 + transform: translate3d(0, 0, 0);
  122 + z-index: 10;
  123 +}
  124 +.swiper-pagination {
  125 + bottom: 10px;
  126 + left: 0;
  127 + width: 100%;
  128 +}
  129 +.swiper-pagination .swiper-pagination-switch {
  130 + margin: 0 5px;
  131 +}
  132 +.swiper-pagination-switch {
  133 + width: 8px;
  134 + height: 8px;
  135 + display: inline-block;
  136 + /*background: #FFF;*/
  137 + background: none;
  138 + -webkit-box-shadow: inset 0 0 0 2px #ddd;
  139 + box-shadow: inset 0 0 0 2px #ddd;
  140 + -webkit-box-shadow: inset hoff voff blur color;
  141 + box-shadow: inset hoff voff blur color;
  142 + border-radius: 100%;
  143 + /* -webkit-transition: all ease-in-out .15s;
  144 + -o-transition: all ease-in-out .15s;
  145 + transition: all ease-in-out .15s;*/
  146 +}
  147 +.swiper-active-switch {
  148 + opacity: 1;
  149 + -webkit-box-shadow: inset 0 0 0 4px #23AC38;
  150 + box-shadow: inset 0 0 0 4px #23AC38;
  151 + /*background: #23AC38;*/
  152 + /*-webkit-box-shadow: none;*/
  153 + /*box-shadow: none;*/
  154 +}
  155 +.m-slider {
  156 + height: 120px;
  157 + position: relative;
  158 + overflow: hidden;
  159 + font-size: 0;
  160 +}
  161 +.m-slider a {
  162 + display: block;
  163 + width: 100%;
  164 + height: 100%;
  165 +}
  166 +.m-slider img {
  167 + display: inline-block;
  168 + width: 100%;
  169 + height: 100%;
  170 + float: left;
  171 +}
  172 +.m-slider .swiper-container {
  173 + height: 100%;
  174 +}
  175 +.m-slider .swiper-wrapper {
  176 + height: 100%;
  177 +}
css/sprite_admin.css 0 → 100644
  1 +/*
  2 +LESS variables are information about icon's compiled state, stored under its original file name
  3 +
  4 +.icon-home {
  5 + width: @icon-home-width;
  6 +}
  7 +
  8 +The large array-like variables contain all information about a single icon
  9 +@icon-home: x y offset_x offset_y width height total_width total_height image_path name;
  10 +
  11 +At the bottom of this section, we provide information about the spritesheet itself
  12 +@spritesheet: width height image @spritesheet-sprites;
  13 +*/
  14 +/*
  15 +The provided classes are intended to be used with the array-like variables
  16 +
  17 +.icon-home {
  18 + .sprite-width(@icon-home);
  19 +}
  20 +.icon-email {
  21 + .sprite(@icon-email);
  22 +}
  23 +*/
  24 +/*
  25 +The `.sprites` mixin generates identical output to the CSS template
  26 + but can be overridden inside of LESS
  27 +
  28 +This must be run when you have at least 2 sprites.
  29 + If run with a single sprite, then there will be reference errors.
  30 +
  31 +.sprites(@spritesheet-sprites);
  32 +*/
css/tab.css
  1 +.m-nav {
  2 + width: 100%;
  3 + background-color: #444;
  4 + font-size: 14px;
  5 + color: #999;
  6 + overflow: hidden;
  7 + box-sizing: border-box;
  8 +}
  9 +.m-nav a {
  10 + color: #999;
  11 + padding: 0 10px;
  12 + min-width: 70px;
  13 +}
  14 +.m-nav li {
  15 + float: left;
  16 + line-height: 40px;
  17 + text-align: center;
  18 + position: relative;
  19 +}
  20 +.m-nav li:last-child {
  21 + padding-right: 0;
  22 +}
  23 +.m-nav .on a {
  24 + color: #FFF;
  25 + background-color: #23ac38;
  26 + display: block;
  27 + position: relative;
  28 +}
1 .m-tab { 29 .m-tab {
2 width: 100%; 30 width: 100%;
3 background-color: #FFF; 31 background-color: #FFF;
@@ -6,16 +34,17 @@ @@ -6,16 +34,17 @@
6 border-width: 1px 0; 34 border-width: 1px 0;
7 overflow: hidden; 35 overflow: hidden;
8 box-sizing: border-box; 36 box-sizing: border-box;
9 - padding: 0 15px; 37 + margin-bottom: 10px;
10 } 38 }
11 .m-tab a { 39 .m-tab a {
  40 + display: block;
12 color: #999; 41 color: #999;
  42 + padding: 0 10px;
  43 + min-width: 70px;
13 } 44 }
14 .m-tab li { 45 .m-tab li {
15 float: left; 46 float: left;
16 - min-width: 32px;  
17 - padding-right: 18px;  
18 - line-height: 40px; 47 + line-height: 45px;
19 text-align: center; 48 text-align: center;
20 position: relative; 49 position: relative;
21 } 50 }
@@ -23,7 +52,7 @@ @@ -23,7 +52,7 @@
23 padding-right: 0; 52 padding-right: 0;
24 } 53 }
25 .m-tab .on a { 54 .m-tab .on a {
26 - color: #2caa3f; 55 + color: #23ac38;
27 display: block; 56 display: block;
28 position: relative; 57 position: relative;
29 } 58 }
@@ -34,20 +63,5 @@ @@ -34,20 +63,5 @@
34 left: 0; 63 left: 0;
35 right: 0; 64 right: 0;
36 height: 2px; 65 height: 2px;
37 - background-color: #23AC38;  
38 -}  
39 -.m-tab.tab-col-2 li {  
40 - width: 50% !important;  
41 -}  
42 -.m-tab.tab-col-3 li {  
43 - width: 33.33% !important;  
44 - padding-right: 0 ;  
45 -}  
46 -.m-tab.tab-col-4 li {  
47 - padding-right: 0;  
48 - width: 25% !important;  
49 -}  
50 -.m-tab.tab-col-5 li {  
51 - padding-right: 0;  
52 - width: 20% !important; 66 + background-color: #23ac38;
53 } 67 }
css/util.css
1 -.text-left{text-align:left!important}.text-center{text-align:center!important}.text-right{text-align:right!important}.text-nowrap{white-space:nowrap!important}.text-overflow{overflow:hidden;text-overflow:ellipsis}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-indent{text-indent:-999em}.float-left{float:left!important}.float-right{float:right!important}.float-none{float:none!important}.display-block{display:block!important}.clearfix:after{content:'';display:block;height:0;overflow:hidden;font-size:0;clear:both}.m-hide{display:none!important;visibility:hidden;opacity:0;z-index:-1}.m-hidden{visibility:hidden;opacity:0;z-index:-1}.m-show{display:block!important;visibility:visible}.m-separate{position:relative;width:100%;line-height:50px;text-align:center;font-size:12px;color:#666;overflow:visible}.m-more,a.m-more{display:block;font-size:12px;text-align:center;color:#999;line-height:45px;background-color:#FFF}.m-animate-hide{-webkit-transform:translate(0,100%) translateZ(0)!important;-ms-transform:translate(0,100%) translateZ(0)!important;-o-transform:translate(0,100%) translateZ(0)!important;transform:translate(0,100%) translateZ(0)!important}.m-animate-show{-webkit-transform:translate(0,0) translateZ(0)!important;-ms-transform:translate(0,0) translateZ(0)!important;-o-transform:translate(0,0) translateZ(0)!important;transform:translate(0,0) translateZ(0)!important}.hidden{opacity:0;z-index:-1}.mask-hidden{opacity:0}.font-white{color:#FFF!important}.font-white-opacity{color:rgba(255,255,255,.8)!important}.font-deep{color:#333!important}.font-gray{color:#666!important}.font-light{color:#999!important}.font-yellow{color:#FF9D2C!important}.font-orange{color:#FF6B00!important}.font-red{color:#fa4535!important}.font-green{color:#23ac38!important}.background-white{background-color:#FFF}.background-gray{background-color:#666!important}.background-yellow{background-color:#FF9D2C!important}.background-orange{background-color:#FF6B00!important}.background-red{background-color:#fa4535!important}.background-green{background-color:#23ac38!important}.position-relative{position:relative}.z-index2{z-index:2}.width-auto{width:auto!important}.width-200p{width:200%}.m-col-1{width:100%!important}.m-col-2{width:50%!important}.m-col-3{width:33.33%!important}.m-col-4{width:25%!important}  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +/***************************************************
  3 +* feature : 工具类class,提供浮动清除、文本对齐、显示隐藏等;
  4 +* update : 2015/02/03;
  5 +* use : 按需使用对应class即可;
  6 +* desc : ;
  7 +* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
  8 +* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
  9 +****************************************************/
  10 +.text-left {
  11 + text-align: left !important;
  12 +}
  13 +.text-center {
  14 + text-align: center !important;
  15 +}
  16 +.text-right {
  17 + text-align: right !important;
  18 +}
  19 +.text-nowrap {
  20 + white-space: nowrap !important;
  21 +}
  22 +.text-overflow {
  23 + overflow: hidden;
  24 + text-overflow: ellipsis;
  25 +}
  26 +.text-lowercase {
  27 + text-transform: lowercase;
  28 +}
  29 +.text-uppercase {
  30 + text-transform: uppercase;
  31 +}
  32 +.text-capitalize {
  33 + text-transform: capitalize;
  34 +}
  35 +.text-indent {
  36 + text-indent: -999em;
  37 +}
  38 +.float-left {
  39 + float: left !important;
  40 +}
  41 +.float-right {
  42 + float: right !important;
  43 +}
  44 +.float-none {
  45 + float: none !important;
  46 +}
  47 +.display-block {
  48 + display: block !important;
  49 +}
  50 +.clearfix:after {
  51 + content: '';
  52 + display: block;
  53 + height: 0;
  54 + overflow: hidden;
  55 + font-size: 0;
  56 + clear: both;
  57 +}
  58 +.m-hide {
  59 + display: none !important;
  60 + visibility: hidden;
  61 + opacity: 0;
  62 + z-index: -1;
  63 +}
  64 +.m-hidden {
  65 + visibility: hidden;
  66 + opacity: 0;
  67 + z-index: -1;
  68 +}
  69 +.m-show {
  70 + display: block !important;
  71 + visibility: visible;
  72 +}
  73 +.m-separate {
  74 + position: relative;
  75 + width: 100%;
  76 + line-height: 50px;
  77 + text-align: center;
  78 + font-size: 12px;
  79 + color: #666;
  80 + overflow: visible;
  81 +}
  82 +.m-more,
  83 +a.m-more {
  84 + display: block;
  85 + font-size: 12px;
  86 + text-align: center;
  87 + color: #999;
  88 + line-height: 45px;
  89 + background-color: #FFF;
  90 +}
  91 +.m-animate-hide {
  92 + -webkit-transform: translate(0, 100%) translateZ(0) !important;
  93 + -ms-transform: translate(0, 100%) translateZ(0) !important;
  94 + -o-transform: translate(0, 100%) translateZ(0) !important;
  95 + transform: translate(0, 100%) translateZ(0) !important;
  96 +}
  97 +.m-animate-show {
  98 + -webkit-transform: translate(0, 0) translateZ(0) !important;
  99 + -ms-transform: translate(0, 0) translateZ(0) !important;
  100 + -o-transform: translate(0, 0) translateZ(0) !important;
  101 + transform: translate(0, 0) translateZ(0) !important;
  102 +}
  103 +.hidden {
  104 + opacity: 0;
  105 + z-index: -1;
  106 +}
  107 +.mask-hidden {
  108 + opacity: 0;
  109 +}
  110 +.font-white {
  111 + color: #FFF !important;
  112 +}
  113 +.font-white-opacity {
  114 + color: rgba(255, 255, 255, 0.8) !important;
  115 +}
  116 +.font-deep {
  117 + color: #333 !important;
  118 +}
  119 +.font-gray {
  120 + color: #666 !important;
  121 +}
  122 +.font-light {
  123 + color: #999 !important;
  124 +}
  125 +.font-yellow {
  126 + color: #FF9D2C !important;
  127 +}
  128 +.font-orange {
  129 + color: #FF6B00 !important;
  130 +}
  131 +.font-red {
  132 + color: #fa4535 !important;
  133 +}
  134 +.font-green {
  135 + color: #23ac38 !important;
  136 +}
  137 +.background-white {
  138 + background-color: #FFF;
  139 +}
  140 +.background-gray {
  141 + background-color: #666 !important;
  142 +}
  143 +.background-yellow {
  144 + background-color: #FF9D2C !important;
  145 +}
  146 +.background-orange {
  147 + background-color: #FF6B00 !important;
  148 +}
  149 +.background-red {
  150 + background-color: #fa4535 !important;
  151 +}
  152 +.background-green {
  153 + background-color: #23ac38 !important;
  154 +}
  155 +.position-relative {
  156 + position: relative;
  157 +}
  158 +.z-index2 {
  159 + z-index: 2;
  160 +}
  161 +.width-auto {
  162 + width: auto !important;
  163 +}
  164 +.width-200p {
  165 + width: 200%;
  166 +}
  167 +.m-col-1 {
  168 + width: 100% !important;
  169 +}
  170 +.m-col-2 {
  171 + width: 50% !important;
  172 +}
  173 +.m-col-3 {
  174 + width: 33.33% !important;
  175 +}
  176 +.m-col-4 {
  177 + width: 25% !important;
  178 +}
html/index.html
@@ -28,8 +28,6 @@ @@ -28,8 +28,6 @@
28 <li><a href="#">最低专区</a></li> 28 <li><a href="#">最低专区</a></li>
29 <li><a href="#">精品专区</a></li> 29 <li><a href="#">精品专区</a></li>
30 </ul> 30 </ul>
31 -  
32 -  
33 <!-- slider --> 31 <!-- slider -->
34 <div class="m-slider"> 32 <div class="m-slider">
35 <!-- Swiper --> 33 <!-- Swiper -->