|
@@ -3,7 +3,7 @@
|
|
|
* 移动端
|
|
|
*/
|
|
|
.baseHeadCenter,#container,.footMain{width: 100%;overflow: hidden;}
|
|
|
-.pcOnly,.jqSelect .pc,.baseHeadTop,.baseHeadCenter .headCart,.baseHeadCenter .hotword,.baseTopNav{display:none!important;}
|
|
|
+.pcOnly,.jqSelect .pc,.baseHeadTop,.baseHeadCenter .headCart,.baseHeadCenter .hotword,.baseTopNav>.wrap{display:none!important;}
|
|
|
.mIcon:before{content:'';display:inline-block;font-size:0;background:url(/img/base/icon_m.png) no-repeat;background-size:75vw auto;transition:all .5s}
|
|
|
.mf{display:-ms-flexbox;display:-webkit-flex;display:flex;}
|
|
|
.mfbt{display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-justify-content:space-between;justify-content:space-between;}
|
|
@@ -15,15 +15,16 @@
|
|
|
.jqSelect select{box-sizing:border-box;width:24vw;padding: 0 6vw 0 3vw;border-radius:2px;cursor:pointer;position:relative;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;}
|
|
|
.jqSelect select::-ms-expand{display:none;}
|
|
|
.jqSelect:before{content:'\276F';font-weight:normal;position:absolute;right:3vw;top:0;transform:rotate(90deg);font-size:3.6vw;color:#4A4F58}
|
|
|
+.mFixed{position:fixed;bottom:0;left:0;width:100%;height:100%;margin:0 auto;z-index:50;overflow-y:scroll;background-color:#FFF;-webkit-overflow-scrolling:touch}
|
|
|
/* 头部 */
|
|
|
.baseHeadCenter{box-sizing:border-box;width:100%;height:26.8vw;padding:0 2vw;position:relative;background:#FFF}
|
|
|
-.baseHeadCenter .logo{width:23.8vw;height:5.9vw;padding:3.75vw 0;position:absolute;top:0;left:50%;margin-left:-11.9vw}
|
|
|
-.baseHeadCenter .logo img{display:block;width:23.8vw;height:5.9vw}
|
|
|
-.baseHeadCenter .mClassBtn{float:left}
|
|
|
+.baseHeadCenter .logo,.classifyBox .logo{width:23.8vw;height:5.9vw;padding:3.75vw 0;position:absolute;top:0;left:50%;margin-left:-11.9vw}
|
|
|
+.baseHeadCenter .logo img,.classifyBox .logo img{display:block;width:23.8vw;height:5.9vw}
|
|
|
+.baseHeadCenter .mClassBtn,.classifyBox .mClassBtn{float:left}
|
|
|
.baseHeadCenter .mUserCenter{float:right}
|
|
|
-.baseHeadCenter .mClassBtn,.baseHeadCenter .mUserIcon,.baseHeadCenter .mAddCart{padding:3.5vw 2.8vw;width:6.4vw;height:6.4vw}
|
|
|
-.baseHeadCenter .mClassBtn:before,.baseHeadCenter .mUserIcon:before,.baseHeadCenter .mAddCart:before{content:'';display:block;width:6.4vw;height:6.4vw}
|
|
|
-.baseHeadCenter .mClassBtn:before{background-position:0 0}
|
|
|
+.baseHeadCenter .mClassBtn,.classifyBox .mClassBtn,.baseHeadCenter .mUserIcon,.baseHeadCenter .mAddCart,.classifyBox .clsHead .close{padding:3.5vw 2.8vw;width:6.4vw;height:6.4vw}
|
|
|
+.baseHeadCenter .mClassBtn:before,.classifyBox .mClassBtn:before,.baseHeadCenter .mUserIcon:before,.baseHeadCenter .mAddCart:before{content:'';display:block;width:6.4vw;height:6.4vw}
|
|
|
+.baseHeadCenter .mClassBtn:before,.classifyBox .mClassBtn:before{background-position:0 0}
|
|
|
.baseHeadCenter .mUserIcon:before{background-position:11% 0}
|
|
|
.baseHeadCenter .mAddCart:before{background-position:22% 0}
|
|
|
.baseHeadCenter .searchBox{position:absolute;top:13.4vw;left:0;width:100%;padding-top:1.8vw}
|
|
@@ -36,15 +37,22 @@
|
|
|
.baseHeadCenter .search .searchBtn{position:absolute;right:1.2vw;top:0}
|
|
|
.baseHeadCenter .search .searchBtn:before{content:'';display:block;width:9.6vw;height:9.6vw;background-position:33% -1%}
|
|
|
/* 分类 */
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+.classifyBox{display:none;background:#F7F7F7;overflow:hidden}
|
|
|
+.classifyBox .clsHead{position:relative;background:#FFF}
|
|
|
+.classifyBox .clsHead .close{float:right;text-align:center}
|
|
|
+.classifyBox .clsHead .close:before{content:'\2715';font-size:4.5vw;font-weight:bold}
|
|
|
+.classifyBox .mClassBtn:before{transform:rotate(90deg)}
|
|
|
+.classifyBox .clsTab,.classifyBox .clsCon{position:absolute;top:13.7vw;height:calc(100% - 13.7vw)}
|
|
|
+.classifyBox .clsTab{left:0;width:26vw;background:#FFF}
|
|
|
+.classifyBox .clsCon{right:0;width:73.6vw;overflow-y:scroll;-webkit-overflow-scrolling:touch}
|
|
|
+.classifyBox a{color:#93979F}
|
|
|
+.classifyBox .clsTab a{display:block;height:13vw;line-height:13vw;text-align:center;font-size:3.4vw}
|
|
|
+.classifyBox .clsTab a.on,.classifyBox .rgt a.on{color:#E15616}
|
|
|
+.classifyBox .tabItem .lft{height:10.7vw;line-height:10.7vw;padding-left:3vw;font-size:3.7vw}
|
|
|
+.classifyBox .tabItem .rgt{background:#FFF}
|
|
|
+.classifyBox .tabItem .rgt a{width:20.8vw;height:29.8vw;margin:2.6vw 1.3vw}
|
|
|
+.classifyBox .tabItem .rgt img{display:block;width:20.8vw;height:20.8vw}
|
|
|
+.classifyBox .tabItem .rgt span{display:block;line-height:9vw;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:3.4vw;color:#4A4F58}
|
|
|
/* 底部 */
|
|
|
.footMain{width:100%;box-sizing:border-box;background:#4A4F58;color:#FFF}
|
|
|
.footLink .list{width:100%;padding:0 3vw;box-sizing:border-box}
|