diff --git a/src/App.vue b/src/App.vue index fe66fc2..b27ebb1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,16 @@ \ No newline at end of file diff --git a/src/components/Remake.vue b/src/components/Remake.vue new file mode 100644 index 0000000..a46d7bb --- /dev/null +++ b/src/components/Remake.vue @@ -0,0 +1,141 @@ + + + + diff --git a/src/components/header.vue b/src/components/header.vue index 39184fe..9c7e1ea 100644 --- a/src/components/header.vue +++ b/src/components/header.vue @@ -1,140 +1,195 @@ - - +.v-enter-from, +.v-leave-to { + opacity: 0; +} + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 7705810..c6083d1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -5,7 +5,18 @@ const routes= [ path: '/', name: 'index', component:()=>import('@/view/index.vue'), - } + }, + { + path: '/townDetail', + name: 'townDetail', + component:()=>import('@/view/townDetail.vue'), + }, + { + path: '/commodity', + name: 'commodity', + component:()=>import('@/view/commodity.vue'), + }, + ] const router = createRouter({ diff --git a/src/view/commodity.vue b/src/view/commodity.vue new file mode 100644 index 0000000..a5c9024 --- /dev/null +++ b/src/view/commodity.vue @@ -0,0 +1,143 @@ + + + + + + \ No newline at end of file diff --git a/src/view/index.vue b/src/view/index.vue index 1889100..ef7832e 100644 --- a/src/view/index.vue +++ b/src/view/index.vue @@ -1,35 +1,6 @@