首页拼团推荐样式

This commit is contained in:
ghusermoon 2020-08-18 10:38:35 +08:00
parent 31689af773
commit 06ee3b9038
3 changed files with 4 additions and 4 deletions

View File

@ -100,7 +100,7 @@ export default {
},
setSwiperHeight() {
// height: 480rpx, margin-bottom: 26rpx
const height = Math.ceil(this.goodsList[this.current].length / 2) * (480 + 26);
const height = Math.ceil(this.goodsList[this.current].length / 2) * (450 + 26);
this.swiperHeight = height == 0 ? '230rpx' : height + 'rpx';
// console.log(this.swiperHeight);
},

View File

@ -44,14 +44,14 @@ export default {
<style lang="scss" scoped>
.item{
width: 330rpx;
height: 480rpx;
height: 450rpx;
margin-bottom: 26rpx;
background-color: #f8f8f8;
border-radius: 10rpx 10rpx 0rpx 0rpx;
.img{
width: 330rpx;
height: 300rpx;
background: rgba(245,245,245,1);
background: rgb(114, 110, 110);
border-radius: 10rpx 10rpx 0rpx 0rpx;
margin-bottom: 24rpx;
}

View File

@ -91,7 +91,7 @@ export default {
}
}
.connect{
padding:10rpx 30rpx 30rpx;
padding:10rpx 0 30rpx;
display: flex;
align-items: center;
.user {