diff --git a/themes/tajian/controller/MyController.php b/themes/tajian/controller/MyController.php index 06a182c..5382bc7 100644 --- a/themes/tajian/controller/MyController.php +++ b/themes/tajian/controller/MyController.php @@ -20,7 +20,6 @@ Class MyController extends SiteController { //获取数据 - $menus = array(); //菜单,一级目录 $htmlReadme = ''; //Readme.md 内容,底部网站详细介绍 $menus_sorted = array(); //Readme_sort.txt 说明文件内容,一级目录菜单从上到下的排序 @@ -55,8 +54,8 @@ Class MyController extends SiteController { $pageTitle = $defaultTitle = '个人中心 | ' . FSC::$app['config']['site_name']; $viewName = 'index'; $params = compact( - 'dirTree', 'scanResults', 'menus', 'htmlReadme', - 'tags', 'nickname' + 'dirTree', 'scanResults', + 'htmlReadme', 'tags', 'nickname' ); return $this->render($viewName, $params, $pageTitle); } diff --git a/themes/tajian/views/layout/main.php b/themes/tajian/views/layout/main.php index dd63d3a..a74e0ad 100644 --- a/themes/tajian/views/layout/main.php +++ b/themes/tajian/views/layout/main.php @@ -67,7 +67,7 @@ if (!empty($viewData['tags'])) { //显示tags分类 $selected = $item['id'] == $selectedId || (!empty($breadcrumbs) && $item['id'] == $breadcrumbs[0]['id']) ? 'this_set' : ''; echo << - 菜单图标 + 菜单图标 {$item['name']} eof; @@ -104,7 +104,7 @@ if (!empty($viewData['tags'])) { //显示tags分类 $selected = $item['id'] == $selectedId || (!empty($breadcrumbs) && $item['id'] == $breadcrumbs[0]['id']) ? 'this_set' : ''; echo << - 菜单图标 + 菜单图标 {$item['name']} eof; diff --git a/themes/tajian/views/my/index.php b/themes/tajian/views/my/index.php index ab507a6..eb5564a 100644 --- a/themes/tajian/views/my/index.php +++ b/themes/tajian/views/my/index.php @@ -20,8 +20,10 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use
diff --git a/www/css/tajian.css b/www/css/tajian.css index 2082fae..de9c1a2 100644 --- a/www/css/tajian.css +++ b/www/css/tajian.css @@ -257,6 +257,7 @@ a:link{text-decoration:none;} .mg_menus li{display:inline-block;width:45%;margin:5px;border:1px solid #DDD;border-radius:5px;text-align:center;vertical-align:middle;} .mg_menus li a{display:block;padding:15px 10px} .mg_menus li a:hover{background-color:lightblue;color:#FFF;font-weight:bold} +.mg_menus li img{vertical-align:middle} /* layout index */ body.layout_index{background-color:#e5f1f3} diff --git a/www/img/collection-fill.svg b/www/img/collection-fill.svg new file mode 100644 index 0000000..d4ced41 --- /dev/null +++ b/www/img/collection-fill.svg @@ -0,0 +1,4 @@ + + + + diff --git a/www/img/collection.svg b/www/img/collection.svg new file mode 100644 index 0000000..ac51865 --- /dev/null +++ b/www/img/collection.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/www/img/edit.svg b/www/img/edit.svg new file mode 100644 index 0000000..516fc50 --- /dev/null +++ b/www/img/edit.svg @@ -0,0 +1,5 @@ + + + + +