detail.jsp 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ include file="../common/common.jsp"%>
  3. <title>专题详情</title>
  4. </head>
  5. <link rel="stylesheet" type="text/css" href="${staticPath}webupload/progress.css">
  6. <link rel="stylesheet" type="text/css" href="${staticPath}/css/jquery.datetimepicker.css" />
  7. <body>
  8. <div class="open-content open-pad">
  9. <form id="dataForm" method="post">
  10. <input type="hidden" id="type" name="type" value="${map.type}" />
  11. <ul class="ulFrmTwo width230 flex clearfix2">
  12. <c:if test="${map.type==0}">
  13. <li>
  14. <span class="label labelW80 labelRight"><em>*</em>&nbsp;产品</span>
  15. <select name="productName" id="productName">
  16. <option value="${map.productName}">${map.productName}</option>
  17. </select>
  18. </li>
  19. <li>
  20. <span class="label labelW80 labelRight"><em></em>&nbsp;品牌</span>
  21. <select name="brandName" id="brandName">
  22. <option value="${map.brandName}">${map.brandName}</option>
  23. <option value="">下拉选择</option>
  24. </select>
  25. </li>
  26. </c:if>
  27. <c:if test="${map.type==1}">
  28. <li>
  29. <span class="label labelW80 labelRight"><em>*</em>&nbsp;栏目</span>
  30. <select name="productName" id="productName">
  31. <option value="${map.productName}">${map.productName}</option>
  32. </select>
  33. </li>
  34. <li>
  35. <span class="label labelW80 labelRight"><em></em>&nbsp;内容</span>
  36. <select name="brandName" id="brandName">
  37. <option value="${map.brandName}">${map.brandName}</option>
  38. <option value="">下拉选择</option>
  39. </select>
  40. </li>
  41. </c:if>
  42. <li>
  43. <span class="label labelW80 labelRight"><em></em>&nbsp;广告主</span>
  44. <input type="text" name="advMaster" class="text" value="${map.advMaster}" placeholder="请输入广告主" size="12" maxlength="20"/>
  45. </li>
  46. <li>
  47. <span class="label labelW80 labelRight"><em>*</em>&nbsp;媒体</span>
  48. <select name="mediaName" id="mediaName">
  49. <option value="${map.mediaName}">${map.mediaName}</option>
  50. </select>
  51. </li>
  52. <li>
  53. <span class="label labelW80 labelRight"><em>*</em>&nbsp;播出环境</span>
  54. <select name="showEnv" id="showEnv">
  55. <option value="">下拉选择</option>
  56. <option value="0" <c:if test="${map.showEnv == 0}"> selected="selected"</c:if>>电影</option>
  57. <option value="1" <c:if test="${map.showEnv == 1}"> selected="selected"</c:if>>电视剧</option>
  58. <option value="2" <c:if test="${map.showEnv == 2}"> selected="selected"</c:if>>综艺</option>
  59. <option value="3" <c:if test="${map.showEnv == 3}"> selected="selected"</c:if>>专题</option>
  60. <option value="4" <c:if test="${map.showEnv == 4}"> selected="selected"</c:if>>栏目</option>
  61. <option value="5" <c:if test="${map.showEnv == 5}"> selected="selected"</c:if>>纪录片</option>
  62. <option value="6" <c:if test="${map.showEnv == 6}"> selected="selected"</c:if>>天气预报</option>
  63. <option value="7" <c:if test="${map.showEnv == 7}"> selected="selected"</c:if>>小品</option>
  64. <option value="8" <c:if test="${map.showEnv == 8}"> selected="selected"</c:if>>动画</option>
  65. <option value="9" <c:if test="${map.showEnv == 9}"> selected="selected"</c:if>>新闻</option>
  66. <option value="10" <c:if test="${map.showEnv == 10}"> selected="selected"</c:if>>广告片</option>
  67. <option value="11" <c:if test="${map.showEnv == 11}"> selected="selected"</c:if>>宣传片</option>
  68. <option value="12" <c:if test="${map.showEnv == 12}"> selected="selected"</c:if>>预告片</option>
  69. <option value="13" <c:if test="${map.showEnv == 13}"> selected="selected"</c:if>>公益广告</option>
  70. <option value="14" <c:if test="${map.showEnv == 14}"> selected="selected"</c:if>>音乐</option>
  71. <option value="15" <c:if test="${map.showEnv == 15}"> selected="selected"</c:if>>体育</option>
  72. <option value="16" <c:if test="${map.showEnv == 16}"> selected="selected"</c:if>>财经</option>
  73. <option value="17" <c:if test="${map.showEnv == 17}"> selected="selected"</c:if>>戏剧</option>
  74. <option value="18" <c:if test="${map.showEnv == 18}"> selected="selected"</c:if>>其他</option>
  75. </select>
  76. </li>
  77. <li>
  78. <div class="tvNameSelect" <c:choose><c:when test="${map.showEnv == 1}"></c:when><c:otherwise>style="display:none"</c:otherwise></c:choose> >
  79. <span class="label labelW80 labelRight "><em>*</em>&nbsp;播出节目</span>
  80. <select name="tvName" id="tvName">
  81. <c:choose><c:when test="${map.showEnv == 1}"><option value="${map.tvName}">${map.tvName}</option></c:when><c:otherwise><option value=""></option></c:otherwise></c:choose>
  82. </select>
  83. </div>
  84. <div class="tvNameInput" <c:choose><c:when test="${map.showEnv != 1}"></c:when><c:otherwise>style="display:none"</c:otherwise></c:choose> >
  85. <span class="label labelW80 labelRight "><em>*</em>&nbsp;播出节目</span>
  86. <input type="text" name="tvNameInput" id="tvNameInput" class="text" value="<c:choose><c:when test="${map.showEnv != 1}">${map.tvName}</c:when><c:otherwise></c:otherwise></c:choose>"
  87. placeholder="请输入播出节目" size="12" maxlength="20"/>
  88. </div>
  89. </li>
  90. <li>
  91. <span class="label labelW80 labelRight"><em>*</em>&nbsp;播出日期</span>
  92. <input type="text" name="showDate" id="showDate" class="text" placeholder="请输入播出日期" size="12" value="${map.showDate}"/>
  93. </li>
  94. <li>
  95. <span class="label labelW80 labelRight"><em>*</em>&nbsp;播出时间</span>
  96. <input type="text" name="showTime" id="showTime" class="text" placeholder="请输入播出时间" size="12" value="${map.showTime}"/>
  97. </li>
  98. <li>
  99. <span class="label labelW80 labelRight"><em>*</em>&nbsp;时长(分)</span>
  100. <input type="text" name="showDuration" class="text" value="${map.showDuration}" onkeyup="isNumber(this)" placeholder="请输入时长(分)" maxlength="6" size="12"/>
  101. </li>
  102. <li>
  103. <span class="label labelW80 labelRight"><em></em>&nbsp;刊例价格(万)</span>
  104. <input type="text" name="price" class="text" value="${map.price}" onkeyup="isNumber(this)" placeholder="刊例价格(万)" size="12" maxlength="8"/>
  105. </li>
  106. <li>
  107. <span class="label labelW80 labelRight"><em></em>&nbsp;联系方式</span>
  108. <input type="text" name="phone" class="text" value="${map.phone}" size="12" placeholder="请输入联系方式" maxlength="20"/>
  109. </li>
  110. </ul>
  111. </form>
  112. </div>
  113. <div class="open-fixed-buttons">
  114. <a href="javascript:save();" class="btn-radius">提交</a>
  115. <a href="javascript:top.$.closeWindow();" class="btn-radius cancel">取消</a>
  116. </div>
  117. <script type="text/javascript" src="${staticPath}webupload/webuploader.min.js"></script>
  118. <script type="text/javascript" src="${staticPath}webupload/upload.js"></script>
  119. <script type="text/javascript" src="${staticPath}js/adspecial/adspecial.js"></script>
  120. <script type="text/javascript" src="${staticPath}js/common/jquery.datetimepicker.js"></script>
  121. <script type="text/javascript">
  122. $(function(){
  123. $.resetText();
  124. $(".text").input();
  125. $(".select").uiSelect();
  126. $("#showDate").datetimepicker();
  127. $("#showTime").datetimepicker({format: 'H:i', timepicker: true, datepicker: false, step:1});
  128. });
  129. </script>
  130. </body>
  131. </html>