From bf3bad377d26f6e5ddbc552343682bcd47e55676 Mon Sep 17 00:00:00 2001 From: zzx98 Date: Sat, 5 Sep 2026 16:10:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E8=8B=B1=E6=96=87?= =?UTF-8?q?=E7=89=88demo=E9=A1=B5=E9=9D=A2html=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/themes/website/1/en/demo/about.html | 664 +++---- public/themes/website/1/en/demo/announce.html | 262 +-- public/themes/website/1/en/demo/category.html | 454 ++--- public/themes/website/1/en/demo/contact.html | 504 ++--- public/themes/website/1/en/demo/download.html | 296 +-- public/themes/website/1/en/demo/faq.html | 252 +-- public/themes/website/1/en/demo/investment.html | 558 +++--- public/themes/website/1/en/demo/news-detail.html | 436 ++--- public/themes/website/1/en/demo/news.html | 476 ++--- public/themes/website/1/en/demo/product.html | 964 +++++----- public/themes/website/1/en/demo/search.html | 384 ++-- public/themes/website/1/en/demo/single_index.html | 1926 ++++++++++---------- public/themes/website/1/en/demo/single_search.html | 592 +++--- public/themes/website/1/en/demo/solution.html | 518 +++--- public/themes/website/1/en/demo/solution2.html | 558 +++--- public/themes/website/1/en/demo/video.html | 292 +-- 16 files changed, 4568 insertions(+), 4568 deletions(-) diff --git a/public/themes/website/1/en/demo/about.html b/public/themes/website/1/en/demo/about.html index 9d9bce8..56b3246 100644 --- a/public/themes/website/1/en/demo/about.html +++ b/public/themes/website/1/en/demo/about.html @@ -1,333 +1,333 @@ - - - - - - - 关于我们 - 睿能科技 - - - - - - - - - - - - - - - - - - - -{include file="components/header"} - -
-
-
-

- {$current_cate.content|raw} -

-
- -
- {hcTaglib:category id="372" item="vo" field="*"} -
-

{$vo.title}

-
-
-

{:nl2br($vo.description)}

-
- {php} - $stats_raw = explode(',', $vo['desc']); - $stats_list = []; - foreach ($stats_raw as $item) { - $parts = explode(';', $item); - if (count($parts) === 3) { - $stats_list[] = ['num' => $parts[0], 'unit' => $parts[1], 'text' => $parts[2]]; - } - } - {/php} -
    - {volist name="stats_list" id="stat"} -
  • - {$stat.num}{$stat.unit} - {$stat.text} -
  • - {/volist} -
-
-
- {/hcTaglib:category} - - - {hcTaglib:category id="373" item="vo" field="*"} -
-
-

{$vo.title}

-
- - -
-
-
-
- {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="10" mainField="id,title,sub_title,content,thumbnail" sort="sort desc" subField="" onlyData="2"} -
- - -

{$case_top.title}

-

{$case_top.content|strip_tags}

-
- -
-
- {/hcTaglib:content} -
-
-
-
- - -
-
-
- {/hcTaglib:category} - {hcTaglib:category id="374" item="vo" field="*"} -
- -
-

{$vo.title}

- {php} - $culture_raw = explode('#', $vo['description']); - $culture_list = []; - foreach ($culture_raw as $item) { - $parts = explode(';', $item); - if (count($parts) === 3) { - $culture_list[] = ['zh' => $parts[0], 'en' => $parts[1], 'text' => $parts[2]]; - } - } - {/php} -
- {volist name="culture_list" id="culture"} -
-
- {$culture.zh} - {$culture.en} -
-

{$culture.text|raw}

-
- {/volist} -
-
-
- {/hcTaglib:category} - - {hcTaglib:category id="375" item="vo" field="*"} -
-

{$vo.title}

