Browse Source

修改 专项练习

y595705120 2 years ago
parent
commit
083e540c03

+ 89 - 0
src/containers/center/components/menu/iheader.vue

@@ -0,0 +1,89 @@
+<template>
+  <div class="nav">
+      <ul>
+        <li :class="{'navfirst': isActive('/login')}">
+          <a href="#/" @click="goto('/login')"> 回到主页</a>
+        </li>
+
+        <li :class="{'navfirst': isActive('/center/home')}">
+          <a href="#/center/home" @click="goto('/center/home')"> 学员中心</a>
+        </li>
+
+        <li :class="{'navfirst': isActive('/center/setting')}">
+          <a href="#/center/setting" @click="goto('/center/setting')">账号设置</a>
+        </li>
+
+        <li :class="{'navfirst': isActive('/center/class/train')}">
+          <a href="#/center/class/train" @click="goto('/center/class/train')">我的课程</a>
+        </li>
+
+        <li :class="{'navfirst': isActive('/center/market')}">
+          <a href="#/center/market" @click="goto('/center/market')">推荐课程</a>
+        </li>
+
+        <li :class="{'navfirst': isActive('/center/myOrder')}" >
+          <a href="#/center/myOrder" @click="goto('/center/myOrder')">我的订单</a>
+        </li>
+
+        <li :class="{'navfirst': isActive('/center/sign')}" >
+          <a href="#/center/sign" @click="goto('/center/sign')">学时证明</a>
+        </li>
+      </ul>
+    </div>
+</template>
+
+<script>
+  import menu from './menu.js'
+  export default {
+    props: {
+      user: {
+        type: Object,
+        default: {
+          nickanme: ''
+        }
+      }
+    },
+    data() {
+      return {
+        exportLoading: false,
+        menu:menu,
+        listLoading: false,
+        groups: [],
+        tableData: []
+      };
+    },
+    methods: {
+      goState( item ){
+        if( item.children){
+          this.goSubState( item.children[0] );
+        }else{
+          this.goSubState( item );
+        }
+      },
+      goto( path ){
+        if( this.$route.path != path){
+          this.$router.push({path})
+        }
+      },
+      goSubState(item){
+        if(item.path == this.$route.path) return;
+        this.$router.push(item.path);
+      },
+      isActive( path ){
+        let rpath = this.$route.path;
+        return rpath.indexOf( path )> -1;
+      }
+    }
+  }
+</script>
+
+<style>
+  @import url("./index.css");
+  .nav{ height:50px; background:#4679fe; margin:1px auto; width:1009px;}
+  .nav ul li{ float:left; line-height:50px;}
+
+  .nav ul li a{ padding:0 27px; color:#FFF; display:block; height:50px;}
+
+  .nav ul li a:hover{ background:greenyellow; text-decoration:none;}
+  .navfirst a{ background:#ffa200; display:block;}
+</style>

+ 4 - 4
src/containers/center/play/components/iCourseAnswerTest.vue

@@ -117,10 +117,10 @@
           answer4:'',
         },
         counter:{
-          1:200,
-          2:400,
-          3:100,
-          4:30
+          1:150,
+          2:156,
+          3:149,
+          4:45
         }
       }
     },

+ 8 - 0
src/containers/report.vue

@@ -0,0 +1,8 @@
+<template>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 12 - 0
src/settings.js

@@ -0,0 +1,12 @@
+module.exports = {
+  title: '建设从业人员继续教育系统服务平台'
+  ,beian:'闽ICP备2121760号-1'
+  ,exam:{
+    username:'福建省爱数信息技术有限公司'
+    ,bankName: '中国银行厦门市分行'
+    ,bankNo:'414360427410'
+    ,promise:'本人自愿选择参加建设从业人员继续教育系统服务平台组织的施工现场专业人员岗位培训,对报名相关条件、提交的材料及收费情况均已知晓!且所提交的材料真实有效,如有存在虚假,所导致的一切后果由本人承担。'
+  }
+  ,email:'1015067257@qq.com'
+  ,outLink: 'http://220.160.52.164:9081/portalWeb/fwZhcx/toFwZhcxPage?code=zscx'
+}

BIN
static/images/home_left.png


BIN
static/images/home_right.png