浏览代码

日常开发

林旭祥 2 天之前
父节点
当前提交
0a04284302
共有 5 个文件被更改,包括 2 次插入2 次删除
  1. 二进制
      public/static/images/game/humanBody.png
  2. 二进制
      public/static/images/game/square.png
  3. 1 1
      src/router/index.ts
  4. 0 0
      src/views/game/humanBody.vue
  5. 1 1
      src/views/game/index.vue

二进制
public/static/images/game/humanBody.png


二进制
public/static/images/game/square.png


+ 1 - 1
src/router/index.ts

@@ -33,7 +33,7 @@ const router = createRouter({
         { path: '/game', component: () => import('@/views/game/index.vue') },
         { path: '/game', component: () => import('@/views/game/index.vue') },
         { path: '/game/square', component: () => import('@/views/game/square.vue') },
         { path: '/game/square', component: () => import('@/views/game/square.vue') },
         { path: '/game/fruit', component: () => import('@/views/game/fruit.vue') },
         { path: '/game/fruit', component: () => import('@/views/game/fruit.vue') },
-        { path: '/game/fruit2', component: () => import('@/views/game/fruit2.vue') },
+        { path: '/game/humanBody', component: () => import('@/views/game/humanBody.vue') },
         { path: '/score', component: () => import('@/views/score/index.vue') },
         { path: '/score', component: () => import('@/views/score/index.vue') },
       ]
       ]
     }
     }

+ 0 - 0
src/views/game/fruit2.vue → src/views/game/humanBody.vue


+ 1 - 1
src/views/game/index.vue

@@ -70,7 +70,7 @@ onBeforeMount(async () => {
 onMounted(() => {
 onMounted(() => {
   //停止播报;
   //停止播报;
   speckCancel();
   speckCancel();
-  projectList.value = [{ name: "方块跳一跳", key: "square" }, { name: "水果忍者", key: "fruit" }, { name: "17点位", key: "fruit2" }]
+  projectList.value = [{ name: "方块跳一跳", key: "square" }, { name: "水果忍者", key: "fruit" }, { name: "17点位", key: "humanBody" }]
 });
 });
 
 
 onBeforeUnmount(() => {
 onBeforeUnmount(() => {