diff --git a/App.vue b/App.vue index c534b14..beebd76 100644 --- a/App.vue +++ b/App.vue @@ -16,4 +16,5 @@ export default { @import 'colorui/main.scss'; @import 'colorui/icon.scss'; @import 'colorui/animation.scss'; +@import 'common/style/global'; diff --git a/common/style/global.scss b/common/style/global.scss new file mode 100644 index 0000000..0d04328 --- /dev/null +++ b/common/style/global.scss @@ -0,0 +1,3 @@ +.cc-active { + transform: translate3d(1rpx, 1rpx, 0); +} diff --git a/components/nav-bottom/nav-bottom.vue b/components/nav-bottom/nav-bottom.vue new file mode 100644 index 0000000..58958ec --- /dev/null +++ b/components/nav-bottom/nav-bottom.vue @@ -0,0 +1,42 @@ + + + diff --git a/pages/index/components/home.vue b/pages/index/components/home.vue new file mode 100644 index 0000000..4da123c --- /dev/null +++ b/pages/index/components/home.vue @@ -0,0 +1,9 @@ + + + diff --git a/pages/index/components/mine.vue b/pages/index/components/mine.vue new file mode 100644 index 0000000..856c49b --- /dev/null +++ b/pages/index/components/mine.vue @@ -0,0 +1,9 @@ + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index 4ca2b92..5e82952 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,52 +1,67 @@ - + .content { + flex: 1; + } + .nav-bottom { + width: 100%; + } +} +