提交 8814f9ff 编写于 作者: tao.wu's avatar tao.wu

修改页面宽度固定引起的bug

上级 dbbd68cf
img{
-webkit-user-select:none;
-moz-user-select:none;
-o-user-select:none;
user-select:none;
}
body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4,h5, h6, i, b, textarea, button, input, select, figure, figcaption {
padding: 0;
margin: 0;
list-style: none;
font-style: normal;
text-decoration: none;
border: none;
color: #333;
font-weight: normal;
font-family: "PingFangSC-Regular","-apple-system-font","Source Han Sans","Helvetica Neue","sans-serif";
box-sizing: border-box;
-webkit-tap-highlight-color:transparent;
-webkit-font-smoothing: antialiased;
&:hover{
outline: none;
}
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar
{
width: 0px;
height: 0px;
background-color: #F5F5F5;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
border-radius: 10px;
background-color: #F5F5F5;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb
{
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #555;
}
input[type="button"], input[type="submit"], input[type="search"], input[type="reset"] {
-webkit-appearance: none;
}
textarea { -webkit-appearance: none;}
html,body{ html,body{
height: 100%; width: 100%;
width: 100%; background-color: #fff;
background-color: #fff; overflow-x: hidden;
} -webkit-overflow-scrolling: touch;
.clear:after{
content: '';
display: block;
clear: both;
}
.clear{
zoom:1;
}
.back_img{
background-repeat: no-repeat;
background-size: 100% 100%;
}
.margin{
margin: 0 auto;
}
.left{
float: left;
}
.right{
float: right;
} }
img{
.hide{ -webkit-user-select:none;
display: none; -moz-user-select:none;
} -o-user-select:none;
user-select:none;
.show{ margin-bottom: -.5px;
display: block;
}
.ellipsis{
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.paddingTop{
padding-top: 1.95rem;
}
@keyframes backOpacity{
0% { opacity: 1 }
25% { opacity: .5 }
50% { opacity: 1 }
75% { opacity: .5 }
100% { opacity: 1 }
}
.animation_opactiy{
animation: backOpacity 2s ease-in-out infinite;
}
.template-content .mint-cell-title {
display: none;
}
.template-content .mint-cell-value {
width: 100%;
}
.template-content .mint-cell-wrapper {
padding: 0;
} }
\ No newline at end of file
.index-wrap { .index-wrap {
width: 100%;
position: relative;
div { div {
width: 375px; width: 100%;
img { img {
width: 375px; width: 100%;
display: block; display: block;
} }
} }
...@@ -12,7 +13,7 @@ ...@@ -12,7 +13,7 @@
height: 72.5px; height: 72.5px;
background: url(../img/img4.png) no-repeat center center; background: url(../img/img4.png) no-repeat center center;
background-size: 100% 100%; background-size: 100% 100%;
margin-bottom: -.5px;
.wrap-count { .wrap-count {
width: 325px; width: 325px;
height: 72.5px; height: 72.5px;
...@@ -50,7 +51,7 @@ ...@@ -50,7 +51,7 @@
height: 94.5px; height: 94.5px;
background: url(../img/img5.png) no-repeat center center; background: url(../img/img5.png) no-repeat center center;
background-size: 100% 100%; background-size: 100% 100%;
margin-bottom: -.5px;
img { img {
padding-top: 15px; padding-top: 15px;
} }
...@@ -68,7 +69,7 @@ ...@@ -68,7 +69,7 @@
height: 166px; height: 166px;
background: url(../img/img11.png) no-repeat center center; background: url(../img/img11.png) no-repeat center center;
background-size: 100% 100%; background-size: 100% 100%;
margin-bottom: -.5px;
img { img {
padding-top: 81px; padding-top: 81px;
} }
...@@ -127,7 +128,7 @@ ...@@ -127,7 +128,7 @@
.btn-rule { .btn-rule {
width: 110px; width: 110px;
height: 15px; // height: 15px;
font-size: 15px; font-size: 15px;
color: rgba(255, 255, 255, 1); color: rgba(255, 255, 255, 1);
line-height: 15px; line-height: 15px;
...@@ -146,7 +147,7 @@ ...@@ -146,7 +147,7 @@
} }
.fix-btn { .fix-btn {
width: 375px; width: 100%;
height: 50px; height: 50px;
position: fixed; position: fixed;
left: 0; left: 0;
...@@ -187,7 +188,7 @@ ...@@ -187,7 +188,7 @@
// 微信分享助力活动 // 微信分享助力活动
.wx-share-wrap { .wx-share-wrap {
width: 375px; width: 100%;
// height: 601.5px; // height: 601.5px;
button,input{ button,input{
appearance: none; appearance: none;
...@@ -195,11 +196,12 @@ ...@@ -195,11 +196,12 @@
outline: none; outline: none;
} }
section { section {
width: 375px; width: 100%;
// height: 601.5px; // height: 601.5px;
padding-bottom: 27.5px; padding-bottom: 27.5px;
background: url(../img/bgtop.png) no-repeat; background: url(../img/bgtop.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
margin-bottom: -.5px;
.invite-info{ .invite-info{
img{ img{
width: 50px; width: 50px;
...@@ -368,10 +370,10 @@ ...@@ -368,10 +370,10 @@
} }
} }
.wx-share-result{ .wx-share-result{
width: 375px; width: 100%;
// height: 601.5px; // height: 601.5px;
section{ section{
width: 375px; width: 100%;
// height: 601.5px; // height: 601.5px;
padding-top: 40px; padding-top: 40px;
.res-wrap{ .res-wrap{
...@@ -418,7 +420,7 @@ ...@@ -418,7 +420,7 @@
color:rgba(103,104,105,1); color:rgba(103,104,105,1);
} }
.line{ .line{
width: 375px; width: 100%;
height: 5px; height: 5px;
background:rgba(248,249,250,1); background:rgba(248,249,250,1);
} }
......
header{ header{
width: 375px; width: 100%;
position: fixed; position: fixed;
left: 0; left: 0;
top: 0; top: 0;
z-index: 300; z-index: 300;
.status{ .status{
width: 375px; width: 100%;
} }
.head-wrap{ .head-wrap{
width: 375px; width: 100%;
height: 44Px; height: 44Px;
line-height: 44Px; line-height: 44Px;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -39,6 +39,7 @@ module.exports = { ...@@ -39,6 +39,7 @@ module.exports = {
** Global CSS ** Global CSS
*/ */
css: [ css: [
'~/assets/style/common.less',
'vant/lib/index.css' 'vant/lib/index.css'
], ],
/* /*
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册