mirror of
https://github.com/DzzXH/DzzOffice.git
synced 2026-03-01 15:22:42 +08:00
更新至v1.85.2,更新内容在笔记中查看
This commit is contained in:
1
static/bootstrap/css/bootstrap.min.css
vendored
1
static/bootstrap/css/bootstrap.min.css
vendored
@@ -4820,6 +4820,7 @@ tr {
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
font-weight:700;
|
||||
}
|
||||
|
||||
button {
|
||||
|
||||
@@ -351,6 +351,7 @@ button.input-search-drop {
|
||||
.notification-list-item .member-avatar{
|
||||
position:absolute;
|
||||
left:5px;
|
||||
top: 10px;
|
||||
}
|
||||
.notification-list-item .dateline{
|
||||
font-size:12px;
|
||||
@@ -494,14 +495,4 @@ button.input-search-drop {
|
||||
.about-body p{
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.about-body p .guide{
|
||||
color:#999;
|
||||
}
|
||||
.about-copyright>a{
|
||||
color:#000;
|
||||
}
|
||||
.about-copyright>a:hofer{
|
||||
color:#44CDFF;
|
||||
text-decoration: underline;
|
||||
}
|
||||
/*about 关于页 end*/
|
||||
@@ -34,7 +34,7 @@
|
||||
.pace .pace-activity {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: -32px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 5px;
|
||||
|
||||
2
static/css/style.min.css
vendored
2
static/css/style.min.css
vendored
@@ -3982,6 +3982,7 @@ body[data-theme='dark'] .jconfirm .jconfirm-box,
|
||||
}
|
||||
[data-theme='dark'] .popbox-container,
|
||||
[data-theme='dark'] .popbox-menu,
|
||||
[data-theme='dark'] .dzzvote,
|
||||
[data-theme='dark'] .dropdown-height,
|
||||
[data-theme='dark'] .dropdown-width,
|
||||
[data-theme='dark'] .vakata-context,
|
||||
@@ -4521,6 +4522,7 @@ body[data-theme='translucent-pink'],
|
||||
[data-theme|='translucent'] .rightMenu,
|
||||
[data-theme|='translucent'] .lyear-layout-header,
|
||||
[data-theme|='translucent'] .card,
|
||||
[data-theme|='translucent'] .dzzvote,
|
||||
[data-theme|='translucent'] .card>.card-header+.callout {
|
||||
background-color: rgba(var(--bs-black-rgb), .175);
|
||||
}
|
||||
|
||||
@@ -6,7 +6,51 @@
|
||||
* @link http://www.dzzoffice.com
|
||||
* @author zyx(zyx@dzz.cc)
|
||||
*/
|
||||
var _header = {};
|
||||
_header.init = function(formhash){
|
||||
_header.formhash=formhash;
|
||||
/*if(jQuery('.bs-left-container').length<1){
|
||||
jQuery('.resNav .leftTopmenu').hide();
|
||||
}*/
|
||||
};
|
||||
|
||||
_header.loging_close = function(){
|
||||
var msg ='<span style="font-size:1.28rem">您确定要注销登录?</span>';
|
||||
if(msg){
|
||||
showDialog( msg, 'confirm','', function(){
|
||||
jQuery.get('user.php?mod=login&op=logging&action=logout&formhash='+_header.formhash+'&t='+new Date().getTime(),function(data){
|
||||
window.location.reload();
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
_header.leftTopmenu=function(obj,flag){
|
||||
var clientWidth=document.documentElement.clientWidth;
|
||||
if(!flag){
|
||||
if(jQuery('.bs-left-container').is(':visible')){
|
||||
flag='hide';
|
||||
}else{
|
||||
flag='show';
|
||||
}
|
||||
}
|
||||
if(flag==='hide'){
|
||||
jQuery('.bs-left-container').hide();
|
||||
jQuery('.left-drager').hide();
|
||||
jQuery('.bs-main-container').css('marginLeft',0);
|
||||
jQuery(obj).removeClass('leftTopmenu');
|
||||
}else if(flag==='show'){
|
||||
jQuery('.bs-left-container').show();
|
||||
var leftWidth=jQuery('.bs-left-container').outerWidth(true);
|
||||
if(leftWidth<20){
|
||||
leftWidth=20;
|
||||
jQuery('.bs-left-container').width(leftWidth);
|
||||
jQuery('.left-drager').css({'left':leftWidth,'cursor':'w-resize'});
|
||||
}
|
||||
jQuery('.left-drager').show();
|
||||
jQuery('.bs-main-container').css('marginLeft',clientWidth<768?0:leftWidth);
|
||||
jQuery(obj).addClass('leftTopmenu');
|
||||
}
|
||||
};
|
||||
var BROWSER = {};
|
||||
var USERAGENT = navigator.userAgent.toLowerCase();
|
||||
browserVersion({'ie':'msie','edge':'edge','rv':'rv','firefox':'','chrome':'','opera':'','safari':'','mozilla':'','webkit':'','maxthon':'','qq':'qqbrowser','ie11':'trident'});
|
||||
|
||||
7
static/js/main.min.js
vendored
7
static/js/main.min.js
vendored
@@ -1,9 +1,9 @@
|
||||
$(document).ready( function() {
|
||||
$("button:submit, .main-header .nav-link").click(function(){
|
||||
$("button:submit,input:submit, .main-header .nav-link").click(function(){
|
||||
$(this).attr('disable', 'true');
|
||||
var l = $(this).lyearloading({
|
||||
opacity: 0.2,
|
||||
spinnerSize: 'nm'
|
||||
spinnerSize: 'nm',
|
||||
});
|
||||
setTimeout(function() {
|
||||
$(this).prop('disable', 'false');
|
||||
@@ -29,12 +29,11 @@ $(document).ready( function() {
|
||||
}
|
||||
|
||||
// pop提示
|
||||
if ($('[data-bs-toggle="popover"]')[0]) {
|
||||
if ($('[data-bs-toggle="popover"]')[0]) {
|
||||
$('[data-bs-toggle="popover"]').popover({
|
||||
container: 'body'
|
||||
});
|
||||
}
|
||||
|
||||
// Card最大化
|
||||
$(document).on('click', '.card-btn-fullscreen', function(){
|
||||
$(this).closest('.card').toggleClass('card-fullscreen');
|
||||
|
||||
Reference in New Issue
Block a user