diff --git a/public/components/frame/breadcrumb/breadcrumb.html b/public/components/frame/breadcrumb/breadcrumb.html
index 9a4e1783e..57bbf0413 100755
--- a/public/components/frame/breadcrumb/breadcrumb.html
+++ b/public/components/frame/breadcrumb/breadcrumb.html
@@ -1,4 +1,4 @@
-
+
-
{{item.pageName}}
diff --git a/public/components/frame/breadcrumb/breadcrumb.js b/public/components/frame/breadcrumb/breadcrumb.js
index f141a3994..86e20f79d 100755
--- a/public/components/frame/breadcrumb/breadcrumb.js
+++ b/public/components/frame/breadcrumb/breadcrumb.js
@@ -5,7 +5,8 @@
var vm = new Vue({
el: '#breadcrumb',
data: {
- breadCrumbs: []
+ breadCrumbs: [],
+ indexPage: 1,
},
mounted: function() {
//this._freshBreadCrumbByUrl();
@@ -14,7 +15,25 @@
// e.target matches elem
vm.breadCrumbs = [];
vm._freshBreadCrumbByUrl();
+
+ let _hash = location.hash
+
+ if (!_hash) {
+ vm.indexPage = '0';
+ return;
+ }
+ if (_hash.indexOf('?') != -1) {
+ _hash = _hash.substring(0, _hash.indexOf('?'));
+ }
+
+ if (!_hash) {
+ vm.indexPage = '0';
+ return;
+ }
+ vm.indexPage = '1';
+
}, false);
+
},
methods: {
_freshBreadCrumbByUrl: function() {
diff --git a/public/components/frame/menu/menu.html b/public/components/frame/menu/menu.html
index 5f1d2e8c2..aa5c225cf 100755
--- a/public/components/frame/menu/menu.html
+++ b/public/components/frame/menu/menu.html
@@ -13,7 +13,7 @@
-
-
+
{{vc.i18n(menu.name)}}
{{menu.label}}
diff --git a/public/components/frame/menu/menu.js b/public/components/frame/menu/menu.js
index 83bbfac53..468c13f2e 100755
--- a/public/components/frame/menu/menu.js
+++ b/public/components/frame/menu/menu.js
@@ -60,7 +60,8 @@
_menus.sort(function(a, b) {
return a.seq - b.seq
});
- var _currentMenusId = vc.getCurrentMenu() == null ? _menus[0].id : vc.getCurrentMenu();
+ //var _currentMenusId = vc.getCurrentMenu() == null ? _menus[0].id : vc.getCurrentMenu();
+ let _currentMenusId = _menus[0].id;
vm.menus = vm.refreshMenuActive(_menus, _currentMenusId);
vc.setMenus(vm.menus);
vm.miniMenu();
diff --git a/public/index.html b/public/index.html
index c0f18d9ba..d885ce545 100755
--- a/public/index.html
+++ b/public/index.html
@@ -1,20 +1,52 @@
-
+
+
HC智慧物业管理系统
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -25,39 +57,22 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
\ No newline at end of file