优化首页菜单

This commit is contained in:
季圣华
2020-08-09 23:07:40 +08:00
parent 5635cb35ef
commit 2fe61482d3
2 changed files with 10 additions and 2 deletions

View File

@@ -51,12 +51,12 @@
</a>
</li>
<li class="treeview">
<a target="_blank" href="http://www.huaxiaerp.com/forum-43-1.html">
<a target="_blank" class="official-plugin" 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">
<a target="_blank" class="feedback" href="http://www.huaxiaerp.com/forum-41-1.html">
<i class="fa fa-comment"></i> 建议反馈
</a>
</li>

View File

@@ -424,6 +424,14 @@ $(function () {
$(".tencent").show();
$(".aliyun").hide();
}
var domWidth = $(document.body).width();
if(domWidth<800){
$(".official-plugin").hide();
$(".feedback").hide();
} else {
$(".official-plugin").show();
$(".feedback").show();
}
//更新消息条数
function getMsgCountByStatus() {