修改样式 2020.08.05
This commit is contained in:
@@ -95,7 +95,7 @@ export default {
|
||||
// height: 230px, margin-bottom: 13
|
||||
// const height = Math.ceil(this.goodsList.length / 2) * (510 + 26);
|
||||
// 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切换
|
||||
tabsChange(index) {
|
||||
@@ -125,8 +125,8 @@ export default {
|
||||
};
|
||||
.top {
|
||||
font-size: 30rpx;
|
||||
height: 90rpx;
|
||||
line-height: 90rpx;
|
||||
height: 74rpx;
|
||||
line-height: 88rpx;
|
||||
text-align: center;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ export default {
|
||||
<style lang="scss" scoped>
|
||||
.item{
|
||||
width: 330rpx;
|
||||
height: 510rpx;
|
||||
height: 520rpx;
|
||||
margin-bottom: 26rpx;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 10rpx 10rpx 0rpx 0rpx;
|
||||
|
||||
Reference in New Issue
Block a user