From b0abd568bdf6679bb2525585218f4d8835ab6527 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sun, 4 Dec 2022 19:00:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E4=B8=AD?= =?UTF-8?q?=E9=97=B4=E5=AF=BC=E8=88=AA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/Goods.php | 2 +- app/index/view/default/goods/index.html | 8 ++++---- public/static/common/css/layout.admin.css | 8 -------- public/static/common/lib/assets/css/amazeui.css | 7 +++++-- public/static/index/default/js/goods.js | 4 ++-- 5 files changed, 12 insertions(+), 17 deletions(-) diff --git a/app/index/controller/Goods.php b/app/index/controller/Goods.php index d237e660b..65ace83dc 100755 --- a/app/index/controller/Goods.php +++ b/app/index/controller/Goods.php @@ -236,7 +236,7 @@ class Goods extends Common $params = $this->data_request; if(empty($params['goods_id'])) { - return DataReturn('参数有误', -1); + return ApiService::ApiDataReturn(DataReturn('参数有误', -1)); } // 分页 diff --git a/app/index/view/default/goods/index.html b/app/index/view/default/goods/index.html index 38201ee16..5355f566c 100755 --- a/app/index/view/default/goods/index.html +++ b/app/index/view/default/goods/index.html @@ -660,7 +660,7 @@ @@ -669,7 +669,7 @@
{{if in_array('detail', $middle_tabs_nav['type'])}} -
+
{{if !empty($goods['parameters']) and !empty($goods['parameters']['detail'])}}
@@ -732,7 +732,7 @@ {{if in_array('comments', $middle_tabs_nav['type'])}} -
+

动态评分

@@ -776,7 +776,7 @@ {{if in_array('guess_you_like', $middle_tabs_nav['type'])}} -
+