Authored by ccbikai

H5 限制整体宽度

... ... @@ -27,13 +27,15 @@
<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)">
</head>
<body {{#if isPassportPage}}class=passport-body{{/if}}>
{{#if systemUpdate}}
{{> updata}}
{{/if}}
<div class="main-wrap">
{{#if systemUpdate}}
{{> updata}}
{{/if}}
{{> header}}
{{{body}}}
{{> footer}}
{{> header}}
{{{body}}}
{{> footer}}
</div>
{{#if devEnv}}
<script src="//localhost:5001/{{module}}.{{page}}.js"></script>
... ...
... ... @@ -53,6 +53,13 @@ a {
overflow: hidden;
}
.main-wrap {
margin-left: auto;
margin-right: auto;
width: 100%;
max-width: 640px;
}
@font-face {
font-family: "iconfont";
src: resolve('iconfont.eot'); /* IE9 */
... ...
.yoho-footer {
margin-left: auto;
margin-right: auto;
width: 100%;
max-width: 640px;
font-size: 24px;
background-color: #fff;
position: relative;
... ...
... ... @@ -20,8 +20,6 @@
height: 90px;
line-height: 90px;
z-index: 1;
max-width: 640px;
margin: 0 auto;
&.boys {
background-image: linear-gradient(#323232, #414141);
... ...
.sale-page {
margin-left: auto;
margin-right: auto;
width: 100%;
max-width: 640px;
overflow: hidden;
.banner-top .swiper-container {
... ...