- 处理 pc 最大尺寸,居中处理

This commit is contained in:
sin 2019-05-09 20:29:26 +08:00
parent 31f3e0d456
commit 1113c31c26
2 changed files with 64 additions and 12 deletions

View File

@ -10,10 +10,5 @@ export default {
name: 'app'
}
</script>
<style>
#app{
max-width: 1000px;
}
</style>

View File

@ -1,7 +1,64 @@
body {margin:0px; padding:0px; color:rgb(34, 34, 34); font-family:Helvetica,"Hiragino Sans GB","Microsoft YaHei",Simsun,"Droid Sans Fallback",sans-serif; text-decoration:none; background:#fff;-webkit-tap-highlight-color:rgba(0,0,0,0); }
body,div,dl,dt,dd,ol,ul,li,h1,h2,h3,h4,h5,h6,h7,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0px; padding:0px;}
ul{list-style:none;}
li{list-style:none;}
img {border:0px currentColor;vertical-align:top;}
ol {list-style:none; margin:0px; padding:0px;}
a{color:rgb(0, 0, 0); text-decoration:none;}
body {
margin: 0px;
padding: 0px;
color: rgb(34, 34, 34);
font-family: Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Simsun, "Droid Sans Fallback", sans-serif;
text-decoration: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
background-color: #ffffff;
}
/* 处理 pc 最大尺寸 */
#app {
border-left: 1px solid #ccc2bf;
border-right: 1px solid #ccc2bf;
}
#app,.van-goods-action, .van-overflow-hidden {
max-width: 1000px!important;
margin: 0 auto;
}
.van-tabbar {
max-width: 1000px!important;
position:fixed;
margin:auto;
left:0;
right:0;
}
#maxWidth {
display: flex;
flex: 1;
}
body, div, dl, dt, dd, ol, ul, li, h1, h2, h3, h4, h5, h6, h7, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
margin: 0px;
padding: 0px;
}
ul {
list-style: none;
}
li {
list-style: none;
}
img {
border: 0px currentColor;
vertical-align: top;
}
ol {
list-style: none;
margin: 0px;
padding: 0px;
}
a {
color: rgb(0, 0, 0);
text-decoration: none;
}