<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../common/common.jsp"%>
<title>app资源详情</title>
</head>
<body>
<div class="open-content open-pad">
    <form id="dataForm" method="post">
        <ul class="ulFrm">
            <li>
                <span class="label labelW80 labelRight"><em>*</em>&nbsp;资源名称：</span>
                <input type="text" name="name" class="text {text:'请输入媒体名称。'}" size="35" value="${map.name}" />
            </li>
            <li>
                <span class="label labelW80 labelRight"><em>*</em>&nbsp;时间：</span>
                <input type="text" name="showTime" class="text {text:'请输入时间。'}" size="35" value="${map.showTime}" />
            </li>
            <li>
                <span class="label labelW80 labelRight">注册用户：</span>
                <input type="text" name="registeredUser" class="text {text:'请填写注册用户，最多两位小数'}" size="35" value="${map.registeredUser}" />
                <span>万</span>
            </li>
            <li>
                <span class="label labelW80 labelRight">下载量：</span>
                <input type="text" name="downloads" class="text {text:'请输入下载量，最多两位小数'}" size="35" value="${map.downloads}" />
                <span>万</span>
            </li>
            <li>
                <span class="label labelW80 labelRight">日活：</span>
                <input type="text" name="dailyActivity" class="text {text:'请输入日活，最多两位小数'}" size="35" value="${map.dailyActivity}" />
                <span>万</span>
            </li>
            <li>
                <span class="label labelW80 labelRight">月活：</span>
                <input type="text" name="monthlyActivity" class="text {text:'请输入月活，最多两位小数'}" size="35" value="${map.monthlyActivity}" />
                <span>万</span>
            </li>
            <li>
                <span class="label labelW80 labelRight">媒体标签：</span>
                <input type="text" name="mediaLabel" class="text {text:'多个用顿号隔开'}" size="35" value="${map.mediaLabel}" />
            </li>
            <li>
                <span class="label labelW80 labelRight">广告形式：</span>
                <input type="text" name="advertisementForm" class="text {text:'多个用顿号隔开'}" size="35" value="${map.advertisementForm}" />
            </li>
            <li>
                <span class="label labelW80 labelRight">系统平台：</span>
                <input type="text" name="systemPlatform" class="text {text:'多个用顿号隔开'}" size="35" value="${map.systemPlatform}" />
            </li>
            <li>
                <span class="label labelW80 labelRight">展示方式：</span>
                <input type="text" name="displayMode" class="text {text:'多个用顿号隔开'}" size="35" value="${map.displayMode}" />
            </li>
            <li>
                <span class="label labelW80 labelRight">CPX：</span>
                <input type="text" name="cpx" class="text {text:'多个用顿号隔开'}" size="35" value="${map.cpx}" />
            </li>
            <li>
                <span class="label labelW80 labelRight"><em>*</em>&nbsp;刊例价格：</span>
                <input type="text" name="price" class="text {text:'请输入刊例价格'}" size="35" value="${map.price}" />
                <span>元</span>
            </li>
            <li>
                <span class="label labelW80 labelRight"><em>*</em>&nbsp;售卖状态：</span>
                <input type="radio" class="radio" id="saleStatus1" name="saleStatus" value="0" ${map.saleStatus == null ? "" :map.saleStatus == 0 ? "checked": "" } /><label>在售</label>
                <input type="radio" class="radio" id="saleStatus2" name="saleStatus" value="1" ${map.saleStatus == 1 ? "checked": "" } /><label>已售</label>
            </li>
            <li>
                <span class="label labelW80 labelRight">已售客户：</span>
                <input type="text" name="customer" class="text {text:'多个用顿号隔开'}" size="35" value="${map.customer}" />
            </li>
            <li>
                <span class="label labelW80 labelRight">备注：</span>
                <textarea rows="3"  class="textarea" name="remarks" id="content" cols="30">${map.remarks}</textarea>
            </li>
        </ul>
    </form>
</div>
<div class="open-fixed-buttons">
    <a href="javascript:saveApp();" class="btn-radius">提交</a>
    <a href="javascript:top.$.closeWindow();" class="btn-radius">取消</a>
</div>

<script type="text/javascript" src="${staticPath}js/adresource/app.js"></script>
<script type="text/javascript">
	$(function(){
		$.resetText();
	    $.radio();
	    $(".text").input();
	});
</script>
</body>
</html>