YS:商品分类

main
wmc 7 months ago
parent 734dae6c69
commit bcf1411b55
  1. 12
      pages/goods/list.vue

@ -329,7 +329,7 @@
.then(res => { .then(res => {
if (res.data.list.length > 0) { if (res.data.list.length > 0) {
that.tabbar = res.data.list; that.tabbar = res.data.list;
that.onChage(that.tabbar[0], 1,0)
// res.data.list.forEach(item => { // res.data.list.forEach(item => {
// item.children.forEach(item_1 => { // item.children.forEach(item_1 => {
// that.goodsType.push(item_1) // that.goodsType.push(item_1)
@ -570,7 +570,7 @@
.store-box { .store-box {
display: flex; display: flex;
padding: 15rpx 0; padding: 20rpx 0;
font-size: 28rpx; font-size: 28rpx;
background: #fff; background: #fff;
@ -931,14 +931,14 @@
.typeItem { .typeItem {
margin-right: 20rpx; margin-right: 20rpx;
display: inline-block; display: inline-block;
height: 54rpx; height: 60rpx;
border-radius: 82rpx 82rpx 82rpx 82rpx; border-radius: 82rpx 82rpx 82rpx 82rpx;
opacity: 1; opacity: 1;
padding: 0 20rpx; padding: 0 20rpx;
font-size: 24rpx; font-size: 24rpx;
font-family: PingFang SC, PingFang SC; font-family: PingFang SC, PingFang SC;
font-weight: 400; font-weight: 400;
line-height: 54rpx; line-height: 60rpx;
text-align: center; text-align: center;
} }
} }
@ -946,8 +946,8 @@
.goodsban { .goodsban {
background-color: #fff; background-color: #fff;
padding: 0 30rpx; padding: 10rpx 30rpx;
height: 122rpx; height: auto;
display: flex; display: flex;
align-items: center; align-items: center;
padding-top: 25rpx; padding-top: 25rpx;

Loading…
Cancel
Save