diff --git a/public/themes/website/4/en/demo/about-history.html b/public/themes/website/4/en/demo/about-history.html new file mode 100644 index 0000000..ab9ccb2 --- /dev/null +++ b/public/themes/website/4/en/demo/about-history.html @@ -0,0 +1,119 @@ + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + +
+ {php} + $ui_about_history = uiId('about_history'); + $seller_id = (int)($seller_id ?? 1); + $history_items = getContentByCategory($ui_about_history, $seller_id, 9999, 'sort desc', []); + if (!is_array($history_items)) { + $history_items = []; + } + usort($history_items, function ($a, $b) { + return (int)($b['sub_title'] ?? 0) - (int)($a['sub_title'] ?? 0); + }); + foreach ($history_items as &$history_item) { + if (!empty($history_item['content'])) { + $history_item['content'] = htmlspecialchars_decode($history_item['content']); + } + } + unset($history_item); + {/php} +
+
+ + +
+ {volist name="history_items" id="item"} + {php}$year = trim((string)($item['sub_title'] ?? ''));{/php} + {if $year !== ''} +
+
+ {$item.content|raw} +
+
+ {/if} + {/volist} +
+
+
+
+ + {include file="components/mask"} + +{include file="components/footer"} + + + + + + + + + + + diff --git a/public/themes/website/4/en/demo/about.html b/public/themes/website/4/en/demo/about.html new file mode 100644 index 0000000..a88951b --- /dev/null +++ b/public/themes/website/4/en/demo/about.html @@ -0,0 +1,354 @@ + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + +
+
+
+

+ {$current_cate.content|raw} +

+
+ +
+ {php} + $ui_about_intro = uiId('about_intro'); + $ui_about_history = uiId('about_history'); + $ui_about_culture = uiId('about_culture'); + $ui_about_global = uiId('about_global'); + $ui_about_members = uiId('about_members'); + $ui_about_honors = uiId('about_honors'); + $ui_about_csr = uiId('about_csr'); + $ui_download_csr = uiId('download_csr'); + $csr_report_href = getMuiLangUrl('/download.html'); + if ($ui_download_csr > 0) { + $csr_report_href .= '?cid=' . $ui_download_csr; + } + {/php} + {hcTaglib:category id="$ui_about_intro" 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="$ui_about_history" item="vo" field="*"} +
+
+

{$vo.title}

+
+ + +
+
+
+
+ {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="9999" mainField="id,title,sub_title,content,thumbnail" sort="sort desc" subField="" onlyData="2"} + + {/hcTaglib:content} +
+
+
+
+ + +
+
+
+ {/hcTaglib:category} + {hcTaglib:category id="$ui_about_culture" 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="$ui_about_global" 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="$ui_about_members" item="vo" field="*"} +
+ +
+

{$vo.title}

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

{$case_top.title}

+

+ {$case_top.content|strip_tags} +

+
+ Explore more +
+
+ {php}$member_idx++;{/php} + {/hcTaglib:content} +
+
+
+ {php}$member_idx = 0;{/php} + {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="50" mainField="id,title,sub_title,content,thumbnail" sort="sort asc" subField="" onlyData="2"} + + {php}$member_idx++;{/php} + {/hcTaglib:content} +
+
+
+
+ {/hcTaglib:category} + + {hcTaglib:category id="$ui_about_honors" item="vo" field="*"} +
+
+

{$vo.title}

+

{$vo.description}

+
+
+
    + {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="999" mainField="id,url,title,sub_title,content,thumbnail" sort="sort asc" subField="" onlyData="2"} +
  • + {$case_top.title} + + + + + + + + + View certificate + + +
  • + {/hcTaglib:content} +
+ +
+
+ {/hcTaglib:category} + + {hcTaglib:category id="$ui_about_csr" item="vo" field="*"} +
+ +
+

{$vo.title}

+
+

+ {$vo.description} +

+ Social Responsibility Report +
+
+
+ {/hcTaglib:category} +
+ + {include file="components/mask"} + +{include file="components/footer"} + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/themes/website/4/en/demo/announce.html b/public/themes/website/4/en/demo/announce.html new file mode 100644 index 0000000..e1db2e0 --- /dev/null +++ b/public/themes/website/4/en/demo/announce.html @@ -0,0 +1,150 @@ + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+
+
+

{$current_cate.title}

+

{$current_cate.description}

+
+ +
+ {php} + $filter_cid = (string)input('cid', ''); + $filter_all_id = (string)($current_cate['id'] ?? ''); + if ($filter_cid === '') { + $filter_cid = $filter_all_id; + } + $filter_keywords = (string)input('keywords', ''); + $filter_is_all = ($filter_cid === $filter_all_id); + $filter_label = 'Filter by product'; + if (!$filter_is_all && !empty($sub_cates)) { + foreach ($sub_cates as $sc) { + if ((string)($sc['id'] ?? '') === $filter_cid) { + $filter_label = $sc['title'] ?? $filter_label; + break; + } + } + } + {/php} +
+ + +
+ +
+ +
+ {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="8" item="vo"} + + +

{$vo.title}

