mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
feat: enhance DefaultIndexTemplate with ordered links and UI improvements
- Added computed property to order links based on user settings or default order. - Updated UI to display ordered links dynamically. - Improved text display for UID and adjusted button styles for better UX. - Modified TypeScript configuration to include 'jszip' type definitions.
This commit is contained in:
@@ -143,6 +143,11 @@ export interface Setting_Index {
|
||||
videos: string[]
|
||||
notification: string
|
||||
links: { [key: string]: string }
|
||||
/**
|
||||
* 自定义链接顺序(存储链接名称的有序数组)
|
||||
* 旧数据无此字段时在前端初始化为 Object.keys(links)
|
||||
*/
|
||||
linkOrder?: string[]
|
||||
}
|
||||
export interface Setting_LiveRequest {
|
||||
orderPrefix: string
|
||||
@@ -824,6 +829,7 @@ export interface ResponseUserIndexModel {
|
||||
notification: string
|
||||
videos: VideoCollectVideo[]
|
||||
links: { [key: string]: string }
|
||||
linkOrder?: string[]
|
||||
}
|
||||
|
||||
// 签到排行信息
|
||||
|
||||
Reference in New Issue
Block a user