|
|
|
<extend name="Public/base"/>
|
|
|
|
|
|
|
|
<block name="body">
|
|
|
|
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
|
|
|
|
<script type="text/javascript" src="__STATIC__/webuploader/webuploader.js"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/admin_table.css" media="all">
|
|
|
|
<link rel="stylesheet" type="text/css" href="__STATIC__/webuploader/webuploader.css" media="all">
|
|
|
|
<script type="text/javascript" src="__STATIC__/webuploader/webuploader.inc.js"></script>
|
|
|
|
<script type="text/javascript" src="__STATIC__/webuploader/webuploader.before.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="cf main-place top_nav_list navtab_list">
|
|
|
|
<ul class="tabnav1711 fr jstabnav">
|
|
|
|
<volist name="Think.config.BA_CONFIG_GROUP_LIST" id="group">
|
|
|
|
<li <eq name="id" value="$key">class="current"</eq>>
|
|
|
|
<a href="{:U('security',array(cate_id=>I('cate_id'),group_id=>$key))}"><if condition='$group eq "内容"'>图标<else/>{$group}</if>配置</a>
|
|
|
|
</li>
|
|
|
|
</if>
|
|
|
|
</volist>
|
|
|
|
</ul>
|
|
|
|
<h3 class="page_title">商务专员</h3>
|
|
|
|
<p class="description_text">说明:针对商务专员平台的基本信息进行配置</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="tab-wrap tab-list">
|
|
|
|
|
|
|
|
<div class="tab-content tabcon1711 tabcon17112">
|
|
|
|
<form action="{:U('save')}" method="post" class="form-horizontal">
|
|
|
|
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
|
<tbody>
|
|
|
|
<volist name="list" id="config">
|
|
|
|
<tr class="<eq name='config.type' value='5'>picbox</eq>">
|
|
|
|
<td class="l noticeinfo">{$config.title}</td>
|
|
|
|
<td class="r table_radio">
|
|
|
|
<switch name="config.type">
|
|
|
|
<case value="0">
|
|
|
|
<input type="text" class="text input-small" name="config[{$config.name}]" value="{$config.value}">
|
|
|
|
</case>
|
|
|
|
<case value="1">
|
|
|
|
<input type="text" class="text input-large {$config.name}" name="config[{$config.name}]" value="{$config.value}">
|
|
|
|
</case>
|
|
|
|
<case value="2">
|
|
|
|
<textarea name="config[{$config.name}]">{$config.value}</textarea>
|
|
|
|
</case>
|
|
|
|
<case value="3">
|
|
|
|
<textarea name="config[{$config.name}]">{$config.value}</textarea>
|
|
|
|
</case>
|
|
|
|
<case value="4">
|
|
|
|
<select name="config[{$config.name}]">
|
|
|
|
<volist name=":parse_config_attr($config['extra'])" id="vo">
|
|
|
|
<option value="{$key}" <eq name="config.value" value="$key">selected</eq>>{$vo}</option>
|
|
|
|
</volist>
|
|
|
|
</select>
|
|
|
|
</case>
|
|
|
|
<case value="5">
|
|
|
|
<if condition="$config.name eq 'MB_SITE_LOGO'" >
|
|
|
|
<input type="hidden" name="config[{$config.name}]" id="cover_id_{$config.name}" value="{$config['value']}"/>
|
|
|
|
<div id="uploader-demo" >
|
|
|
|
<div id="mbsitelogo">
|
|
|
|
<div class="webuploader-pick" style="line-height: 13px" onclick="upload('mbsitelogo','mbsitelogoList',5,'{$config.value}','{$config.valuedata}','icon_data','MB_SITE_LOGO','{:U('File/uploadPicture',array('session_id'=>session_id(),'flag'=>true))}')">上传图片</div></div>
|
|
|
|
<div id="mbsitelogoList" class="uploader-list" style="display: flex;"></div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
upload('mbsitelogo','mbsitelogoList',5,'{$config.value}','{$config.valuedata}','icon_data','MB_SITE_LOGO','{:U('File/uploadPicture',array('session_id'=>session_id(),'flag'=>true))}')
|
|
|
|
</script>
|
|
|
|
<else />
|
|
|
|
<input type="hidden" name="config[{$config.name}]" id="cover_id_{$config.name}" value="{$config['value']}"/>
|
|
|
|
<div id="uploader-demo" >
|
|
|
|
<div id="mbsiteicon">
|
|
|
|
<div class="webuploader-pick" style="line-height: 13px" onclick="upload('mbsiteicon','mbsiteiconList',5,'{$config.value}','{$config.valuedata}','icon_data','MB_SITE_ICON','{:U('File/uploadPicture',array('session_id'=>session_id(),'flag'=>true))}')">上传图片</div></div>
|
|
|
|
<div id="mbsiteiconList" class="uploader-list" style="display: flex;"></div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
upload('mbsiteicon','mbsiteiconList',5,'{$config.value}','{$config.valuedata}','icon_data','MB_SITE_ICON','{:U('File/uploadPicture',array('session_id'=>session_id(),'flag'=>true))}')
|
|
|
|
</script>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
</case>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
<span class="notice-text"><table border="0" cellspacing="0" cellpadding="0"><tr><td>{$config.remark}</td></tr></table></span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</volist>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="form-item">
|
|
|
|
<label class="item-label"></label>
|
|
|
|
<div class="controls">
|
|
|
|
<empty name="list"><button type="submit" disabled class=" submit_btn disabled zwm_martl" target-form="form-horizontal">确 定</button><else/><button type="submit" class=" submit_btn ajax-post zwm_martl" target-form="form-horizontal">确 定</button></empty>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="common_settings">
|
|
|
|
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
|
|
|
|
<form class="addShortcutIcon">
|
|
|
|
<input type="hidden" name="title" value="{$m_title}">
|
|
|
|
<input type="hidden" name="url" value="Site/security">
|
|
|
|
</form>
|
|
|
|
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
<block name="script">
|
|
|
|
<volist name="list" id="config">
|
|
|
|
<if condition="$config.name eq 'DL_UPDATE_TIME' ">
|
|
|
|
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
|
|
|
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
|
|
|
|
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
|
|
|
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
|
|
|
|
|
|
|
|
</if></volist>
|
|
|
|
<script type="text/javascript">
|
|
|
|
//导航高亮
|
|
|
|
highlight_subnav('{:U('Site/security')}');
|
|
|
|
|
|
|
|
$('.DL_UPDATE_TIME').datetimepicker({
|
|
|
|
language:"zh-CN",
|
|
|
|
hour: 13,
|
|
|
|
minute: 15
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</block>
|