File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ style | Object | - | CSS(Cascading Style Sheets) | N
10
10
custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
11
11
copyright | String | '' | ` deprecated ` | N
12
12
links | Array | [ ] | ` 1.0.0 ` 。Typescript:` Array<LinkObj> ` ` interface LinkObj { name: string; url?: string; openType?: 'navigate' \| 'redirect' \| 'relaunch' \| 'switchTab' \| 'navigateBack' } ` 。[ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts ) | N
13
- logo | Object | - | Typescript:` FooterLogo ` ` interface FooterLogo { icon: string; title?: string; titleUrl ?: string } ` 。[ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts ) | N
13
+ logo | Object | - | Typescript:` FooterLogo ` ` interface FooterLogo { icon: string; title?: string; url ?: string } ` 。[ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts ) | N
14
14
text | String | '' | ` 1.0.0 ` | N
15
15
text-link-list | Array | [ ] | ` deprecated ` 。Typescript:` Array<LinkObj> ` ` interface LinkObj { name: string; url?: string; openType?: 'navigate' \| 'redirect' \| 'relaunch' \| 'switchTab' \| 'navigateBack' } ` 。[ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts ) | N
16
16
theme | String | 'text' | ` deprecated ` 。options: text/logo | N
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ style | Object | - | 样式 | N
10
10
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
11
11
copyright | String | '' | 已废弃。版权信息,type 为` text ` 生效 | N
12
12
links | Array | [ ] | ` 1.0.0 ` 。链接列表。name 表示链接名称, url 表示链接 page 路径,目前只支持小程序内部跳转,openType 表示跳转方式。TS 类型:` Array<LinkObj> ` ` interface LinkObj { name: string; url?: string; openType?: 'navigate' \| 'redirect' \| 'relaunch' \| 'switchTab' \| 'navigateBack' } ` 。[ 详细类型定义] ( https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts ) | N
13
- logo | Object | - | 图标配置。` logo.icon ` 表示图标链接地址,` logo.title ` 表示标题文本,` logo.titleUrl ` 表示链接。TS 类型:` FooterLogo ` ` interface FooterLogo { icon: string; title?: string; titleUrl ?: string } ` 。[ 详细类型定义] ( https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts ) | N
13
+ logo | Object | - | 图标配置。` logo.icon ` 表示图标链接地址,` logo.title ` 表示标题文本,` logo.url ` 表示链接。TS 类型:` FooterLogo ` ` interface FooterLogo { icon: string; title?: string; url ?: string } ` 。[ 详细类型定义] ( https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts ) | N
14
14
text | String | '' | ` 1.0.0 ` 。版权信息 | N
15
15
text-link-list | Array | [ ] | 已废弃。链接列表,type 为` text ` 生效。name 表示链接名称, url 表示链接 page 路径,目前只支持小程序内部跳转,openType 表示跳转方式。TS 类型:` Array<LinkObj> ` ` interface LinkObj { name: string; url?: string; openType?: 'navigate' \| 'redirect' \| 'relaunch' \| 'switchTab' \| 'navigateBack' } ` 。[ 详细类型定义] ( https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts ) | N
16
16
theme | String | 'text' | 已废弃。页脚展示类型。可选项:text/logo | N
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const props: TdFooterProps = {
11
11
type : Array ,
12
12
value : [ ] ,
13
13
} ,
14
- /** 图标配置。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.titleUrl ` 表示链接 */
14
+ /** 图标配置。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.url ` 表示链接 */
15
15
logo : {
16
16
type : Object ,
17
17
} ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export interface TdFooterProps {
14
14
value ?: Array < LinkObj > ;
15
15
} ;
16
16
/**
17
- * 图标配置。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.titleUrl ` 表示链接
17
+ * 图标配置。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.url ` 表示链接
18
18
*/
19
19
logo ?: {
20
20
type : ObjectConstructor ;
@@ -47,5 +47,5 @@ export interface LinkObj {
47
47
export interface FooterLogo {
48
48
icon : string ;
49
49
title ?: string ;
50
- titleUrl ?: string ;
50
+ url ?: string ;
51
51
}
Original file line number Diff line number Diff line change @@ -45913,14 +45913,14 @@
45913
45913
],
45914
45914
"field_default_value": "",
45915
45915
"field_enum": "",
45916
- "field_desc_zh": "图标配置。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.titleUrl ` 表示链接",
45916
+ "field_desc_zh": "图标配置。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.url ` 表示链接",
45917
45917
"field_desc_en": null,
45918
45918
"field_required": 0,
45919
45919
"event_input": "",
45920
45920
"create_time": "2024-04-08 08:30:39",
45921
45921
"update_time": "2024-04-08 08:30:39",
45922
45922
"event_output": null,
45923
- "custom_field_type": "FooterLogo【interface FooterLogo { icon: string; title?: string; titleUrl ?: string }】",
45923
+ "custom_field_type": "FooterLogo【interface FooterLogo { icon: string; title?: string; url ?: string }】",
45924
45924
"syntactic_sugar": null,
45925
45925
"readonly": 1,
45926
45926
"html_attribute": 0,
You can’t perform that action at this time.
0 commit comments