QiFeng.ZWY.MagWeb/Content/admin/dist/js/sb-admin-2.js
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
$(function() {
$('#side-menu').metisMenu();
});
//Loads the correct sidebar on window load,
//collapses the sidebar on window resize.
// Sets the min-height of #page-wrapper to window size
$(function() {
$(window).bind("load resize", function() {
var topOffset = 50;
var width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.width;
if (width < 768) {
$('div.navbar-collapse').addClass('collapse');
topOffset = 100; // 2-row-menu
} else {
$('div.navbar-collapse').removeClass('collapse');
}
var height = ((this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height) - 1;
height = height - topOffset;
if (height < 1) height = 1;
if (height > topOffset) {
$("#page-wrapper").css("min-height", (height) + "px");
}
});
// active the color of the navigation menu bar
var url = window.location;
var element = $('ul.nav a').filter(function() {
return this.href == url;
}).addClass('active').parent().parent().addClass('in').parent();
if (element.is('li')) {
element.addClass('active');
}
//getLatestMsg();
var dtPickerObj = $('.form_datetime');
if (dtPickerObj.length > 0) {
dtPickerObj.datetimepicker({
format: "yyyy/m/d hh:ii:ss",
language: 'zh-CN',
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
forceParse: 0
});
// dtPickerObj.datetimepicker('update', new Date());
}
});
function getLatestMsg() {
$.ajax({
type: 'post',
async: false,
url: "/Message/GetLastestMessage",
data: {},
success: function(info) {
后面还有 131 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。