Преглед изворни кода

提交警告代码修改。。。

weiwenhai пре 6 година
родитељ
комит
131dfa6cb3

+ 0 - 60
src/modules/portal/views/Login.vue

@@ -180,16 +180,6 @@ export default {
   background-image: url("../assets/images/bg.jpg");
   background-size: cover;
 }
-/* .login-header {
-      font-family: "Microsoft YaHei";
-      width: 990px;
-      height: 80px;
-      background-color: #fff;
-      margin: 0 auto;
-      display: flex;
-      align-items: center;
-      justify-items: center;
-    } */
 
 .qm-logo-text {
   font-size: 36px;
@@ -212,87 +202,48 @@ export default {
   letter-spacing: 0px;
   color: #3968d7;
   text-shadow: 0px 7px 4px rgba(77, 124, 196, 0.3);
-
   text-align: center;
 }
 
 .login-main {
   width: 100%;
   height: 100vh;
-  /* min-width: 990px;
-        min-height: 550px; */
-  /* background-image: url("../assets/images/login_main_bg_full.png"); */
-
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
-  /* justify-content: space-evenly; */
 }
-/*
-    .left_tree {
-      height: 500px;
-    } */
 
 .right_login {
-  /* width: 420px;
-        background-color: #fff;
-        border-radius: 16px; */
-  /* box-shadow: 0 13px 29px #0d3b5d; */
-
   width: 480px;
   height: 350px;
   background-color: #ffffff;
   box-shadow: 0px 7px 20px 0px rgba(77, 124, 196, 0.1);
   border-radius: 38px;
   opacity: 0.85;
-
   padding: 0 80px;
 }
 
 .right_login h1 {
-  /* font-size: 34px;
-        color: #fff; */
-  /* text-shadow: 0 8px 13px #0d72ac; */
   text-align: center;
-
   height: 20px;
-
   font-size: 20px;
   font-weight: normal;
   font-stretch: normal;
   line-height: 24px;
   letter-spacing: 0px;
   color: #666666;
-
   margin: 40px 0;
-
-  /* border-top: 16px solid #3c8dbc;
-        border-radius: 16px 16px 0 0; */
-  /* background-color: #3c8dbc; */
-  /* padding: 10px;
-        margin: 0; */
 }
 
 .right_login .username {
-  /* width: 320px; */
   height: 46px;
-  /* border-bottom: 1px solid #999; */
-  /* margin: 54px 0 0 50px; */
-  /* padding-bottom: 5px; */
-
   display: flex;
   align-items: center;
   justify-items: center;
-  /* margin-top: 40px; */
 }
 .right_login .password {
-  /* width: 320px; */
   height: 46px;
-  /* border-bottom: 1px solid #999; */
-  /* margin: 30px 0 0 50px;
-        padding-bottom: 5px; */
-
   display: flex;
   align-items: center;
   justify-items: center;
@@ -308,9 +259,6 @@ export default {
 }
 
 .right_login input::placeholder {
-  /* width: 100%; */
-  /* padding: 10px 30px; */
-  /* margin-left: 40px; */
   font-size: 16px;
   color: #000000;
   opacity: 0.3;
@@ -318,16 +266,12 @@ export default {
 
 .login-btn {
   margin-top: 30px;
-  /* margin-left: 50px; */
   margin-bottom: 20px;
   width: 100%;
-  /* width: 320px;
-        height: 60px; */
   background-color: #4d7cc4;
   font-size: 25px;
   color: #fff;
   cursor: pointer;
-
   border-radius: 27px;
 }
 
@@ -337,17 +281,13 @@ export default {
 
 .login-footer {
   clear: both;
-  /* width: 100%; */
-  /* min-width: 990px; */
   width: 240px;
   height: 40px;
   line-height: 40px;
   background-color: #fff;
   color: #999999;
-
   margin: -20px auto;
   text-align: center;
-
   border-radius: 25px;
   z-index: 3;
 }

+ 35 - 0
src/modules/portal/views/tips/Tips.vue

@@ -62,6 +62,41 @@ const ALL_INSTRUCTIONS = {
         }
       ]
     }
+  ],
+  "/questions/tips": [
+    {
+      menu1Name: "导入试卷",
+      menu2: [
+        {
+          name: "机构管理——中心列表",
+          // link: "/basic/campus",
+          detail:
+            "查询学校下属所有学习中心编码及名称,可按学习中心设置学习中心平台权限,即A学习中心只能查询A中心的相关考试数据。"
+        }
+      ]
+    },
+    {
+      menu1Name: "课程查询",
+      menu2: [
+        {
+          name: "课程管理——课程列表",
+          // link: "/basic/campus",
+          detail:
+            "查看所有课程名称及代码,如一门课程即有专科又有本科,课程对应在的教材、试卷不一样时,需要建立专科课程及本科课程。"
+        }
+      ]
+    },
+    {
+      menu1Name: "用户查询",
+      menu2: [
+        {
+          name: "用户管理——普通用户管理",
+          // link: "/basic/campus",
+          detail:
+            "添加、查询、禁用管理平台用户,并可以针对不同用户设置不同的平台模块权限。"
+        }
+      ]
+    }
   ]
 };
 export default {

+ 5 - 0
src/modules/questions/routes/routes.js

@@ -21,6 +21,7 @@ import InsertPaperTitle from "../views/InsertPaperTitle.vue";
 import EditPaper from "../views/EditPaper.vue";
 import PreviewPaper from "../views/PreviewPaper.vue";
 import SelectQuestion from "../views/SelectQuestion.vue";
+import Tips from "../../portal/views/tips/Tips.vue";
 
 export default [
   {
@@ -28,6 +29,10 @@ export default [
     meta: { auth: false },
     component: Home,
     children: [
+      {
+        path: "tips", //模块说明
+        component: Tips
+      },
       {
         path: "paper_structure/:isClear", //精确试卷结构列表
         component: PaperStructure