|
|
@ -10,7 +10,7 @@
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/style.css" media="all">
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/style.css" media="all">
|
|
|
|
<block name="css"></block>
|
|
|
|
<block name="css"></block>
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/{$Think.config.COLOR_STYLE}.css" media="all">
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/{$Think.config.COLOR_STYLE}.css" media="all">
|
|
|
|
|
|
|
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script type="text/javascript" src="__STATIC__/jquery-1.10.2.min.js"></script>
|
|
|
|
<script type="text/javascript" src="__STATIC__/jquery-1.10.2.min.js"></script>
|
|
|
|
<![endif]--><!--[if gte IE 9]><!-->
|
|
|
|
<![endif]--><!--[if gte IE 9]><!-->
|
|
|
@ -77,7 +77,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!--下拉样式-->
|
|
|
|
<!--下拉样式-->
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function(){
|
|
|
|
$(function(){
|
|
|
@ -89,23 +89,23 @@ $(function(){
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
ul.slideUp();
|
|
|
|
ul.slideUp();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$('.jscbtn').click(function() {
|
|
|
|
$('.jscbtn').click(function() {
|
|
|
|
$(this).siblings().slideToggle(200);
|
|
|
|
$(this).siblings().slideToggle(200);
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$('.jssetcolor').click(function() {
|
|
|
|
$('.jssetcolor').click(function() {
|
|
|
|
var that = $(this),value=that.attr('data-value');
|
|
|
|
var that = $(this),value=that.attr('data-value');
|
|
|
|
var par = that.closest('.jssubjectlist');
|
|
|
|
var par = that.closest('.jssubjectlist');
|
|
|
|
|
|
|
|
|
|
|
|
if (that.hasClass('disabled')) {return false;}
|
|
|
|
if (that.hasClass('disabled')) {return false;}
|
|
|
|
|
|
|
|
|
|
|
|
$('.jssetcolor').addClass('disabled');
|
|
|
|
$('.jssetcolor').addClass('disabled');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$.post('{:U("Admin/set_color_style")}',{value:value},function(data) {
|
|
|
|
$.post('{:U("Admin/set_color_style")}',{value:value},function(data) {
|
|
|
|
if (data.status==1) {
|
|
|
|
if (data.status==1) {
|
|
|
|
updateAlert(data.info,'tip_right');
|
|
|
|
updateAlert(data.info,'tip_right');
|
|
|
@ -113,7 +113,7 @@ $(function(){
|
|
|
|
$('#tip').find('.tipclose').click();
|
|
|
|
$('#tip').find('.tipclose').click();
|
|
|
|
setTimeout(function(){location.reload();},300);
|
|
|
|
setTimeout(function(){location.reload();},300);
|
|
|
|
},1500);
|
|
|
|
},1500);
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
updateAlert(data.info,'tip_error');
|
|
|
|
updateAlert(data.info,'tip_error');
|
|
|
|
setTimeout(function(){
|
|
|
|
setTimeout(function(){
|
|
|
@ -123,13 +123,13 @@ $(function(){
|
|
|
|
$('.jssetcolor').removeClass('disabled');
|
|
|
|
$('.jssetcolor').removeClass('disabled');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},'json');
|
|
|
|
},'json');
|
|
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
<div id="tip" class="tip"><a class="tipclose hidden" ></a><div class="tipmain"><div class="tipicon"></div><div class="tipinfo">这是内容</div></div></div>
|
|
|
|
<div id="tip" class="tip"><a class="tipclose hidden" ></a><div class="tipmain"><div class="tipicon"></div><div class="tipinfo">这是内容</div></div></div>
|
|
|
@ -138,7 +138,7 @@ $(function(){
|
|
|
|
var content = $('#main');
|
|
|
|
var content = $('#main');
|
|
|
|
var top_alert = $('#tip');
|
|
|
|
var top_alert = $('#tip');
|
|
|
|
//$('body').append('<div class="notice"><div><i></i>成功</div></div>');
|
|
|
|
//$('body').append('<div class="notice"><div><i></i>成功</div></div>');
|
|
|
|
|
|
|
|
|
|
|
|
top_alert.find('.tipclose').on('click', function () {
|
|
|
|
top_alert.find('.tipclose').on('click', function () {
|
|
|
|
top_alert.removeClass('block').slideUp(200);
|
|
|
|
top_alert.removeClass('block').slideUp(200);
|
|
|
|
// content.animate({paddingTop:'-=55'},200);
|
|
|
|
// content.animate({paddingTop:'-=55'},200);
|
|
|
@ -155,7 +155,7 @@ $(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
$('.new li:eq(1)').click(function(){
|
|
|
|
$('.new li:eq(1)').click(function(){
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
type: 'POST',
|
|
|
|
type: 'POST',
|
|
|
@ -204,7 +204,7 @@ $(function(){
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="fgx">功能菜单</div>
|
|
|
|
<div class="fgx">功能菜单</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 子导航 -->
|
|
|
|
<!-- 子导航 -->
|
|
|
|
<block name="sidebar">
|
|
|
|
<block name="sidebar">
|
|
|
|
<div id="subnav" class="subnav">
|
|
|
|
<div id="subnav" class="subnav">
|
|
|
@ -255,7 +255,7 @@ $(function(){
|
|
|
|
<!-- nav -->
|
|
|
|
<!-- nav -->
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
<if condition="CONTROLLER_NAME neq 'Index' ">
|
|
|
|
<if condition="CONTROLLER_NAME neq 'Index' ">
|
|
|
|
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<block name="body"> </block>
|
|
|
|
<block name="body"> </block>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -315,11 +315,11 @@ $(function(){
|
|
|
|
$this.next().slideToggle("fast").siblings(".side-sub-menu:visible").
|
|
|
|
$this.next().slideToggle("fast").siblings(".side-sub-menu:visible").
|
|
|
|
prev("h3").addClass('no').find("i").addClass("icon-fold").end().end().hide();
|
|
|
|
prev("h3").addClass('no').find("i").addClass("icon-fold").end().end().hide();
|
|
|
|
});*/
|
|
|
|
});*/
|
|
|
|
|
|
|
|
|
|
|
|
$("#subnav").on("click", "h3", function(event){
|
|
|
|
$("#subnav").on("click", "h3", function(event){
|
|
|
|
var e = event || window.event;
|
|
|
|
var e = event || window.event;
|
|
|
|
var target = $(e.target);
|
|
|
|
var target = $(e.target);
|
|
|
|
var $this = $(this);
|
|
|
|
var $this = $(this);
|
|
|
|
if ($this.index() == target.index())
|
|
|
|
if ($this.index() == target.index())
|
|
|
|
$this.find(".icon").toggleClass("icon-fold");
|
|
|
|
$this.find(".icon").toggleClass("icon-fold");
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -327,7 +327,7 @@ $(function(){
|
|
|
|
$this.next().slideToggle("fast").siblings(".side-sub-menu:visible").
|
|
|
|
$this.next().slideToggle("fast").siblings(".side-sub-menu:visible").
|
|
|
|
prev("h3").find("i").addClass("icon-fold").end().end().hide();
|
|
|
|
prev("h3").find("i").addClass("icon-fold").end().end().hide();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#subnav h3 a").click(function(e){e.stopPropagation()});
|
|
|
|
$("#subnav h3 a").click(function(e){e.stopPropagation()});
|
|
|
|
|
|
|
|
|
|
|
|