From 5054d503d90203977d99211bc22789d757d2612f Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Fri, 14 Oct 2022 17:44:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/model/Category.php | 2 +- view/index/index2.html | 96 -------------------------------- view/manager/category/add.html | 10 +++- view/manager/category/edit.html | 12 +++- view/manager/category/index.html | 12 ++-- view/page/advice.html | 11 +++- view/page/business2.html | 57 ------------------- view/page/join2.html | 52 ----------------- view/public/footer.html | 68 +++++++--------------- 9 files changed, 55 insertions(+), 265 deletions(-) delete mode 100755 view/index/index2.html delete mode 100755 view/page/business2.html delete mode 100755 view/page/join2.html diff --git a/app/model/Category.php b/app/model/Category.php index ae7b281..b1079bb 100755 --- a/app/model/Category.php +++ b/app/model/Category.php @@ -425,7 +425,7 @@ class Category extends Base // 'categoryId' => $categoryId, 'menus' => $menus, ]; - // var_dump($menus);exit; +// var_dump($menus);exit; return $data; } diff --git a/view/index/index2.html b/view/index/index2.html deleted file mode 100755 index 3e03e5a..0000000 --- a/view/index/index2.html +++ /dev/null @@ -1,96 +0,0 @@ -{layout name="layout" /} - -
-
-
- - {foreach $slide as $slideItem} -
-
-
- {$slideItem['title']} - {$slideItem['title']} -
-
-
-
{$slideItem['font1']}
-
{$slideItem['font2']}
-
{$slideItem['font3']}
-
{$slideItem['font4']}
-
-
-
-
- {/foreach} - -
-
-
-
-
-
- -
-
-
{$blocks['news_title']['value']}
- {$blocks['more']['value']} -
-
- {if !empty($newsList)} - {foreach $newsList as $newsListItem } - - {/foreach} - {/if} -
-
-
-
-
-
-
- -
{$blocks['property_services_img']['title']}
-
- -
{$blocks['Property']['value']}
{$blocks['services']['value']}
-
{$blocks['zzwy']['value']}
-
-
-
- -
-
-
-
{$blocks['about']['value']}
{$blocks['us']['value']}
-
{$blocks['about_cn']['value']}
-
-
-
-
- -
-
-
-
{$blocks['Valueadded']['value']}
{$blocks['Valueaddedservices']['value']}
-
{$blocks['Valueaddedservices_cn']['value']}
-
-
-
-
-
\ No newline at end of file diff --git a/view/manager/category/add.html b/view/manager/category/add.html index eb9c9d1..f9d1dd9 100755 --- a/view/manager/category/add.html +++ b/view/manager/category/add.html @@ -112,13 +112,21 @@
- +
+
+ +
+ + +
+
+ {if $groupId == 1}
diff --git a/view/manager/category/edit.html b/view/manager/category/edit.html index 2f7b309..f532d01 100755 --- a/view/manager/category/edit.html +++ b/view/manager/category/edit.html @@ -126,14 +126,22 @@ if(!empty($item['width']) && is_int($item['width']) && $item['width'] > 0 && !em
-
- +
+
+
+ +
+ + +
+
+ {if $groupId == 1}
diff --git a/view/manager/category/index.html b/view/manager/category/index.html index ad84d2a..4f625e1 100755 --- a/view/manager/category/index.html +++ b/view/manager/category/index.html @@ -37,7 +37,7 @@ $delUrl = url('manager.category/del'); 栏目 类型 - 前台菜单 + 前台菜单|手机底部|pc底部 @@ -53,7 +53,7 @@ $delUrl = url('manager.category/del'); {$item.modelName} - {$item.state?'是':'否'} + {$item.state?'是':'否'}|手机{$item.foot_show_mobile?'显示':'隐藏'}|PC{$item.foot_show?'显示':'隐藏'} @@ -91,7 +91,7 @@ $delUrl = url('manager.category/del'); - + @@ -107,7 +107,7 @@ $delUrl = url('manager.category/del'); {$child.modelName} - {$child.state?'是':'否'} + {$child.state?'是':'否'}|手机{$child.foot_show_mobile?'显示':'隐藏'}|PC{$child.foot_show?'显示':'隐藏'} @@ -143,7 +143,7 @@ $delUrl = url('manager.category/del'); - + @@ -159,7 +159,7 @@ $delUrl = url('manager.category/del'); {$c.modelName} - {$c.state?'是':'否'} + {$c.state?'是':'否'}|手机{$c.foot_show_mobile?'显示':'隐藏'}|PC{$c.foot_show?'显示':'隐藏'} diff --git a/view/page/advice.html b/view/page/advice.html index 93d3933..7374911 100755 --- a/view/page/advice.html +++ b/view/page/advice.html @@ -5,7 +5,16 @@ use app\model\Category; $childrenMenu = Category::getChildrenByParentId($topCategoryId); {/php} -{include file="public/about_second" /} + +
+
+ +
+
当前位置
+
首页{$category['title'] ?? ''}
+
+
+
diff --git a/view/page/business2.html b/view/page/business2.html deleted file mode 100755 index f4b2f5c..0000000 --- a/view/page/business2.html +++ /dev/null @@ -1,57 +0,0 @@ -{layout name="layout_two"/} -{php} -use app\model\Category; -$position = Category::getPosition($category["id"]); -{/php} -
-
{$category['title']}
-
-
-
- -
-
-
-
-
-
-
-
-
-
{$blocks["BUSINESS-COOPERATION"]['value']??''}
-
{$blocks["BUSINESS-COOPERATION"]['title']??''}
-
-
-
公司地址:{$system['addr']??''}
-
邮箱地址:{$system['email']??''}
-
服务热线:{$system['landline']??''}
-
-
-
-
-
-
-
-
-
-
- - {php} - $map = json_decode($blocks['map']['value'],true); - {/php} - -
\ No newline at end of file diff --git a/view/page/join2.html b/view/page/join2.html deleted file mode 100755 index 4eaac76..0000000 --- a/view/page/join2.html +++ /dev/null @@ -1,52 +0,0 @@ -{layout name="layout"/} -{php} -use app\model\Category; -use app\model\PositionModel; -use app\model\Block; -$joinList = PositionModel::getByCategoryId(Category::CATEGORY_JOIN_BLOCK,true,99999); -{/php} - - -
-
- -
-
-
-
-
-
-
-
{$blocks['join']['value']??'Join us'}
-
{$blocks['join']['title']??'加入中正'}
-
- {$blocks['info']['value']??''}
-
-
-
-
-
-
- -
-
- -
\ No newline at end of file diff --git a/view/public/footer.html b/view/public/footer.html index 524b458..d0cdc2e 100755 --- a/view/public/footer.html +++ b/view/public/footer.html @@ -2,77 +2,47 @@