origin 5 роки тому
батько
коміт
e2c03bcf9c
1 змінених файлів з 10 додано та 14 видалено
  1. 10 14
      src/main/webapp/WEB-INF/jsp/admin/worklibrary-update.jsp

+ 10 - 14
src/main/webapp/WEB-INF/jsp/admin/worklibrary-update.jsp

@@ -29,8 +29,7 @@
 	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/h-ui.admin/css/style.css" />
 	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/h-ui.admin/css/page.css" />
 	<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/user/css/aos.css"/>
-	<link rel="stylesheet" href="${pageContext.request.contextPath}/user/css/baseindex.css">
-	<link rel="stylesheet" href="${pageContext.request.contextPath}/user/css/course.css">
+	<link rel="stylesheet" href="${pageContext.request.contextPath}/user/css/baseindex.css">ss
 	<link rel="stylesheet" href="${pageContext.request.contextPath}/user/css/swiper.min.css">
 	<script src="${pageContext.request.contextPath}/user/js/jquery.min.js" type="text/javascript"></script>
 	<script src="${pageContext.request.contextPath}/user/js/swiper.min.js" type="text/javascript"></script>
@@ -94,17 +93,15 @@
 		<div class="row cl">
 			<label class="form-label col-xs-4 col-sm-2">作品详情:</label>
 			<div class="formControls col-xs-8 col-sm-9">
-				<script id="introductions" name="contexts" type="text/plain" style="width:100%;height:400px;">${workibraryById.contexts}</script>
-                </div>
+				<script id="editor" name="contexts" type="text/plain" style="width:100%;height:400px;">${workibraryById.contexts}</script></div>
                 </div>
                 <div class="row cl">
                     <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
-                    <button   class="btn btn-primary radius"> <i class="Hui-iconfont">&#xe632;  </i>  修改</button>
+                    <button   class="btn btn-primary radius"> <i class="Hui-iconfont">&#xe632;</i>  修改</button>
                 <a class="btn btn-default radius" href="javascript:history.go(-1)"  type="button" >&nbsp;&nbsp;取消&nbsp;&nbsp;</a>
                 </div>
                 </div>
 
-
 	</form>
 </article>
 
@@ -149,11 +146,11 @@
                 }, 0);
             }
         });*/
-        fileToUpload.onchange=function(){
-            showIpt.src=URL.createObjectURL(this.files[0])
-            console.log(this.files)
-
-        }
+        // fileToUpload.onchange=function(){
+        //     showIpt.src=URL.createObjectURL(this.files[0])
+        //     console.log(this.files)
+		//
+        // }
        /* fileToUploads.onchange=function(){
             showIpts.src=URL.createObjectURL(this.files[0]);
 			alert(URL.createObjectURL(this.files[0])+"123");
@@ -325,7 +322,7 @@
                     },
                     success : function(message) {
 
-                        /*   alert(message.msg);*/
+                         alert(message.msg);
 
                         $("#imgOne").val(message.msg);
                         chen();
@@ -346,8 +343,7 @@
                         alert("网络异常,请重试");
                     },
                     success : function(message) {
-                        /*   alert(message.msg);*/
-
+                           alert(message.msg);
                         $("#imgOne").val(message.msg);
                         chen();
                     }