portal html css js resource

resourceIssue.html 7.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1.  <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <title>资源发布-科袖网</title>
  8. <link rel="shortcut icon" href="images/favicon.ico "/>
  9. <link href="../css/bootstrap.min.css" rel="stylesheet">
  10. <link type="text/css" href="../css/webuploader/webuploader.css" rel="stylesheet">
  11. <link type="text/css" href="css/common.css" rel="stylesheet">
  12. <link type="text/css" href="css/cmpindex.css" rel="stylesheet">
  13. <script type="text/javascript" src="js/public/jquery-1.11.1.js"></script>
  14. </head>
  15. <body>
  16. <header id="header">
  17. <script src="js/public/cmpHeader.js"></script>
  18. </header>
  19. <div id="container">
  20. <div class="containerCon">
  21. <div class="contentCon clearfix conBlock" style="padding-top:20px">
  22. <div class="leftconBox floatL">
  23. <ul class="artAbout">
  24. <li>
  25. <dl class="clearfix" id="fileList">
  26. <dd class="uploadD" id="uploadDd">
  27. <div class="uploadFile">
  28. <div class="uploadblock">
  29. <span class="" id="filePicker">上传图片</span>
  30. <!--未上传图片时-->
  31. <div class="upFront" id="uploader">
  32. <p>资源图片<em class="requiredcon">*</em></p>
  33. <p class="uploadtip">JPG/JPEG/PNG格式,<br/>2M以内</p>
  34. <span class="upbtn" style="margin-top:8px">上传图片</span>
  35. </div>
  36. </div>
  37. </div>
  38. </dd>
  39. <dd></dd>
  40. <dd></dd>
  41. </dl>
  42. </li>
  43. <li>
  44. <div class="aboutTit">资源名称<em class="requiredcon">*</em><span class="frmconmsg" id="resourceNamePrompt" style="display:none;">30字以内</span></div>
  45. <input type="text" class="frmtype frmcontype" id="resourceName" value="" placeholder="请输入资源名称" />
  46. </li>
  47. <li class="form-item">
  48. <div class="aboutTit">关键词<span class="frmconmsg" id="keyPrompt"></span></div>
  49. <div class="col-w-12" style="position: relative;">
  50. <input type="text" class="frmcontype oinput" placeholder="请输入关键词" data-pro="关键词不得超过15个字" data-num="5" data-fontSizeN="15" id="KeyWord" />
  51. <button type="button" class="frmcontype btnModel frmadd addButton">添加</button>
  52. <div class="form-drop keydrop">
  53. <ul>
  54. </ul>
  55. </div>
  56. </div>
  57. <div class="form-result keyResult" style="margin-top: -10px;">
  58. <ul class="ulspace editUlist clearfix" id="keyWordlist">
  59. <!--<li>dd<div class="closeThis"></div></li>-->
  60. </ul>
  61. </div>
  62. </li>
  63. <li>
  64. <div class="aboutTit">应用用途<em class="requiredcon">*</em><span class="frmconmsg" id="applicationPrompt" style="display:none;">250字以内</span></div>
  65. <div class="msgContbox">
  66. <textarea class="msgCont" placeholder="请输入应用用途" id="application"></textarea>
  67. <span class="msgconNum"><em>0</em>/250</span>
  68. </div>
  69. </li>
  70. <li>
  71. <div class="aboutTit">厂商型号<span class="frmconmsg" id="model" style="display:none;">50字以内</span></div>
  72. <input type="text" class="frmtype frmcontype" id="modelNumber" value="" placeholder="请输入厂商型号" />
  73. </li>
  74. <li>
  75. <div class="aboutTit">性能参数<span class="frmconmsg" id="performance" style="display:none;">1000字以内</span></div>
  76. <div class="msgContbox">
  77. <textarea class="msgCont" placeholder="请输入性能参数" id="performancePa"></textarea>
  78. <span class="msgconNum"><em>0</em>/1000</span>
  79. </div>
  80. </li>
  81. <li>
  82. <div class="aboutTit">合作备注<span class="frmconmsg" id="remark" style="display:none;">1000字以内</span></div>
  83. <div class="msgContbox">
  84. <textarea class="msgCont" placeholder="请输入合作备注" id="remarkContent"></textarea>
  85. <span class="msgconNum"><em>0</em>/1000</span>
  86. </div>
  87. </li>
  88. <li>
  89. <div class="aboutTit">详细介绍<span class="frmconmsg"></span></div>
  90. <!--这块还是使用编辑框插件-->
  91. <div class="editBlock">
  92. <script id="editor" name="content" type="text/plain" style="height:500px;"></script>
  93. </div>
  94. </li>
  95. </ul>
  96. </div>
  97. <div class="rightconBox floatR">
  98. <div class="conItem">
  99. <ul class="operateBlock" id="operateBlocko">
  100. <li class="goFabu">
  101. <em class="operateicon icon-issue"></em>
  102. <p>发布</p>
  103. </li>
  104. <li class="articalPreview" id="oPreview">
  105. <em class="operateicon icon-preview"></em>
  106. <p>预览</p>
  107. </li>
  108. <li id="oDraft">
  109. <em class="operateicon icon-draft"></em>
  110. <p>存草稿</p>
  111. </li>
  112. <li class="disableLi" id="deleteResource"><!--只要预览、存草稿、发布之后移除disableLi类-->
  113. <em class="operateicon icon-delete"></em>
  114. <p>删除</p>
  115. </li>
  116. </ul>
  117. </div>
  118. <div class="conItem">
  119. <div class="form-item otherBlock">
  120. <div class="aboutTit">负责人/联系人<em class="requiredcon">*</em><span class="frmconmsg" id="linkman"></span></div>
  121. <div class="form-result addexpertRe">
  122. <ul class="addexpert link-man-list" id="expertli">
  123. </ul>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. <div class="footer_tools">
  132. <a id="scrollUp" href="javascript:;" title="返回顶部"></a>
  133. </div>
  134. <footer>
  135. <script type="text/javascript" src="js/public/cmpFooter.js"></script>
  136. </footer>
  137. <script type="text/javascript"src="js/public/jquery.cookie.js"></script>
  138. <script type="text/javascript"src="js/public/jquery.similar.msgbox.js"></script>
  139. <script type="text/javascript" src="../js/public/baseUtil.js"></script>
  140. <script type="text/javascript" src="js/public/cmpCom.js"></script>
  141. <script type="text/javascript" src="../js/jquery.page.js"></script>
  142. <script type="text/javascript" src="../js/ueditor/ueditor.config.js"></script>
  143. <script type="text/javascript" src="../js/ueditor/ueditor.all.js"></script>
  144. <script type="text/javascript" src="../js/webuploader/webuploader.js"></script>
  145. <script type="text/javascript" src="js/resourceIssue.js"></script>
  146. <script type="text/javascript">
  147. //回到顶部
  148. var $body = $(document.body);;
  149. var $bottomTools = $('.footer_tools');
  150. $(window).scroll(function () {
  151. var scrollHeight = $(document).height();
  152. var scrollTop = $(window).scrollTop();
  153. var $footerHeight = $('footer').outerHeight(true);
  154. var $windowHeight = $(window).innerHeight();
  155. scrollTop > 50 ? $("#scrollUp").fadeIn(200).css("display","block") : $("#scrollUp").fadeOut(200);
  156. $bottomTools.css("bottom", scrollHeight - scrollTop - $footerHeight > $windowHeight ? 20 : $windowHeight + scrollTop + $footerHeight + 20 - scrollHeight);
  157. });
  158. $('#scrollUp').click(function (e) {
  159. e.preventDefault();
  160. $('html,body').animate({ scrollTop:0});
  161. });
  162. </script>
  163. </body>
  164. </html>