Skip to content

Commit

Permalink
feat: font patch
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed May 25, 2024
1 parent 1088e9b commit 348495c
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 3.6.2

- 新增:稍后再看列表页,双列布局
- 新增:统一全站字体(直播页、热门页、稍后再看)

## 3.6.1

Expand Down
8 changes: 4 additions & 4 deletions src/components/item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { debugComponents as debug, error } from '../utils/logger'

/** IItem是插件的每项功能设定, 在每个group内显示为一行组件 */
interface IItem {
readonly nodeHTML: myHTML
readonly nodeHTML: string
insertItem(groupID: string): void
insertItemCSS?(): void
removeItemCSS?(): void
Expand All @@ -27,7 +27,7 @@ interface ICheckboxItemOption {
defaultStatus?: boolean
itemFunc?: () => void
isItemFuncReload?: boolean
itemCSS?: myCSS
itemCSS?: string
callback?: () => void
}

Expand Down Expand Up @@ -198,7 +198,7 @@ interface IRadioItemOption {
defaultStatus?: boolean
itemFunc?: () => void
isItemFuncReload?: boolean
itemCSS?: myCSS
itemCSS?: string
}

/** 互斥开关 */
Expand Down Expand Up @@ -385,7 +385,7 @@ interface INumberItemOption {
maxValue: number
disableValue: number
unit: string
itemCSS?: myCSS
itemCSS?: string
// CSS中待替换为数值的占位符
itemCSSPlaceholder?: string
callback?: (value: number) => void
Expand Down
2 changes: 0 additions & 2 deletions src/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
export declare global {
type myCSS = string
type myHTML = string
interface Window {
isWide?: boolean
hasBlackSide?: boolean
Expand Down
Loading

0 comments on commit 348495c

Please sign in to comment.