- {php} - $global_raw = explode(',', $vo['description']); - $global_list = []; - foreach ($global_raw as $item) { - $parts = explode(';', $item, 3); - if (count($parts) >= 2) { - $desc = isset($parts[2]) ? str_replace(';', '
', $parts[2]) : ''; - $global_list[] = ['num' => $parts[0], 'unit' => $parts[1], 'desc' => $desc]; - } - } - $global_left = array_slice($global_list, 0, 3); - $global_right = array_slice($global_list, 3); - {/php} -
-
    - {volist name="global_left" id="item"} -
  • - {$item.num}{$item.unit} - {if $item.desc}{$item.desc|raw}{/if} -
  • - {/volist} -
-
- -
-
    - {volist name="global_right" id="item"} -
  • - {$item.num}{$item.unit} - {if $item.desc}{$item.desc|raw}{/if} -
  • - {/volist} -
-
-
- {/hcTaglib:category} - - {hcTaglib:category id="376" item="vo" field="*"} -
- -
-

{$vo.title}

-
-
- {php}$member_idx = 0;{/php} - {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="10" mainField="id,url,title,sub_title,content,thumbnail" sort="sort desc" subField="" onlyData="2"} -
-
-
-

{$case_top.title}

-

- {$case_top.content|strip_tags} -

-
- 探索更多 -
-
- {php}$member_idx++;{/php} - {/hcTaglib:content} -
- -
-
-
- {/hcTaglib:category} - - {hcTaglib:category id="377" item="vo" field="*"} -
-
-

{$vo.title}

-

{$vo.description}

-
-
-
    - {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="10" mainField="id,url,title,sub_title,content,thumbnail" sort="sort desc" subField="" onlyData="2"} -
  • - {$case_top.title} - - - - - - - - - 查看证书 - - -
  • - {/hcTaglib:content} -
- -
-
- {/hcTaglib:category} - - {hcTaglib:category id="378" item="vo" field="*"} -
- -
-

{$vo.title}

-
-

- {$vo.description} -

- 社会责任报告 -
-
-
- {/hcTaglib:category} -
- - {include file="components/mask"} - -{include file="components/footer"} - - - - - - - - - - - - - - + + + + + + + 关于我们 - 睿能科技 + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + +
+
+
+

+ {$current_cate.content|raw} +

+
+ +
+ {hcTaglib:category id="372" item="vo" field="*"} +
+

{$vo.title}

+
+
+

{:nl2br($vo.description)}

+
+ {php} + $stats_raw = explode(',', $vo['desc']); + $stats_list = []; + foreach ($stats_raw as $item) { + $parts = explode(';', $item); + if (count($parts) === 3) { + $stats_list[] = ['num' => $parts[0], 'unit' => $parts[1], 'text' => $parts[2]]; + } + } + {/php} +
    + {volist name="stats_list" id="stat"} +
  • + {$stat.num}{$stat.unit} + {$stat.text} +
  • + {/volist} +
+
+
+ {/hcTaglib:category} + + + {hcTaglib:category id="373" item="vo" field="*"} +
+
+

{$vo.title}

+
+ + +
+
+
+
+ {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="10" mainField="id,title,sub_title,content,thumbnail" sort="sort desc" subField="" onlyData="2"} +
+ + +

{$case_top.title}

+

{$case_top.content|strip_tags}

+
+ +
+
+ {/hcTaglib:content} +
+
+
+
+ + +
+
+
+ {/hcTaglib:category} + {hcTaglib:category id="374" item="vo" field="*"} +
+ +
+

{$vo.title}

+ {php} + $culture_raw = explode('#', $vo['description']); + $culture_list = []; + foreach ($culture_raw as $item) { + $parts = explode(';', $item); + if (count($parts) === 3) { + $culture_list[] = ['zh' => $parts[0], 'en' => $parts[1], 'text' => $parts[2]]; + } + } + {/php} +
+ {volist name="culture_list" id="culture"} +
+
+ {$culture.zh} + {$culture.en} +
+

{$culture.text|raw}

+
+ {/volist} +
+
+
+ {/hcTaglib:category} + + {hcTaglib:category id="375" item="vo" field="*"} +
+

{$vo.title}

+ {php} + $global_raw = explode(',', $vo['description']); + $global_list = []; + foreach ($global_raw as $item) { + $parts = explode(';', $item, 3); + if (count($parts) >= 2) { + $desc = isset($parts[2]) ? str_replace(';', '
', $parts[2]) : ''; + $global_list[] = ['num' => $parts[0], 'unit' => $parts[1], 'desc' => $desc]; + } + } + $global_left = array_slice($global_list, 0, 3); + $global_right = array_slice($global_list, 3); + {/php} +
+
    + {volist name="global_left" id="item"} +
  • + {$item.num}{$item.unit} + {if $item.desc}{$item.desc|raw}{/if} +
  • + {/volist} +
+
+ +
+
    + {volist name="global_right" id="item"} +
  • + {$item.num}{$item.unit} + {if $item.desc}{$item.desc|raw}{/if} +
  • + {/volist} +
+
+
+ {/hcTaglib:category} + + {hcTaglib:category id="376" item="vo" field="*"} +
+ +
+

{$vo.title}

+
+
+ {php}$member_idx = 0;{/php} + {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="10" mainField="id,url,title,sub_title,content,thumbnail" sort="sort desc" subField="" onlyData="2"} +
+
+
+

{$case_top.title}

+

+ {$case_top.content|strip_tags} +

+
+ 探索更多 +
+
+ {php}$member_idx++;{/php} + {/hcTaglib:content} +
+ +
+
+
+ {/hcTaglib:category} + + {hcTaglib:category id="377" item="vo" field="*"} +
+
+

{$vo.title}

+

{$vo.description}

+
+
+
    + {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="10" mainField="id,url,title,sub_title,content,thumbnail" sort="sort desc" subField="" onlyData="2"} +
  • + {$case_top.title} + + + + + + + + + 查看证书 + + +
  • + {/hcTaglib:content} +
+ +
+
+ {/hcTaglib:category} + + {hcTaglib:category id="378" item="vo" field="*"} +
+ +
+

{$vo.title}

+
+

+ {$vo.description} +

+ 社会责任报告 +
+
+
+ {/hcTaglib:category} +
+ + {include file="components/mask"} + +{include file="components/footer"} + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/themes/website/1/en/demo/announce.html b/public/themes/website/1/en/demo/announce.html index 4ecfcc4..b1bd4d9 100644 --- a/public/themes/website/1/en/demo/announce.html +++ b/public/themes/website/1/en/demo/announce.html @@ -1,131 +1,131 @@ - - - - - - - 产品公告 - 睿能科技 - - - - - - - - - - - - - - - - - - - - - - {include file="components/header"} - -
-
-
-

{$current_cate.title}

-

{$current_cate.description}

-
- -
-
- - -
- -
- -
- {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="8" item="vo"} - - -

{$vo.title}

- - 探索更多 - - - - - -
- {/hcTaglib:contentPage} -
- {php} - $list_empty = isHcListEmpty($hc_content ?? null); - if ($list_empty) { - $empty_text = '暂无相关公告'; - } - {/php} - {if $list_empty} - {include file="components/empty"} - {else /} - {$hc_content|raw} - {/if} -
-
- {include file="components/mask"} - - {include file="components/footer"} - - - - - - - - - - - - - + + + + + + + 产品公告 - 睿能科技 + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+
+
+

{$current_cate.title}

+

{$current_cate.description}

+
+ +
+
+ + +
+ +
+ +
+ {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="8" item="vo"} + + +

{$vo.title}

+ + 探索更多 + + + + + +
+ {/hcTaglib:contentPage} +
+ {php} + $list_empty = isHcListEmpty($hc_content ?? null); + if ($list_empty) { + $empty_text = '暂无相关公告'; + } + {/php} + {if $list_empty} + {include file="components/empty"} + {else /} + {$hc_content|raw} + {/if} +
+
+ {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + + + diff --git a/public/themes/website/1/en/demo/category.html b/public/themes/website/1/en/demo/category.html index 229ead0..fcff910 100644 --- a/public/themes/website/1/en/demo/category.html +++ b/public/themes/website/1/en/demo/category.html @@ -1,227 +1,227 @@ - - -{php} -// var_dump($current_cate); -$current_cate_id = $current_cate['id'] ?? ''; -//exit(); -{/php} - - - - - 工业控制产品 - 睿能科技 - - - - - - - - - - - - - - - - - - - - {include file="components/header"} - -
-
- - -
- - -
- {hcTaglib:subcategory pid="333" item="vo" sort="" key="key_top"} - {php} - $sub_cate_id = $vo['id']; - $need_show_sub_content = (int)($vo['need_show_sub_content'] ?? 0); - {/php} - {hcTaglib:subcategory pid="$sub_cate_id" onlyData="1"} - {/hcTaglib:subcategory} - {php} - $level2_list = $hc_subcategory ?? []; - $has_level2 = !empty($level2_list); - {/php} - -
-
- {if $has_level2} - {volist name="level2_list" id="vo_sub" key="key_sub"} - {hcTaglib:contentPage2 cid="$vo_sub.id" mainField="id,category_id,title,sub_title,thumbnail" subField="" name="hc_content" limit="100" item="content_sub22" sort="sort asc"} - {/hcTaglib:contentPage2} - {volist name="hc_content" id="vo_content"} - - {/volist} - {/volist} - {else /} - - {hcTaglib:contentPage2 cid="$vo.id" mainField="id,category_id,title,sub_title,thumbnail" subField="" name="hc_content" limit="100" item="content_sub22" sort="sort asc"} - {/hcTaglib:contentPage2} - {volist name="hc_content" id="vo_content"} - - {/volist} - {/if} -
- - -
- - {/hcTaglib:subcategory} - -
-
-
-
- - {include file="components/mask"} - - {include file="components/footer"} - - - - - - - - - - - + + +{php} +// var_dump($current_cate); +$current_cate_id = $current_cate['id'] ?? ''; +//exit(); +{/php} + + + + + 工业控制产品 - 睿能科技 + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+
+ + +
+ + +
+ {hcTaglib:subcategory pid="333" item="vo" sort="" key="key_top"} + {php} + $sub_cate_id = $vo['id']; + $need_show_sub_content = (int)($vo['need_show_sub_content'] ?? 0); + {/php} + {hcTaglib:subcategory pid="$sub_cate_id" onlyData="1"} + {/hcTaglib:subcategory} + {php} + $level2_list = $hc_subcategory ?? []; + $has_level2 = !empty($level2_list); + {/php} + +
+
+ {if $has_level2} + {volist name="level2_list" id="vo_sub" key="key_sub"} + {hcTaglib:contentPage2 cid="$vo_sub.id" mainField="id,category_id,title,sub_title,thumbnail" subField="" name="hc_content" limit="100" item="content_sub22" sort="sort asc"} + {/hcTaglib:contentPage2} + {volist name="hc_content" id="vo_content"} + + {/volist} + {/volist} + {else /} + + {hcTaglib:contentPage2 cid="$vo.id" mainField="id,category_id,title,sub_title,thumbnail" subField="" name="hc_content" limit="100" item="content_sub22" sort="sort asc"} + {/hcTaglib:contentPage2} + {volist name="hc_content" id="vo_content"} + + {/volist} + {/if} +
+ + +
+ + {/hcTaglib:subcategory} + +
+
+
+
+ + {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + diff --git a/public/themes/website/1/en/demo/contact.html b/public/themes/website/1/en/demo/contact.html index 7430c8b..be2bfa8 100644 --- a/public/themes/website/1/en/demo/contact.html +++ b/public/themes/website/1/en/demo/contact.html @@ -1,252 +1,252 @@ - - - - - - - 联系我们 - 睿能科技 - - - - - - - - - - - - - - - - - - - - {include file="components/header"} -
-
-

- {$current_cate.sub_title}
{$current_cate.desc}
-

-
-
- - 客服热线 -
- {hcTaglib:setting name="company_phone" type="1" /} -

{$current_cate.description}

-
-
- -
- - -
- -
-

- 填写以下信息我们 - 第一时间回复 -

- -
-
- - - - - - - -
- - - - -
-
-
- {include file="components/mask"} - - {include file="components/footer"} - - - - - - - - - - - - - - + + + + + + + 联系我们 - 睿能科技 + + + + + + + + + + + + + + + + + + + + {include file="components/header"} +
+
+

+ {$current_cate.sub_title}
{$current_cate.desc}
+

+
+
+ + 客服热线 +
+ {hcTaglib:setting name="company_phone" type="1" /} +

{$current_cate.description}

+
+
+ +
+ + +
+ +
+

+ 填写以下信息我们 + 第一时间回复 +

+ +
+
+ + + + + + + +
+ + + + +
+
+
+ {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + + + + diff --git a/public/themes/website/1/en/demo/download.html b/public/themes/website/1/en/demo/download.html index dd57ec3..0edce48 100644 --- a/public/themes/website/1/en/demo/download.html +++ b/public/themes/website/1/en/demo/download.html @@ -1,149 +1,149 @@ - - - -{php}$download_keywords = input('keywords', '');{/php} - - - - - 下载中心 - 睿能科技 - - - - - - - - - - - - - - - - - - - - - - {include file="components/header"} -
-
-
-

{$current_cate.title}

-

{$current_cate.description}

-
-
-
- {php} - $download_cid = (string)input('cid', ''); - if ($download_cid === '') { - $download_cid = (string)($current_cate['id'] ?? ''); - } - $download_all_id = (string)($current_cate['id'] ?? ''); - {/php} - - {volist name="sub_cates" id="vo"} - {php} - $count = getCategoryChildrenCount($vo['id']); - $vo_id = (string)($vo['id'] ?? ''); - {/php} - {if $count > 0} -
- - -
- {else} - - {/if} - {/volist} -
- -
-
- {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="12" item="vo"} - -
- - {$vo.title} -
- - - 立即下载 - -
- {/hcTaglib:contentPage} - -
- {php} - $list_empty = isHcListEmpty($hc_content ?? null); - if ($list_empty) { - $empty_text = '暂无相关资料'; - } - {/php} - {if $list_empty} - {include file="components/empty"} - {else /} - {$hc_content|raw} - {/if} -
-
- {include file="components/mask"} - - {include file="components/footer"} - - - - - - - - - - - - + + + +{php}$download_keywords = input('keywords', '');{/php} + + + + + 下载中心 - 睿能科技 + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} +
+
+
+

{$current_cate.title}

+

{$current_cate.description}

+
+
+
+ {php} + $download_cid = (string)input('cid', ''); + if ($download_cid === '') { + $download_cid = (string)($current_cate['id'] ?? ''); + } + $download_all_id = (string)($current_cate['id'] ?? ''); + {/php} + + {volist name="sub_cates" id="vo"} + {php} + $count = getCategoryChildrenCount($vo['id']); + $vo_id = (string)($vo['id'] ?? ''); + {/php} + {if $count > 0} +
+ + +
+ {else} + + {/if} + {/volist} +
+ +
+
+ {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="12" item="vo"} + +
+ + {$vo.title} +
+ + + 立即下载 + +
+ {/hcTaglib:contentPage} + +
+ {php} + $list_empty = isHcListEmpty($hc_content ?? null); + if ($list_empty) { + $empty_text = '暂无相关资料'; + } + {/php} + {if $list_empty} + {include file="components/empty"} + {else /} + {$hc_content|raw} + {/if} +
+
+ {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + + \ No newline at end of file diff --git a/public/themes/website/1/en/demo/faq.html b/public/themes/website/1/en/demo/faq.html index 9fa8691..a3d0428 100644 --- a/public/themes/website/1/en/demo/faq.html +++ b/public/themes/website/1/en/demo/faq.html @@ -1,126 +1,126 @@ - - - - - - - 常见问题 - 睿能科技 - - - - - - - - - - - - - - - - - - - - - -{include file="components/header"} - -
-
-
-

{$current_cate.title}

-

{$current_cate.description}

-
- -
-
- - {volist name="sub_cates" id="vo"} - - {/volist} -
- -
- -
- {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="10" item="vo"} -
- -
-

- {$vo.content|strip_tags} -

-
-
- {/hcTaglib:contentPage} -
- {php} - $list_empty = isHcListEmpty($hc_content ?? null); - if ($list_empty) { - $empty_text = '暂无相关问题'; - } - {/php} - {if $list_empty} - {include file="components/empty"} - {else /} - {$hc_content|raw} - {/if} -
-
- {include file="components/mask"} - -{include file="components/footer"} - - - - - - - - - - - - - + + + + + + + 常见问题 - 睿能科技 + + + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + +
+
+
+

{$current_cate.title}

+

{$current_cate.description}

+
+ +
+
+ + {volist name="sub_cates" id="vo"} + + {/volist} +
+ +
+ +
+ {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="10" item="vo"} +
+ +
+

+ {$vo.content|strip_tags} +

+
+
+ {/hcTaglib:contentPage} +
+ {php} + $list_empty = isHcListEmpty($hc_content ?? null); + if ($list_empty) { + $empty_text = '暂无相关问题'; + } + {/php} + {if $list_empty} + {include file="components/empty"} + {else /} + {$hc_content|raw} + {/if} +
+
+ {include file="components/mask"} + +{include file="components/footer"} + + + + + + + + + + + + + diff --git a/public/themes/website/1/en/demo/investment.html b/public/themes/website/1/en/demo/investment.html index 6f49b25..6c050a7 100644 --- a/public/themes/website/1/en/demo/investment.html +++ b/public/themes/website/1/en/demo/investment.html @@ -1,280 +1,280 @@ - - - - - - - 投资者关系 - 睿能科技 - - - - - - - - - - - - - - - - - - - - {include file="components/header"} -
-
-
-

- {$current_cate.content|raw} -

-
- -
- {hcTaglib:category id="366" item="vo" field="*"} - {php} - $descStr = $vo['description'] ?? ''; - $infoList = []; - $pairs = explode('#', $descStr); - foreach ($pairs as $pair) { - $parts = explode(';', $pair, 2); - if (count($parts) === 2) { - $infoList[] = ['label' => trim($parts[0]), 'value' => trim($parts[1])]; - } - } - {/php} -
-

{$vo.title}

-
- {volist name="infoList" id="info" key="k"} -
- {$info.label} - {$info.value} -
- {/volist} -
-
- {/hcTaglib:category} - {hcTaglib:category id="367" item="vo" field="*"} -
-
-

{$vo.title}

-
- - -
-
-
-
- {hcTaglib:contentPage cid="367" mainField="*" subField="*" name="hc_content" limit="12" item="vo"} - - {/hcTaglib:contentPage} -
-
-
-
- - -
-
-
- {/hcTaglib:category} - -
-

股票信息

-
-
-

股票代码:603933

-
- 20.98 - - +0.37  +1.75% -
-
    -
  • - 最高(元) - 20.98 -
  • -
  • - 最低(元) - 20.23 -
  • -
  • - 成交量(万手) - 3.25 -
  • -
  • - 成交额(万元) - 6684.00 -
  • -
-

截止 2026-08-14 09:40:31*报价有十五分钟或以上延迟。

-
-
- 股票走势图 -
-
-
- - {hcTaglib:category id="369" item="vo" field="*"} -
-

{$vo.title}

-
- - -
-
- {/hcTaglib:category} - - {hcTaglib:category id="370" item="vo" field="*"} -
- -
-

{$vo.title}

- -
-
- {/hcTaglib:category} -
- - {include file="components/mask"} - - {include file="components/footer"} - - - - - - - - - - - - + + + + + + + 投资者关系 - 睿能科技 + + + + + + + + + + + + + + + + + + + + {include file="components/header"} +
+
+
+

+ {$current_cate.content|raw} +

+
+ +
+ {hcTaglib:category id="366" item="vo" field="*"} + {php} + $descStr = $vo['description'] ?? ''; + $infoList = []; + $pairs = explode('#', $descStr); + foreach ($pairs as $pair) { + $parts = explode(';', $pair, 2); + if (count($parts) === 2) { + $infoList[] = ['label' => trim($parts[0]), 'value' => trim($parts[1])]; + } + } + {/php} +
+

{$vo.title}

+
+ {volist name="infoList" id="info" key="k"} +
+ {$info.label} + {$info.value} +
+ {/volist} +
+
+ {/hcTaglib:category} + {hcTaglib:category id="367" item="vo" field="*"} +
+
+

{$vo.title}

+
+ + +
+
+
+
+ {hcTaglib:contentPage cid="367" mainField="*" subField="*" name="hc_content" limit="12" item="vo"} + + {/hcTaglib:contentPage} +
+
+
+
+ + +
+
+
+ {/hcTaglib:category} + +
+

股票信息

+
+
+

股票代码:603933

+
+ 20.98 + + +0.37  +1.75% +
+
    +
  • + 最高(元) + 20.98 +
  • +
  • + 最低(元) + 20.23 +
  • +
  • + 成交量(万手) + 3.25 +
  • +
  • + 成交额(万元) + 6684.00 +
  • +
+

截止 2026-08-14 09:40:31*报价有十五分钟或以上延迟。

+
+
+ 股票走势图 +
+
+
+ + {hcTaglib:category id="369" item="vo" field="*"} +
+

{$vo.title}

+
+ + +
+
+ {/hcTaglib:category} + + {hcTaglib:category id="370" item="vo" field="*"} +
+ +
+

{$vo.title}

+ +
+
+ {/hcTaglib:category} +
+ + {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + + \ No newline at end of file diff --git a/public/themes/website/1/en/demo/news-detail.html b/public/themes/website/1/en/demo/news-detail.html index 7a499a1..cba23a6 100644 --- a/public/themes/website/1/en/demo/news-detail.html +++ b/public/themes/website/1/en/demo/news-detail.html @@ -1,218 +1,218 @@ - - - {php} // TDK设置 ================================= START - $tdk_title = $hc_content['seo_title'] ?? ''; - if(empty($tdk_title)){ - $tdk_title = $hc_content['title'] ?? '搜索结果'; - } - $tdk_description = $hc_content['seo_description'] ?? ''; - if(empty($tdk_description)){ - $tdk_description = $hc_content['sub_title'] ?? ''; - } - $tdk_keywords = $hc_content['seo_keywords'] ?? ''; - if(empty($tdk_keywords)){ - $tdk_keywords = $hc_content['sub_title'] ?? ''; - } - - $create_time_str = $hc_content['create_time'] ?? ''; - $hc_content_tmp_news = $hc_content; - // dd($hc_content); - // dd($create_time_int); - // TDK设置 ================================= END {/php} - - - - - {$tdk_title} - - - - - - - - - - - - - - - - - - - - - {include file="components/header"} - -
-
-
- - - - - Back - - -
-
-

{$hc_content_tmp_news['title']}

- -
- -
- {$hc_content_tmp_news['content']|raw} -
- - - -
-
-
-
- - {include file="components/mask"} - - {include file="components/footer"} - - - - - - - - - - - + + + {php} // TDK设置 ================================= START + $tdk_title = $hc_content['seo_title'] ?? ''; + if(empty($tdk_title)){ + $tdk_title = $hc_content['title'] ?? '搜索结果'; + } + $tdk_description = $hc_content['seo_description'] ?? ''; + if(empty($tdk_description)){ + $tdk_description = $hc_content['sub_title'] ?? ''; + } + $tdk_keywords = $hc_content['seo_keywords'] ?? ''; + if(empty($tdk_keywords)){ + $tdk_keywords = $hc_content['sub_title'] ?? ''; + } + + $create_time_str = $hc_content['create_time'] ?? ''; + $hc_content_tmp_news = $hc_content; + // dd($hc_content); + // dd($create_time_int); + // TDK设置 ================================= END {/php} + + + + + {$tdk_title} + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+
+
+ + + + + Back + + +
+
+

{$hc_content_tmp_news['title']}

+ +
+ +
+ {$hc_content_tmp_news['content']|raw} +
+ + + +
+
+
+
+ + {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + diff --git a/public/themes/website/1/en/demo/news.html b/public/themes/website/1/en/demo/news.html index f142c38..8256a89 100644 --- a/public/themes/website/1/en/demo/news.html +++ b/public/themes/website/1/en/demo/news.html @@ -1,239 +1,239 @@ - - - - - {php} - $current_cate_id = $current_cate['id'] ?? ''; - // var_dump($current_cate);exit; - {/php} - - - - {$current_cate.seo_title} - - - - - - - - - - - - - - - - - - - - - - - -{include file="components/header"} - -
- {hcTaglib:category id="361" item="vo" field="id,title,alias"} - {php} - $news_cate_info = $vo; - $news_cate_info_alias = $vo['alias'] ?? ''; - {/php} - {/hcTaglib:category} -
-
-

- 了解睿能科技 - 新闻动态 -

-
- {php} - $news_active_cat = (string)input('cat', ''); - if ($news_active_cat === '' || $news_active_cat === 'all') { - $news_active_cat = (string)($current_cate_id ?: ($news_cate_info['id'] ?? '')); - } - $news_all_cat = (string)($news_cate_info['id'] ?? ''); - {/php} - 全部 - {hcTaglib:subcategory pid="$news_cate_info['id']" item="vo" sort=""} - {$vo.title} - {/hcTaglib:subcategory} -
-
- - {hcTaglib:contentPage2 cid="$current_cate_id" mainField="id,category_id,title,sub_title,thumbnail,content,description,create_time,is_top" subField="" name="hc_featured" limit="100" item="content_sub22" sort="sort asc" isTop="1"} - {/hcTaglib:contentPage2} - {php} - $news_has_featured = false; - if (!empty($hc_featured)) { - if (is_object($hc_featured) && method_exists($hc_featured, 'isEmpty')) { - $news_has_featured = !$hc_featured->isEmpty(); - } elseif (is_countable($hc_featured)) { - $news_has_featured = count($hc_featured) > 0; - } - } - {/php} - {if $news_has_featured} - - {/if} - -
- - {hcTaglib:contentPage2 cid="$current_cate_id" mainField="id,category_id,title,sub_title,thumbnail,content,description,create_time,is_top" subField="" name="hc_content" limit="6" item="content_sub22" sort="sort asc" isTop="222"} - {/hcTaglib:contentPage2} - - {volist name="hc_content" id="vo_content"} - {php} - $content = $hc_content['content'] ?? ''; - $description = $hc_content['description'] ?? ''; - $create_time_int = $hc_content['create_time'] ?? ''; - $create_time_str = ''; - if(!empty($create_time_int)){ - $create_time_str = date('Y-m-d', $create_time_int); - } - // dd($hc_content->toArray());exit; - {/php} - - - {/volist} - -
- - {php} - $list_empty = isHcListEmpty($hc_content ?? null); - if ($list_empty) { - $empty_text = '暂无相关新闻'; - } - {/php} - {if $list_empty} - {include file="components/empty"} - {else /} - - {$hc_content|raw} - {/if} - -
-
-{include file="components/mask"} - -{include file="components/footer"} - - - - - - - - - - - - - + + + + + {php} + $current_cate_id = $current_cate['id'] ?? ''; + // var_dump($current_cate);exit; + {/php} + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + +
+ {hcTaglib:category id="361" item="vo" field="id,title,alias"} + {php} + $news_cate_info = $vo; + $news_cate_info_alias = $vo['alias'] ?? ''; + {/php} + {/hcTaglib:category} +
+
+

+ 了解睿能科技 + 新闻动态 +

+
+ {php} + $news_active_cat = (string)input('cat', ''); + if ($news_active_cat === '' || $news_active_cat === 'all') { + $news_active_cat = (string)($current_cate_id ?: ($news_cate_info['id'] ?? '')); + } + $news_all_cat = (string)($news_cate_info['id'] ?? ''); + {/php} + 全部 + {hcTaglib:subcategory pid="$news_cate_info['id']" item="vo" sort=""} + {$vo.title} + {/hcTaglib:subcategory} +
+
+ + {hcTaglib:contentPage2 cid="$current_cate_id" mainField="id,category_id,title,sub_title,thumbnail,content,description,create_time,is_top" subField="" name="hc_featured" limit="100" item="content_sub22" sort="sort asc" isTop="1"} + {/hcTaglib:contentPage2} + {php} + $news_has_featured = false; + if (!empty($hc_featured)) { + if (is_object($hc_featured) && method_exists($hc_featured, 'isEmpty')) { + $news_has_featured = !$hc_featured->isEmpty(); + } elseif (is_countable($hc_featured)) { + $news_has_featured = count($hc_featured) > 0; + } + } + {/php} + {if $news_has_featured} + + {/if} + +
+ + {hcTaglib:contentPage2 cid="$current_cate_id" mainField="id,category_id,title,sub_title,thumbnail,content,description,create_time,is_top" subField="" name="hc_content" limit="6" item="content_sub22" sort="sort asc" isTop="222"} + {/hcTaglib:contentPage2} + + {volist name="hc_content" id="vo_content"} + {php} + $content = $hc_content['content'] ?? ''; + $description = $hc_content['description'] ?? ''; + $create_time_int = $hc_content['create_time'] ?? ''; + $create_time_str = ''; + if(!empty($create_time_int)){ + $create_time_str = date('Y-m-d', $create_time_int); + } + // dd($hc_content->toArray());exit; + {/php} + + + {/volist} + +
+ + {php} + $list_empty = isHcListEmpty($hc_content ?? null); + if ($list_empty) { + $empty_text = '暂无相关新闻'; + } + {/php} + {if $list_empty} + {include file="components/empty"} + {else /} + + {$hc_content|raw} + {/if} + +
+
+{include file="components/mask"} + +{include file="components/footer"} + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/themes/website/1/en/demo/product.html b/public/themes/website/1/en/demo/product.html index cd1c55f..ca1befb 100644 --- a/public/themes/website/1/en/demo/product.html +++ b/public/themes/website/1/en/demo/product.html @@ -1,482 +1,482 @@ - - -{php} -// var_dump($hc_content);exit; -// 基本信息 -$id = $hc_content['id'] ?? ''; -$category_id = $hc_content['category_id'] ?? ''; -$sub_category_ids = $hc_content['sub_category_ids'] ?? ''; -$module_id = $hc_content['module_id'] ?? ''; -$lang = $hc_content['lang'] ?? ''; -$main_id = $hc_content['main_id'] ?? ''; -$title = $hc_content['title'] ?? ''; -$sub_title = $hc_content['sub_title'] ?? ''; -$description = $hc_content['description'] ?? ''; -$content = $hc_content['content'] ?? ''; -$cover = $hc_content['cover'] ?? ''; -$hits = $hc_content['hits'] ?? ''; -$admin_id = $hc_content['admin_id'] ?? ''; -$author = $hc_content['author'] ?? ''; -$status = $hc_content['status'] ?? ''; -$check_status = $hc_content['check_status'] ?? ''; -$url = $hc_content['url'] ?? ''; -$publish_time = $hc_content['publish_time'] ?? ''; -$is_top = $hc_content['is_top'] ?? ''; -$top_time = $hc_content['top_time'] ?? ''; -$is_recommend = $hc_content['is_recommend'] ?? ''; -$sort = $hc_content['sort'] ?? ''; -$detail_tpl = $hc_content['detail_tpl'] ?? ''; -$seo_title = $hc_content['seo_title'] ?? ''; -$seo_keyword = $hc_content['seo_keyword'] ?? ''; -$seo_description = $hc_content['seo_description'] ?? ''; -$version = $hc_content['version'] ?? ''; -$show_version = $hc_content['show_version'] ?? ''; -$is_del = $hc_content['is_del'] ?? ''; -$del_user_id = $hc_content['del_user_id'] ?? ''; -$delete_time = $hc_content['delete_time'] ?? ''; -$create_time = $hc_content['create_time'] ?? ''; -$update_time = $hc_content['update_time'] ?? ''; -$tag = $hc_content['tag'] ?? []; - -// 缩略图 -$thumbnail = (array)($hc_content['thumbnail'] ?? []); -$thumbnail_id = $thumbnail['id'] ?? ''; -$thumbnail_name = $thumbnail['name'] ?? ''; -$thumbnail_url = $thumbnail['url'] ?? ''; -$thumbnail_type = $thumbnail['type'] ?? ''; -$thumbnail_description = $thumbnail['description'] ?? ''; - -// 扩展内容 -$main_content = $hc_content['main_content'] ?? []; -$main_content_id = $main_content['id'] ?? ''; -$rich_text_two = $main_content['rich_text_two'] ?? ''; -$pic_many_one = $main_content['pic_many_one'] ?? []; // 产品介绍多图 -$pic_many = $main_content['pic_many'] ?? []; // 规格参数展示图集 -$rich_text_three = $main_content['rich_text_three'] ?? ''; // 规格参数第一个富文本框 -$rich_text_four = $main_content['rich_text_four'] ?? ''; -$rich_text_five = $main_content['rich_text_five'] ?? ''; -$rich_text_six = $main_content['rich_text_six'] ?? ''; -$rich_text_seven = $main_content['rich_text_seven'] ?? ''; -$resource_download_names = $main_content['resource_download_names'] ?? ''; // 下载文件自定义名称 -$atlas = $main_content['atlas'] ?? []; -$file = $main_content['file'] ?? ''; -$content_desc = $main_content['content_desc'] ?? ''; -$mc_lang = $main_content['lang'] ?? ''; -$lang_pid = $main_content['lang_pid'] ?? ''; -$sub_id = $main_content['sub_id'] ?? ''; -$mc_create_time = $main_content['create_time'] ?? ''; -$mc_update_time = $main_content['update_time'] ?? ''; - -// 资源图片 -$resource_pic = (array)($main_content['resource_pic'] ?? []); -$resource_pic_id = $resource_pic['id'] ?? ''; -$resource_pic_name = $resource_pic['name'] ?? ''; -$resource_pic_url = $resource_pic['url'] ?? ''; -$resource_pic_type = $resource_pic['type'] ?? ''; -$resource_pic_description = $resource_pic['description'] ?? ''; -$resource_pic_children = $resource_pic['children'] ?? []; - -// 资源下载 -$resource_download = $main_content['resource_download'] ?? []; -{/php} - - - - - {$title} - 睿能科技 - - - - - - - - - - - - - - - - - - - - -{include file="components/header"} - - - -
-
-
-

{$title}

- 查看选型表 -
- - RA3系列伺服驱动器 -
-
-
- - -
-
-
- - -
- -
- {$rich_text_two|raw} -
-
-
- - -
-
-

规格参数

- -
- 产品型号 - -
- -
- {volist name="pic_many" id="vo" key="key"} -
- {switch $key} - {case 1}{$rich_text_three|raw}{/case} - {case 2}{$rich_text_four|raw}{/case} - {case 3}{$rich_text_five|raw}{/case} - {case 4}{$rich_text_six|raw}{/case} - {case 5}{$rich_text_seven|raw}{/case} - {default /}暂无匹配内容 - {/switch} -
- {/volist} - - {if $total_standard_num == 0} - - {$rich_text_three|raw} - {/if} - -
-
-
- - - - {php} - // 1. 直接按照 %% 分割 - $mainArray = explode("%%", $resource_download_names); - $download_names = []; - // 2. 遍历并拆分 - foreach ($mainArray as $item) { - if (trim($item) !== '' && !empty($item)) { - $download_names[] = explode("##", trim($item)); - } - } - // 文件匹配 - $map = [ - 'png' => '图片', - 'jpg' => '图片', - 'jpeg' => '图片', - 'pdf' => 'PDF', - 'doc' => 'DOC', - 'docx' => 'DOC', - 'zip' => '压缩包', - '7z' => '压缩包', - 'rar' => '压缩包', - ]; - - {/php} -
-
-
- RA3资料示意 -
-
-

资料下载

-
    - {volist name="resource_download" id="one_resource" key="key"} - {php} - $downloadUrl = $one_resource['url'] ?? ''; - $nameTmp = $download_names[$key-1][0] ?? ($one_resource['name'] ?? '文件-'.$key); - $descTmp = $download_names[$key-1][1] ?? ('描述-'.$key); - $dateTmp = $download_names[$key-1][2] ?? ('日期-'.$key); - $ext = strtolower(pathinfo($one_resource['url'], PATHINFO_EXTENSION)); - $file_type_name = $map[$ext] ?? '未知文件'; - // 下载文件名与页面展示名一致(展示名未带扩展名时补充) - $download_name = ($ext !== '' && strtolower(pathinfo($nameTmp, PATHINFO_EXTENSION)) === $ext) ? $nameTmp : rtrim($nameTmp, '.') . '.' . $ext; - {/php} -
  • -
    -

    {$nameTmp}

    -

    - {$descTmp} - - -

    -
    - - - - - - - - - - 下载{$file_type_name} - -
  • - {/volist} - -
-
-
-
- - - -
- -{include file="components/mask"} - -{include file="components/footer"} - - - - - - - - - - - - - + + +{php} +// var_dump($hc_content);exit; +// 基本信息 +$id = $hc_content['id'] ?? ''; +$category_id = $hc_content['category_id'] ?? ''; +$sub_category_ids = $hc_content['sub_category_ids'] ?? ''; +$module_id = $hc_content['module_id'] ?? ''; +$lang = $hc_content['lang'] ?? ''; +$main_id = $hc_content['main_id'] ?? ''; +$title = $hc_content['title'] ?? ''; +$sub_title = $hc_content['sub_title'] ?? ''; +$description = $hc_content['description'] ?? ''; +$content = $hc_content['content'] ?? ''; +$cover = $hc_content['cover'] ?? ''; +$hits = $hc_content['hits'] ?? ''; +$admin_id = $hc_content['admin_id'] ?? ''; +$author = $hc_content['author'] ?? ''; +$status = $hc_content['status'] ?? ''; +$check_status = $hc_content['check_status'] ?? ''; +$url = $hc_content['url'] ?? ''; +$publish_time = $hc_content['publish_time'] ?? ''; +$is_top = $hc_content['is_top'] ?? ''; +$top_time = $hc_content['top_time'] ?? ''; +$is_recommend = $hc_content['is_recommend'] ?? ''; +$sort = $hc_content['sort'] ?? ''; +$detail_tpl = $hc_content['detail_tpl'] ?? ''; +$seo_title = $hc_content['seo_title'] ?? ''; +$seo_keyword = $hc_content['seo_keyword'] ?? ''; +$seo_description = $hc_content['seo_description'] ?? ''; +$version = $hc_content['version'] ?? ''; +$show_version = $hc_content['show_version'] ?? ''; +$is_del = $hc_content['is_del'] ?? ''; +$del_user_id = $hc_content['del_user_id'] ?? ''; +$delete_time = $hc_content['delete_time'] ?? ''; +$create_time = $hc_content['create_time'] ?? ''; +$update_time = $hc_content['update_time'] ?? ''; +$tag = $hc_content['tag'] ?? []; + +// 缩略图 +$thumbnail = (array)($hc_content['thumbnail'] ?? []); +$thumbnail_id = $thumbnail['id'] ?? ''; +$thumbnail_name = $thumbnail['name'] ?? ''; +$thumbnail_url = $thumbnail['url'] ?? ''; +$thumbnail_type = $thumbnail['type'] ?? ''; +$thumbnail_description = $thumbnail['description'] ?? ''; + +// 扩展内容 +$main_content = $hc_content['main_content'] ?? []; +$main_content_id = $main_content['id'] ?? ''; +$rich_text_two = $main_content['rich_text_two'] ?? ''; +$pic_many_one = $main_content['pic_many_one'] ?? []; // 产品介绍多图 +$pic_many = $main_content['pic_many'] ?? []; // 规格参数展示图集 +$rich_text_three = $main_content['rich_text_three'] ?? ''; // 规格参数第一个富文本框 +$rich_text_four = $main_content['rich_text_four'] ?? ''; +$rich_text_five = $main_content['rich_text_five'] ?? ''; +$rich_text_six = $main_content['rich_text_six'] ?? ''; +$rich_text_seven = $main_content['rich_text_seven'] ?? ''; +$resource_download_names = $main_content['resource_download_names'] ?? ''; // 下载文件自定义名称 +$atlas = $main_content['atlas'] ?? []; +$file = $main_content['file'] ?? ''; +$content_desc = $main_content['content_desc'] ?? ''; +$mc_lang = $main_content['lang'] ?? ''; +$lang_pid = $main_content['lang_pid'] ?? ''; +$sub_id = $main_content['sub_id'] ?? ''; +$mc_create_time = $main_content['create_time'] ?? ''; +$mc_update_time = $main_content['update_time'] ?? ''; + +// 资源图片 +$resource_pic = (array)($main_content['resource_pic'] ?? []); +$resource_pic_id = $resource_pic['id'] ?? ''; +$resource_pic_name = $resource_pic['name'] ?? ''; +$resource_pic_url = $resource_pic['url'] ?? ''; +$resource_pic_type = $resource_pic['type'] ?? ''; +$resource_pic_description = $resource_pic['description'] ?? ''; +$resource_pic_children = $resource_pic['children'] ?? []; + +// 资源下载 +$resource_download = $main_content['resource_download'] ?? []; +{/php} + + + + + {$title} - 睿能科技 + + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + + + +
+
+
+

{$title}

+ 查看选型表 +
+ + RA3系列伺服驱动器 +
+
+
+ + +
+
+
+ + +
+ +
+ {$rich_text_two|raw} +
+
+
+ + +
+
+

规格参数

+ +
+ 产品型号 + +
+ +
+ {volist name="pic_many" id="vo" key="key"} +
+ {switch $key} + {case 1}{$rich_text_three|raw}{/case} + {case 2}{$rich_text_four|raw}{/case} + {case 3}{$rich_text_five|raw}{/case} + {case 4}{$rich_text_six|raw}{/case} + {case 5}{$rich_text_seven|raw}{/case} + {default /}暂无匹配内容 + {/switch} +
+ {/volist} + + {if $total_standard_num == 0} + + {$rich_text_three|raw} + {/if} + +
+
+
+ + + + {php} + // 1. 直接按照 %% 分割 + $mainArray = explode("%%", $resource_download_names); + $download_names = []; + // 2. 遍历并拆分 + foreach ($mainArray as $item) { + if (trim($item) !== '' && !empty($item)) { + $download_names[] = explode("##", trim($item)); + } + } + // 文件匹配 + $map = [ + 'png' => '图片', + 'jpg' => '图片', + 'jpeg' => '图片', + 'pdf' => 'PDF', + 'doc' => 'DOC', + 'docx' => 'DOC', + 'zip' => '压缩包', + '7z' => '压缩包', + 'rar' => '压缩包', + ]; + + {/php} +
+
+
+ RA3资料示意 +
+
+

资料下载

+
    + {volist name="resource_download" id="one_resource" key="key"} + {php} + $downloadUrl = $one_resource['url'] ?? ''; + $nameTmp = $download_names[$key-1][0] ?? ($one_resource['name'] ?? '文件-'.$key); + $descTmp = $download_names[$key-1][1] ?? ('描述-'.$key); + $dateTmp = $download_names[$key-1][2] ?? ('日期-'.$key); + $ext = strtolower(pathinfo($one_resource['url'], PATHINFO_EXTENSION)); + $file_type_name = $map[$ext] ?? '未知文件'; + // 下载文件名与页面展示名一致(展示名未带扩展名时补充) + $download_name = ($ext !== '' && strtolower(pathinfo($nameTmp, PATHINFO_EXTENSION)) === $ext) ? $nameTmp : rtrim($nameTmp, '.') . '.' . $ext; + {/php} +
  • +
    +

    {$nameTmp}

    +

    + {$descTmp} + + +

    +
    + + + + + + + + + + 下载{$file_type_name} + +
  • + {/volist} + +
+
+
+
+ + + +
+ +{include file="components/mask"} + +{include file="components/footer"} + + + + + + + + + + + + + diff --git a/public/themes/website/1/en/demo/search.html b/public/themes/website/1/en/demo/search.html index 7388218..5fd1729 100644 --- a/public/themes/website/1/en/demo/search.html +++ b/public/themes/website/1/en/demo/search.html @@ -1,192 +1,192 @@ - - -{php} -dd('此页面废弃'); -{/php} - - - - - - - - - - - - 搜索 - 睿能科技 - - - - - - - - - - - - - - - - - - - - - - {include file="components/header"} - -
-
-
-

搜索

- -
- 热门搜索: -
- - - -
-
-
- -
- - - - - -
- -
- {volist name="list" id="vo"} - {php} - $sr_date = ''; - $sr_time = $vo['publish_time'] ?? ($vo['create_time'] ?? ''); - if (!empty($sr_time)) { - $sr_date = is_numeric($sr_time) ? date('Y-m-d', (int)$sr_time) : $sr_time; - } - $sr_cid = $vo['category_id'] ?? ($vo['category'][0]['id'] ?? 0); - $sr_thumb = is_array($vo['thumbnail'] ?? null) ? ($vo['thumbnail']['url'] ?? '') : ''; - $sr_url = hcUrl('detail/index', ['id' => $vo['id'], 'cid' => $sr_cid]); - $sr_cate_title = $vo['category'][0]['title'] ?? ''; - $sr_type = 'other'; - if (mb_strpos($sr_cate_title, '产品') !== false) { - $sr_type = 'product'; - } elseif (mb_strpos($sr_cate_title, '解决方案') !== false || mb_strpos($sr_cate_title, '方案') !== false) { - $sr_type = 'solution'; - } elseif (mb_strpos($sr_cate_title, '新闻') !== false) { - $sr_type = 'news'; - } elseif (mb_strpos($sr_cate_title, '常见问题') !== false || mb_strpos($sr_cate_title, 'FAQ') !== false || mb_strpos($sr_cate_title, '问题') !== false) { - $sr_type = 'faq'; - } - {/php} -
- - - -
-
-
- {if !empty($vo['category'][0]['title'])}{$vo.category.0.title}{else /}内容{/if} - - -
-

- {$vo.title} -

- {notempty name="vo.description"} -

{$vo.description}

- {/notempty} -
- - 探索更多 - - - - - -
-
- {/volist} -
- - - - {php} - $list_empty = isHcListEmpty($list ?? null); - if ($list_empty) { - $empty_text = '未找到相关结果,请尝试其他关键词'; - } - {/php} - {if $list_empty} - {include file="components/empty"} - {else /} - {$list_page|raw} - {/if} -
-
- - {include file="components/mask"} - - {include file="components/footer"} - - - - - - - - - - - - - + + +{php} +dd('此页面废弃'); +{/php} + + + + + + + + + + + + 搜索 - 睿能科技 + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+
+
+

搜索

+ +
+ 热门搜索: +
+ + + +
+
+
+ +
+ + + + + +
+ +
+ {volist name="list" id="vo"} + {php} + $sr_date = ''; + $sr_time = $vo['publish_time'] ?? ($vo['create_time'] ?? ''); + if (!empty($sr_time)) { + $sr_date = is_numeric($sr_time) ? date('Y-m-d', (int)$sr_time) : $sr_time; + } + $sr_cid = $vo['category_id'] ?? ($vo['category'][0]['id'] ?? 0); + $sr_thumb = is_array($vo['thumbnail'] ?? null) ? ($vo['thumbnail']['url'] ?? '') : ''; + $sr_url = hcUrl('detail/index', ['id' => $vo['id'], 'cid' => $sr_cid]); + $sr_cate_title = $vo['category'][0]['title'] ?? ''; + $sr_type = 'other'; + if (mb_strpos($sr_cate_title, '产品') !== false) { + $sr_type = 'product'; + } elseif (mb_strpos($sr_cate_title, '解决方案') !== false || mb_strpos($sr_cate_title, '方案') !== false) { + $sr_type = 'solution'; + } elseif (mb_strpos($sr_cate_title, '新闻') !== false) { + $sr_type = 'news'; + } elseif (mb_strpos($sr_cate_title, '常见问题') !== false || mb_strpos($sr_cate_title, 'FAQ') !== false || mb_strpos($sr_cate_title, '问题') !== false) { + $sr_type = 'faq'; + } + {/php} +
+ + + +
+
+
+ {if !empty($vo['category'][0]['title'])}{$vo.category.0.title}{else /}内容{/if} + + +
+

+ {$vo.title} +

+ {notempty name="vo.description"} +

{$vo.description}

+ {/notempty} +
+ + 探索更多 + + + + + +
+
+ {/volist} +
+ + + + {php} + $list_empty = isHcListEmpty($list ?? null); + if ($list_empty) { + $empty_text = '未找到相关结果,请尝试其他关键词'; + } + {/php} + {if $list_empty} + {include file="components/empty"} + {else /} + {$list_page|raw} + {/if} +
+
+ + {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + + + diff --git a/public/themes/website/1/en/demo/single_index.html b/public/themes/website/1/en/demo/single_index.html index c018b29..b88989b 100644 --- a/public/themes/website/1/en/demo/single_index.html +++ b/public/themes/website/1/en/demo/single_index.html @@ -1,963 +1,963 @@ - - - - - - {$current_cate.seo_title} - - - - - - - - - - - - - - - - - - - - - - {include file="components/header"} -
- {if !empty($sub_cates[0])} -
-
-
- {php} - $news = getChildCategoriesContent(361,$seller_id,5); - {/php} - {hcTaglib:content cid="$sub_cates[0]['id']" moduleId="1" item="vo" limit="5" mainField="*" subField="*" key="key"} -
-
- -
-
-

{$vo.title ?? ''}

-

{$vo.sub_title|raw}

-

{$vo.description ?? ''}

- {hcTaglib:category id="333" item="vo" field="*"} - 探索更多 - {/hcTaglib:category} -
- {if !empty($news[$key-1])} -
-
-

{$news[$key-1]['title']}

- - 探索更多 - - - - -
- -
- {/if} -
- {/hcTaglib:content} -
-
-
- {/if} - {if !empty($sub_cates[1])} -
-
-
-

{$sub_cates[1]['description'] ?? ''}

-
- - -
-
- -
- {hcTaglib:category id="333" item="vo" field="*"} - 探索更多 - {/hcTaglib:category} -
-
-
- - -
-
-
-
- {/if} - {if !empty($sub_cates[2])} -
-
-
- {hcTaglib:allSubCategory pid="345" field="*" max-level="2" item="vo" sort=""} -
-
- -
-
-
-

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

-

{$vo.title ?? ''}

-

- {$vo.description ?? ''}

-
    - {volist name="vo.children" id="vv"} -
  • {$vv.title}
  • - {/volist} -
- 探索更多 -
-
- {/hcTaglib:allSubCategory} -
-
- -
- {/if} - {if !empty($sub_cates[3])} -
-
-
-

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

-
-
-

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

-
- -
- {hcTaglib:content cid="$sub_cates[3]['id']" moduleId="1" item="vo" mainField="*" subField="*"} - - {/hcTaglib:content} -
-
-
- {/if} - {if !empty($sub_cates[4])} -
-
-
-
- -
-
-

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

-

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

-

- {$sub_cates[4]['desc']} -

- {php}$arr = explode(',',$sub_cates[4]['description']){/php} -
    -
  • - {$arr[0]} - {$arr[1]} -
  • -
  • - {$arr[2]} - {$arr[3]} -
  • -
  • - {$arr[4]} - {$arr[5]} -
  • -
-
-
-
- {/if} - {if !empty($sub_cates[5])} -
-
-
-

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

- {hcTaglib:category id="361" item="vo" field="*"} - 探索更多 - {/hcTaglib:category} -
-
- {php}$news = getChildCategoriesContent(361,$seller_id,4);{/php} - {if(!empty($news[0]))} - - {/if} - -
    - {if(!empty($news[1]))} -
  • -
    -

    {$news[1]['title'] ?? ''}

    - -
    - - - -
  • - {/if} - {if(!empty($news[2]))} -
  • -
    -

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

    - -
    - - - -
  • - {/if} - {if(!empty($news[3]))} -
  • -
    -

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

    - -
    - - - -
  • - {/if} -
-
-
- {hcTaglib:category id="361" item="vo" field="*"} - 探索更多 - {/hcTaglib:category} -
-
-
- {/if} -
- - {include file="components/mask"} - - {include file="components/footer"} - - - - - - - - - - - - - + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} +
+ {if !empty($sub_cates[0])} +
+
+
+ {php} + $news = getChildCategoriesContent(361,$seller_id,5); + {/php} + {hcTaglib:content cid="$sub_cates[0]['id']" moduleId="1" item="vo" limit="5" mainField="*" subField="*" key="key"} +
+
+ +
+
+

{$vo.title ?? ''}

+

{$vo.sub_title|raw}

+

{$vo.description ?? ''}

+ {hcTaglib:category id="333" item="vo" field="*"} + 探索更多 + {/hcTaglib:category} +
+ {if !empty($news[$key-1])} +
+
+

{$news[$key-1]['title']}

+ + 探索更多 + + + + +
+ +
+ {/if} +
+ {/hcTaglib:content} +
+
+
+ {/if} + {if !empty($sub_cates[1])} +
+
+
+

{$sub_cates[1]['description'] ?? ''}

+
+ + +
+
+ +
+ {hcTaglib:category id="333" item="vo" field="*"} + 探索更多 + {/hcTaglib:category} +
+
+
+ + +
+
+
+
+ {/if} + {if !empty($sub_cates[2])} +
+
+
+ {hcTaglib:allSubCategory pid="345" field="*" max-level="2" item="vo" sort=""} +
+
+ +
+
+
+

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

+

{$vo.title ?? ''}

+

+ {$vo.description ?? ''}

+
    + {volist name="vo.children" id="vv"} +
  • {$vv.title}
  • + {/volist} +
+ 探索更多 +
+
+ {/hcTaglib:allSubCategory} +
+
+ +
+ {/if} + {if !empty($sub_cates[3])} +
+
+
+

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

+
+
+

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

+
+ +
+ {hcTaglib:content cid="$sub_cates[3]['id']" moduleId="1" item="vo" mainField="*" subField="*"} + + {/hcTaglib:content} +
+
+
+ {/if} + {if !empty($sub_cates[4])} +
+
+
+
+ +
+
+

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

+

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

+

+ {$sub_cates[4]['desc']} +

+ {php}$arr = explode(',',$sub_cates[4]['description']){/php} +
    +
  • + {$arr[0]} + {$arr[1]} +
  • +
  • + {$arr[2]} + {$arr[3]} +
  • +
  • + {$arr[4]} + {$arr[5]} +
  • +
+
+
+
+ {/if} + {if !empty($sub_cates[5])} +
+
+
+

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

+ {hcTaglib:category id="361" item="vo" field="*"} + 探索更多 + {/hcTaglib:category} +
+
+ {php}$news = getChildCategoriesContent(361,$seller_id,4);{/php} + {if(!empty($news[0]))} + + {/if} + +
    + {if(!empty($news[1]))} +
  • +
    +

    {$news[1]['title'] ?? ''}

    + +
    + + + +
  • + {/if} + {if(!empty($news[2]))} +
  • +
    +

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

    + +
    + + + +
  • + {/if} + {if(!empty($news[3]))} +
  • +
    +

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

    + +
    + + + +
  • + {/if} +
+
+
+ {hcTaglib:category id="361" item="vo" field="*"} + 探索更多 + {/hcTaglib:category} +
+
+
+ {/if} +
+ + {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + + + diff --git a/public/themes/website/1/en/demo/single_search.html b/public/themes/website/1/en/demo/single_search.html index e88022f..1b1351f 100644 --- a/public/themes/website/1/en/demo/single_search.html +++ b/public/themes/website/1/en/demo/single_search.html @@ -1,296 +1,296 @@ - - - - - - - 搜索 - 睿能科技 - - - - - - - - - - - - - - - - - - - - - - - - {include file="components/header"} - -
-
-
-

搜索

- -
- 热门搜索: -
- {hcTaglib:category id="679" item="vo" field="id,title,description"} - {php} - $description = $vo['description'] ?? ''; - $descriptionArr = []; - if(!empty($description)){ - $descriptionArr = explode(',',$description); - } - {/php} - {/hcTaglib:category} - - {volist name="descriptionArr" id="one"} - - {/volist} - -
-
-
- - {php} - $sr_type_cur = $sr_type ?? 'all'; - $sr_q = $keywords ?? ''; - $sr_counts = $sr_counts ?? ['all' => 0, 'product' => 0, 'news' => 0, 'faq' => 0, 'other' => 0]; - $sr_tabs = []; - foreach (['all', 'product', 'news', 'faq', 'other'] as $tabType) { - $query = ['type' => $tabType]; - if ($sr_q !== '') { - $query['q'] = $sr_q; - } - $sr_tabs[$tabType] = '/search.html?' . http_build_query($query); - } - {/php} - - -
- {volist name="list" id="vo"} - {php} - $sr_kind = $vo['sr_kind'] ?? 'content'; - $sr_date = $vo['sr_date'] ?? ''; - if ($sr_date === '') { - $sr_time = $vo['publish_time'] ?? ($vo['create_time'] ?? ''); - if ($sr_time !== '' && $sr_time !== null) { - if (is_numeric($sr_time)) { - $sr_date = date('Y-m-d', (int)$sr_time); - } else { - $ts = strtotime((string)$sr_time); - $sr_date = $ts ? date('Y-m-d', $ts) : substr((string)$sr_time, 0, 10); - } - } - } - $sr_cid = $vo['category_id'] ?? ($vo['category'][0]['id'] ?? 0); - $sr_thumb = is_array($vo['thumbnail'] ?? null) ? ($vo['thumbnail']['url'] ?? '') : ''; - $sr_url = hcUrl('detail/index', ['id' => $vo['id'], 'cid' => $sr_cid]); - $sr_file = $vo['url'] ?? ''; - $sr_title = $vo['title'] ?? ''; - $sr_type_name = $vo['sr_tab_name'] ?? '内容'; - $sr_show_desc = ($sr_kind === 'news' || $sr_kind === 'content'); - $sr_show_more = ($sr_kind === 'news' || $sr_kind === 'content'); - {/php} -
- {if $sr_kind == 'video'} - - {elseif $sr_kind == 'download' /} - - - - {elseif $sr_kind == 'announce' /} - - - - {else /} - - - - {/if} - -
-
-
- {$sr_type_name} - - -
- - {if $sr_kind == 'faq'} -
- -
-

- {$vo.content|strip_tags} -

-
-
- {else /} -

- {if $sr_kind == 'video'} - {$sr_title} - {elseif $sr_kind == 'download' /} - {$sr_title} - {elseif $sr_kind == 'announce' /} - {$sr_title} - {else /} - {$sr_title} - {/if} -

- {/if} - - {if $sr_show_desc} - {notempty name="vo.description"} -

{$vo.description}

- {/notempty} - {/if} -
- - {if $sr_kind == 'download'} - - 立即下载 - - - {elseif $sr_kind == 'product' /} - - 了解产品 - - - {elseif $sr_kind == 'announce' /} - - 探索更多 - - - - - {elseif $sr_show_more /} - - 探索更多 - - - - - {/if} -
-
- {/volist} -
- - {php} - $list_empty = isHcListEmpty($list ?? null); - if ($list_empty) { - $empty_text = '未找到相关结果,请尝试其他关键词'; - } - {/php} - {if $list_empty} - {include file="components/empty"} - {else /} - {$list_page|raw} - {/if} - - -
-
- - {include file="components/mask"} - - {include file="components/footer"} - - - - - - - - - - - - - + + + + + + + 搜索 - 睿能科技 + + + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+
+
+

搜索

+ +
+ 热门搜索: +
+ {hcTaglib:category id="679" item="vo" field="id,title,description"} + {php} + $description = $vo['description'] ?? ''; + $descriptionArr = []; + if(!empty($description)){ + $descriptionArr = explode(',',$description); + } + {/php} + {/hcTaglib:category} + + {volist name="descriptionArr" id="one"} + + {/volist} + +
+
+
+ + {php} + $sr_type_cur = $sr_type ?? 'all'; + $sr_q = $keywords ?? ''; + $sr_counts = $sr_counts ?? ['all' => 0, 'product' => 0, 'news' => 0, 'faq' => 0, 'other' => 0]; + $sr_tabs = []; + foreach (['all', 'product', 'news', 'faq', 'other'] as $tabType) { + $query = ['type' => $tabType]; + if ($sr_q !== '') { + $query['q'] = $sr_q; + } + $sr_tabs[$tabType] = '/search.html?' . http_build_query($query); + } + {/php} + + +
+ {volist name="list" id="vo"} + {php} + $sr_kind = $vo['sr_kind'] ?? 'content'; + $sr_date = $vo['sr_date'] ?? ''; + if ($sr_date === '') { + $sr_time = $vo['publish_time'] ?? ($vo['create_time'] ?? ''); + if ($sr_time !== '' && $sr_time !== null) { + if (is_numeric($sr_time)) { + $sr_date = date('Y-m-d', (int)$sr_time); + } else { + $ts = strtotime((string)$sr_time); + $sr_date = $ts ? date('Y-m-d', $ts) : substr((string)$sr_time, 0, 10); + } + } + } + $sr_cid = $vo['category_id'] ?? ($vo['category'][0]['id'] ?? 0); + $sr_thumb = is_array($vo['thumbnail'] ?? null) ? ($vo['thumbnail']['url'] ?? '') : ''; + $sr_url = hcUrl('detail/index', ['id' => $vo['id'], 'cid' => $sr_cid]); + $sr_file = $vo['url'] ?? ''; + $sr_title = $vo['title'] ?? ''; + $sr_type_name = $vo['sr_tab_name'] ?? '内容'; + $sr_show_desc = ($sr_kind === 'news' || $sr_kind === 'content'); + $sr_show_more = ($sr_kind === 'news' || $sr_kind === 'content'); + {/php} +
+ {if $sr_kind == 'video'} + + {elseif $sr_kind == 'download' /} + + + + {elseif $sr_kind == 'announce' /} + + + + {else /} + + + + {/if} + +
+
+
+ {$sr_type_name} + + +
+ + {if $sr_kind == 'faq'} +
+ +
+

+ {$vo.content|strip_tags} +

+
+
+ {else /} +

+ {if $sr_kind == 'video'} + {$sr_title} + {elseif $sr_kind == 'download' /} + {$sr_title} + {elseif $sr_kind == 'announce' /} + {$sr_title} + {else /} + {$sr_title} + {/if} +

+ {/if} + + {if $sr_show_desc} + {notempty name="vo.description"} +

{$vo.description}

+ {/notempty} + {/if} +
+ + {if $sr_kind == 'download'} + + 立即下载 + + + {elseif $sr_kind == 'product' /} + + 了解产品 + + + {elseif $sr_kind == 'announce' /} + + 探索更多 + + + + + {elseif $sr_show_more /} + + 探索更多 + + + + + {/if} +
+
+ {/volist} +
+ + {php} + $list_empty = isHcListEmpty($list ?? null); + if ($list_empty) { + $empty_text = '未找到相关结果,请尝试其他关键词'; + } + {/php} + {if $list_empty} + {include file="components/empty"} + {else /} + {$list_page|raw} + {/if} + + +
+
+ + {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + + + diff --git a/public/themes/website/1/en/demo/solution.html b/public/themes/website/1/en/demo/solution.html index 51c56bb..8482481 100644 --- a/public/themes/website/1/en/demo/solution.html +++ b/public/themes/website/1/en/demo/solution.html @@ -1,259 +1,259 @@ - - - - - - - {$current_cate['seo_title']} - - - - - - - - - - - - - - - - - - - -{include file="components/header"} -
- {if !empty($sub_cates[0])} -
-
-

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

-

- {$sub_cates[0]['description'] ?? ''} -

-
- -
- {/if} - {if !empty($sub_cates[1])} -
-

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

-
    - {php} - $contents = getContentByCategory($sub_cates[1]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']); - {/php} - {volist name="contents" id="vo"} -
  • -

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

    -

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

    -
  • - {/volist} -
-
- {/if} - {if !empty($sub_cates[2])} -
-

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

-
- {$sub_cates[2]['description'] ?? ''} -
-
- {/if} - {if !empty($sub_cates[3])} -
-
-

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

-
- - -
-
-
-
- {php} - $contents = getMixContentBySolutionName($current_cate['title'],$sub_cates[3]['id'],$seller_id, 6); - {/php} - {volist name="contents" id="vo"} - - {/volist} -
-
-
-
- - -
-
-
-{/if} - {if !empty($sub_cates[4])} -
-

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

- {php} - $contents = getContentByCategory($sub_cates[4]['id'], $seller_id, 20, 'sort asc', ['thumbnail', 'category']); - $clients_marquee = is_array($contents) && count($contents) > 5; - {/php} -
-
- {volist name="contents" id="vo"} -
- {/volist} - {if $clients_marquee} - {volist name="contents" id="vo"} - - {/volist} - {/if} -
-
-
- {/if} - {if !empty($sub_cates[5])} -
-

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

-
- -
-
-
- {php} - $contents = getContentByCategory($sub_cates[5]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']); - {/php} - {volist name="contents" id="vo"} -
-

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

-

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

-

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

-
- {php}$descArr = explode(',',$vo['seo_description']);{/php} - {if !empty($descArr)} - {volist name="descArr" id="vv"} - {$vv} - {/volist} - {/if} -
-
- {/volist} -
-
-
-
- - -
-
- 1 - / - 4 -
-
-
-
-
- {/if} -
- - {include file="components/mask"} - -{include file="components/footer"} - - - - - - - - - - - - - - + + + + + + + {$current_cate['seo_title']} + + + + + + + + + + + + + + + + + + + +{include file="components/header"} +
+ {if !empty($sub_cates[0])} +
+
+

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

+

+ {$sub_cates[0]['description'] ?? ''} +

+
+ +
+ {/if} + {if !empty($sub_cates[1])} +
+

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

+
    + {php} + $contents = getContentByCategory($sub_cates[1]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']); + {/php} + {volist name="contents" id="vo"} +
  • +

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

    +

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

    +
  • + {/volist} +
+
+ {/if} + {if !empty($sub_cates[2])} +
+

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

+
+ {$sub_cates[2]['description'] ?? ''} +
+
+ {/if} + {if !empty($sub_cates[3])} +
+
+

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

+
+ + +
+
+
+
+ {php} + $contents = getMixContentBySolutionName($current_cate['title'],$sub_cates[3]['id'],$seller_id, 6); + {/php} + {volist name="contents" id="vo"} + + {/volist} +
+
+
+
+ + +
+
+
+{/if} + {if !empty($sub_cates[4])} +
+

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

+ {php} + $contents = getContentByCategory($sub_cates[4]['id'], $seller_id, 20, 'sort asc', ['thumbnail', 'category']); + $clients_marquee = is_array($contents) && count($contents) > 5; + {/php} +
+
+ {volist name="contents" id="vo"} +
+ {/volist} + {if $clients_marquee} + {volist name="contents" id="vo"} + + {/volist} + {/if} +
+
+
+ {/if} + {if !empty($sub_cates[5])} +
+

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

+
+ +
+
+
+ {php} + $contents = getContentByCategory($sub_cates[5]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']); + {/php} + {volist name="contents" id="vo"} +
+

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

+

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

+

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

+
+ {php}$descArr = explode(',',$vo['seo_description']);{/php} + {if !empty($descArr)} + {volist name="descArr" id="vv"} + {$vv} + {/volist} + {/if} +
+
+ {/volist} +
+
+
+
+ + +
+
+ 1 + / + 4 +
+
+
+
+
+ {/if} +
+ + {include file="components/mask"} + +{include file="components/footer"} + + + + + + + + + + + + + + diff --git a/public/themes/website/1/en/demo/solution2.html b/public/themes/website/1/en/demo/solution2.html index 5458668..f5a8e2d 100644 --- a/public/themes/website/1/en/demo/solution2.html +++ b/public/themes/website/1/en/demo/solution2.html @@ -1,280 +1,280 @@ - - - -{php} -$current_cate_id = $current_cate['id'] ?? 0; -{/php} - - - - - {$current_cate['seo_title']} - - - - - - - - - - - - - - - - - - -{include file="components/header"} -
- - {if !empty($sub_cates[0])} -
-
-

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

-

- {$sub_cates[0]['description'] ?? ''} -

-
- -
- {/if} - - {if !empty($sub_cates[1])} -
-

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

-
    - {php} - $contents = getContentByCategory($sub_cates[1]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']); - {/php} - {volist name="contents" id="vo"} -
  • - -

    {$vo.title ?? ''}

    -

    {$vo.description ?? ''}

    -
  • - {/volist} -
-
- {/if} - {if !empty($sub_cates[2])} -
-

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

-
- {$sub_cates[2]['description'] ?? ''} -
-
- {/if} - {if !empty($sub_cates[3])} -
-
-

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

-
- - -
-
-
-
- {php} - $products = getArticlesBySolutionName($current_cate['title'],$seller_id,6); - {/php} - {volist name="products" id="vo"} -
-
-

{$vo.title ?? ''}

-

{$vo.description ?? ''}

- 探索更多 -
-
- {$vo.title ?? ''} -
-
- {/volist} -
-
-
-
- {/if} - {if !empty($sub_cates[4])} -
-
-

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

-
- - -
-
-
-
- {php} - $contents = getContentByCategory($sub_cates[4]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']); - {/php} - {volist name="contents" id="vo"} -
- -
{$vo['title'] ?? ''}
-
-

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

-

- {$vo.description ?? ''} -

-
-
- {/volist} -
-
-
-
- - -
-
-
- {/if} - {if !empty($sub_cates[5])} - -
-
-

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

-
- - -
-
- -
-
- {php}$others = getOtherCategoryCategoryId($current_cate['id'],$seller_id,5);{/php} - {volist name="others" id="vo"} - - {/volist} -
-
-
-
- - -
-
-
- {/if} -
- - {include file="components/mask"} - -{include file="components/footer"} - - - - - - - - - - - - + + + +{php} +$current_cate_id = $current_cate['id'] ?? 0; +{/php} + + + + + {$current_cate['seo_title']} + + + + + + + + + + + + + + + + + + +{include file="components/header"} +
+ + {if !empty($sub_cates[0])} +
+
+

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

+

+ {$sub_cates[0]['description'] ?? ''} +

+
+ +
+ {/if} + + {if !empty($sub_cates[1])} +
+

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

+
    + {php} + $contents = getContentByCategory($sub_cates[1]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']); + {/php} + {volist name="contents" id="vo"} +
  • + +

    {$vo.title ?? ''}

    +

    {$vo.description ?? ''}

    +
  • + {/volist} +
+
+ {/if} + {if !empty($sub_cates[2])} +
+

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

+
+ {$sub_cates[2]['description'] ?? ''} +
+
+ {/if} + {if !empty($sub_cates[3])} +
+
+

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

+
+ + +
+
+
+
+ {php} + $products = getArticlesBySolutionName($current_cate['title'],$seller_id,6); + {/php} + {volist name="products" id="vo"} +
+
+

{$vo.title ?? ''}

+

{$vo.description ?? ''}

+ 探索更多 +
+
+ {$vo.title ?? ''} +
+
+ {/volist} +
+
+
+
+ {/if} + {if !empty($sub_cates[4])} +
+
+

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

+
+ + +
+
+
+
+ {php} + $contents = getContentByCategory($sub_cates[4]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']); + {/php} + {volist name="contents" id="vo"} +
+ +
{$vo['title'] ?? ''}
+
+

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

+

+ {$vo.description ?? ''} +

+
+
+ {/volist} +
+
+
+
+ + +
+
+
+ {/if} + {if !empty($sub_cates[5])} + +
+
+

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

+
+ + +
+
+ +
+
+ {php}$others = getOtherCategoryCategoryId($current_cate['id'],$seller_id,5);{/php} + {volist name="others" id="vo"} + + {/volist} +
+
+
+
+ + +
+
+
+ {/if} +
+ + {include file="components/mask"} + +{include file="components/footer"} + + + + + + + + + + + + \ No newline at end of file diff --git a/public/themes/website/1/en/demo/video.html b/public/themes/website/1/en/demo/video.html index 30e0fd3..8a8eba7 100644 --- a/public/themes/website/1/en/demo/video.html +++ b/public/themes/website/1/en/demo/video.html @@ -1,147 +1,147 @@ - - - - - - - 视频教程 - 睿能科技 - - - - - - - - - - - - - - - - - - - - - - {include file="components/header"} - -
-
-
-

{$current_cate.title}

-

{$current_cate.description}

-
- -
-
- - -
- -
- -
- {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="12" item="vo"} - - {/hcTaglib:contentPage} -
- {php} - $list_empty = isHcListEmpty($hc_content ?? null); - if ($list_empty) { - $empty_text = '暂无相关视频'; - } - {/php} - {if $list_empty} - {include file="components/empty"} - {else /} - {$hc_content|raw} - {/if} - - -
-
- {include file="components/mask"} - - {include file="components/footer"} - - - - - - - - - - - - + + + + + + + 视频教程 - 睿能科技 + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+
+
+

{$current_cate.title}

+

{$current_cate.description}

+
+ +
+
+ + +
+ +
+ +
+ {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="12" item="vo"} + + {/hcTaglib:contentPage} +
+ {php} + $list_empty = isHcListEmpty($hc_content ?? null); + if ($list_empty) { + $empty_text = '暂无相关视频'; + } + {/php} + {if $list_empty} + {include file="components/empty"} + {else /} + {$hc_content|raw} + {/if} + + +
+
+ {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + + \ No newline at end of file