feat: 增加界面
This commit is contained in:
+7
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user