Zhiqim Markup Language是知启蒙定义的、类似于JavaJavascript语法的语句和表达式,通常和XML/HTML混编在一起形成的一种新的标记语言。 ZML力求简单易用,目前支持常用的十二种标记语句和五十种表达式,在知启蒙技术体系中被用来代替JSP。

森中灵 最后提交于1月前 替换zhiqim.jar,重新打包
echo.zml2KB
<!DOCTYPE html>
<html>
<head>
<title>${name}</title>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    ${name}
    ${Styles.src("/service/res/fadfox_2016100801.css")}
    ${Scripts.src("/service/res/fadfox_2016100801.min.js")}
    ${Styles.htmlOverflowHidden()}
    <#var abc="abc"/>
    @{name}
    <#-- dd -->
    <#-- 
    dd 
    -->
<script>
<!--
function doRefreshVcode()
{
    F("#vcode").attr("src", "/service/vcode.jpg?time=" + new Date().getTime());
}

function doRememberCode(rememberPass)
{
    if (rememberPass.checked)
    {
        F("#check").checked = true;
        F("[data-id=check]").addClass("f-active");
    }
}
//-->
</script>
</head>

<body onload="theForm.operatorCode.focus()" style="background-color:#dce2f1;">
<table class="f-table f-float-center fi-w500" style="margin-top:100px;">
<tr>
    <td>
    <form name="theForm" method="post" action="${loginUrl}" onsubmit="return validateForm(this);">
    <input type="password" style="display:none">
    <table class=" f-table f-bordered f-px14 f-float-center f-pd6" style="background-color:#f1f3f5">
    <tr>
        <th colspan="2" height="40" class="f-bold f-text-white fi-px20" style="border:1px solid #4455aa;border-bottom:none;background-color:#4455aa">${name}</th>
    </tr>
    <tr>
        <td width="150" align="right">登录名:</td>
        <td width="*">
            <input name="operatorCode" type="text" class="f-input f-large ${styleColor}" value="${operatorCode}" maxlength="32"<#if !hasAutoComplete> autocomplete="off"</#if>>&nbsp;&nbsp;
            <input data-role="f-checkbox" data-class="f-blue" id="check" type="checkbox" name="rememberCode" <#if Validates.isNotEmpty(operatorCode)>checked</#if>>&nbsp;&nbsp;记住用户名
        </td>
    </tr>
    <tr>
        <td align="right">密&nbsp;&nbsp;&nbsp;码:</td>
        <td>
            <input name="operatorPass" type="password" class="f-input f-large ${styleColor}" value="${operatorPass}" maxlength="32"<#if !hasAutoComplete> autocomplete="off"</#if>>&nbsp;&nbsp;
            <input data-role="f-checkbox" data-class="f-blue" type="checkbox" name="rememberPass" onclick="doRememberCode(this);" <#if Validates.isNotEmpty(operatorPass)>checked</#if>/>&nbsp;&nbsp;记住密码
        </td>
    </tr>
    <tr class="f-h50">
        <td colspan="2" align="center" bgcolor="#ffffff"><button type="submit" class="f-button f-blue f-w200 f-h40"><span class="f-px16">登录</span></button></td>
    </tr>
    </table>
    </form>
    </td>
</tr>
</table>
</body>
</html>