代码更新

This commit is contained in:
2019-07-01 16:13:59 +08:00
parent d141eb7c24
commit 86c24dc40e
30 changed files with 13731 additions and 94 deletions

View File

@@ -137,9 +137,6 @@ $(function($) {
$(this).addClass('active');
writeStorage(storage, 'config-skin', $(this).data('skin'));
});
setTimeout(function() {
$('#content-wrapper > .row').css({
opacity: 1
@@ -200,7 +197,6 @@ $(function($) {
$('#make-small-nav').click(function(e) {
$('#page-wrapper').toggleClass('nav-small');
});
setContentBody();
$(window).smartresize(function() {
if ($(document).width() <= 991) {
@@ -208,7 +204,6 @@ $(function($) {
}
setContentBody();
});
$('.mobile-search').click(function(e) {
e.preventDefault();
$('.mobile-search').addClass('active');
@@ -281,9 +276,9 @@ $.fn.removeClassPrefix = function(prefix) {
return this;
};
function setContentBody(){
function setContentBody() {
header_height = $('header#header-navbar').height();
if ($(window).height() - header_height -50 > $('#content-wrapper').height()) {
$('#content-wrapper').height($(window).height() - header_height -50);
if ($(window).height() - header_height - 50 > $('#content-wrapper').height()) {
$('#content-wrapper').height($(window).height() - header_height - 50);
}
}

View File

@@ -0,0 +1,6 @@
require.config({
paths:{
'vue':'/static/js/vue.js',
"jquery":'/static/libs/jquery/jquery.min.js'
}
});

File diff suppressed because one or more lines are too long

11944
public/static/js/vue.js Normal file

File diff suppressed because it is too large Load Diff