From 73372fd10938247737e6056f0760beb481ce71a5 Mon Sep 17 00:00:00 2001 From: Eratosici Date: Tue, 27 Jul 2021 14:14:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=A9=BA=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mall4uni/pages/category/category.css | 9 ++++++ mall4uni/pages/category/category.vue | 3 +- mall4uni/pages/order-detail/order-detail.vue | 2 +- mall4uni/pages/prod/prod.css | 7 ++++ mall4uni/pages/prod/prod.vue | 34 +++++++++++--------- 5 files changed, 38 insertions(+), 17 deletions(-) diff --git a/mall4uni/pages/category/category.css b/mall4uni/pages/category/category.css index 4944cfa..be272f1 100644 --- a/mall4uni/pages/category/category.css +++ b/mall4uni/pages/category/category.css @@ -226,3 +226,12 @@ page { color: #eb2444; font-family: arial; } + +/* 空 */ +.cont-item.empty { + display: block; + font-size: 24rpx; + margin-top: 80rpx; + color: #aaa; + text-align: center; +} \ No newline at end of file diff --git a/mall4uni/pages/category/category.vue b/mall4uni/pages/category/category.vue index 4c13fe1..4bc7804 100644 --- a/mall4uni/pages/category/category.vue +++ b/mall4uni/pages/category/category.vue @@ -32,7 +32,7 @@ - + @@ -49,6 +49,7 @@ + 该分类下暂无商品 diff --git a/mall4uni/pages/order-detail/order-detail.vue b/mall4uni/pages/order-detail/order-detail.vue index 9638938..a5497dd 100644 --- a/mall4uni/pages/order-detail/order-detail.vue +++ b/mall4uni/pages/order-detail/order-detail.vue @@ -82,7 +82,7 @@ 订单编号: {{orderNumber}} - 复制 + 下单时间: diff --git a/mall4uni/pages/prod/prod.css b/mall4uni/pages/prod/prod.css index fb2c8fa..fcde604 100644 --- a/mall4uni/pages/prod/prod.css +++ b/mall4uni/pages/prod/prod.css @@ -326,6 +326,13 @@ swiper image { right: -10px; border-bottom-color: #e5e5e5; } +.cmt-items .empty { + display: block; + font-size: 24rpx; + text-align: center; + color: #aaa; + margin-top: 5vh; +} .cmt-user { line-height: 25px; diff --git a/mall4uni/pages/prod/prod.vue b/mall4uni/pages/prod/prod.vue index 3fc9258..9af785b 100644 --- a/mall4uni/pages/prod/prod.vue +++ b/mall4uni/pages/prod/prod.vue @@ -197,23 +197,26 @@ 有图({{prodCommData.picNumber}}) - - - {{item.recTime}} - + + 暂无评价 点击加载更多 @@ -438,6 +441,7 @@ export default { this.setData({ prodCommData: res }); + console.log('评论prodCommData:', this.prodCommData) } }); },