product-add.html 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="renderer" content="webkit|ie-comp|ie-stand">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <meta name="viewport"
  8. content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
  9. <meta http-equiv="Cache-Control" content="no-siteapp"/>
  10. <link rel="Bookmark" href="/favicon.ico">
  11. <link rel="Shortcut Icon" href="/favicon.ico"/>
  12. <link rel="stylesheet" href="css/ui/common.css">
  13. <!--<link rel="stylesheet" href="css/ui/style.css">-->
  14. <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css"/>
  15. <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css"/>
  16. <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css"/>
  17. <link rel="stylesheet" href="css/product-add.css">
  18. <script src="../js/jquery-2.2.3.min.js"></script>
  19. <script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
  20. <script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script>
  21. <script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script>
  22. <script src="js/product-add.js"></script>
  23. <script src="js/ui/plupload.full.min.js"></script>
  24. <script type="text/javascript" src="lib/ueditor/1.4.3/ueditor.config.js"></script>
  25. <script type="text/javascript" src="lib/ueditor/1.4.3/ueditor.all.min.js"></script>
  26. <script type="text/javascript" src="lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
  27. <script src="js/ui/laydate.js"></script>
  28. </head>
  29. <body>
  30. <div class="page-container">
  31. <form class="form form-horizontal" style="position: static;">
  32. <div class="row cl">
  33. <label class="form-label col-xs-4 col-sm-2">产品名称:</label>
  34. <div class="formControls col-xs-8 col-sm-9">
  35. <input type="text" class="input-text" value="" placeholder="请输入产品名称" id="ProductName">
  36. </div>
  37. </div>
  38. <div class="row cl">
  39. <label class="form-label col-xs-4 col-sm-2">产品采购地址:</label>
  40. <div class="formControls col-xs-8 col-sm-9">
  41. <!-- <textarea class="textarea" placeholder="说点什么...最少输入10个字符" id="ProductIntroduce"></textarea> -->
  42. <input type="text" class="input-text" value="" placeholder="请输入产品采购地址" id="ProductIntroduce">
  43. </div>
  44. </div>
  45. <div class="row cl">
  46. <label class="form-label col-xs-4 col-sm-2">产品标识:</label>
  47. <div class="formControls col-xs-8 col-sm-9">
  48. <input type="text" class="input-text" id="ProductRemarks">
  49. </div>
  50. </div>
  51. <div class="row cl">
  52. <label class="form-label col-xs-4 col-sm-2">产品原价:</label>
  53. <div class="formControls col-xs-8 col-sm-9">
  54. <input type="text" id="ProductPrimeCost" placeholder="请输入产品原价" class="input-text"
  55. style="width:90%;margin-right: 10px;">马币
  56. </div>
  57. </div>
  58. <div class="row cl">
  59. <label class="form-label col-xs-4 col-sm-2">产品售价 :</label>
  60. <div class="formControls col-xs-8 col-sm-9">
  61. <input type="text" id="ProductPrice" placeholder="请输入产品售价" class="input-text"
  62. style="width:90%;margin-right: 10px;">马币
  63. </div>
  64. </div>
  65. <div class="row cl">
  66. <label class="form-label col-xs-4 col-sm-2">产品折扣 :</label>
  67. <div class="formControls col-xs-8 col-sm-9">
  68. <input type="text" id="Discount" placeholder="请输入产品折扣" class="input-text"
  69. style="width:90%;margin-right: 10px;">
  70. </div>
  71. </div>
  72. <div class="row cl">
  73. <label class="form-label col-xs-4 col-sm-2">产品已售 :</label>
  74. <div class="formControls col-xs-8 col-sm-9">
  75. <input type="text" id="Sold" placeholder="请输入产品已售" class="input-text"
  76. style="width:90%;margin-right: 10px;">
  77. </div>
  78. </div>
  79. <div class="row cl">
  80. <label class="form-label col-xs-4 col-sm-2">产品促销信息 :</label>
  81. <div class="formControls col-xs-8 col-sm-9">
  82. <input type="text" id="Promotion" placeholder="请输入产品促销信息" class="input-text"
  83. style="width:90%;margin-right: 10px;">
  84. </div>
  85. </div>
  86. <div class="row cl">
  87. <label class="form-label col-xs-4 col-sm-2">产品倒计时 :</label>
  88. <div class="formControls col-xs-8 col-sm-9">
  89. <input type="text" id="CountDown" placeholder="请输入产品促销信息" class="input-text"
  90. style="width:90%;margin-right: 10px;">
  91. </div>
  92. </div>
  93. <div class="row cl">
  94. <label class="form-label col-xs-4 col-sm-2">banner图:</label>
  95. <div class="formControls col-xs-8 col-sm-9">
  96. <div class="webuploader-container">
  97. <div class="webuploader-pick" id="bannerbtn">
  98. 点击选择图片
  99. </div>
  100. <!--<input type="file" name="file" class="banner_file">-->
  101. </div>
  102. <ul id="ul_pics" class="ul_pics clearfix"></ul>
  103. </div>
  104. </div>
  105. <div class="row cl">
  106. <label class="form-label col-xs-4 col-sm-2">颜色分类图:</label>
  107. <div class="formControls col-xs-8 col-sm-9">
  108. <div class="webuploader-container">
  109. <div class="webuploader-pick" id="colorbtn">
  110. 点击选择图片
  111. </div>
  112. <!--<input type="file" name="file" class="banner_file">-->
  113. </div>
  114. <ul id="ul_pics2" class="ul_pics clearfix"></ul>
  115. </div>
  116. </div>
  117. <div class="row cl">
  118. <label class="form-label col-xs-4 col-sm-2">添加尺寸(可选):</label>
  119. <div class="formControls col-xs-8 col-sm-9">
  120. <ul id="ul_pics3" class="ul_pics3 clearfix">
  121. <!--<li>-->
  122. <!--<input type="" value="" class="input" placeholder="请输入尺寸">-->
  123. <!--<span class="span">删除</span>-->
  124. <!--</li>-->
  125. </ul>
  126. <div class="webuploader-container" style="margin-top:10px;">
  127. <div class="webuploader-pick" id="sizebtn" onclick="AddSize(true)">
  128. 点击添加尺寸
  129. </div>
  130. <!--<input type="file" name="file" class="banner_file">-->
  131. </div>
  132. </div>
  133. </div>
  134. <div class="row cl">
  135. <label class="form-label col-xs-4 col-sm-2">添加套餐:</label>
  136. <div class="formControls col-xs-8 col-sm-9">
  137. <ul id="ul_pics4" class="ul_pics3 clearfix">
  138. <!--<li>-->
  139. <!--<input type="" value="" class="input" placeholder="请输入尺寸">-->
  140. <!--<span class="span">删除</span>-->
  141. <!--</li>-->
  142. </ul>
  143. <div class="webuploader-container" style="margin-top:10px;">
  144. <div class="webuploader-pick" id="classbtn" onclick="AddClass(true)">
  145. 点击添加套餐
  146. </div>
  147. <!--<input type="file" name="file" class="banner_file">-->
  148. </div>
  149. </div>
  150. </div>
  151. <div class="row cl" style="position: static;">
  152. <label class="form-label col-xs-4 col-sm-2">详细内容:</label>
  153. <div class="formControls col-xs-8 col-sm-9" style="position: relative;">
  154. <div id="editor" type="text/plain" style="width: 100%;height:400px">
  155. </div>
  156. </div>
  157. </div>
  158. <div class="row cl">
  159. <label class="form-label col-xs-4 col-sm-2">添加评价:</label>
  160. <div class="formControls col-xs-8 col-sm-9">
  161. <ul class="ul_pics_comment clearfix">
  162. <!--<li>-->
  163. <!--<div class="comment_header">-->
  164. <!--<input class="comment_username" placeholder="请输入用户名">-->
  165. <!--<span class="comment_delete">删除</span>-->
  166. <!--</div>-->
  167. <!--<div class="comment_content">-->
  168. <!--<textarea placeholder="请输入评价"></textarea>-->
  169. <!--</div>-->
  170. <!--<div class="comment_picture_warp">-->
  171. <!--<div class="comment_picture">-->
  172. <!--<img src="../images/addphoto.png" height="200" width="200"/>-->
  173. <!--</div>-->
  174. <!--</div>-->
  175. <!--<div class="comment_footer">-->
  176. <!--<input type="text" class="comment_footer_input" placeholder="请输入评价日期">-->
  177. <!--</div>-->
  178. <!--</li>-->
  179. </ul>
  180. <div class="webuploader-container" style="margin-top:10px;">
  181. <div class="webuploader-pick" id="comment" onclick="CreateComment(true)">
  182. 点击添加评价
  183. </div>
  184. </div>
  185. </div>
  186. </div>
  187. <div class="Submission" style="" onclick="UploadNewProduct()">
  188. 上传产品
  189. </div>
  190. <script type="text/javascript">
  191. $(function () {
  192. var ue = UE.getEditor('editor');
  193. });
  194. </script>
  195. <textarea name="editorValue" id="ueditor_textarea_editorValue" style="display: none;"></textarea></form>
  196. </div>
  197. </body>
  198. </html>
  199. <script type="text/javascript">
  200. $(function () {
  201. var ue = UE.getEditor('editor');
  202. });
  203. </script>