mirror of
https://github.com/DzzXH/DzzOffice.git
synced 2026-04-07 01:56:43 +08:00
核心功能修复与优化
1. 网盘空间管理优化:
修复了删除网盘文件后,剩余空间未正确更新的问题,确保用户空间显示准确。
2. 机构用户导航体验提升:
优化了机构用户在使用中的导航栏返回逻辑,提升了用户在不同页面间跳转时的流畅性和一致性。
用户体验与界面改进
1. 登录页面样式优化:
解决了登录页面样式重复引用的问题,提升了页面加载速度和用户体验。
2. 移动端界面适配:
优化了移动端界面的头部名称居中显示,增强了在不同移动设备上的视觉一致性。
3. 卡片显示效果调整:
修改了卡片的显示效果,使信息展示更加美观和易于阅读。
性能与稳定性提升
1. JS代码压缩问题修复:
修复了压缩JS代码过程中导致的报错问题,确保了应用的稳定性和性能。
插件与系统升级
1. jstree插件升级:
升级了jstree插件版本,解决了在某些使用场景中无法选中节点的问题,提升了用户与树形结构交互的可靠性。
2. 应用市场UI优化:
对应用市场界面进行了UI优化,提升了应用展示的美观度和易用性,使用户能够更方便地查找和安装所需的应用。
56 lines
2.2 KiB
HTML
56 lines
2.2 KiB
HTML
<header class="fixed-top lyear-layout-header">
|
||
<nav class="navbar sticky-top navbar-dark navbar-expand-lg navbar-light">
|
||
<div class="container-fluid">
|
||
<div class="d-flex">
|
||
<!--{template header_left}-->
|
||
</div>
|
||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarScroll" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
|
||
<span class="navbar-toggler-icon"></span>
|
||
</button>
|
||
<div class="collapse navbar-collapse" id="navbarScroll">
|
||
<!--{template header_search}-->
|
||
<!--{template header_right}-->
|
||
</div>
|
||
</div>
|
||
</nav>
|
||
</header>
|
||
<script type="text/javascript">
|
||
jQuery(document).ready(function(e) {
|
||
_header.init('{FORMHASH}');//初始化头部效果
|
||
_notice.getNotificationCount();
|
||
});
|
||
_notice={};
|
||
_notice.flashStep=1;
|
||
_notice.checkurl='index.php?mod=system&op=notification&filter=checknew';
|
||
_notice.normalTitle= document.title;
|
||
_notice.getNotificationCount=function(){
|
||
jQuery.getJSON(_notice.checkurl,function(json){
|
||
var sum=parseInt(json.sum);
|
||
_notice.showTips(sum);
|
||
if(json.timeout>0) window.setTimeout(_notice.getNotificationCount,json.timeout);
|
||
});
|
||
}
|
||
_notice.showTips=function(sum){
|
||
if(sum>0){
|
||
jQuery('#dzz_notification>span.badge').html(sum).removeClass('hide');
|
||
_notice.flashTitle();
|
||
}else{
|
||
jQuery('#dzz_notification>span.badge').addClass('hide');
|
||
_notice.flashTitle(1);
|
||
}
|
||
}
|
||
_notice.flashTitle=function(flag){
|
||
//仅窗口不在焦点时闪烁title,回到焦点时停止闪烁并将title恢复正常
|
||
if(flag || CurrentActive){//当前处于焦点
|
||
document.title=_notice.normalTitle;
|
||
_notice.flashTitleRun = false;
|
||
return;//退出循环
|
||
}
|
||
_notice.flashTitleRun = true;
|
||
_notice.flashStep++;
|
||
if (_notice.flashStep==3) {_notice.flashStep=1;}
|
||
if (_notice.flashStep==1) {document.title="【您有新的通知】";}
|
||
if (_notice.flashStep==2) {document.title="【$_G[setting][sitename]】";}
|
||
setTimeout(function(){_notice.flashTitle();},500); //循环
|
||
}
|
||
</script> |