diff --git a/public/themes/website/1/zh/demo/search.html b/public/themes/website/1/zh/demo/search.html index 5655d95..03f10ff 100644 --- a/public/themes/website/1/zh/demo/search.html +++ b/public/themes/website/1/zh/demo/search.html @@ -1,3 +1,13 @@ + + +{php} +dd('此页面废弃'); +{/php} + + + + + diff --git a/public/themes/website/1/zh/demo/single_search.html b/public/themes/website/1/zh/demo/single_search.html new file mode 100644 index 0000000..5655d95 --- /dev/null +++ b/public/themes/website/1/zh/demo/single_search.html @@ -0,0 +1,702 @@ + + + + + + + 搜索 - 睿能科技 + + + + + + + + + + + + + + + + + + + + + + {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]); + {/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} +
+
+ +
+
+ +
+ + + + + + + + +
+
+
+ +
+
+ + + + + + + + + + + + + + +