时间:2019-05-05 来源:小程序工厂
林***:
是否是 wxss中定义了page::before 的伪类?
薛***:
没有定义
扫描普通二维码的问题
林***:
可否删除掉一些代码后 给一个可以复现的demo
我们这里没有办法复现这个问题
薛***: page{
font-family: 微软雅黑;
margin: 0;
padding: 0;
}
#all{
/* background-image: url(http://img.zhangjiamenhu.com/henanbackimg.jpg);
background-repeat: no-repeat;
background-position-y: -90rpx;
background-size: 100%;*/
height: 100%;
width: 100%;
}
.body-view{
padding-top: 2%;
}
.body-view slider{
width: 62%;
}
.body-view .huadong{
display: block;
float: right;
font-weight: 800;
font-size: 10;
color:white;
margin-top: -8%;
margin-right: 2%;
}
.top{
width: 100%;
height: 580rpx;
}
.top .header{
height: 100rpx;
display: flex;
}
.top .header .weather{
position: absolute;
width: 300rpx;
height:100rpx ;
z-index: 50;
top: 100rpx;
left: 50rpx;
}
.top .header .weather image{
width: 300rpx;
height:100rpx ;
margin: 0 0 0 0 ;
opacity: 1;
}
.top .header image{
width: 65rpx;
height: 65rpx;
/*margin: 30rpx 0 0 50rpx;
float: left;*/
position: absolute;
}
.top .header .dingwei{
width: 35rpx;
height: 36rpx;
margin: 30rpx 0 0 300rpx;
}
.page-body-text{
-webkit-box-orient:vertical;
-webkit-line-clamp:1;
overflow:hidden;
white-space:normal;
text-overflow:ellipsis;
display:-webkit-box;
}
.top .header text{
font-family: 微软雅黑;
color: white;
font-size: 0.8em;
text-align: center;
margin-top: 5%;
}
.page-body-info{
width:100px;
display: block;
text-align: center;
margin-left: 40%;
padding-top: 3%;
}
.top .header .fabu{
float: right;
margin: 30rpx 50rpx 0 0;
}
.top .header .share{
width: 150rpx;
height: 120rpx;
position: absolute;
left: 73%;
top: 100rpx;
z-index: 5;
background-image: url("../imag/share.png");
}
.top .header .share image{
width: 150rpx;
height: 120rpx;
margin: 0 0 0 0 ;
}
.top .content{
width: 92%;
height: 500rpx;
background-color: white;
border:1px solid #186eb7;
opacity: 0.95;
border-radius: 10rpx;
margin:-5% 0 0 4%;
}
.top .content .title{
margin-top: 10px;
padding: 20rpx;
}
.topimg{
width: 40px;
height: 33px;
margin:-22px 41.3%;
position: absolute;
}
.top .content .title .h1{
font-size:1.4em;
font-family: 微软雅黑;
font-weight: 400;
display: block;
text-align: center;
padding-bottom: 30rpx;
}
.top .content .title .h5{
font-family: 微软雅黑;
line-height: 50rpx;
display: block;
color: #555555;
overflow: hidden;
font-size: 0.8em;
white-space:normal;
text-overflow:ellipsis;
display: -webkit-box;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp:3;
}
.btm{
position: absolute;
width: 90%;
/* bottom: 14.5rem; */
margin-top:25px;
}
.btm image{
float: left;
width: 66rpx;
height: 66rpx;
margin-left: 30rpx;
border-radius: 30px;
}
.btm .wuye{
float: left;
}
.btm text{
font-family: 微软雅黑;
margin-left:20rpx;
color: #666666;
font-size: 0.8em;
margin-top: 10rpx;
}
.btm .time{
float: right;
/* margin-right: 20%; */
}
.bottom{
width: 92%;
height: 450rpx;
margin: 1.5% 0 0 4%;
background-color: #fff;
opacity: 0.95;
border-radius: 10rpx;
}
.bottom text{
font-family:微软雅黑;
}
.bottom .one{
height: 20%;
width: 100%;
}
.bottom .one image{
width: 6%;
height: 35%;
margin: 3% 0 0 41%;
}
.one_text{
text-align: center;
margin-left: 2%;
}
.bottom .one text{
font-size: 0.9em;
}
.bottom .two{
height: 21%;
width: 85%;
margin-left:15%;
}
.bottom .two text{
font-size: 0.8em;
float: left;
margin-top: 30rpx;
}
.bottom .two input{
border-bottom: 1px dashed #999;
float: left;
width: 40%;
margin: 10rpx 0 0 0;
height: 10rpx;
}
.bottom .wuye{
clear: left;
float: left;