mjh 4 سال پیش
والد
کامیت
786d48f75a
3فایلهای تغییر یافته به همراه19 افزوده شده و 4 حذف شده
  1. 15 0
      src/App.vue
  2. 3 3
      src/components/GlobalFooter.vue
  3. 1 1
      src/views/CoursePage/tabs/TaskTab.vue

+ 15 - 0
src/App.vue

@@ -41,3 +41,18 @@ export default {
   //margin-bottom: 250px;
 }
 </style>
+
+<style>
+html{
+  height: 100%;
+}
+
+body{
+  height: 100%;
+}
+
+#app{
+  min-height: calc(100% - 220px);
+  position: relative;
+}
+</style>

+ 3 - 3
src/components/GlobalFooter.vue

@@ -66,9 +66,9 @@ export default {
 <style scoped>
 /*Zhurui修改,footer固定在视口的最下方*/
 .global-footer-wrapper {
-  /*position: fixed;*/
-  /*bottom: 0;*/
-  /*width: 100%;*/
+  position: absolute;
+  bottom: -220px;
+  width: 100%;
 }
 
 #global-footer-body {

+ 1 - 1
src/views/CoursePage/tabs/TaskTab.vue

@@ -701,7 +701,7 @@ export default {
           _res => {
             ElMessage.success("创建Eval评测成功");
             this.init();
-            console.log(_res.data.data.result);
+            console.log(_res);
             this.evalExamDialog = false;
             this.isEvalExamCreated = !!_res.data;
             console.log(this.isEvalExamCreated);