decodeProperties(array (
'file_dependency' =>
array (
'c6b248bdf4e16306c55fe3ea3e0cc660bafb9f2f' =>
array (
0 => 'E:\\ishangstudywebs\\zhaopin\\app\\template\\admin\\admin_model_config.htm',
1 => 1634883865,
2 => 'file',
),
),
'nocache_hash' => '2769267ff75580b8993-36266246',
'function' =>
array (
),
'variables' =>
array (
'config' => 0,
'newModel' => 0,
'mconfig' => 0,
'key' => 0,
'pytoken' => 0,
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.21-dev',
'unifunc' => 'content_67ff75580ef8a2_18918828',
),false); /*/%%SmartyHeaderCode%%*/?>
src="tpl_vars['config']->value['sy_weburl'];?>
/js/jquery-1.8.0.min.js?v=tpl_vars['config']->value['cachecode'];?>
">
>
src="js/admin_public.js?v=tpl_vars['config']->value['cachecode'];?>
" language="javascript">
>
src="tpl_vars['config']->value['sy_weburl'];?>
/js/layui/layui.js?v=tpl_vars['config']->value['cachecode'];?>
">
>
src="tpl_vars['config']->value['sy_weburl'];?>
/js/layui/phpyun_layer.js?v=tpl_vars['config']->value['cachecode'];?>
">
>
后台管理
>
function tip(id){
layer.tips('关闭模块后请在导航设置中对相应导航作隐藏或删除处理!', '#'+id,{time:2,guide: 2,style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC']});
$(".xubox_layer").addClass("xubox_tips_border");
}
>
操作提示
如果关闭模块,请对系统->导航管理里面删除或取消显示!
>
layui.use(['layer', 'form'], function() {
var layer = layui.layer,
form = layui.form,
$ = layui.$;
'tpl_vars['mconfig'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['mconfig']->_loop = false;
$_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['newModel']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['mconfig']->key => $_smarty_tpl->tpl_vars['mconfig']->value) {
$_smarty_tpl->tpl_vars['mconfig']->_loop = true;
$_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['mconfig']->key;
?>'
form.on('checkbox(tpl_vars['key']->value;?>
)', function(data){
if(data.elem.checked){
$("#sy_tpl_vars['key']->value;?>
_web").val('1');
}else{
$("#sy_tpl_vars['key']->value;?>
_web").val('2');
}
});
''
});
$(function() {
$('.btn_nav').click(function() {
var config = $(this).attr('data-config');
var name = $(this).attr('data-name');
layer.open({
type: 2,
title: '设置导航',
content: 'index.php?m=model_config&c=setnav&config=' + config + '&name=' + name,
skin: 'layui-layer-molv',
maxmin: true,
area: ['900px', '450px']
});
});
$('.btn_seo').click(function() {
var config = $(this).attr('data-config');
layer.open({
type: 2,
title: '设置SEO',
content: 'index.php?m=model_config&c=setseo&config=' + config,
skin: 'layui-layer-lan',
maxmin: true,
area: ['900px', '450px'],
moveOut: true
});
});
});
function checkForm(){
loadlayer();
}
>