首页拼团推荐样式 #231
@ -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);
 | 
			
		||||
		},
 | 
			
		||||
 | 
			
		||||
@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@ -91,7 +91,7 @@ export default {
 | 
			
		||||
		}
 | 
			
		||||
    }
 | 
			
		||||
    .connect{
 | 
			
		||||
		padding:10rpx 30rpx 30rpx;
 | 
			
		||||
		padding:10rpx 0 30rpx;
 | 
			
		||||
        display: flex;
 | 
			
		||||
		align-items: center;
 | 
			
		||||
        .user {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user