From 06fa3c9978efe72b438543daef714dd05311711c Mon Sep 17 00:00:00 2001 From: Eratosici Date: Tue, 29 Jun 2021 16:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=88=91=E7=9A=84=E6=94=B6?= =?UTF-8?q?=E8=97=8F=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mall4uni/pages/prod-classify/prod-classify.css | 10 ++++++++++ mall4uni/pages/prod-classify/prod-classify.vue | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/mall4uni/pages/prod-classify/prod-classify.css b/mall4uni/pages/prod-classify/prod-classify.css index f68762d..552f57a 100644 --- a/mall4uni/pages/prod-classify/prod-classify.css +++ b/mall4uni/pages/prod-classify/prod-classify.css @@ -17,3 +17,13 @@ page { height: 20rpx; background: #f4f4f4; } + +/* 空 */ +.empty { + display: block; + width: 100%; + font-size: 26rpx; + color: #999; + margin-top: 20vh; + text-align: center; +} diff --git a/mall4uni/pages/prod-classify/prod-classify.vue b/mall4uni/pages/prod-classify/prod-classify.vue index a71c26d..cca8b0d 100644 --- a/mall4uni/pages/prod-classify/prod-classify.vue +++ b/mall4uni/pages/prod-classify/prod-classify.vue @@ -8,6 +8,8 @@ + + 暂无数据 @@ -223,6 +225,7 @@ export default { prodList: list, pages: res.pages }); + console.log('我的收藏prodList:', this.prodList) uni.hideLoading(); } }; @@ -300,4 +303,4 @@ export default { \ No newline at end of file +