From 4d7a009b831927e4ed6f69ad07b167275075dd30 Mon Sep 17 00:00:00 2001 From: loucongjun <905507426@qq.com> Date: Tue, 1 Sep 2026 13:51:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=96=B9=E6=A1=88=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/frontend/ListController.php | 5 + public/themes/website/1/zh/demo/solution2.html | 132 ++++++------------------- 2 files changed, 37 insertions(+), 100 deletions(-) diff --git a/app/controller/frontend/ListController.php b/app/controller/frontend/ListController.php index 00cd452..50ebcb0 100644 --- a/app/controller/frontend/ListController.php +++ b/app/controller/frontend/ListController.php @@ -51,6 +51,11 @@ class ListController extends BaseController $template = $category['list_tpl']; // var_dump($template); // exit(); + // 解决方案子分类 + if (!empty($category)) { + $subCates = \app\service\ApiService::getSubCategory($category['id'], $this->sellerId, $this->siteId, $this->lang, 'id asc', 'all', '*'); + $this->assign('sub_cates', $subCates); + } return $this->fetch($template); } diff --git a/public/themes/website/1/zh/demo/solution2.html b/public/themes/website/1/zh/demo/solution2.html index c80c3fc..7eae655 100644 --- a/public/themes/website/1/zh/demo/solution2.html +++ b/public/themes/website/1/zh/demo/solution2.html @@ -8,7 +8,7 @@ $current_cate_id = $current_cate['id'] ?? 0; - 协作码垛机器人解决方案 - 睿能科技 + {$current_cate['title']}解决方案 - 睿能科技 @@ -56,45 +56,44 @@ $current_cate_id = $current_cate['id'] ?? 0; {include file="components/header"} -{hcTaglib:category id="$current_cate_id" item="vo" field="*"}
-

{$vo.title}

+

{$sub_cates[0]['title'] ?? ''}

- {$vo.description ?? ''} + {$sub_cates[0]['description'] ?? ''}

-

方案优势

+

{$sub_cates[1]['title']}

-

方案架构

+

{$sub_cates[2]['title'] ?? ''}

- 协作码垛机器人方案架构图 + {$sub_cates[2]['description'] ?? ''}
-

核心产品

+

{$sub_cates[3]['title'] ?? ''}

+ {hcTaglib:subcategory pid="$sub_cates[3]['id']" item="vo" sort=""}
-

MA3系列伺服电机

-

MA3系列伺服是睿能科技依托第三代研发技术平台打造的全新电机产品,制造工艺提升,小型化、高防护、更节能。

+

{$vo.title ?? ''}

+

{$vo.description ?? ''}

探索更多
- MA3系列伺服电机 -
-
-
-
-

UH500A系列HMI

-

UH500A系列人机界面包含以太网和不带以太网的类型,搭配自主研发的功能丰富的组态软件 Unigace,为客户提供更好的视觉效果和体验。

- 探索更多 -
-
- UH500A系列HMI -
-
-
-
-

UH500A系列HMI

-

UH500A系列人机界面包含以太网和不带以太网的类型,搭配自主研发的功能丰富的组态软件 Unigace,为客户提供更好的视觉效果和体验。

- 探索更多 -
-
- UH500A系列HMI
+ {/hcTaglib:subcategory}
@@ -152,7 +131,7 @@ $current_cate_id = $current_cate['id'] ?? 0;
-

应用场景

+

{$sub_cates[4]['title']}

+ {hcTaglib:subcategory pid="$sub_cates[4]['id']" item="vo" sort="" }
- -
食品饮料
-
-

食品饮料

-

- 针对食品饮料行业提供码垛机器人解决方案,已服务于雀巢、吉百利、多利是、喜之郎等食品饮料头部厂商,助力客户节省用工成本,提升产品的质量和一致性,实现质量效率双提升。

-
-
-
- -
电商仓储
-
-

电商仓储

-

- 针对电商仓储行业订单量大、品类繁杂的特点,提供码垛机器人解决方案,支持多品类混码垛与快速换产,助力仓储中心提升出入库效率、降低人工劳动强度,实现仓储作业自动化升级。

-
-
-
- -
日化用品
+
{$vo['title'] ?? ''}
-

日化用品

+

{$vo['title'] ?? ''}

- 针对日化用品行业瓶装、袋装等多样包装形态,提供码垛机器人解决方案,通过灵活末端夹具与垛型自动生成,适应不同规格货品码垛需求,助力客户提升产线柔性与码垛质量一致性。

+ {$vo['description'] ?? ''} +

+ {/hcTaglib:subcategory}
-

其他解决方案

+

{$sub_cates[5]['title'] ?? ''}

-{/hcTaglib:category}