diff --git a/src/App.vue b/src/App.vue index 283a6f6eac76268e597f0be47772ca0690cb10aa..633a2a4f9b4460a02bf798d2d5eb80631e871afe 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,6 +4,7 @@ +
diff --git a/src/components/MHeader.vue b/src/components/MHeader.vue new file mode 100644 index 0000000000000000000000000000000000000000..84312c920ed0762178dc1a253bc059b6d6390547 --- /dev/null +++ b/src/components/MHeader.vue @@ -0,0 +1,18 @@ + + + + + diff --git a/src/img/user-bg.jpg b/src/img/user-bg.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7bd1dabd240f51bc67676763d0c1e8fd81321c32 Binary files /dev/null and b/src/img/user-bg.jpg differ diff --git a/src/pages/Mine.vue b/src/pages/Mine.vue index 06a2fc46f85c60e2ec8b3d1d1a237a5b977d48d0..7df8467bf9370a99dbe407559546c649ac5b733d 100644 --- a/src/pages/Mine.vue +++ b/src/pages/Mine.vue @@ -1,6 +1,61 @@ @@ -10,6 +65,126 @@ export default { } - + \ No newline at end of file diff --git a/src/router/routes.js b/src/router/routes.js index bf01641d9910c5a9bb751a3bf1ede5cb422d1a01..b8717f9d63daaf8707344d56f3dae5df6c24971e 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -1,6 +1,7 @@ import Tabbar from '@/components/Tabbar' import MallHead from '@/components/MallHead' import CHeader from '@/components/CHeader' +import MHeader from '@/components/MHeader' const Home = () => import('@/pages/Home') const Mall = () => import('@/pages/Mall') const Category = () => import('@/pages/Category') @@ -71,7 +72,8 @@ const routes = [ isTabbar: true, components: { default: Mine, - tabbar: Tabbar + tabbar: Tabbar, + mheader: MHeader } }, {