Bladeren bron

improve: 列表title展示及分类图片加载

From-wh 2 jaren geleden
bovenliggende
commit
87c6534d75

+ 1 - 0
template/uni-app/pages/goods/goods_list/index.vue

@@ -361,6 +361,7 @@
 	}
 	}
 
 
 	.productList .list .item .name {
 	.productList .list .item .name {
+		line-height: 42rpx;
 		height: 84rpx;
 		height: 84rpx;
 	}
 	}
 
 

+ 2 - 1
template/uni-app/pages/goods_cate/goods_cate1.vue

@@ -191,7 +191,8 @@
 			tap: function(index, id) {
 			tap: function(index, id) {
 				this.toView = id;
 				this.toView = id;
 				this.navActive = index;
 				this.navActive = index;
-				this.$set(this, 'lock', true);
+				this.$set(this, 'lock', true);
+				uni.$emit('scroll');
 			},
 			},
 			getAllCategory: function(type) {
 			getAllCategory: function(type) {
 				let that = this;
 				let that = this;