Browse Source

Style:隐藏首页图片、隐藏导引

茫茫燃 5 years ago
parent
commit
3cc2c87124
4 changed files with 559 additions and 330 deletions
  1. 31 31
      components/Navi.vue
  2. 2 2
      nuxt.config.js
  3. 2 1
      package.json
  4. 524 296
      yarn.lock

+ 31 - 31
components/Navi.vue

@@ -60,38 +60,38 @@ export default {
       isAdmin: this.$store.state.user.role === 'ADMIN',
       userName: this.$store.state.user.name,
       userPhone: this.$store.state.user.phone,
-      myOptions:{
-            useKeyboardNavigation: false,    //不使用←、→和ESC键来导航tour
-            startTimeout: 1000,   //1秒后执行
-            labels: {
-                buttonSkip: '跳过',
-                buttonPrevious: '上一步',
-                buttonNext: '下一步',
-                buttonStop: '关闭'
-            }
+      myOptions: {
+        useKeyboardNavigation: false, // 不使用←、→和ESC键来导航tour
+        startTimeout: 1000, // 1秒后执行
+        labels: {
+          buttonSkip: '跳过',
+          buttonPrevious: '上一步',
+          buttonNext: '下一步',
+          buttonStop: '关闭'
+        }
+      },
+      steps: [
+        {
+          target: '#v-step-0', // We're using document.querySelector() under the hood
+          content: '这里是帮助,里面会有一些帮助你的文档'
         },
-        steps: [
-          {
-            target: '#v-step-0',  // We're using document.querySelector() under the hood
-            content: `这里是帮助,里面会有一些帮助你的文档`
-          },
-          {
-            target: '#v-step-1',
-            content: '这里是做题系统,可以在上面进行做题编程'
-          },
-          {
-            target: '#v-step-2',
-            content: '这里是开发平台',
-          },
-          {
-            target: '#v-step-3',
-            content: '这里是个人中心,里面会有你的基本信息、学习数据等',
-          },
-          {
-            target: '#v-step-4',
-            content: '这里是通关模式,你可以获取题库的推荐,进行每日一题的训练',
-          }
-        ]
+        {
+          target: '#v-step-1',
+          content: '这里是做题系统,可以在上面进行做题编程'
+        },
+        {
+          target: '#v-step-2',
+          content: '这里是开发平台'
+        },
+        {
+          target: '#v-step-3',
+          content: '这里是个人中心,里面会有你的基本信息、学习数据等'
+        },
+        {
+          target: '#v-step-4',
+          content: '这里是通关模式,你可以获取题库的推荐,进行每日一题的训练'
+        }
+      ]
     }
   },
   mounted () {

+ 2 - 2
nuxt.config.js

@@ -84,8 +84,8 @@ module.exports = {
   },
   proxy: {
     '/api/': {
-      target: 'http://localhost:8080' // 代理地址
-      // target: 'https://p-server.seec.seecoder.cn' // 代理地址
+      // target: 'http://localhost:8080' // 代理地址
+      target: 'https://p-server.seec.seecoder.cn' // 代理地址
       // changeOrigin: true,
       // pathRewrite: {
       //   '^/api': ''

+ 2 - 1
package.json

@@ -54,6 +54,7 @@
     "sass": "^1.32.8",
     "sass-loader": "^8.0.2",
     "supertest": "^4.0.2",
-    "vue-jest": "^4.0.0-0"
+    "vue-jest": "^4.0.0-0",
+    "vuex": "^3.6.2"
   }
 }

File diff suppressed because it is too large
+ 524 - 296
yarn.lock


Some files were not shown because too many files changed in this diff