feat: 增加界面

This commit is contained in:
2021-11-25 21:13:38 +08:00
parent 52c1603176
commit 29da9c7746
33 changed files with 1896 additions and 870 deletions
+7 -2
View File
@@ -47,6 +47,12 @@ const routes = [
meta: { title: '进展活动', navBarBackgroundColor: 'white' },
component: () => import('@/pages/buddha-activity')
},
{
path: '/buddha-detail',
name: 'buddha-detail',
meta: { title: '进展活动详情', navBarBackgroundColor: 'white' },
component: () => import('@/pages/buddha-detail')
},
{
path: '/merit-list',
name: 'merit-list',
@@ -181,8 +187,7 @@ const routes = [
const router = new Router({
mode: 'hash',
routes,
scrollBehavior(to, from, savedPosition){
console.log('savedPositon', savedPosition)
scrollBehavior(){
return {
x: 0,
y: 0