修改样式 2020.08.05
This commit is contained in:
parent
361e9a76fd
commit
ed0edbab2f
@ -95,7 +95,7 @@ export default {
|
|||||||
// height: 230px, margin-bottom: 13
|
// height: 230px, margin-bottom: 13
|
||||||
// const height = Math.ceil(this.goodsList.length / 2) * (510 + 26);
|
// const height = Math.ceil(this.goodsList.length / 2) * (510 + 26);
|
||||||
// this.swiperHeight = height == 0 ? '230rpx' : height + 'rpx';
|
// this.swiperHeight = height == 0 ? '230rpx' : height + 'rpx';
|
||||||
this.swiperHeight = Math.ceil(this.goodsList.length / 2) * (270 + 13) + 'px';
|
this.swiperHeight = Math.ceil(this.goodsList.length / 2) * (280 + 13) + 'px';
|
||||||
},
|
},
|
||||||
// tabs通知swiper切换
|
// tabs通知swiper切换
|
||||||
tabsChange(index) {
|
tabsChange(index) {
|
||||||
@ -125,8 +125,8 @@ export default {
|
|||||||
};
|
};
|
||||||
.top {
|
.top {
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
height: 90rpx;
|
height: 74rpx;
|
||||||
line-height: 90rpx;
|
line-height: 88rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ export default {
|
|||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.item{
|
.item{
|
||||||
width: 330rpx;
|
width: 330rpx;
|
||||||
height: 510rpx;
|
height: 520rpx;
|
||||||
margin-bottom: 26rpx;
|
margin-bottom: 26rpx;
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
border-radius: 10rpx 10rpx 0rpx 0rpx;
|
border-radius: 10rpx 10rpx 0rpx 0rpx;
|
||||||
|
@ -170,7 +170,7 @@ export default {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
> image {
|
> image {
|
||||||
width: 220rpx;
|
width: 220rpx;
|
||||||
height: 170rpx;
|
height: 200rpx;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin-right: 30rpx;
|
margin-right: 30rpx;
|
||||||
}
|
}
|
||||||
@ -184,7 +184,7 @@ export default {
|
|||||||
.briefing {
|
.briefing {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: rgba(102,102,102,1);
|
color: rgba(102,102,102,1);
|
||||||
line-height: 36rpx;
|
line-height: 42rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user