mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-11-13 22:11:42 +08:00
refactor: 重构维护模式相关逻辑,拆分维护说明与详情
- 拆分维护接口类型,新增notice和description字段区分纯文本说明与富文本详情 - 重构useMaintenanceIntercept钩子,统一维护拦截逻辑 - 新增维护详情弹窗组件,优化维护页UI与交互 - 修复按钮布局、滚动置顶黑名单等细节问题 - 优化公告弹窗组件样式与代码结构
This commit is contained in:
@@ -141,7 +141,9 @@ export interface IPublicMaintenance {
|
||||
status: 'scheduled' | 'active'
|
||||
/** 维护页标题 */
|
||||
title?: string
|
||||
/** 维护说明(富文本 HTML,mp-html 渲染) */
|
||||
/** 维护说明(纯文本,维护页标题下方直接展示,留空展示默认文案) */
|
||||
notice?: string
|
||||
/** 维护详情(富文本 HTML,「维护详情」弹窗内 mp-html 渲染) */
|
||||
description?: string
|
||||
/** 维护开始时间(RFC3339 UTC 字符串) */
|
||||
startTime?: string
|
||||
|
||||
Reference in New Issue
Block a user