feat: upgrade assess data types

This commit is contained in:
IchliebedichZhu 2024-03-01 21:25:01 +00:00
parent e580ea3239
commit f11a4c5090
6 changed files with 73 additions and 17 deletions

View File

@ -2,9 +2,17 @@
* @Author: ShawnPhang
* @Date: 2022-02-12 11:08:57
* @Description:
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2023-09-19 17:35:44
* @LastEditors: ShawnPhang <https://m.palxp.cn>, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditTime: 2024-03-01 20:55:51
*/
export type AlignListData = {
key: string
icon: string
tip: string
value: string
}
export default [
{
key: 'align',
@ -42,4 +50,4 @@ export default [
tip: '下对齐',
value: 'bottom',
},
]
] as AlignListData[]

View File

@ -2,9 +2,17 @@
* @Author: ShawnPhang
* @Date: 2022-04-15 10:51:50
* @Description:
* @LastEditors: ShawnPhang
* @LastEditTime: 2022-04-15 10:51:51
* @LastEditors: ShawnPhang, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditTime: 2024-03-01 20:55:51
*/
export type LayerIconList = {
key: string
icon: string
tip: string
value: number
}
export default [
{
key: 'zIndex',
@ -18,4 +26,4 @@ export default [
tip: '下一层',
value: -1,
},
]
] as LayerIconList[]

View File

@ -2,9 +2,21 @@
* @Author: ShawnPhang
* @Date: 2022-03-16 11:38:48
* @Description:
* @LastEditors: ShawnPhang
* @LastEditTime: 2022-03-23 16:00:11
* @LastEditors: ShawnPhang, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditTime: 2024-03-01 20:55:51
*/
export type QrCodeLocalizationData = {
dotColorTypes: {
key: string
value: string
}[]
dotTypes: {
key: string
value: string
}[]
}
export default {
dotColorTypes: [
{
@ -42,4 +54,4 @@ export default {
value: '特殊风格',
},
],
}
} as QrCodeLocalizationData

View File

@ -2,10 +2,20 @@
* @Author: ShawnPhang
* @Date: 2021-08-02 18:27:27
* @Description:
* @LastEditors: ShawnPhang
* @LastEditTime: 2022-02-25 10:30:38
* @LastEditors: ShawnPhang, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditTime: 2024-03-01 20:55:51
*/
import { AlignListData } from "./AlignListData"
export type TStyleIconData = {
key: string
icon: string
tip: string
value: string[]
select: boolean
}
export const styleIconList1 = [
{
key: 'fontWeight',
@ -42,7 +52,16 @@ export const styleIconList1 = [
value: ['horizontal-tb', 'vertical-rl'], // tb-rl
select: false,
},
]
] as TStyleIconData[]
export type TStyleIconData2 = {
key: string
icon: string
tip: string
value: string
select: boolean
}
export const styleIconList2 = [
{
key: 'textAlign',
@ -72,7 +91,7 @@ export const styleIconList2 = [
value: 'justify',
select: false,
},
]
] as TStyleIconData2[]
export const alignIconList = [
{
@ -111,4 +130,4 @@ export const alignIconList = [
tip: '下对齐',
value: 'bottom',
},
]
] as AlignListData[]

View File

@ -2,9 +2,17 @@
* @Author: ShawnPhang
* @Date: 2021-07-17 11:20:22
* @Description:
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2024-01-24 17:07:44
* @LastEditors: ShawnPhang <https://m.palxp.cn>, Jeremy Yu <https://github.com/JeremyYu-cn>
* @LastEditTime: 2024-03-01 20:55:51
*/
export type TWidgetClassifyData = {
name: string
icon: string
show: boolean
component: string
}
export default [
{
name: '模板',
@ -49,4 +57,4 @@ export default [
show: false,
component: 'user-wrap',
},
]
] as TWidgetClassifyData[]

View File

@ -1,4 +1,5 @@
/** 公共API返回结果 */
type TCommResResult<T> = {
code: number