@@ -177,10 +199,10 @@
$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]];
- }
+ $parts = explode(';', $item);
+ if (count($parts) === 3) {
+ $culture_list[] = ['zh' => $parts[0], 'en' => $parts[1], 'text' => $parts[2]];
+ }
}
{/php}
@@ -205,11 +227,11 @@
$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];
- }
+ $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);
@@ -249,8 +271,10 @@
{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"}
-
+ {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"}
+
{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}
+
+
+ {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}
+
+
+
+
+
+
+
@@ -289,28 +355,40 @@
- {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"}
+ {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}
-
-
+
+
{$case_top.title}
+
+
- View certificate
-
-
+ View certificate
+
+
+
-
+
+
{/hcTaglib:content}
@@ -336,17 +414,19 @@
{include file="components/mask"}
-{include file="components/footer"}
-
+ {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 1163280..9e6af30 100755
--- a/public/themes/website/1/en/demo/solution2.html
+++ b/public/themes/website/1/en/demo/solution2.html
@@ -12,41 +12,41 @@ $current_cate_id = $current_cate['id'] ?? 0;
-
-
-
-
-
+
+
+
-
-
+
+
@@ -54,8 +54,8 @@ $current_cate_id = $current_cate['id'] ?? 0;
-
-{include file="components/header"}
+
+ {include file="components/header"}
{if !empty($sub_cates[0])}
@@ -80,13 +80,13 @@ $current_cate_id = $current_cate['id'] ?? 0;
$contents = getContentByCategory($sub_cates[1]['id'], $seller_id, 6, 'sort asc', ['thumbnail', 'category']);
{/php}
{volist name="contents" id="vo"}
-
-
-
-
- {$vo.title ?? ''}
- {$vo.description ?? ''}
-
+
+
+
+
+ {$vo.title ?? ''}
+ {$vo.description ?? ''}
+
{/volist}
@@ -95,7 +95,8 @@ $current_cate_id = $current_cate['id'] ?? 0;
{$sub_cates[2]['title'] ?? ''}
-
![{$sub_cates[2]['description'] ?? ''}]({$sub_cates[2]['thumbnail']['url'] ?? ''})
+
{/if}
@@ -105,15 +106,23 @@ $current_cate_id = $current_cate['id'] ?? 0;
{$sub_cates[3]['title'] ?? ''}
@@ -128,11 +137,11 @@ $current_cate_id = $current_cate['id'] ?? 0;
{$vo.title ?? ''}
{$vo.description ?? ''}
-
Explore more
+
Explore more
{/volist}
@@ -206,15 +215,23 @@ $current_cate_id = $current_cate['id'] ?? 0;
{$sub_cates[5]['title'] ?? ''}
@@ -222,39 +239,51 @@ $current_cate_id = $current_cate['id'] ?? 0;