|
@@ -224,7 +224,7 @@
|
|
}))
|
|
}))
|
|
|
|
|
|
this.getText()
|
|
this.getText()
|
|
- this.timer = setInterval(this.scroll, 1400);
|
|
|
|
|
|
+ this.timer = setInterval(this.scroll, 1200);
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.notics = []
|
|
this.notics = []
|
|
@@ -244,11 +244,11 @@
|
|
query
|
|
query
|
|
.select(".buy-txtbox")
|
|
.select(".buy-txtbox")
|
|
.boundingClientRect((data) => {
|
|
.boundingClientRect((data) => {
|
|
- this.marginTop = data.height + uni.upx2px(14)
|
|
|
|
|
|
+ this.marginTop = data.height + 7
|
|
if(this.notics.length>2) {
|
|
if(this.notics.length>2) {
|
|
- this.boxHeight = this.marginTop * 3 + uni.upx2px(8)
|
|
|
|
|
|
+ this.boxHeight = this.marginTop * 3 + 4
|
|
} else {
|
|
} else {
|
|
- this.boxHeight = this.marginTop * this.notics.length + uni.upx2px(8)
|
|
|
|
|
|
+ this.boxHeight = this.marginTop * this.notics.length + 4
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.exec();
|
|
.exec();
|
|
@@ -383,7 +383,7 @@
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
.buy-lists{
|
|
.buy-lists{
|
|
- height: 188rpx;
|
|
|
|
|
|
+ height: 94px;
|
|
background-color:transparent;
|
|
background-color:transparent;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
width: 60%;
|
|
width: 60%;
|
|
@@ -393,20 +393,23 @@
|
|
left: 20rpx;
|
|
left: 20rpx;
|
|
}
|
|
}
|
|
.buy-list{
|
|
.buy-list{
|
|
- height: 46rpx;
|
|
|
|
|
|
+ height: 23px;
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
- margin-top: 14rpx;
|
|
|
|
|
|
+ margin-top: 7px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
color: #fff;
|
|
color: #fff;
|
|
.buy-item {
|
|
.buy-item {
|
|
display: inline-flex;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
height: 100%;
|
|
|
|
+ line-height: 100%;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
background-color: rgba(0, 0, 0, 0.35);
|
|
background-color: rgba(0, 0, 0, 0.35);
|
|
border-radius: 10rpx;
|
|
border-radius: 10rpx;
|
|
padding: 0 20rpx;
|
|
padding: 0 20rpx;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
+ word-break: break-all;
|
|
|
|
+ white-space: nowrap;
|
|
}
|
|
}
|
|
.buy-name {
|
|
.buy-name {
|
|
width: 50%;
|
|
width: 50%;
|
|
@@ -418,8 +421,8 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.buy-top {
|
|
.buy-top {
|
|
- transition: all 1.5s ease-in;
|
|
|
|
- margin-top: -60rpx;
|
|
|
|
|
|
+ transition: all 0.8s ease-in;
|
|
|
|
+ margin-top: -30px;
|
|
}
|
|
}
|
|
.content{
|
|
.content{
|
|
height: 100%;
|
|
height: 100%;
|