| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 | 
							- <?php /* Smarty version 2.6.17, created on 2018-05-26 11:47:12
 
-          compiled from ./admin/bottom.html */ ?>
 
- </div>
 
- <div id="adminfooter">
 
- <a href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
 
- /admin/">后台管理平台</a> 1.0.0 版本
 
- </div>
 
- <script>
 
- KISSY.use('node, cookie, tabs, dom, event', function (S, Node, Cookie, Tabs, DOM, Event) {
 
- 	var $ = S.all;
 
- 	var X_ADMINMENU = 'X_ADMINMENU';
 
- 	//初始化导航
 
- 	if (Cookie.get(X_ADMINMENU) == 'sticky') {
 
- 		$("body").addClass('sticky-menu');
 
- 		$("#adminmenu .pack-up").all('i').replaceClass('fa-arrow-circle-o-left', 'fa-arrow-circle-o-right');
 
- 	} else {
 
- 		$("body").removeClass('sticky-menu');
 
- 		$("#adminmenu .pack-up").all('i').replaceClass('fa-arrow-circle-o-right', 'fa-arrow-circle-o-left');
 
- 	}
 
- 	
 
- 	//初始化默认内容高度
 
- 	$("#admincontent").css({'min-height':$(document).height() - 150});
 
- 	
 
- 	//左侧导航
 
- 	$("#adminmenu .pack-up").on('click', function () {
 
- 		if ($("body").hasClass('sticky-menu')) {
 
- 			$("body").removeClass('sticky-menu');
 
- 			$(this).all('i').replaceClass('fa-arrow-circle-o-right', 'fa-arrow-circle-o-left');
 
- 			Cookie.remove(X_ADMINMENU);
 
- 		} else {
 
- 			$("body").addClass('sticky-menu');
 
- 			$(this).all('i').replaceClass('fa-arrow-circle-o-left', 'fa-arrow-circle-o-right');
 
- 			Cookie.set(X_ADMINMENU, 'sticky');
 
- 		}
 
- 	});
 
- 	
 
- 	$("#adminmenu .menu-list").on('mouseenter', function () {
 
- 			$(this).addClass('opensub');
 
- 	}).on('mouseleave', function () {
 
- 		$(this).removeClass('opensub');
 
- 	});
 
- 	
 
- 	//bar 下拉菜单
 
- 	$(".barshow").on('mouseenter', function () {
 
- 		$(this).all('.showbox').show();
 
- 		$(this).addClass('catch');
 
- 	});
 
- 	$(".barshow").on('mouseleave', function () {
 
- 		$(this).all('.showbox').hide();
 
- 		$(this).removeClass('catch');
 
- 	});
 
- 	// 刷新
 
- 	$("#adminrefresh").on('click', function () {
 
- 		$(this).all('i').addClass("fa-spin");
 
- 	});
 
- 	
 
- 	//退出登录提示
 
- 	$("#back_logout").on('click', function () {
 
- 		if (!confirm("确认退出登录?")) {
 
- 			return false;
 
- 		}
 
- 	});
 
- 	//二维码tabs
 
- 	$(".ks-activity-right-tabs").each(function (n) {
 
-         new Tabs({
 
-         	changeType: 'mouse',
 
-             srcNode: n
 
-         }).render();
 
-     });
 
- 	
 
- 	//二维码 选中活动地址
 
- 	$(".activity_right_url_input").on('click', function () {
 
- 		var t = DOM.get($(this));
 
- 		DOM.prop(t, "selectionStart", 0);
 
-         DOM.prop(t, "selectionEnd", t.value.length);
 
- 	});
 
- });
 
- </script>
 
- </body>
 
- </html>
 
 
  |