Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
50a016c5
Commit
50a016c5
authored
Jul 07, 2020
by
季圣华
Browse files
优化首页导航条
parent
72ecd83a
Changes
2
Hide whitespace changes
Inline
Side-by-side
erp_web/index.html
View file @
50a016c5
...
...
@@ -40,11 +40,6 @@
</div>
<div
class=
"navbar-custom-menu"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"treeview"
>
<a
href=
"javascript:"
data-href=
"/pages/user/userHelp.html"
class=
"addTabPage"
>
<i
class=
"fa fa-diamond"
></i>
新手引导
</a>
</li>
<li
class=
"treeview"
>
<a
target=
"_blank"
class=
"tencent"
style=
"color:yellow;font-weight: bold;display: none;"
href=
"https://cloud.tencent.com/act/cps/redirect?redirect=1053&cps_key=4fb6482d716575dcb7b8fe600d93766a&from=console"
>
...
...
@@ -55,6 +50,21 @@
<i
class=
"fa fa-cloud"
></i>
阿里云促销中
</a>
</li>
<li
class=
"treeview"
>
<a
target=
"_blank"
href=
"http://www.huaxiaerp.com/forum-43-1.html"
>
<i
class=
"fa fa-institution"
></i>
官方插件
</a>
</li>
<li
class=
"treeview"
>
<a
target=
"_blank"
href=
"http://www.huaxiaerp.com/forum-41-1.html"
>
<i
class=
"fa fa-comment"
></i>
建议反馈
</a>
</li>
<li
class=
"treeview"
>
<a
href=
"javascript:"
id=
"newHand"
data-href=
"/pages/user/userHelp.html"
class=
"addTabPage"
>
<i
class=
"fa fa-diamond"
></i>
新手引导
</a>
</li>
<li><a
href=
"javascript:"
id=
"fullScreen"
title=
"全屏"
data-placement=
"bottom"
data-container=
"body"
><i
class=
"fa fa-arrows-alt"
></i></a></li>
<li
class=
"dropdown messages-menu"
>
...
...
erp_web/js/modules/sys/userInfo.js
View file @
50a016c5
...
...
@@ -12,6 +12,11 @@ $.ajax({
if
(
user
.
username
)
{
$
(
"
.main-header .user-menu .hidden-xs,.main-sidebar .info p
"
).
text
(
user
.
username
);
}
if
(
user
.
id
==
user
.
tenantId
)
{
$
(
"
#newHand
"
).
show
();
}
else
{
$
(
"
#newHand
"
).
hide
();
}
}
}
else
{
top
.
location
.
href
=
'
/login.html
'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment