|
@@ -21,97 +21,88 @@
|
|
|
<li><i class="icon-angle-right"></i></li>
|
|
|
<li><a href="${ctx}/operator/main/ad/zone">广告位管理</a></li>
|
|
|
<li><i class="icon-angle-right"></i></li>
|
|
|
- <li class="navDiv_currentLiss">编辑广告位</li>
|
|
|
+ <li class="navDiv_currentLi">编辑广告位</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<form id="validateForm" action="${ctx}/operator/main/ad/zone/save" method="post" enctype="multipart/form-data">
|
|
|
<input autocomplete="off" type="hidden" name="id" value="${zone.id!}"/>
|
|
|
- <div id="created_ops">
|
|
|
- <div class="choose_ops">
|
|
|
- <span class="star">*</span><span>广告位名称</span>
|
|
|
- <div class="opsdiv_control">
|
|
|
- <input name="name" type="text" verify="unspecial/255/1/0" value="${zone.name!}"></span><span class="spanVaildate"></span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="choose_ops">
|
|
|
- <span class="star">*</span><span>类型</span>
|
|
|
- <div class="opsdiv_control">
|
|
|
- <input type="radio" name="device" class="input_control" id="Mobile Web" value="1" <#if zone.device==1>checked</#if>/>
|
|
|
- <label class="label1" for="Mobile Web">网页</label>
|
|
|
- <input type="radio" name="device" class="input_control" id="APP" value="2" <#if zone.device==2>checked</#if>/>
|
|
|
- <label class="label1" for="APP" class="first_control">APP</label>
|
|
|
- </div>
|
|
|
+ <div class="input-group">
|
|
|
+ <label class="input-label-other"><span class="lbl-yes">*</span>广告位名称:</label>
|
|
|
+ <input class="input-text" tabindex="1" id="name" name="name" type="text" value="${zone.name!}" verify="unspecial/255/1/0"/><span class="spanVaildate"></span>
|
|
|
+ </div>
|
|
|
+ <div class="input-group">
|
|
|
+ <label class="input-label-other"><span class="lbl-yes">*</span>类型:</label>
|
|
|
+ <div class="opsdiv_control">
|
|
|
+ <input type="radio" name="device" class="input_control" id="Mobile Web" value="1" <#if zone.device==1>checked</#if>/>
|
|
|
+ <label for="Mobile Web">网页</label>
|
|
|
+ <input type="radio" name="device" class="input_control" id="APP" value="2" <#if zone.device==2>checked</#if>/>
|
|
|
+ <label for="APP">APP</label>
|
|
|
</div>
|
|
|
- <div class="choose_ops">
|
|
|
- <span class="star">*</span><span>位置</span>
|
|
|
- <div class="opsdiv_control">
|
|
|
- <input id="authenpage" type="radio" name="position" class="input_control" value="1" <#if zone.position==1>checked</#if>/>
|
|
|
- <label class="label1" for="authenpage" class="first_control">认证页</label>
|
|
|
- <input id="jump" type="radio" name="position" class="input_control" value="2" <#if zone.position==2>checked</#if>/>
|
|
|
- <label class="label1" for="jump">跳转页</label>
|
|
|
- <input id="net" type="radio" name="position" class="input_control" value="3" <#if zone.position==3>checked</#if>/>
|
|
|
- <label class="label1" for="net">上网过程</label>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ <div class="input-group">
|
|
|
+ <label class="input-label-other"><span class="lbl-yes">*</span>位置:</label>
|
|
|
+ <div class="opsdiv_control">
|
|
|
+ <input id="authenpage" type="radio" name="position" class="input_control" value="1" <#if zone.position==1>checked</#if>/>
|
|
|
+ <label for="authenpage" >认证页</label>
|
|
|
+ <input id="jump" type="radio" name="position" class="input_control" value="2" <#if zone.position==2>checked</#if>/>
|
|
|
+ <label class="label1" for="jump">跳转页</label>
|
|
|
+ <input id="net" type="radio" name="position" class="input_control" value="3" <#if zone.position==3>checked</#if>/>
|
|
|
+ <label for="net">上网过程</label>
|
|
|
</div>
|
|
|
- <div class="choose_ops">
|
|
|
- <span class="star">*</span><span>尺寸</span>
|
|
|
- <div class="opsdiv_control">
|
|
|
- <#if SizeList ??>
|
|
|
- <#list SizeList as size>
|
|
|
- <input type="radio" id="#{size.width}X#{size.height}" class="input_control" <#if zone.sizeId==size.id>checked</#if> value="${size.id}" name="sizeId">
|
|
|
- <label for="#{size.width}X#{size.height}" class="first_control label1">${size.width}X${size.height}</label>
|
|
|
- </#list>
|
|
|
- </#if>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ <div class="input-group">
|
|
|
+ <label class="input-label-other"><span class="lbl-yes">*</span>尺寸:</label>
|
|
|
+ <div class="opsdiv_control">
|
|
|
+ <#if SizeList ??>
|
|
|
+ <#list SizeList as size>
|
|
|
+ <input type="radio" id="#{size.width}X#{size.height}" class="input_control" <#if zone.sizeId==size.id>checked</#if> value="${size.id!}" name="sizeId">
|
|
|
+ <label for="#{size.width}X#{size.height}">${size.width}X${size.height}</label>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
</div>
|
|
|
- <div class="choose_ops">
|
|
|
- <div id="advertiser">
|
|
|
- <span>垫底广告</span>
|
|
|
- <div id="picture-divs" class="opsdiv_control">
|
|
|
- <label class="label1" >上传素材</label>
|
|
|
- <div id="filepicture_picture">
|
|
|
- <input type="hidden" name="default_path" id="uploadfilehidden" value="${zone.default_path!}"/>
|
|
|
- <input type="file" name="file" id="uploadfile" class='videoSt0'/>
|
|
|
- <div id="pull">
|
|
|
- <button id="uploadfilestr" type="button" href="${ctx}/operator/main/ad/zone/fileupload">上传</button>
|
|
|
- <div class="help_inline_text" id="style_A">jpg/gif 2M以下</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div id="fileurl fileurl_a" class="controls radioC">
|
|
|
- <label class="label_click" id="click">点击地址</label>
|
|
|
- <input id="default_url" type="text" name="default_url" verify="text/255/0/0" value="${zone.default_url!}"></span><span class="spanVaildate"></span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ <div class="input-group" id="pathDiv">
|
|
|
+ <label class="input-label-other"><span class="lbl-no"></span>垫底广告:</label>
|
|
|
+ <div class="opsdiv_control">
|
|
|
+ <label class="lable1">上传素材</label>
|
|
|
+ <div id="filepicture_picture">
|
|
|
+ <input type="hidden" name="default_path" id="uploadfilehidden" value="${zone.default_path!}"/>
|
|
|
+ <input type="file" name="file" id="uploadfile"/>
|
|
|
+ <button id="uploadfilestr" type="button" href="${ctx}/operator/main/ad/zone/fileupload">上传</button>
|
|
|
+ <span class="help_inline_text">jpg/gif 2M以下</span>
|
|
|
</div>
|
|
|
- <div>
|
|
|
- <div class="choose_ops">
|
|
|
- <div class="opsdiv_control">
|
|
|
- <label class="label1" id="imgspan_pic">缩略图</label>
|
|
|
- <div id="enlarge_images"></div>
|
|
|
+ <div id="imgDivs">
|
|
|
+ <label id="imgspan_pic">缩略图</label>
|
|
|
+ <div id="son_imgDiv">
|
|
|
+ <img id="smallImg" src="${zone.default_path_small!}"/>
|
|
|
+ <div id="enlarge_images"></div>
|
|
|
<input id="default_path_small" type="hidden" name="default_path_small" value="${zone.default_path_small!}"/>
|
|
|
<input id="pictureName" type="hidden" name="pictureName" value="${pictureName!}"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div id="fileurl">
|
|
|
+ <label class="lable1">点击地址</label>
|
|
|
+ <input class="input-text" id="default_url" type="text" name="default_url" verify="text/255/0/0" value="${zone.default_url!}"/></span><span class="spanVaildate"></span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <br>
|
|
|
- <div class="choose_ops" id="choose_ops_check">
|
|
|
- <span class="star">*</span><span>素材再次自审</span>
|
|
|
+ <div class="input-group" id="recheckDiv">
|
|
|
+ <label class="input-label-other"><span class="lbl-yes">*</span>素材再次自审:</label>
|
|
|
<div class="opsdiv_control">
|
|
|
<input type="radio" name="recheck" class="first_control" id="yes" value="1" <#if zone.recheck==1>checked</#if>/>
|
|
|
<label class="label1" for="yes">是</label>
|
|
|
<input type="radio" name="recheck" class="input_control" id="no" value="0" <#if zone.recheck==0>checked</#if>/>
|
|
|
- <label class="label1" for="no" class="input_control">否</label><span class="help_inline">(云联已对广告素材做过审核)</span>
|
|
|
+ <label for="no" class="input_control">否</label><span class="help_inline">(云联已对广告素材做过审核)</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="choose_ops">
|
|
|
- <span>行业黑名单</span>
|
|
|
+ <div class="input-group">
|
|
|
+ <label class="input-label-other"><span class="lbl-no"></span>行业黑名单:</label>
|
|
|
<div class="opsdiv_control">
|
|
|
<input type="button" value="全部" class="add_all btn_hover" id="add_all">
|
|
|
<input type="button" value="清空" class="clear_all btn_hover" id="clear_all">
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="choose_ops">
|
|
|
+ <div class="input-group" id="industryDiv">
|
|
|
<ul id="all_industry">
|
|
|
<span class="ul_title">全部行业</span>
|
|
|
<#if notzoneIndustryList ??>
|
|
@@ -130,7 +121,7 @@
|
|
|
</ul>
|
|
|
<ul id="blacklist">
|
|
|
<span class="ul_title" id="ul_title">黑名单行业</span>
|
|
|
- <input type="hidden" value="" id="industry_blacklist" name="industry" />
|
|
|
+ <input type="hidden" value="${industryStr!}" id="industry_blacklist" name="industry" />
|
|
|
<#if industryList ??>
|
|
|
<#list industryList as industry>
|
|
|
<#list zoneIndustryList as z>
|
|
@@ -142,27 +133,27 @@
|
|
|
</#if>
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <div class="choose_ops" id="ops_lastul">
|
|
|
- <span>网站黑名单</span>
|
|
|
- <div class="opsdiv_control" >
|
|
|
- <input type="text" value="" id="blackname">
|
|
|
+ <div class="input-group" id="blackDiv">
|
|
|
+ <label class="input-label-other"><span class="lbl-no"></span>网站黑名单:</label>
|
|
|
+ <div class="opsdiv_control">
|
|
|
+ <input class="input-text" type="text" value="" id="blackname"/>
|
|
|
<input type="button" value="添加" class="add_all btn_hover" id="add_web"/>
|
|
|
<input type="button" value="清空" class="clear_all btn_hover" id="clear_allweb"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="choose_ops">
|
|
|
+ <div class="input-group" id="web_blacklistDiv">
|
|
|
<ul id="web_blacklist">
|
|
|
<input type="hidden" value="${zoneDomainStr!}" id="web_blacklistvalue" name="domain" />
|
|
|
<#if zoneDomainList ??>
|
|
|
<#list zoneDomainList as zoneDomain>
|
|
|
<li>${zoneDomain.domain}<input type='button' class='movedel'/></li>
|
|
|
</#list>
|
|
|
- </#if>
|
|
|
+ </#if>
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <div id="creat_okbutton">
|
|
|
- <button id="btn-save" class="btn-save">保存</button>
|
|
|
- <button class="btn-cancel">取消</button>
|
|
|
+ <div id="footBtn">
|
|
|
+ <button class="btn-save" type="submit">保存</button>
|
|
|
+ <button class="btn-cancel" type="button">取消</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|