+ + Explore more + + + + + +
+ {/hcTaglib:contentPage} +
+ {php} + $list_empty = isHcListEmpty($hc_content ?? null); + if ($list_empty) { + $empty_text = 'No matching notices'; + } + {/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/4/en/demo/category.html b/public/themes/website/4/en/demo/category.html new file mode 100644 index 0000000..3353978 --- /dev/null +++ b/public/themes/website/4/en/demo/category.html @@ -0,0 +1,228 @@ + + +{php} +// var_dump($current_cate); +$current_cate_id = $current_cate['id'] ?? ''; +//exit(); +{/php} + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+ {php}$ui_product = uiId('product');{/php} +
+ + +
+ + +
+ {hcTaglib:subcategory pid="$ui_product" 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/4/en/demo/components/currency.html b/public/themes/website/4/en/demo/components/currency.html deleted file mode 100644 index ea71e9e..0000000 --- a/public/themes/website/4/en/demo/components/currency.html +++ /dev/null @@ -1,8 +0,0 @@ - -{$current_cate.seo_title|default=$current_cate.title} - - - - - - \ No newline at end of file diff --git a/public/themes/website/4/en/demo/components/empty.html b/public/themes/website/4/en/demo/components/empty.html new file mode 100644 index 0000000..1c5bbc6 --- /dev/null +++ b/public/themes/website/4/en/demo/components/empty.html @@ -0,0 +1,8 @@ +{php} +if (!isset($empty_text) || $empty_text === '') { + $empty_text = 'No related content'; +} +{/php} +
+

{$empty_text}

+
diff --git a/public/themes/website/4/en/demo/components/footer.html b/public/themes/website/4/en/demo/components/footer.html index 2a7d84f..6be7b53 100644 --- a/public/themes/website/4/en/demo/components/footer.html +++ b/public/themes/website/4/en/demo/components/footer.html @@ -1,128 +1,68 @@ -
-
+ \ No newline at end of file diff --git a/public/themes/website/4/en/demo/components/header.html b/public/themes/website/4/en/demo/components/header.html index 39cb396..cc37c0f 100644 --- a/public/themes/website/4/en/demo/components/header.html +++ b/public/themes/website/4/en/demo/components/header.html @@ -1,93 +1,636 @@ -
-
- -
-
-
- -
+ +{php} +// 获取股票信息 +$stockInfo = getStockInfo('603933'); +// 判断涨跌颜色 +$priceColor = ''; +if ($stockInfo['change'] !== '--') { +$changeVal = floatval(str_replace(['+', '-'], '', $stockInfo['change'])); +if ($stockInfo['change'][0] === '+') { +$priceColor = 'color: #ef4335'; // 上涨红色 +} elseif ($stockInfo['change'][0] === '-') { +$priceColor = 'color: #00b894'; // 下跌绿色 +} +} +{/php} diff --git a/public/themes/website/4/en/demo/components/mask.html b/public/themes/website/4/en/demo/components/mask.html new file mode 100644 index 0000000..d90522b --- /dev/null +++ b/public/themes/website/4/en/demo/components/mask.html @@ -0,0 +1,206 @@ +
+
+ +
+ + + + + + + +
+
+
+ +
+
\ No newline at end of file diff --git a/public/themes/website/4/en/demo/contact.html b/public/themes/website/4/en/demo/contact.html new file mode 100644 index 0000000..33009d5 --- /dev/null +++ b/public/themes/website/4/en/demo/contact.html @@ -0,0 +1,307 @@ + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + {include file="components/header"} +
+
+

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

+
+
+ + Hotline +
+ {hcTaglib:setting name="company_phone" type="1" /} +

{$current_cate.description}

+
+
+ +
+ + +
+ +
+

+ Fill in the information below + and we will reply promptly +

+ +
+
+ + + + + + + +
+ + + + +
+
+
+ {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + + + + + diff --git a/public/themes/website/4/en/demo/detail_xiangqing.html b/public/themes/website/4/en/demo/detail_xiangqing.html deleted file mode 100644 index 73e9d91..0000000 --- a/public/themes/website/4/en/demo/detail_xiangqing.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - {include file="components/currency"} - - - - - - {include file="components/header"} - -
-
-
{$hc_content.title}
-
{:date('Y.m.d', strtotime($hc_content['publish_time']))}
-
- {$hc_content.content|raw} -
-
-
-

{hcTaglib:preContent /}

-

{hcTaglib:nextContent /}

-
- 返回列表 - -
-
-
- - {include file="components/footer"} - - \ No newline at end of file diff --git a/public/themes/website/4/en/demo/download.html b/public/themes/website/4/en/demo/download.html new file mode 100644 index 0000000..e43424f --- /dev/null +++ b/public/themes/website/4/en/demo/download.html @@ -0,0 +1,163 @@ + + + +{php}$download_keywords = input('keywords', '');{/php} + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} +
+
+
+

{$current_cate.title}

+

{$current_cate.description}

+
+
+
+ {php} + $download_cid = (string)input('cid', ''); + $download_all_id = (string)($current_cate['id'] ?? ''); + if ($download_cid === '') { + $download_cid = $download_all_id; + } + $download_keywords = (string)input('keywords', ''); + {/php} + + {volist name="sub_cates" id="vo"} + {php} + $count = getCategoryChildrenCount($vo['id']); + $vo_id = (string)($vo['id'] ?? ''); + $group_active = false; + $group_label = $vo['title'] ?? ''; + if ($count > 0) { + $group_children = (new \app\model\Category())->where('parent_id', $vo['id'])->field('id,title')->select()->toArray(); + foreach ($group_children as $gc) { + if ((string)($gc['id'] ?? '') === $download_cid) { + $group_active = true; + $group_label = $gc['title'] ?? $group_label; + break; + } + } + } + {/php} + {if $count > 0} +
+ + +
+ {else} + + {/if} + {/volist} +
+ +
+
+ {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="12" item="vo" sort="sort desc"} + {php}$dl_file = $vo['url'] ?? ($vo['thumbnail']['url'] ?? '');{/php} + + {/hcTaglib:contentPage} + +
+ {php} + $list_empty = isHcListEmpty($hc_content ?? null); + if ($list_empty) { + $empty_text = 'No matching resources'; + } + {/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/4/en/demo/faq.html b/public/themes/website/4/en/demo/faq.html new file mode 100644 index 0000000..30795e8 --- /dev/null +++ b/public/themes/website/4/en/demo/faq.html @@ -0,0 +1,135 @@ + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + +
+
+
+

{$current_cate.title}

+

{$current_cate.description}

+
+ +
+ {php} + $filter_cid = (string)input('cid', ''); + $filter_all_id = (string)($current_cate['id'] ?? ''); + if ($filter_cid === '') { + $filter_cid = $filter_all_id; + } + $filter_keywords = (string)input('keywords', ''); + {/php} +
+ + {volist name="sub_cates" id="vo"} + {php}$vo_id = (string)($vo['id'] ?? '');{/php} + + {/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 = 'No matching FAQs'; + } + {/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/4/en/demo/investment.html b/public/themes/website/4/en/demo/investment.html new file mode 100644 index 0000000..83a3057 --- /dev/null +++ b/public/themes/website/4/en/demo/investment.html @@ -0,0 +1,288 @@ + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + {include file="components/header"} +
+
+
+

+ {$current_cate.content|raw} +

+
+ +
+ {php} + $ui_invest_info = uiId('invest_info'); + $ui_invest_announce = uiId('invest_announce'); + $ui_invest_stock = uiId('invest_stock'); + $ui_invest_learn = uiId('invest_learn'); + $ui_invest_hotline = uiId('invest_hotline'); + {/php} + {hcTaglib:category id="$ui_invest_info" 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="$ui_invest_announce" item="vo" field="*"} +
+
+

{$vo.title}

+
+ + +
+
+
+
+ {hcTaglib:contentPage cid="$ui_invest_announce" mainField="*" subField="*" name="hc_content" limit="12" item="vo"} + + {/hcTaglib:contentPage} +
+
+
+
+ + +
+
+
+ {/hcTaglib:category} + {hcTaglib:category id="$ui_invest_stock" item="vo" field="*"} +
+

{$vo.title}

+
+
+

Stock code: {$stockInfo.code}

+
+ {$stockInfo.price} + Yuan + {$stockInfo.change}  {$stockInfo.changePercent} +
+
    +
  • + High (Yuan) + {$stockInfo.high} +
  • +
  • + Low (Yuan) + {$stockInfo.low} +
  • +
  • + Volume (10k lots) + {$stockInfo.volume} +
  • +
  • + Turnover (CNY 10k) + {$stockInfo.amount} +
  • +
+

As of {$stockInfo.updateTime}* Quotes delayed by 15 minutes or more.

+
+
+ RAYNEN intraday chart +
+
+
+ {/hcTaglib:category} + + {hcTaglib:category id="$ui_invest_learn" item="vo" field="*"} +
+

{$vo.title}

+
+ + +
+
+ {/hcTaglib:category} + + {hcTaglib:category id="$ui_invest_hotline" 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/4/en/demo/list_anli.html b/public/themes/website/4/en/demo/list_anli.html deleted file mode 100644 index 7a9505d..0000000 --- a/public/themes/website/4/en/demo/list_anli.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - {include file="components/currency"} - - - - - - - {include file="components/header"} - -
- {hcTaglib:category id="$current_cate['id']" item="vo" field="*"} - -
-
{$vo.title}
-
{$vo.description}
-
- {/hcTaglib:category} -
- -
-
-

房地产案例

-
宅极慧iHM广泛应用于房地产领域,打造完善的智能家居整体解决方案
-
-
-
-
- {hcTaglib:content cid="195" moduleId="1" name="contentList" item="case_top" mainField="*" subField="*" onlyData="2" sort="sort asc"} -
-
- -
-
- {volist name="$case_top.main_content.atlas" id="vo" } -
- -
- {/volist} -
-
- {/hcTaglib:content} -
-
-
-
-
-
-
-
- {hcTaglib:content cid="196" moduleId="1" name="contentList" item="case_top" mainField="*" subField="*" onlyData="2" sort="sort asc"} -
- {/hcTaglib:content} -
-
-
-
-
-
-

酒店案例

-
宅极慧iHM广泛应用于酒店领域,打造先进酒店客房控制系统
-
-
-
-
- {hcTaglib:content cid="197" moduleId="1" name="contentList" item="case_top" mainField="*" subField="*" onlyData="2" sort="sort asc"} -
-
- -
-
- {volist name="$case_top.main_content.atlas" id="vo" } -
- -
- {/volist} -
-
- {/hcTaglib:content} -
-
-
-
-
-
-
-
- {hcTaglib:content cid="198" moduleId="1" name="contentList" item="case_top" mainField="*" subField="*" onlyData="2" sort="sort asc"} -
- {/hcTaglib:content} -
-
-
-
- - {include file="components/footer"} - - - - - diff --git a/public/themes/website/4/en/demo/list_xinwen.html b/public/themes/website/4/en/demo/list_xinwen.html deleted file mode 100644 index 0502cae..0000000 --- a/public/themes/website/4/en/demo/list_xinwen.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - {include file="components/currency"} - - - - - - {include file="components/header"} - param('page'); - ?> - -
- {if empty($page) || $page<=1 } - {hcTaglib:content cid="186" moduleId="1" name="news" limit="2" onlyData="1"} -
- {volist name="news" id="vo" length="1" } - -
- {$vo.thumbnail.description} - -
-
- {$vo.title} -
{$vo.description}
-
{$vo.publish_time|date="Y-m-d"}
-
-
- {/volist} - {volist name="news" id="vo" length="1" offset="1" } - -
- -
-
-
- {$vo.title} -
-
-
- {$vo.description} -
-
{$vo.publish_time|date="Y-m-d"}
-
-
- {/volist} -
- {/hcTaglib:content} -
- {hcTaglib:contentPage cid="186" moduleId="1" name="newsList" limit="8" len="6" offset="2" item="vv" } - -
- {$vv.thumbnail.description} -
-
-
- {$vv.title} -
-
-
- {$vv.description} -
-
{$vv.publish_time|date='Y-m-d'}
-
-
- {/hcTaglib:contentPage} -
- - {else /} - -
- {hcTaglib:contentPage cid="186" name="news" item="vv" limit="8"} - -
- {$vv.thumbnail.description} -
-
-
- {$vv.title} -
-
-
- {$vv.description} -
-
{$vv.publish_time|date='Y-m-d'}
-
-
- {/hcTaglib:contentPage} -
- - - {/if} - - - -
- - {include file="components/footer"} - - diff --git a/public/themes/website/4/en/demo/news-detail.html b/public/themes/website/4/en/demo/news-detail.html new file mode 100644 index 0000000..9756296 --- /dev/null +++ b/public/themes/website/4/en/demo/news-detail.html @@ -0,0 +1,217 @@ + + + {php} // TDK设置 ================================= START + $tdk_title = $hc_content['seo_title'] ?? ''; + if(empty($tdk_title)){ + $tdk_title = $hc_content['title'] ?? 'Search results'; + } + $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/4/en/demo/news.html b/public/themes/website/4/en/demo/news.html new file mode 100644 index 0000000..8097e84 --- /dev/null +++ b/public/themes/website/4/en/demo/news.html @@ -0,0 +1,281 @@ + + + + + {php} + $current_cate_id = $current_cate['id'] ?? ''; + // var_dump($current_cate);exit; + {/php} + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + +
+ {php}$news_root_id = uiId('news');{/php} + {hcTaglib:category id="$news_root_id" item="vo" field="id,title,alias"} + {php} + $news_cate_info = $vo; + $news_cate_info_alias = $vo['alias'] ?? ''; + {/php} + {/hcTaglib:category} +
+
+

+ Learn about RAYNEN + News +

+
+ {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'] ?? ''); + $news_video_id = (string)uiId('news_video'); + $is_news_video = ($news_video_id !== '' && $news_video_id !== '0' && $news_active_cat === $news_video_id); + {/php} + All + {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" 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 && !$is_news_video} + + {/if} + +
+ + {hcTaglib:contentPage2 cid="$current_cate_id" mainField="id,category_id,title,sub_title,thumbnail,cover,content,description,create_time,publish_time,is_top" subField="" name="hc_content" limit="6" item="content_sub22" isTop="222"} + {/hcTaglib:contentPage2} + + {volist name="hc_content" id="vo_content"} + {php} + $content = $vo_content['content'] ?? ''; + $description = $vo_content['description'] ?? ''; + $create_time_str = $vo_content['publish_time'] ?? $vo_content['create_time']; + {/php} + + {if $is_news_video} + + {else /} + {php} + $is_item_video = ($news_video_id !== '' && $news_video_id !== '0' && (string)($vo_content['category_id'] ?? '') === $news_video_id); + {/php} +
+
+ +

{$vo_content.title}

+ {if !$is_item_video} + + Explore more + + + {/if} +
+
+ + {if $is_item_video} + {notempty name="description"} + {$description} + {/notempty} + + {/if} +
+
+ {/if} + {/volist} + +
+ + {php} + $list_empty = isHcListEmpty($hc_content ?? null); + if ($list_empty) { + $empty_text = $is_news_video ? 'No matching videos' : 'No matching news'; + } + {/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/4/en/demo/product.html b/public/themes/website/4/en/demo/product.html new file mode 100644 index 0000000..5260b23 --- /dev/null +++ b/public/themes/website/4/en/demo/product.html @@ -0,0 +1,484 @@ + + +{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} - RAYNEN + + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + + + +
+
+
+

{$title}

+ View selection table +
+ + {$thumbnail_name} +
+
+
+ + +
+
+
+ + +
+ +
+ {$rich_text_two|raw} +
+
+
+ + +
+
+

Specifications

+ +
+ Models + +
+ +
+ {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 /}No matching content + {/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' => 'Image', + 'jpg' => 'Image', + 'jpeg' => 'Image', + 'pdf' => 'PDF', + 'doc' => 'DOC', + 'docx' => 'DOC', + 'zip' => 'Archive', + '7z' => 'Archive', + 'rar' => 'Archive', + ]; + + {/php} +
+
+
+ Downloads preview +
+
+

Downloads

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

    + {$nameTmp} +

    +

    + {$descTmp} + + +

    +
    + + + + + + + + + + Download {$file_type_name} + +
  • + {/volist} + +
+
+
+
+ + + +
+ +{include file="components/mask"} + +{include file="components/footer"} + + + + + + + + + + + + + diff --git a/public/themes/website/4/en/demo/search.html b/public/themes/website/4/en/demo/search.html new file mode 100644 index 0000000..3887293 --- /dev/null +++ b/public/themes/website/4/en/demo/search.html @@ -0,0 +1,192 @@ + + +{php} +dd('此页面废弃'); +{/php} + + + + + + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+
+
+

Search

+ +
+ Popular searches: +
+ + + +
+
+
+ +
+ + + + + +
+ +
+ {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 /}Content{/if} + + +
+

+ {$vo.title} +

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

{$vo.description}

+ {/notempty} +
+ + Explore more + + + + + +
+
+ {/volist} +
+ + + + {php} + $list_empty = isHcListEmpty($list ?? null); + if ($list_empty) { + $empty_text = 'No matching results. Try another keyword'; + } + {/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/4/en/demo/single_changjing.html b/public/themes/website/4/en/demo/single_changjing.html deleted file mode 100644 index b94b855..0000000 --- a/public/themes/website/4/en/demo/single_changjing.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - 应用场景—智能家居系统集成方案—全屋智能家居系统—宅极慧iHM - - - - - - - - - - - - - - {include file="components/header"} - -
- {hcTaglib:content cid="$current_cate['id']" moduleId='7' mainField="*" subField="*" name="case_top" item="vo"} - -
- {/hcTaglib:content} -
- -
-
-
-
-
- {hcTaglib:subcategory pid="151" item="vo" sort=""} - - {/hcTaglib:subcategory} -
-
-
-
-
-
-
- {hcTaglib:content cid="$current_cate['id']" moduleId='7' mainField="*" subField="*" name="case_top" item="vo"} -
-

{$vo.sub_title}

-
{$vo.main_content.intro}
-
-
-
-
- {volist name="$vo.main_content.ico_two" id="vvo" } -
-
-

{$vvo.description}

-
-
-
-
- {/volist} -
-
-
-
-
-
-
- -
-
-

- {$vo.title}{$vo.main_content.time_slot} -

-
-
    - {volist name="$vo.main_content.atlas" id="vv" } -
  • - - - - - -
    {$vv.description}
    -
  • - {/volist} -
-
-
-
- {/hcTaglib:content} -
-
- - {include file="components/footer"} - - - - - - diff --git a/public/themes/website/4/en/demo/single_chanpin.html b/public/themes/website/4/en/demo/single_chanpin.html deleted file mode 100644 index 11479d2..0000000 --- a/public/themes/website/4/en/demo/single_chanpin.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - 产品中心—智能家居安装—智能家居整体解决方案服务商—宅极慧iHM - - - - - - - - - - - - - {include file="components/header"} - -
- {if $current_cate['parent_id'] == 150 } - -
- -
- {$current_cate.description} -
-
- {else /} - {hcTaglib:category id="$current_cate['parent_id']" field="id,title,banner,content,description"} - -
- -
- {$hc_category.description} -
-
- {/hcTaglib:category} - {/if} - -
- - -
-
- -
-
-
-
-
-
- 全部 -
- {hcTaglib:subcategory pid="$pid" item="vo" sort=""} - - {/hcTaglib:subcategory} -
-
-
-
-
-
- {hcTaglib:contentPage cid="$current_cate['id']" moduleId='6' mainField="*" all="1" subField="*" name="case_top" limit="18" item="vvo"} -
-
- -
- {$vvo.content|raw} -
-
-
-
-
-
- -
{$vvo.title}
-
{$vvo.description}
-
-
- {/hcTaglib:contentPage} -
- {$case_top|raw} -
-
- - {include file="components/footer"} - - - - - diff --git a/public/themes/website/4/en/demo/single_guanyu.html b/public/themes/website/4/en/demo/single_guanyu.html deleted file mode 100644 index 074583f..0000000 --- a/public/themes/website/4/en/demo/single_guanyu.html +++ /dev/null @@ -1,393 +0,0 @@ - - - - - - - {include file="components/currency"} - - - - - - - {include file="components/header"} - -
- {hcTaglib:category id="154" item="vo" field="*"} - -
-
{$vo.description}
-
{$vo.sub_title}
-
- {/hcTaglib:category} -
- -
- {hcTaglib:content cid="156" moduleId="1" mainField="*" subField="*" name="hc_content" limit="1" item="vo"} -
-

{$vo.title}

-
-
- {$vo.content|raw} - {/hcTaglib:content} - -
- {hcTaglib:contentPage cid="183" mainField="*" subField="*" name="hc_content" limit="2" item="vo" sort="sort asc"} - - {/hcTaglib:contentPage} -
-
- -
- -
-
- {hcTaglib:category id="184" item="vo" field="*"} -

{$vo.title}

-
{$vo.sub_title}
- {/hcTaglib:category} -
-
- {hcTaglib:content cid="184" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
-
-
-
{$vo.title}
-
{$vo.sub_title}
-
{$vo.description}
-
-
- {/hcTaglib:content} -
-
- -
-
- {hcTaglib:category id="185" item="vo" field="*"} -

{$vo.title}

-
{$vo.sub_title}
- {/hcTaglib:category} -
-
-
-
-
-
-
- {hcTaglib:content cid="185" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
-
- {$vo.title}年 -
- -
-
{$vo.sub_title}
-
{$vo.description}
-
- {/hcTaglib:content} -
-
-
-
- -
-
- {hcTaglib:category id="186" item="vo" field="*"} -

{$vo.title}

-
{$vo.sub_title}
- {/hcTaglib:category} -
-
-
-
- {hcTaglib:content cid="186" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} - - {/hcTaglib:content} -
-
-
-
-
- {hcTaglib:category id="186" item="vo" field="*"} - - 更多资讯 - - - {/hcTaglib:category} -
- -
-
- {hcTaglib:category id="187" item="vo" field="*"} -

{$vo.title}

-
{$vo.sub_title}
- {/hcTaglib:category} -
-
-
-
- {hcTaglib:content cid="187" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
- -
- {/hcTaglib:content} -
-
-
-
-
-
- -
-
- {hcTaglib:category id="188" item="vo" field="*"} -
-

{$vo.title}

-
{$vo.sub_title}
-
- - 查看岗位信息 - - - {/hcTaglib:category} -
-
- -
-
- {hcTaglib:category id="189" item="vo" field="*"} -

{$vo.title}

-
{$vo.sub_title}
- {/hcTaglib:category} -
-
-
-
- {hcTaglib:category id="190" item="vo" field="*"} -

{$vo.title}

- {/hcTaglib:category} -
- {hcTaglib:content cid="190" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
- {$vo.title} - {$vo.sub_title} -
- {/hcTaglib:content} -
-
-
- {hcTaglib:category id="191" item="vo" field="*"} -

{$vo.title}

- {$vo.sub_title} - {/hcTaglib:category} -
-
- {hcTaglib:content cid="192" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
- -
-

{$vo.sub_title}

- {$vo.title} -
-
- {/hcTaglib:content} -
-
- {hcTaglib:category id="193" item="vo" field="*"} -

{$vo.title}

- {/hcTaglib:category} -
    - {hcTaglib:content cid="193" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
  • -
    -

    {$vo.title}

    -
  • - {/hcTaglib:content} -
-
-
-
-
-
在线预约
- - - - 立即提交 -
-
-
-
-
- 提交成功 -
- - {include file="components/footer"} - - - - - - diff --git a/public/themes/website/4/en/demo/single_index.html b/public/themes/website/4/en/demo/single_index.html index e054495..1c2fbed 100644 --- a/public/themes/website/4/en/demo/single_index.html +++ b/public/themes/website/4/en/demo/single_index.html @@ -1,236 +1,971 @@ - + - - - - - {include file="components/currency"} - - - - - - -{include file="components/header"} - -
-
-
- {hcTaglib:content cid="155" moduleId="1" name="contentList" item="case_top" limit="10" mainField="*" subField="*" onlyData="2" sort="sort asc"} -
-
- - 智能家居系统集成方案 -
-
-
-

{$case_top['title']}

-

{$case_top['sub_title']}

-
-
- {:nl2br($case_top['description'])} -
+ + + + + + + + + + + {include file="components/header"} +
+ {php} + $ui_product = uiId('product'); + $ui_solution = uiId('solution'); + $ui_news = uiId('news'); + {/php} + {if !empty($sub_cates[0])} +
+
+
+ {php} + $news = getChildCategoriesContent($ui_news,$seller_id,5); + {/php} + {hcTaglib:content cid="$sub_cates[0]['id']" moduleId="1" item="vo" limit="5" mainField="*" subField="*" key="key"} +
+ + + {/if} + {/hcTaglib:content} +
- -
-
- -
-
- {hcTaglib:content cid="156" moduleId="1" mainField="*" subField="*" name="hc_content" limit="1" item="vov"} -
-
-

{$vov.sub_title}

-
{$vov.description}
-
-
- {$vov.main_content.content_desc} + + {/if} + {if !empty($sub_cates[1])} +
+
+
+

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

+
+ +
-
    - {hcTaglib:contentPage cid="157" mainField="*" subField="*" name="hc_content" limit="3" item="vo" sort="sort asc"} -
  • -

    {$vo.title}

    -
    - {$vo.sub_title} - {$vo.description} -
    -
  • - {/hcTaglib:contentPage} -
- {hcTaglib:category id="154" item="vo" field="*"} - - 了解更多 - - - {/hcTaglib:category} -
-
- 全屋智能家居系统 - {hcTaglib:category id="154" item="vo" field="*"} - - 了解更多 - - - {/hcTaglib:category} -
- {/hcTaglib:content} -
-
- -
- {hcTaglib:category id="150" item="vo" field="*"} -
-

{$vo.sub_title}

-
{$vo.description}
-
{$vo.desc}
-
- {/hcTaglib:category} - - -
- {hcTaglib:category id="159" item="vo" field="*"} -
-

{$vo.title}

-
{$vo.sub_title}
-
- {/hcTaglib:category} -
-
    - {hcTaglib:content cid="159" moduleId="1" name="contentList" item="case_top" limit="15" mainField="*" subField="*" onlyData="2" sort="sort asc"} -
  • {$case_top.title}
  • - {/hcTaglib:content} -
- {hcTaglib:category id="194" item="vo" field="*"} - - 了解更多 - - {/hcTaglib:category} -
-
- -
- {hcTaglib:category id="151" item="vo" field="*"} -
-

{$vo.title}

-
{$vo.sub_title}
-
- {/hcTaglib:category} -
-
-
- {hcTaglib:subcategory pid="151" name="hc_content" item="vo" sort="sort asc"} - {hcTaglib:content cid="$vo.id" moduleId='7' mainField="*" subField="*" name="case_top" item="vvo"} -
-
{$vvo.main_content.time_slot}
-
- 智能家居系统集成方案 - -
-
- 智能家居系统集成方案 - - - -
-
- {$vvo.title} -
{$vvo.description}
- 了解更多 -
-
- {/hcTaglib:content} - {/hcTaglib:subcategory} +
+
+ {hcTaglib:category id="$ui_product" item="vo" field="*"} + Explore more + {/hcTaglib:category} +
+
+
+ +
+
-
-
-
-
- -
-
-
- -
-
- -
- {hcTaglib:category id="161" item="vo" field="*"} -
-

{$vo.title}

-
{$vo.sub_title}
-
- {/hcTaglib:category} -
-
- {hcTaglib:content cid="161" moduleId="1" name="contentList" item="case_top" mainField="*" subField="*" onlyData="2" sort="sort asc"} -
-
全屋智能家居系统
-

{$case_top.title}

-
{$case_top.sub_title}
-
-
+ + {/if} + {if !empty($sub_cates[2])} +
+
+
+ {hcTaglib:allSubCategory pid="$ui_solution" field="*" max-level="2" item="vo" sort=""} +
+
+ +
+
+
+

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

+

{$vo.title ?? ''}

+

+ {$vo.description ?? ''}

+
    + {volist name="vo.children" id="vv"} +
  • {$vv.title}
  • + {/volist} +
+ Explore more +
+
+ {/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} +
- {hcTaglib:category id="160" item="vo" field="*"} - - 立即在线估价 - - - {/hcTaglib:category} -
-
- -{include file="components/footer"} - - - - - + + {/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']); + $stats = array_chunk($arr, 2); // 每2个一组 + {/php} +
    + {foreach $stats as $item} +
  • + {$item[0]} + {$item[1]} +
  • + {/foreach} +
+
+
+
+ {/if} + {if !empty($sub_cates[5])} +
+
+
+

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

+ {hcTaglib:category id="$ui_news" item="vo" field="*"} + Explore more + {/hcTaglib:category} +
+
+ {php}$news = getChildCategoriesContent($ui_news,$seller_id,4);{/php} + {if(!empty($news[0]))} + + {/if} + + +
+
+ {hcTaglib:category id="$ui_news" item="vo" field="*"} + Explore more + {/hcTaglib:category} +
+
+
+ {/if} + + + {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + + + diff --git a/public/themes/website/4/en/demo/single_jiage.html b/public/themes/website/4/en/demo/single_jiage.html deleted file mode 100644 index 8a33894..0000000 --- a/public/themes/website/4/en/demo/single_jiage.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - {include file="components/currency"} - - - - - - {include file="components/header"} - -
- {hcTaglib:category id="153" item="vo" field="*"} - - {/hcTaglib:category} -
-
- {hcTaglib:category id="174" item="vo" field="*"} -
{$vo.sub_title}
-
{$vo.title}
-
{$vo.description}
- {/hcTaglib:category} - - 开始估算价格 - - -
-
- {hcTaglib:category id="175" item="vo" field="*"} -
1{$vo.title}?*
- {/hcTaglib:category} -
- {hcTaglib:content cid="175" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
-
- -
-

- {$vo.sub_title} - {$vo.title} -

-
- {/hcTaglib:content} -
- OK -
-
- {hcTaglib:category id="176" item="vo" field="*"} -
2{$vo.title}?*
-
{$vo.description}
-
- {hcTaglib:content cid="176" moduleId='1' mainField="*" subField="*" name="case_top" item="vvo" sort="sort asc"} - - {/hcTaglib:content} -
- - {/hcTaglib:category} - OK -
-
- {hcTaglib:category id="177" item="vo" field="*"} -
3{$vo.title}?*
-
{$vo.description}
-
- {hcTaglib:content cid="177" moduleId='1' mainField="*" subField="*" name="case_top" item="vvo" sort="sort asc"} - - {/hcTaglib:content} -
- - {/hcTaglib:category} - OK -
-
- {hcTaglib:category id="178" item="vo" field="*"} -
4{$vo.title}?*
- {/hcTaglib:category} -
- {hcTaglib:content cid="178" moduleId='1' mainField="*" subField="*" name="case_top" item="vvo" sort="sort asc"} - - {/hcTaglib:content} -
-
- {hcTaglib:content cid="179" moduleId='1' mainField="*" subField="*" name="case_top" item="vvo" sort="sort asc"} - {$vvo.title} - {/hcTaglib:content} -
- OK -
-
- {hcTaglib:category id="180" item="vo" field="*"} -
5{$vo.title}?*
-
{$vo.description}
-
- {hcTaglib:content cid="180" moduleId='1' mainField="*" subField="*" name="case_top" item="vvo" sort="sort asc"} - - {/hcTaglib:content} -
- - {/hcTaglib:category} - OK -
-
- {hcTaglib:category id="181" item="vo" field="*"} -
6{$vo.title}?*
-
{$vo.description}
-
- {hcTaglib:content cid="181" moduleId='1' mainField="*" subField="*" name="case_top" item="vvo" sort="sort asc"} - - {/hcTaglib:content} -
- - {/hcTaglib:category} - OK -
-
- {hcTaglib:category id="182" item="vo" field="*"} -
7{$vo.title}?*
-
- {hcTaglib:content cid="182" moduleId='1' mainField="*" subField="*" name="case_top" item="vvo" sort="sort asc"} - - {/hcTaglib:content} -
- - {/hcTaglib:category} - OK -
-
-
8差不多了!请提供您的联系方式 *
-
- - - - Submit -
-
-
-
-
- 根据您的需求
您的智能家居预算预估 -
-
- 元 -
-
- 感谢您完成智能家居预估配置
我们将会有专业的团队与您联系
与您一同打造您理想中的智能家居 -
- {hcTaglib:category id="194" item="vo" field="*"} - 查看案例 - {/hcTaglib:category} -
-
-
-
- -
-
-

提示框

-
- 确定 -
-
- - {include file="components/footer"} - - - - diff --git a/public/themes/website/4/en/demo/single_jiejue.html b/public/themes/website/4/en/demo/single_jiejue.html deleted file mode 100644 index 37223a1..0000000 --- a/public/themes/website/4/en/demo/single_jiejue.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - {include file="components/currency"} - - - - - - - - {include file="components/header"} - -
- {hcTaglib:category id="$current_cate['id']" item="vo" field="*"} - -
-
{$vo.title}
-
{$vo.description}
-
- {/hcTaglib:category} -
- -
- {hcTaglib:category id="168" item="vo" field="*"} -
-

{$vo.title}

-
{$vo.sub_title}
-
- {/hcTaglib:category} -
-
- {hcTaglib:content cid="168" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
-
{$vo.title}
- -
{$vo.description}
-
- {/hcTaglib:content} -
-
- {hcTaglib:content cid="169" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
-
-
-
-
{$vo.title}
-
{$vo.description}
-
-
- {/hcTaglib:content} -
-
-
-
- {hcTaglib:category id="170" item="vo" field="*"} -
-

{$vo.title}

-
{$vo.sub_title}
-
- {/hcTaglib:category} -
-
- {hcTaglib:subcategory pid="170" item="vo" field="*"} - {$vo.title} - {/hcTaglib:subcategory} -
-
- {hcTaglib:subcategory pid="170" item="vo" field="*"} -
-
-
-
- {hcTaglib:content cid="$vo.id" moduleId='1' mainField="*" subField="*" name="case_top" item="vvo"} -
-
-
- {volist name="$vvo.main_content.atlas" id="vv" } -
- {/volist} -
-
-
-
-
-
-
-
-
- {$vvo.title} -
-
- {$vvo.description} -
-
- {/hcTaglib:content} -
- -
-
-
- {/hcTaglib:subcategory} -
-
-
-
- {hcTaglib:category id="170" item="vo" field="*"} -
-

{$vo.title}

-
{$vo.sub_title}
-
- {/hcTaglib:category} -
-
- {hcTaglib:subcategory pid="172" item="vo" field="*"} - - {$vo.title} -
-
- {/hcTaglib:subcategory} - -
-
- {hcTaglib:subcategory pid="172" item="vo" field="*"} -
-
-
-
-
-
-
- {hcTaglib:content cid="$vo.id" moduleId='1' mainField="*" subField="*" name="case_top" item="vvo"} -
-
{$vvo.title}
-
- {$vvo.description} -
-
-
- {volist name="$vvo.main_content.atlas" id="vo" } -
- {$vo.description} -
- {/volist} -
-
-
-
-
-
-
-
-
- {/hcTaglib:content} -
-
-
- {/hcTaglib:subcategory} -
-
-
- - {include file="components/footer"} - - - - - - diff --git a/public/themes/website/4/en/demo/single_jishu.html b/public/themes/website/4/en/demo/single_jishu.html deleted file mode 100644 index 2d7f828..0000000 --- a/public/themes/website/4/en/demo/single_jishu.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - {include file="components/currency"} - - - - - - - - {include file="components/header"} - -
- {hcTaglib:category id="199" item="vo" field="*"} - -
-
{$vo.title}
-
{$vo.sub_title}
-
- {/hcTaglib:category} -
- -
-
- {hcTaglib:category id="200" item="vo" field="*"} -

{$vo.title}

-
{$vo.sub_title}
- {/hcTaglib:category} -
-
- {hcTaglib:content cid="200" moduleId='1' mainField="*" subField="*" name="case_top" item="vo"} -
- -
-
{$vo.title}
-
- {/hcTaglib:content} -
-
-
-
- {hcTaglib:category id="201" item="vo" field="*"} -

{$vo.title}

-
{$vo.sub_title}
- {/hcTaglib:category} -
-
-
-
- {hcTaglib:content cid="201" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
-
- -
-
-

{$vo.title}

-
-
-
-
{$vo.title}
- -
{$vo.description}
-
-
-
- {/hcTaglib:content} -
-
-
-
-
-
-
- {hcTaglib:category id="202" item="vo" field="*"} -

{$vo.title}

-
{$vo.sub_title}
- {/hcTaglib:category} -
-
-
- {hcTaglib:content cid="202" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
-

{$vo.title}

-
{$vo.description}
-
- {/hcTaglib:content} -
-
- {hcTaglib:category id="202" item="vo" field="*"} - - {/hcTaglib:category} -
-
-
- - {include file="components/footer"} - - - - - - diff --git a/public/themes/website/4/en/demo/single_search.html b/public/themes/website/4/en/demo/single_search.html index d76a936..7281c17 100644 --- a/public/themes/website/4/en/demo/single_search.html +++ b/public/themes/website/4/en/demo/single_search.html @@ -2,93 +2,296 @@ - - - - {include file="components/currency"} - - - + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + - - {include file="components/header"} -
-
-
- 搜索结果 -
- -
- {volist name="list" id="vo"} - - {if $parentId == 38 } - -

{$vo.title}

-
- {$vo.description} -
- 了解更多 -
- {else /} - -

{$vo.title}

-
- {$vo.description} -
- 了解更多 -
- {/if} - - {/volist} -
+ + + {include file="components/header"} + +
+
+
+

Search

+ +
+ Popular searches: +
+ {php}$ui_search_hot = uiId('search_hot');{/php} + {hcTaglib:category id="$ui_search_hot" 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} + +
- {$list_page|raw} -
- - {include file="components/footer"} - - + } + $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'] ?? 'Content'; + $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'} + + Download + + + {elseif $sr_kind == 'product' /} + + Learn more + + + {elseif $sr_kind == 'announce' /} + + Explore more + + + + + {elseif $sr_show_more /} + + Explore more + + + + + {/if} +
+
+ {/volist} +
+ + {php} + $list_empty = isHcListEmpty($list ?? null); + if ($list_empty) { + $empty_text = 'No matching results. Try another keyword'; + } + {/php} + {if $list_empty} + {include file="components/empty"} + {else /} + {$list_page|raw} + {/if} + + +
+ + + {include file="components/mask"} + + {include file="components/footer"} + + + + + + + + + + - \ No newline at end of file + diff --git a/public/themes/website/4/en/demo/single_zhaopin.html b/public/themes/website/4/en/demo/single_zhaopin.html deleted file mode 100644 index ca85a24..0000000 --- a/public/themes/website/4/en/demo/single_zhaopin.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - {include file="components/currency"} - - - - - - - {include file="components/header"} - -
- {hcTaglib:category id="$current_cate['id']" item="vo" field="*"} - -
-
{$vo.title}
-
{$vo.sub_title}
-
- {/hcTaglib:category} -
-
-
-
-
- 职能: -
-
- 全部 - {hcTaglib:subcategory pid="244" moduleId="9" item="vo" field="id,title"} - {$vo.title} - {/hcTaglib:subcategory} -
-
-
-
- 地区: -
-
- 全部 - {hcTaglib:subcategory pid="245" moduleId="9" item="vo" field="id,title"} - {$vo.title} - {/hcTaglib:subcategory} - - -
-
-
- {if isset($job)} - {volist name="job" id="vo"} -
-
-
{$vo.title}
-
地点:{$vo.sub_title}
- -
-
-
-
-
岗位职责:
-
- {$vo.content|raw} -
-
-
-
任职要求:
-
- {$vo.main_content.rzyq|raw} -
-
-
-
待遇简介
-
- {$vo.main_content.dyjj|raw} -
-
-
-
优享待遇
-
- {$vo.main_content.hxgg|raw} -
-
-
-
-
- {/volist} - {else /} - {hcTaglib:contentPage mainField="*" subField="*" name="hc_content" limit="" item="vo"} -
-
-
{$vo.title}
-
地点:{$vo.sub_title}
- -
-
-
-
-
岗位职责:
-
- {$vo.content|raw} -
-
-
-
任职要求:
-
- {$vo.main_content.rzyq|raw} -
-
-
-
待遇简介
-
- {$vo.main_content.dyjj|raw} -
-
-
-
核心骨干股权激励计划
-
- {$vo.main_content.hxgg|raw} -
-
-
-
-
- {/hcTaglib:contentPage} - {/if} -
- {if isset($job)} - {$job|raw} - {else /} - {$hc_content|raw} - {/if} - -
-
- - {include file="components/footer"} - - - - diff --git a/public/themes/website/4/en/demo/solution.html b/public/themes/website/4/en/demo/solution.html new file mode 100644 index 0000000..af039c0 --- /dev/null +++ b/public/themes/website/4/en/demo/solution.html @@ -0,0 +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"} + + + + + + + + + + + + + + diff --git a/public/themes/website/4/en/demo/solution2.html b/public/themes/website/4/en/demo/solution2.html new file mode 100644 index 0000000..4f3e11c --- /dev/null +++ b/public/themes/website/4/en/demo/solution2.html @@ -0,0 +1,281 @@ + + + +{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 ?? ''}

+ Explore more +
+
+ {$vo.title ?? ''} +
+
+ {/volist} +
+
+
+
+ {/if} + {if !empty($sub_cates[4])} + + + {/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/4/en/demo/video.html b/public/themes/website/4/en/demo/video.html new file mode 100644 index 0000000..4171930 --- /dev/null +++ b/public/themes/website/4/en/demo/video.html @@ -0,0 +1,166 @@ + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+
+
+

{$current_cate.title}

+

{$current_cate.description}

+
+ +
+ {php} + $filter_cid = (string)input('cid', ''); + $filter_all_id = (string)($current_cate['id'] ?? ''); + if ($filter_cid === '') { + $filter_cid = $filter_all_id; + } + $filter_keywords = (string)input('keywords', ''); + $filter_is_all = ($filter_cid === $filter_all_id); + $filter_label = 'Filter by product'; + if (!$filter_is_all && !empty($sub_cates)) { + foreach ($sub_cates as $sc) { + if ((string)($sc['id'] ?? '') === $filter_cid) { + $filter_label = $sc['title'] ?? $filter_label; + break; + } + } + } + {/php} +
+ + +
+ +
+ +
+ {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 = 'No matching videos'; + } + {/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/4/zh/demo/about-2/index.html b/public/themes/website/4/zh/demo/about-2/index.html deleted file mode 100644 index d9f8f05..0000000 --- a/public/themes/website/4/zh/demo/about-2/index.html +++ /dev/null @@ -1,656 +0,0 @@ - - - - - - - - 智能家居整体解决方案服务商 - 宅极慧 - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-

智能家居整体解
决方案服务商

-

关于宅极慧iHM

-
-
-
-
-
-

宅极会慧iHM

-

关于宅极会慧

-
-
-

- 宅极慧iHM为韩浓机电集团旗下品牌,创立于2006年,秉承着成为客户满意的智能家居服务商的理念,打造与用户共筑一个更个性、更智慧的家的愿景,是专业的智能家居整体解决方案服务商。致力于打造智能家居泛生态系统,严选国内外知名品牌,为客户度身定制高体验感的智能系统集成方案。 -

-

- 宅极慧iHM在上海、广州和香港等地设办事处,以“体验化、国际化”为目标,秉承五星智能家居管家服务体系,我们致力于为广大家庭提供更个性,更便捷舒适的智能生活体验,在设计,产品、服务,安装,调试方面不断迭代,让每一个客户省心,舒心,为您缔造五星级般的智能控制体验。 -

-

- 宅极慧iHM客户遍布全国,落地房间数目超过5000+个,遍布一二三线城市,为多家超五星酒店和地产开发商提供智能家居系统解决方案,包括文华东方酒店,四季酒店,丽思卡尔顿酒店,华尔道夫酒店,朗庭酒店,凯悦酒店,洲际酒店,喜达屋集团,瑞吉酒店,和平饭店,中信集团,金茂集团,中粮集团,瑞安集团等。目标为全球亿万家庭创造智能个性新生活! -

-
-
-
-
-

- 2006 - 年 -

-

公司成立时间

-
-
-
-
-

50000+

-

智能化设计

-
-
-
-
-

123级城市

-

落地化项目区域分布

-
-
-
-
- -
-
-
-
-
-
-

企业文化

-

以客户为中心 以员公为中心

-
-
- -
- 现代智能家居 -
-

我们的愿景

-

OUR VISION

-

成为国际知名的智能家居集成商

-
-
-
-
-

我们的理念

-

OUR CONCEPT

-

与用户共筑一个更个性更智慧的家

-
- 城市夜景 -
-
- 团队合作 -
-

价值观

-

VALUES

-

利他思想、永不言弃、团队合作

-
-
-
-
- -
-
-
-
-

发展历程

-

经历十多年努力,不畏艰难,勇于迎接挑战

-
-
-
-
-
-
-

2023

-
-
-
-
-
- -

升级

-

升级“宅极慧iHM”品牌,专注于智能家居领域,与用户共筑一个更个性,更智慧的家。

-
-
-
-
-

2022

-
-
-
-
-
- -

新片

-

在广州设立办事处,以“体验化、国际化”为目标,目标为全球亿万家庭创造智能个性新生活!

-
-
-
-
-

2019

-
-
-
-
-
- -

深耕

-

在智能领域深耕不辍,韩浓机电向全球前沿品牌迈进。

-
-
-
-
-

2015

-
-
-
-
-
- -

普及

-

随着业务的不断发展壮大,韩浓机电完成智能化项目遍布全国。

-
-
-
-
-

2014

-
-
-
-
-
- -

普及

-

随着业务的不断发展壮大,韩浓机电完成智能化项目遍布全国。

-
-
-
-
-

2013

-
-
-
-
-
- -

普及

-

随着业务的不断发展壮大,韩浓机电完成智能化项目遍布全国。

-
-
-
-
-
- - -
-
-
-
-
-
-
-

新闻资讯

-

抓住机会,了解市场前沿动态

-
-
-
-
-
-
- -

智能实力派!宅极慧HM好口碑获得消费者点赞

-

2023-04-07

-

随着科技的不断发展,全屋智能家居方案正在逐渐成为人们生活的一部分。据Statista调查数据统计2...

-
-
-
-
- -

智能实力派!宅极慧iHM全屋智能系统,为你打造随心所欲的智慧生活方式

-

2023-02-13

-

随着物联网与信息技术的发展,催生了“宅经济“懒人经济”兴起,智能家居因其智能的交互方式正成...

-
-
-
-
- -

智能实力派!智能家居新蓝海新星,宅极慧iHM打造最懂你的智慧家

-

2023-02-10

-

近日,国务院发布了《扩大内需战略规划纲要(2022-2035年)》,其中提到要促进家庭装修消...

-
-
-
-
- -

智能实力派!宅极慧HM好口碑获得消费者点赞

-

2023-04-07

-

随着科技的不断发展,全屋智能家居方案正在逐渐成为人们生活的一部分。据Statista调查数据统计2...

-
-
-
-
- -

智能实力派!宅极慧iHM全屋智能系统,为你打造随心所欲的智慧生活方式

-

2023-02-13

-

随着物联网与信息技术的发展,催生了“宅经济“懒人经济”兴起,智能家居因其智能的交互方式正成...

-
-
-
-
- -

智能实力派!智能家居新蓝海新星,宅极慧iHM打造最懂你的智慧家

-

2023-02-10

-

近日,国务院发布了《扩大内需战略规划纲要(2022-2035年)》,其中提到要促进家庭装修消...

-
-
-
-
-
- - -
-
- -
-
- -
-
-
-

加入宅极慧iHM,一起创造大场面

-

我们一直坚信,我们的产品服务能提升人们的生活体验

-
- -
-
-
-
-
-
-

联系我们

-

用智能科技,让每一座建筑都更懂生活

-
-
- -
- -
-
- -
- 186 2136 8747 - 9430 9797(香港) -
-
- -
- -
- terence@yzihm.com -
-
- -
-
- 微信 - 扫码添加
- 微信
-
-
- 微信 - 扫码添加
Whatsapp
-
-
- -
- -
-
- - 广州宅极慧智能家居有限公司 -
-
- - 上海韩浓机电有限公司 -
-
- - 香港宅极慧有限公司 -
-
-
-
- -
-

在线预约

-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/public/themes/website/4/zh/demo/about-history.html b/public/themes/website/4/zh/demo/about-history.html new file mode 100644 index 0000000..01cdc8d --- /dev/null +++ b/public/themes/website/4/zh/demo/about-history.html @@ -0,0 +1,119 @@ + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + +
+ {php} + $ui_about_history = uiId('about_history'); + $seller_id = (int)($seller_id ?? 1); + $history_items = getContentByCategory($ui_about_history, $seller_id, 9999, 'sort desc', []); + if (!is_array($history_items)) { + $history_items = []; + } + usort($history_items, function ($a, $b) { + return (int)($b['sub_title'] ?? 0) - (int)($a['sub_title'] ?? 0); + }); + foreach ($history_items as &$history_item) { + if (!empty($history_item['content'])) { + $history_item['content'] = htmlspecialchars_decode($history_item['content']); + } + } + unset($history_item); + {/php} +
+
+ + +
+ {volist name="history_items" id="item"} + {php}$year = trim((string)($item['sub_title'] ?? ''));{/php} + {if $year !== ''} +
+
+ {$item.content|raw} +
+
+ {/if} + {/volist} +
+
+
+
+ + {include file="components/mask"} + +{include file="components/footer"} + + + + + + + + + + + diff --git a/public/themes/website/4/zh/demo/about.html b/public/themes/website/4/zh/demo/about.html new file mode 100644 index 0000000..3fca20c --- /dev/null +++ b/public/themes/website/4/zh/demo/about.html @@ -0,0 +1,354 @@ + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + +{include file="components/header"} + +
+
+
+

+ {$current_cate.content|raw} +

+
+ +
+ {php} + $ui_about_intro = uiId('about_intro'); + $ui_about_history = uiId('about_history'); + $ui_about_culture = uiId('about_culture'); + $ui_about_global = uiId('about_global'); + $ui_about_members = uiId('about_members'); + $ui_about_honors = uiId('about_honors'); + $ui_about_csr = uiId('about_csr'); + $ui_download_csr = uiId('download_csr'); + $csr_report_href = getMuiLangUrl('/download.html'); + if ($ui_download_csr > 0) { + $csr_report_href .= '?cid=' . $ui_download_csr; + } + {/php} + {hcTaglib:category id="$ui_about_intro" 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="$ui_about_history" item="vo" field="*"} +
+
+

{$vo.title}

+
+ + +
+
+
+
+ {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="9999" mainField="id,title,sub_title,content,thumbnail" sort="sort desc" subField="" onlyData="2"} + + {/hcTaglib:content} +
+
+
+
+ + +
+
+
+ {/hcTaglib:category} + {hcTaglib:category id="$ui_about_culture" 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="$ui_about_global" 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="$ui_about_members" item="vo" field="*"} +
+ +
+

{$vo.title}

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

{$case_top.title}

+

+ {$case_top.content|strip_tags} +

+
+ 探索更多 +
+
+ {php}$member_idx++;{/php} + {/hcTaglib:content} +
+
+
+ {php}$member_idx = 0;{/php} + {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="50" mainField="id,title,sub_title,content,thumbnail" sort="sort asc" subField="" onlyData="2"} + + {php}$member_idx++;{/php} + {/hcTaglib:content} +
+
+
+
+ {/hcTaglib:category} + + {hcTaglib:category id="$ui_about_honors" item="vo" field="*"} +
+
+

{$vo.title}

+

{$vo.description}

+
+
+
    + {hcTaglib:content cid="$vo.id" moduleId="1" name="contentList" item="case_top" limit="999" mainField="id,url,title,sub_title,content,thumbnail" sort="sort asc" subField="" onlyData="2"} +
  • + {$case_top.title} + + + + + + + + + 查看证书 + + +
  • + {/hcTaglib:content} +
+ +
+
+ {/hcTaglib:category} + + {hcTaglib:category id="$ui_about_csr" 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/4/zh/demo/about/index.html b/public/themes/website/4/zh/demo/about/index.html deleted file mode 100644 index d96f0fc..0000000 --- a/public/themes/website/4/zh/demo/about/index.html +++ /dev/null @@ -1,615 +0,0 @@ - - - - - - - - 智能家居整体解决方案服务商 - 宅极慧 - - - - - - - - - - - - - - - - - - - - - - - - -{include file="components/header"} - - -
- {hcTaglib:category id="42" item="vo" field="*"} -
-
-

- {$vo.description} - - -

-

{$vo.sub_title}

-
-
- {/hcTaglib:category} - -
-
- {hcTaglib:content cid="44" moduleId="1" mainField="*" subField="*" name="hc_content" limit="1" item="vo"} -
-

{$vo.title}

-

{$vo.sub_title}

-
-
-

- {$vo.content|nl2br|raw} - -

-
- - - - - - -
- {/hcTaglib:content} - -
- {hcTaglib:contentPage cid="45" mainField="*" subField="*" name="hc_content" limit="3" item="vvo" sort="sort asc"} -
-
-

- {$vvo.sub_title} - {$vvo.description} -

-

{$vvo.title}

-
-
- {/hcTaglib:contentPage} - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- {hcTaglib:contentPage cid="73" mainField="*" subField="*" name="hc_content" limit="2" item="vo" sort="sort asc"} - - {/hcTaglib:contentPage} -
-
-
- -
-
- {hcTaglib:category id="74" item="vo" field="*"} -
-

{$vo.title}

-

{$vo.sub_title}

-
- {/hcTaglib:category} - -
- - {hcTaglib:content cid="74" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} - {php} - $tmp_flag = ($key % 2 == 0) ? 0 : 1; - {/php} -
- {if $tmp_flag == 1} - {$vo.title} - {/if} -
-

{$vo.title}

-

{$vo.sub_title}

-

{$vo.description}

-
- {if $tmp_flag == 0} - {$vo.title} - {/if} - -
- {/hcTaglib:content} - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
- - -
-
- -
- {hcTaglib:category id="75" item="vo" field="*"} -

{$vo.title}

-

{$vo.sub_title}

- {/hcTaglib:category} -
- - -
-
-
- {hcTaglib:content cid="75" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
-
-

{$vo.title}

-
-
-
-
-
- -

{$vo.sub_title}

-

{$vo.description}

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

{$vo.title}

-

{$vo.sub_title}

- {/hcTaglib:category} -
- -
-
-
- {hcTaglib:content cid="76" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
-
- -

{$vo.title}

-

{:date('Y-m-d', strtotime($vo['publish_time']))}

-

{$vo.description}

-
-
- {/hcTaglib:content} - -
-
- -

智能实力派!宅极慧iHM全屋智能系统,为你打造随心所欲的智慧生活方式

-

2023-02-13

-

随着物联网与信息技术的发展,催生了“宅经济“懒人经济”兴起,智能家居因其智能的交互方式正成...

-
-
- -
-
- -

智能实力派!智能家居新蓝海新星,宅极慧iHM打造最懂你的智慧家

-

2023-02-10

-

近日,国务院发布了《扩大内需战略规划纲要(2022-2035年)》,其中提到要促进家庭装修消...

-
-
- -
-
- -

智能实力派!宅极慧HM好口碑获得消费者点赞

-

2023-04-07

-

随着科技的不断发展,全屋智能家居方案正在逐渐成为人们生活的一部分。据Statista调查数据统计2...

-
-
- -
-
- -

智能实力派!宅极慧iHM全屋智能系统,为你打造随心所欲的智慧生活方式

-

2023-02-13

-

随着物联网与信息技术的发展,催生了“宅经济“懒人经济”兴起,智能家居因其智能的交互方式正成...

-
-
- -
-
- -

智能实力派!智能家居新蓝海新星,宅极慧iHM打造最懂你的智慧家

-

2023-02-10

-

近日,国务院发布了《扩大内需战略规划纲要(2022-2035年)》,其中提到要促进家庭装修消...

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

{$vo.title}

-

{$vo.sub_title}

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

{$vo.title}

-

{$vo.sub_title}

- {/hcTaglib:category} -
-
- -
- -
- -
- -
- {hcTaglib:content cid="80" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} - - {$vo.title}{$vo.sub_title} - {/hcTaglib:content} -
-
- - -
- {hcTaglib:category id="81" item="vo" field="*"} - -
- {$vo.sub_title} -
- {/hcTaglib:category} -
- - -
- {hcTaglib:content cid="82" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
- {$vo.title} - {$vo.sub_title}
- {$vo.title}
-
- {/hcTaglib:content} - - - - - - - - - - - -
- - -
- - -
- - {hcTaglib:content cid="83" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
- - {$vo.title} -
- - - - - - - - - - - {/hcTaglib:content} - -
-
-
- -
-

在线预约

-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -{include file="components/footer"} - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/public/themes/website/4/zh/demo/announce.html b/public/themes/website/4/zh/demo/announce.html new file mode 100644 index 0000000..cd76e73 --- /dev/null +++ b/public/themes/website/4/zh/demo/announce.html @@ -0,0 +1,150 @@ + + + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+
+
+

{$current_cate.title}

+

{$current_cate.description}

+
+ +
+ {php} + $filter_cid = (string)input('cid', ''); + $filter_all_id = (string)($current_cate['id'] ?? ''); + if ($filter_cid === '') { + $filter_cid = $filter_all_id; + } + $filter_keywords = (string)input('keywords', ''); + $filter_is_all = ($filter_cid === $filter_all_id); + $filter_label = '按产品筛选'; + if (!$filter_is_all && !empty($sub_cates)) { + foreach ($sub_cates as $sc) { + if ((string)($sc['id'] ?? '') === $filter_cid) { + $filter_label = $sc['title'] ?? $filter_label; + break; + } + } + } + {/php} +
+ + +
+ +
+ +
+ {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/4/zh/demo/case-page/index.html b/public/themes/website/4/zh/demo/case-page/index.html deleted file mode 100644 index 1c92f24..0000000 --- a/public/themes/website/4/zh/demo/case-page/index.html +++ /dev/null @@ -1,388 +0,0 @@ - - - - - - - - 经典案例 - 宅极慧 - - - - - - - - - - - - - - - - - - - - - - - - -{include file="components/header"} - - -
- {hcTaglib:category id="253" item="vo" field="*"} -
-
-

{$vo.sub_title}

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

{$vo.sub_title}

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

{$vo.title}

- {/hcTaglib:category} - -
- -
-
-
- {hcTaglib:subcategory pid="310" name="hc_subcategory" item="vo" sort="sort asc" onlyData="1"} - {/hcTaglib:subcategory} - - {php} - $finalData = []; - $allData = []; - {/php} - {volist name="hc_subcategory" id="vo" key="key"} - {hcTaglib:contentPage2 cid="$vo.id" mainField="*" subField="*" name="hc_content" limit="10" item="vo22" sort="sort asc"} - {php} - $finalData[$vo['id']][] = $vo22; - if (!empty($vo22)) { - $allData[] = $vo22->toArray(); - } - {/php} - {/hcTaglib:contentPage2} - {/volist} - - {php} - // 进行多字段排序 - if (!empty($allData)) { - // 提取排序字段 - $sorts = array_column($allData, 'sort'); - // $createTimes = array_column($allData, 'create_time'); - // 多字段排序:sort 倒序,create_time 倒序 - // array_multisort($sorts, SORT_DESC, $createTimes, SORT_DESC, $allData); - array_multisort($sorts, SORT_DESC, $allData); - } - {/php} - -
-
- - {volist name="allData" id="vo" key="key"} -
-
- {$vo.title} -
-
-

{$vo.title}

-

{$vo.description} -

-
-
- - {/volist} -
-
- - {volist name="hc_subcategory" id="vo" key="key"} -
-
- {php} - $currentList = $finalData[$vo['id']] ?? []; - {/php} - {volist name="currentList" id="vo2" key="key"} -
-
- {$vo2.title} -
-
-

{$vo2.title}

-

{$vo2.description} -

-
-
- {/volist} - -
-
- {/volist} - -
-
-
-
- -
-
-
-
-

联系我们

-

用智能科技让每一座建筑都更懂生活

-
-
- -
- -
- -
- -
- {hcTaglib:content cid="80" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} - - {$vo.title}{$vo.sub_title} - {/hcTaglib:content} -
-
- - -
- {hcTaglib:category id="81" item="vo" field="*"} - -
- {$vo.sub_title} -
- {/hcTaglib:category} -
- - -
- {hcTaglib:content cid="82" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
- {$vo.title} - {$vo.sub_title}
- {$vo.title}
-
- {/hcTaglib:content} - - - - - - - - - - - -
- - -
- - -
- - {hcTaglib:content cid="83" moduleId='1' mainField="*" subField="*" name="case_top" item="vo" sort="sort asc"} -
- - {$vo.title} -
- - - - - - - - - - - {/hcTaglib:content} - -
-
-
- -
-

在线预约

-
-
- -
-
- -
-
- -
- -
-
-
-
-
- -
- -{include file="components/footer"} - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/public/themes/website/4/zh/demo/category.html b/public/themes/website/4/zh/demo/category.html new file mode 100644 index 0000000..f0bf4ac --- /dev/null +++ b/public/themes/website/4/zh/demo/category.html @@ -0,0 +1,228 @@ + + +{php} +// var_dump($current_cate); +$current_cate_id = $current_cate['id'] ?? ''; +//exit(); +{/php} + + + + + {$current_cate.seo_title} + + + + + + + + + + + + + + + + + + + + {include file="components/header"} + +
+ {php}$ui_product = uiId('product');{/php} +
+ + +
+ + +
+ {hcTaglib:subcategory pid="$ui_product" 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/4/zh/demo/components/currency.html b/public/themes/website/4/zh/demo/components/currency.html deleted file mode 100644 index 0f706aa..0000000 --- a/public/themes/website/4/zh/demo/components/currency.html +++ /dev/null @@ -1,8 +0,0 @@ - -{$current_cate.seo_title|default=$current_cate.title} - - - - - - \ No newline at end of file diff --git a/public/themes/website/4/zh/demo/components/empty.html b/public/themes/website/4/zh/demo/components/empty.html new file mode 100644 index 0000000..84b80ab --- /dev/null +++ b/public/themes/website/4/zh/demo/components/empty.html @@ -0,0 +1,8 @@ +{php} +if (!isset($empty_text) || $empty_text === '') { + $empty_text = '暂无相关内容'; +} +{/php} +
+

{$empty_text}

+
diff --git a/public/themes/website/4/zh/demo/components/footer.html b/public/themes/website/4/zh/demo/components/footer.html index 863985c..97cbec9 100644 --- a/public/themes/website/4/zh/demo/components/footer.html +++ b/public/themes/website/4/zh/demo/components/footer.html @@ -1,133 +1,69 @@ -