feat: 新增新闻管理功能,包括新闻的创建、编辑和列表展示,更新相关路由和类型定义

This commit is contained in:
2026-01-08 23:25:17 +07:00
parent 7546000679
commit afb52e1a73
9 changed files with 614 additions and 7 deletions

View File

@@ -24,6 +24,7 @@ export const views: Record<LastLevelRouteKey, RouteComponent | (() => Promise<Ro
bank: () => import("@/views/bank/index.vue"),
deposit_fiat: () => import("@/views/deposit/fiat/index.vue"),
home: () => import("@/views/home/index.vue"),
news: () => import("@/views/news/index.vue"),
notification: () => import("@/views/notification/index.vue"),
rwa_product: () => import("@/views/rwa/product/index.vue"),
rwa_producttype: () => import("@/views/rwa/productType/index.vue"),

View File

@@ -116,6 +116,15 @@ export const generatedRoutes: GeneratedRoute[] = [
hideInMenu: true
}
},
{
name: 'news',
path: '/news',
component: 'layout.base$view.news',
meta: {
title: 'news',
i18nKey: 'route.news'
}
},
{
name: 'notification',
path: '/notification',

View File

@@ -173,6 +173,7 @@ const routeMap: RouteMap = {
"home": "/home",
"iframe-page": "/iframe-page/:url",
"login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?",
"news": "/news",
"notification": "/notification",
"rwa": "/rwa",
"rwa_product": "/rwa/product",