150 lines
5.2 KiB
Plaintext
150 lines
5.2 KiB
Plaintext
<#-------------------------------------------------------------------------->
|
|
<#-----知启蒙全局变量定义(统一使用zhiqim前缀)--------------------------------->
|
|
<#-------------------------------------------------------------------------->
|
|
|
|
<#var zhiqim.css = context.getRootPath("/service/res/zhiqim_v1.5.0.r2019010101.css")/>
|
|
<#var zhiqim.js = new ZmrCdnRuntime(context, "/service/res/zhiqim_v1.5.0.r2019010101.min.js")/>
|
|
<#var zhiqim.mobile.css= context.getRootPath("/service/res/zhiqim.mobile_v1.5.0.r2019010101.css")/>
|
|
<#var zhiqim.mobile.js= new ZmrCdnRuntime(context, "/service/res/zhiqim.mobile_v1.5.0.r2019010101.min.js")/>
|
|
<#var zhiqim_iframenav.js = new ZmrCdnRuntime(context, "/ztmpl/zhiqim_manager/zhiqim_iframenav_v1.5.0.r2019010101.js")/>
|
|
<#var jsencrypt.js = new ZmrCdnRuntime(context, "/ztmpl/zhiqim_manager/jsencrypt.js")/>
|
|
|
|
<#-------------------------------------------------------------------------->
|
|
<#-----知启蒙管理台变量定义(统一使用zmr前缀)---------------------------------->
|
|
<#-------------------------------------------------------------------------->
|
|
|
|
<#--分页显示默认条数-->
|
|
<#var zmr_page_size = 20/>
|
|
|
|
<#--脚注标注-->
|
|
<#var zmr_copyname = "2021 秒绘科技"/>
|
|
<#var zmr_copyright = "Copyright © "+zmr_copyname+" All Rights Reserved"/>
|
|
|
|
<#-------------------------------------------------------------------------->
|
|
<#-------知启蒙管理台函数定义(统一使用zhiqim_manager前缀)--------------------->
|
|
<#-------------------------------------------------------------------------->
|
|
|
|
<#--头部定义返回历史连接-->
|
|
<#function zhiqim_manager_history(url)>
|
|
<script>
|
|
function returnHistory()
|
|
{
|
|
window.location.href = "${url}";
|
|
}
|
|
</script>
|
|
</#function>
|
|
|
|
<#--主体内容-->
|
|
<#function zhiqim_manager_content()>
|
|
<div class="content">
|
|
</#function>
|
|
|
|
<#--主体内容结束-->
|
|
<#function zhiqim_manager_content_end()>
|
|
</div>
|
|
</#function>
|
|
|
|
<#--显示标题-->
|
|
<#function zhiqim_manager_title(name)>
|
|
<table class="z-table z-bordered zi-bd-b-none z-pd10">
|
|
<tr class="z-h40" style="background-color:${zmr_title_bgcolor}">
|
|
<td class="z-bold z-px15">${name}</td>
|
|
</tr>
|
|
</table>
|
|
</#function>
|
|
|
|
<#--显示无记录信息-->
|
|
<#function zhiqim_manager_no_record(colspan, desc)>
|
|
<tr class="zi-h60 zi-text-center z-bg-white">
|
|
<td colspan="${colspan}">${desc}</td>
|
|
</tr>
|
|
</#function>
|
|
|
|
<#--显示无记录信息-->
|
|
<#function zhiqim_manager_tr_no_record(result, colspan, desc)>
|
|
<#if result.isEmpty()>
|
|
<tr class="zi-h60 z-bg-white z-text-center">
|
|
<td colspan="${colspan}">${desc}</td>
|
|
</tr>
|
|
</#if>
|
|
</#function>
|
|
|
|
<#--显示tr标题-->
|
|
<#function zhiqim_manager_tr_title(colspan, name)>
|
|
<tr class="zi-h40">
|
|
<td class="z-bold z-px15 zi-pd-l5 z-text-left" colspan="${colspan}">${name}</td>
|
|
</tr>
|
|
</#function>
|
|
|
|
<#--判断列表背景分隔颜色-->
|
|
<#function zhiqim_manager_tr_bg(index)>
|
|
<#if index % 2 == 0>${zmr_tr_odd_bgcolor}<#else>${zmr_tr_even_bgcolor}</#if>
|
|
</#function>
|
|
|
|
<#--列表行移入移出颜色变化-->
|
|
<#function zhiqim_manager_tr_onmouse()>
|
|
onmouseover="Z(this).css('background-color', '${zmr_tr_over_bgcolor}')" onmouseout="Z(this).css('background-color', '${zmr_tr_even_bgcolor}')"
|
|
</#function>
|
|
|
|
<#--列表行点击选中单选按钮-->
|
|
<#function zhiqim_manager_tr_click_radio()>
|
|
onclick="Z(this).find('td:first-child > zcover > i.z-radio').click();"
|
|
</#function>
|
|
|
|
<#--列表行点击选中多选按钮-->
|
|
<#function zhiqim_manager_tr_click_checkbox()>
|
|
onclick="Z(this).find('td:first-child > zcover > i.z-checkbox').click();"
|
|
</#function>
|
|
|
|
<#--显示记录脚注-->
|
|
<#function zhiqim_manager_list(size)>
|
|
<table class="z-table z-bordered zi-bd-t-none z-bg-white">
|
|
<tr class="z-h40">
|
|
<td class="zi-pd-r10 z-text-right">共 <span class="z-color-red">${size}</span> 条数据</td>
|
|
</tr>
|
|
</table>
|
|
</#function>
|
|
|
|
<#--显示返回上一页-->
|
|
<#function zhiqim_manager_return()>
|
|
<table class="z-table z-bordered zi-bd-t-none z-pd10 z-bg-white">
|
|
<tr class="z-h60">
|
|
<td><a href="javascript:returnHistory();">返回上一页</a></td>
|
|
</tr>
|
|
</table>
|
|
</#function>
|
|
|
|
<#--显示返回上一页和提交-->
|
|
<#function zhiqim_manager_submit()>
|
|
<table class="z-table zi-bd zi-bd-t-none z-pd10 z-bg-white">
|
|
<tr class="z-h80">
|
|
<td width="40%"><a href="javascript:returnHistory();">返回上一页</a></td>
|
|
<td width="*"><button type="submit" class="z-button z-large z-w150 ${zmr_color_class}">提交</button></td>
|
|
</tr>
|
|
</table>
|
|
</#function>
|
|
|
|
<#--显示返回上一页和提交带参数-->
|
|
<#function zhiqim_manager_submit_onclick(onclick)>
|
|
<table class="z-table zi-bd zi-bd-t-none z-pd10 z-bg-white">
|
|
<tr class="z-h80">
|
|
<td width="40%"><a href="javascript:returnHistory();">返回上一页</a></td>
|
|
<td width="*"><button type="button" class="z-button z-large z-w150 ${zmr_color_class}" onclick="${onclick}">提交</button></td>
|
|
</tr>
|
|
</table>
|
|
</#function>
|
|
|
|
<#-------------------------------------------------------------------------->
|
|
<#-------知启蒙管理台预定义函数定义------------------------------------------->
|
|
<#-------------------------------------------------------------------------->
|
|
|
|
<#--topnav左边区域自定义块-->
|
|
<#function zhiqim_manager_topnav_left_defined()>
|
|
|
|
</#function>
|
|
|
|
<#--topnav右边区域自定义块-->
|
|
<#function zhiqim_manager_topnav_right_defined()>
|
|
|
|
</#function>
|