Skip to content

Commit

Permalink
add: body
Browse files Browse the repository at this point in the history
  • Loading branch information
zixuan1986 committed Aug 15, 2023
1 parent b9ac02e commit d9f3ac5
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"update": "npm --registry https://registry.npmjs.org install @jx3box/jx3box-common-ui@latest @jx3box/jx3box-common@latest @jx3box/jx3box-facedat@latest @jx3box/jx3box-comment-ui@latest @jx3box/jx3box-data@latest @jx3box/jx3box-editor@latest @jx3box/jx3box-map@latest"
},
"dependencies": {
"@jx3box/jx3box-comment-ui": "^1.7.13",
"@jx3box/jx3box-comment-ui": "^1.7.16",
"@jx3box/jx3box-common": "^7.9.13",
"@jx3box/jx3box-common-ui": "^7.5.5",
"@jx3box/jx3box-data": "^3.3.0",
"@jx3box/jx3box-data": "^3.3.5",
"@jx3box/jx3box-editor": "^1.9.9",
"@jx3box/jx3box-emotion": "^1.1.5",
"@jx3box/jx3box-facedat": "^2.3.17",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/img/achievement.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/router/body.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);

const bodyList = () => import("../views/body/List.vue");
const bodySingle = () => import("../views/body/Single.vue");
const bodyData = () => import("../views/body/Parse.vue");

const routes = [
{ name: "bodyList", path: "/", component: bodyList },
{ name: "bodySingle", path: "/:id(\\d+)", component: bodySingle },
{ name: "bodyData", path: "/bodydata", component: bodyData },
];

const router = new VueRouter({
mode: "history",
base: "/body",
routes,
});

export default router;
22 changes: 22 additions & 0 deletions src/views/body/Body.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<template>
<div id="app" class="p-body">
<Header></Header>
<Nav @statusChange="statusChange"></Nav>
<Main :class="navStatusClass" :withoutRight="true">
<div class="m-main"><router-view></router-view></div>
</Main>
</div>
</template>

<script>
import Nav from "@/components/Nav_v3.vue";
export default {
name: "Body",
components: { Nav },
data: function () {
return {};
},
computed: {},
methods: {},
};
</script>
13 changes: 13 additions & 0 deletions src/views/body/List.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<template>
<div></div>
</template>
<script>
export default {
name: "BodyList",
data: function () {
return {};
},
computed: {},
methods: {},
};
</script>
16 changes: 16 additions & 0 deletions src/views/body/Parse.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<template>
<div class="m-body-parse" :class="{ on: done }">
<h1 class="m-body-parse-title">体型数据解析器</h1>
</div>
</template>

<script>
export default {
name: "BodyDataParse",
data: function () {
return {};
},
computed: {},
methods: {},
};
</script>
13 changes: 13 additions & 0 deletions src/views/body/Single.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<template>
<div></div>
</template>
<script>
export default {
name: "BodySingle",
data: function () {
return {};
},
computed: {},
methods: {},
};
</script>

0 comments on commit d9f3ac5

Please sign in to comment.