add stream lottery

This commit is contained in:
2023-11-01 13:57:52 +08:00
parent 6849620f14
commit e6c41f39d8
14 changed files with 3545 additions and 9 deletions

View File

@@ -6,21 +6,33 @@ const routes: Array<RouteRecordRaw> = [
path: '/',
name: 'index',
component: IndexView,
meta: {
title: '你好',
},
},
{
path: '/verify',
name: 'verify',
component: () => import('@/views/VerifyView.vue'),
meta: {
title: '认证',
},
},
{
path: '/about',
name: 'about',
component: () => import('@/views/AboutView.vue'),
meta: {
title: '关于',
},
},
{
path: '/reset-password',
name: 'resetPassword',
component: () => import('@/views/ChangePasswordView.vue'),
meta: {
title: '重置密码',
},
},
{
path: '/video-collect/:id',
@@ -178,6 +190,20 @@ const routes: Array<RouteRecordRaw> = [
},
],
},
{
path: '/open-live',
name: 'open-live',
children: [
{
path: 'lottery',
name: 'open-live-lottery',
component: () => import('@/views/open_live/OpenLottery.vue'),
meta: {
title: '直播抽奖',
},
},
],
},
{
path: '/:pathMatch(.*)*',
name: 'notfound',