@dckj-npm/dc-material 0.1.126 → 0.1.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/build/index.js +1 -1
  2. package/build/lowcode/assets-daily.json +13 -13
  3. package/build/lowcode/assets-dev.json +2 -2
  4. package/build/lowcode/assets-prod.json +13 -13
  5. package/build/lowcode/index.js +1 -1
  6. package/build/lowcode/meta.design.js +1 -1
  7. package/build/lowcode/meta.js +1 -1
  8. package/build/lowcode/preview.js +7 -7
  9. package/build/lowcode/render/default/view.css +1 -1
  10. package/build/lowcode/render/default/view.js +6 -6
  11. package/build/lowcode/view.css +1 -1
  12. package/build/lowcode/view.js +6 -6
  13. package/dist/BizComps.css +1 -1
  14. package/dist/BizComps.js +2 -2
  15. package/dist/BizComps.js.map +1 -1
  16. package/es/components/message-list/message-list-item.scss +1 -1
  17. package/es/components/notice-bar/index.scss +6 -6
  18. package/es/components/stream-list/index.d.ts +6 -0
  19. package/es/components/stream-list/index.js +6 -0
  20. package/es/components/stream-list/index.scss +26 -0
  21. package/es/components/stream-list/stream-list.d.ts +54 -0
  22. package/es/components/stream-list/stream-list.js +159 -0
  23. package/es/index.d.ts +2 -0
  24. package/es/index.js +4 -0
  25. package/lib/components/message-list/message-list-item.scss +1 -1
  26. package/lib/components/notice-bar/index.scss +6 -6
  27. package/lib/components/stream-list/index.d.ts +6 -0
  28. package/lib/components/stream-list/index.js +6 -0
  29. package/lib/components/stream-list/index.scss +26 -0
  30. package/lib/components/stream-list/stream-list.d.ts +54 -0
  31. package/lib/components/stream-list/stream-list.js +166 -0
  32. package/lib/index.d.ts +2 -0
  33. package/lib/index.js +5 -1
  34. package/lowcode/button2/meta.ts +59 -58
  35. package/lowcode/custom-radio-group/meta.ts +3 -1
  36. package/lowcode/custom-radio-group-item/meta.ts +185 -184
  37. package/lowcode/d-c-slider/meta.design.ts +3 -2
  38. package/lowcode/d-c-slider/meta.ts +16 -15
  39. package/lowcode/goods-card-list/meta.ts +3 -1
  40. package/lowcode/goods-card-list-common/meta.ts +3 -1
  41. package/lowcode/grid-nav/meta.ts +144 -129
  42. package/lowcode/integral-task/meta.ts +141 -140
  43. package/lowcode/menu-list/meta.ts +114 -107
  44. package/lowcode/message-list/meta.ts +105 -98
  45. package/lowcode/navigation/meta.ts +139 -127
  46. package/lowcode/notice-bar/meta.ts +6 -4
  47. package/lowcode/position/meta.ts +111 -110
  48. package/lowcode/rich-text/meta.ts +49 -50
  49. package/lowcode/search-bar/meta.ts +38 -35
  50. package/lowcode/stream-list/meta.ts +209 -0
  51. package/lowcode/swiper/meta.ts +102 -1
  52. package/lowcode/tab-container/meta.ts +45 -44
  53. package/lowcode/tab-message/meta.ts +84 -80
  54. package/lowcode/tag-c/meta.ts +59 -58
  55. package/lowcode/teletext-list/meta.ts +11 -17
  56. package/lowcode/title1/meta.ts +47 -46
  57. package/lowcode/title2/meta.ts +73 -72
  58. package/lowcode_es/button2/meta.js +48 -46
  59. package/lowcode_es/custom-radio-group/meta.js +3 -1
  60. package/lowcode_es/custom-radio-group-item/meta.js +152 -150
  61. package/lowcode_es/d-c-slider/meta.d.ts +3 -1
  62. package/lowcode_es/d-c-slider/meta.design.d.ts +1 -0
  63. package/lowcode_es/d-c-slider/meta.design.js +2 -1
  64. package/lowcode_es/d-c-slider/meta.js +8 -7
  65. package/lowcode_es/goods-card-list/meta.js +3 -1
  66. package/lowcode_es/goods-card-list-common/meta.js +3 -1
  67. package/lowcode_es/grid-nav/meta.js +109 -108
  68. package/lowcode_es/integral-task/meta.js +101 -99
  69. package/lowcode_es/menu-list/meta.js +79 -77
  70. package/lowcode_es/message-list/meta.js +65 -63
  71. package/lowcode_es/meta.js +3 -2
  72. package/lowcode_es/navigation/meta.js +98 -96
  73. package/lowcode_es/notice-bar/meta.js +3 -1
  74. package/lowcode_es/position/meta.js +77 -75
  75. package/lowcode_es/rich-text/meta.js +34 -32
  76. package/lowcode_es/search-bar/meta.js +23 -21
  77. package/lowcode_es/stream-list/meta.d.ts +22 -0
  78. package/lowcode_es/stream-list/meta.js +196 -0
  79. package/lowcode_es/swiper/meta.js +91 -1
  80. package/lowcode_es/tab-container/meta.d.ts +1 -1
  81. package/lowcode_es/tab-container/meta.js +27 -26
  82. package/lowcode_es/tab-message/meta.js +66 -64
  83. package/lowcode_es/tag-c/meta.js +48 -46
  84. package/lowcode_es/teletext-list/meta.js +4 -9
  85. package/lowcode_es/title1/meta.js +37 -35
  86. package/lowcode_es/title2/meta.js +61 -59
  87. package/lowcode_lib/button2/meta.js +48 -46
  88. package/lowcode_lib/custom-radio-group/meta.js +3 -1
  89. package/lowcode_lib/custom-radio-group-item/meta.js +152 -150
  90. package/lowcode_lib/d-c-slider/meta.d.ts +3 -1
  91. package/lowcode_lib/d-c-slider/meta.design.d.ts +1 -0
  92. package/lowcode_lib/d-c-slider/meta.design.js +2 -1
  93. package/lowcode_lib/d-c-slider/meta.js +8 -7
  94. package/lowcode_lib/goods-card-list/meta.js +3 -1
  95. package/lowcode_lib/goods-card-list-common/meta.js +3 -1
  96. package/lowcode_lib/grid-nav/meta.js +109 -108
  97. package/lowcode_lib/integral-task/meta.js +101 -99
  98. package/lowcode_lib/menu-list/meta.js +79 -77
  99. package/lowcode_lib/message-list/meta.js +65 -63
  100. package/lowcode_lib/meta.js +11 -10
  101. package/lowcode_lib/navigation/meta.js +98 -96
  102. package/lowcode_lib/notice-bar/meta.js +3 -1
  103. package/lowcode_lib/position/meta.js +77 -75
  104. package/lowcode_lib/rich-text/meta.js +34 -32
  105. package/lowcode_lib/search-bar/meta.js +23 -21
  106. package/lowcode_lib/stream-list/meta.d.ts +22 -0
  107. package/lowcode_lib/stream-list/meta.js +201 -0
  108. package/lowcode_lib/swiper/meta.js +91 -1
  109. package/lowcode_lib/tab-container/meta.d.ts +1 -1
  110. package/lowcode_lib/tab-container/meta.js +27 -26
  111. package/lowcode_lib/tab-message/meta.js +66 -64
  112. package/lowcode_lib/tag-c/meta.js +48 -46
  113. package/lowcode_lib/teletext-list/meta.js +4 -9
  114. package/lowcode_lib/title1/meta.js +37 -35
  115. package/lowcode_lib/title2/meta.js +61 -59
  116. package/package.json +3 -3
@@ -1,32 +1,31 @@
1
-
2
- import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
1
+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
3
2
 
4
3
  const MessageListMeta: IPublicTypeComponentMetadata = {
5
- "componentName": "MessageList",
6
- "title": "消息列表",
7
- "docUrl": "",
8
- "screenshot": "",
9
- "devMode": "proCode",
10
- "npm": {
11
- "package": "@dckj-npm/dc-material",
12
- "version": "0.1.13",
13
- "exportName": "MessageList",
14
- "main": "src\\index.tsx",
15
- "destructuring": true,
16
- "subName": ""
4
+ componentName: 'MessageList',
5
+ title: '消息列表',
6
+ docUrl: '',
7
+ screenshot: '',
8
+ devMode: 'proCode',
9
+ npm: {
10
+ package: '@dckj-npm/dc-material',
11
+ version: '0.1.13',
12
+ exportName: 'MessageList',
13
+ main: 'src\\index.tsx',
14
+ destructuring: true,
15
+ subName: '',
17
16
  },
18
- "configure": {
19
- "props": [
17
+ configure: {
18
+ props: [
20
19
  {
21
- "title": "图片",
22
- "name": "images",
23
- "description": "图片",
24
- "setter": {
25
- "componentName": "ArraySetter",
26
- "props": {
27
- "itemSetter": "StringSetter"
28
- }
29
- }
20
+ title: '图片',
21
+ name: 'images',
22
+ description: '图片',
23
+ setter: {
24
+ componentName: 'ArraySetter',
25
+ props: {
26
+ itemSetter: 'StringSetter',
27
+ },
28
+ },
30
29
  },
31
30
  {
32
31
  name: '数据源绑定',
@@ -40,103 +39,111 @@ const MessageListMeta: IPublicTypeComponentMetadata = {
40
39
  children: [
41
40
  { label: '标题', value: 'title' },
42
41
  { label: '说明', value: 'description' },
43
- { label: '发布时间', value: 'gmtCreate' }
42
+ { label: '发布时间', value: 'gmtCreate' },
44
43
  ],
45
44
  // 发送不同参数的请求
46
45
  mapping: [
47
46
  {
48
- label: '全部数据',
49
- name: 'dataList'
47
+ label: '全部数据',
48
+ name: 'dataList',
50
49
  },
51
50
  {
52
51
  value: '已读数据',
53
- name: 'readDataList'
52
+ name: 'readDataList',
54
53
  },
55
54
  {
56
55
  value: '未读数据',
57
- name: 'unReadDataList'
58
- }
59
- ]
60
- }
61
- ]
62
- }
63
- }
56
+ name: 'unReadDataList',
57
+ },
58
+ ],
59
+ },
60
+ ],
61
+ },
62
+ },
64
63
  },
65
64
  {
66
- "title": {
67
- "label": {
68
- "type": "i18n",
69
- "en-US": "onClick",
70
- "zh-CN": "点击事件"
65
+ title: {
66
+ label: {
67
+ type: 'i18n',
68
+ 'en-US': 'onClick',
69
+ 'zh-CN': '点击事件',
71
70
  },
72
- "tip": "onClick | 点击事件"
71
+ tip: 'onClick | 点击事件',
72
+ },
73
+ name: 'onClick',
74
+ description: '点击事件',
75
+ setter: {
76
+ componentName: 'FunctionSetter',
73
77
  },
74
- "name": "onClick",
75
- "description": "点击事件",
76
- "setter": {
77
- "componentName": "FunctionSetter"
78
- }
79
- }
78
+ },
80
79
  ],
81
- "supports": {
82
- "style": true
80
+ supports: {
81
+ style: true,
82
+ },
83
+ component: {
84
+ disableBehaviors: ['copy'],
83
85
  },
84
- "component": {}
85
- }
86
- };
86
+ },
87
+ }
87
88
  const snippets: IPublicTypeSnippet[] = [
88
89
  {
89
- "title": "消息列表",
90
- "screenshot": "",
91
- "schema": {
92
- "componentName": "MessageList",
93
- "props": {
90
+ title: '消息列表',
91
+ screenshot: '',
92
+ schema: {
93
+ componentName: 'MessageList',
94
+ props: {
94
95
  images: [
95
96
  'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038087407058161664.png',
96
- 'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038087477308559360.png'
97
+ 'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240930/1038087477308559360.png',
97
98
  ],
98
99
  dataList: [
99
100
  {
100
- "title": "权益信息",
101
- "description": "这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全",
102
- "gmtCreate": "2024-05-24 09:24"
101
+ title: '权益信息',
102
+ description:
103
+ '这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全',
104
+ gmtCreate: '2024-05-24 09:24',
103
105
  },
104
106
  {
105
- "title": "审核信息",
106
- "description": "这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全",
107
- "gmtCreate": "2024-05-24 09:24"
107
+ title: '审核信息',
108
+ description:
109
+ '这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全',
110
+ gmtCreate: '2024-05-24 09:24',
108
111
  },
109
112
  {
110
- "title": "权益信息",
111
- "description": "这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全",
112
- "gmtCreate": "2024-05-24 09:24"
113
- }
113
+ title: '权益信息',
114
+ description:
115
+ '这里是消息 为小官时皆尝有之。” 金·元好问《为橄子醵金》诗之一:“明珠评价敌连城,弃掷泥涂意未平。” 清黄六鸿《福惠全',
116
+ gmtCreate: '2024-05-24 09:24',
117
+ },
114
118
  ],
115
119
  readDataList: [
116
120
  {
117
- "title": "已读标题名称",
118
- "description": "已读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
119
- "gmtCreate": "2024-05-24 09:24"
121
+ title: '已读标题名称',
122
+ description:
123
+ '已读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
124
+ gmtCreate: '2024-05-24 09:24',
120
125
  },
121
126
  {
122
- "title": "已读标题名称",
123
- "description": "已读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
124
- "gmtCreate": "2024-05-24 09:24"
125
- }
127
+ title: '已读标题名称',
128
+ description:
129
+ '已读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
130
+ gmtCreate: '2024-05-24 09:24',
131
+ },
126
132
  ],
127
133
  unReadDataList: [
128
134
  {
129
- "title": "未读标题名称",
130
- "description": "未读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
131
- "gmtCreate": "2024-05-24 09:24"
135
+ title: '未读标题名称',
136
+ description:
137
+ '未读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
138
+ gmtCreate: '2024-05-24 09:24',
132
139
  },
133
140
  {
134
- "title": "未读标题名称",
135
- "description": "未读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
136
- "gmtCreate": "2024-05-24 09:24"
137
- }
141
+ title: '未读标题名称',
142
+ description:
143
+ '未读说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
144
+ gmtCreate: '2024-05-24 09:24',
145
+ },
138
146
  ],
139
-
140
147
  },
141
148
  children: [
142
149
  {
@@ -146,8 +153,8 @@ const snippets: IPublicTypeSnippet[] = [
146
153
  width: 44,
147
154
  height: 44,
148
155
  style: {
149
- borderRadius: '50%'
150
- }
156
+ borderRadius: '50%',
157
+ },
151
158
  },
152
159
  },
153
160
  {
@@ -155,10 +162,10 @@ const snippets: IPublicTypeSnippet[] = [
155
162
  props: {
156
163
  type: 'h5',
157
164
  key: 'title',
158
- 'style': {
165
+ style: {
159
166
  fontSize: '15px',
160
167
  color: '#333',
161
- fontWeght: 'bold'
168
+ fontWeght: 'bold',
162
169
  },
163
170
  },
164
171
  },
@@ -167,7 +174,7 @@ const snippets: IPublicTypeSnippet[] = [
167
174
  props: {
168
175
  type: 'inherit',
169
176
  key: 'content',
170
- 'style': {
177
+ style: {
171
178
  fontSize: '13px',
172
179
  color: '#333',
173
180
  },
@@ -178,10 +185,10 @@ const snippets: IPublicTypeSnippet[] = [
178
185
  props: {
179
186
  type: 'inherit',
180
187
  key: 'gmtCreate',
181
- 'style': {
188
+ style: {
182
189
  fontSize: '10px',
183
190
  color: '#999',
184
- marginBottom: '5px'
191
+ marginBottom: '5px',
185
192
  },
186
193
  },
187
194
  },
@@ -190,13 +197,13 @@ const snippets: IPublicTypeSnippet[] = [
190
197
  props: {
191
198
  key: 'tabMessage',
192
199
  },
193
- }
194
- ]
195
- }
196
- }
197
- ];
200
+ },
201
+ ],
202
+ },
203
+ },
204
+ ]
198
205
 
199
206
  export default {
200
207
  ...MessageListMeta,
201
- snippets
202
- };
208
+ snippets,
209
+ }
@@ -1,165 +1,177 @@
1
- import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
1
+ import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
2
2
 
3
3
  const NavigationMeta: IPublicTypeComponentMetadata = {
4
4
  group: '低代码组件',
5
- "componentName": "Navigation",
6
- "title": "底部导航",
7
- "docUrl": "",
8
- "screenshot": "",
9
- "devMode": "proCode",
10
- "npm": {
11
- "package": "@dckj-npm/dc-material",
12
- "version": "0.1.8",
13
- "exportName": "Navigation",
14
- "main": "src\\index.tsx",
15
- "destructuring": true,
16
- "subName": ""
5
+ componentName: 'Navigation',
6
+ title: '底部导航',
7
+ docUrl: '',
8
+ screenshot: '',
9
+ devMode: 'proCode',
10
+ npm: {
11
+ package: '@dckj-npm/dc-material',
12
+ version: '0.1.8',
13
+ exportName: 'Navigation',
14
+ main: 'src\\index.tsx',
15
+ destructuring: true,
16
+ subName: '',
17
17
  },
18
- "configure": {
19
- "props": [
18
+ configure: {
19
+ props: [
20
20
  {
21
- "title": {
22
- "label": {
23
- "type": "i18n",
24
- "en-US": "itemArray",
25
- "zh-CN": "导航项"
26
- }
21
+ title: {
22
+ label: {
23
+ type: 'i18n',
24
+ 'en-US': 'itemArray',
25
+ 'zh-CN': '导航项',
26
+ },
27
27
  },
28
- "name": "itemArray",
29
- "setter": {
30
- "componentName": "ArraySetter",
31
- "props": {
32
- "itemSetter": {
33
- "componentName": "ObjectSetter",
34
- "props": {
35
- "config": {
36
- "items": [
28
+ name: 'itemArray',
29
+ setter: {
30
+ componentName: 'ArraySetter',
31
+ props: {
32
+ itemSetter: {
33
+ componentName: 'ObjectSetter',
34
+ props: {
35
+ config: {
36
+ items: [
37
37
  {
38
- "title": {
39
- "label": {
40
- "type": "i18n",
41
- "en-US": "text",
42
- "zh-CN": "名称"
43
- }
38
+ title: {
39
+ label: {
40
+ type: 'i18n',
41
+ 'en-US': 'text',
42
+ 'zh-CN': '名称',
43
+ },
44
+ },
45
+ name: 'text',
46
+ setter: {
47
+ componentName: 'StringSetter',
48
+ isRequired: true,
49
+ initialValue: '',
44
50
  },
45
- "name": "text",
46
- "setter": {
47
- "componentName": "StringSetter",
48
- "isRequired": true,
49
- "initialValue": ""
50
- }
51
51
  },
52
52
  {
53
- "title": {
54
- "label": {
55
- "type": "i18n",
56
- "en-US": "icon",
57
- "zh-CN": "图标"
58
- }
53
+ title: {
54
+ label: {
55
+ type: 'i18n',
56
+ 'en-US': 'icon',
57
+ 'zh-CN': '图标',
58
+ },
59
+ },
60
+ name: 'icon',
61
+ setter: {
62
+ componentName: 'StringSetter',
63
+ isRequired: true,
64
+ initialValue: '',
59
65
  },
60
- "name": "icon",
61
- "setter": {
62
- "componentName": "StringSetter",
63
- "isRequired": true,
64
- "initialValue": ""
65
- }
66
66
  },
67
67
  {
68
- "title": {
69
- "label": {
70
- "type": "i18n",
71
- "en-US": "selectedIcon",
72
- "zh-CN": "选中图标"
73
- }
68
+ title: {
69
+ label: {
70
+ type: 'i18n',
71
+ 'en-US': 'selectedIcon',
72
+ 'zh-CN': '选中图标',
73
+ },
74
+ },
75
+ name: 'selectedIcon',
76
+ setter: {
77
+ componentName: 'StringSetter',
78
+ isRequired: true,
79
+ initialValue: '',
74
80
  },
75
- "name": "selectedIcon",
76
- "setter": {
77
- "componentName": "StringSetter",
78
- "isRequired": true,
79
- "initialValue": ""
80
- }
81
81
  },
82
82
  {
83
- "title": "跳转页面",
84
- "name": "pageId",
85
- "setter": {
86
- "componentName": "StringSetter",
87
- "isRequired": true,
88
- "initialValue": ""
89
- }
90
- }
83
+ title: '跳转页面',
84
+ name: 'pageId',
85
+ setter: {
86
+ componentName: 'StringSetter',
87
+ isRequired: true,
88
+ initialValue: '',
89
+ },
90
+ },
91
91
  ],
92
- "extraSetter": {
93
- "componentName": "MixedSetter",
94
- "isRequired": false,
95
- "props": {}
96
- }
97
- }
98
- }
99
- }
92
+ extraSetter: {
93
+ componentName: 'MixedSetter',
94
+ isRequired: false,
95
+ props: {},
96
+ },
97
+ },
98
+ },
99
+ },
100
100
  },
101
- "isRequired": true,
102
- "initialValue": []
103
- }
101
+ isRequired: true,
102
+ initialValue: [],
103
+ },
104
104
  },
105
105
  {
106
- "title": {
107
- "label": {
108
- "type": "i18n",
109
- "en-US": "selectedColor",
110
- "zh-CN": "选中颜色"
111
- }
106
+ title: {
107
+ label: {
108
+ type: 'i18n',
109
+ 'en-US': 'selectedColor',
110
+ 'zh-CN': '选中颜色',
111
+ },
112
112
  },
113
- "name": "selectedColor",
114
- "setter": "ColorSetter"
115
- }
113
+ name: 'selectedColor',
114
+ setter: 'ColorSetter',
115
+ },
116
116
  ],
117
117
  supports: {
118
118
  style: true,
119
- events: [{
120
- name: 'onClick',
121
- // template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
122
- }],
119
+ events: [
120
+ {
121
+ name: 'onClick',
122
+ // template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
123
+ },
124
+ ],
123
125
  },
124
- "component": {}
125
- }
126
- };
126
+ component: {
127
+ disableBehaviors: ['copy'],
128
+ },
129
+ },
130
+ }
127
131
  const snippets: IPublicTypeSnippet[] = [
128
132
  {
129
- "title": "底部导航",
130
- "screenshot": "",
131
- "schema": {
132
- "componentName": "Navigation",
133
- "props": {
133
+ title: '底部导航',
134
+ screenshot: '',
135
+ schema: {
136
+ componentName: 'Navigation',
137
+ props: {
134
138
  selectedColor: '#EB7244',
135
- "itemArray": [
139
+ itemArray: [
136
140
  {
137
- "text": "首页",
138
- "icon": "https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048652967890259968.png",
139
- "selectedIcon": "https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048653089051119616.png"
141
+ text: '首页',
142
+ icon:
143
+ 'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048652967890259968.png',
144
+ selectedIcon:
145
+ 'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048653089051119616.png',
140
146
  },
141
147
  {
142
- "text": "消息",
143
- "icon": "https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048653230705348608.png",
144
- "selectedIcon": "https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048653358677757952.png"
148
+ text: '消息',
149
+ icon:
150
+ 'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048653230705348608.png',
151
+ selectedIcon:
152
+ 'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048653358677757952.png',
145
153
  },
146
154
  {
147
- "text": "礼品",
148
- "icon": "https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048649679614644224.png",
149
- "selectedIcon": "https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048650840912564224.png"
155
+ text: '礼品',
156
+ icon:
157
+ 'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048649679614644224.png',
158
+ selectedIcon:
159
+ 'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048650840912564224.png',
150
160
  },
151
161
  {
152
- "text": "我的",
153
- "icon": "https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048650981727932416.png",
154
- "selectedIcon": "https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048652834045825024.png"
155
- }
156
- ]
157
- }
158
- }
159
- }
160
- ];
162
+ text: '我的',
163
+ icon:
164
+ 'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048650981727932416.png',
165
+ selectedIcon:
166
+ 'https://52pupu.com/source/api/upload/936702478408355840/2024/202410/20241029/1048652834045825024.png',
167
+ },
168
+ ],
169
+ },
170
+ },
171
+ },
172
+ ]
161
173
 
162
174
  export default {
163
175
  ...NavigationMeta,
164
- snippets
165
- };
176
+ snippets,
177
+ }
@@ -155,9 +155,11 @@ const NoticeBarMeta: IPublicTypeComponentMetadata = {
155
155
  },
156
156
  ],
157
157
  },
158
- component: {},
159
- },
160
- }
158
+ "component": {
159
+ disableBehaviors: ['copy'],
160
+ }
161
+ }
162
+ };
161
163
  const snippets: IPublicTypeSnippet[] = [
162
164
  {
163
165
  title: '公告栏',
@@ -214,7 +216,7 @@ const snippets: IPublicTypeSnippet[] = [
214
216
  props: {
215
217
  name: '报名火热',
216
218
  color: 'green',
217
- key: 'teletext-tagc-2',
219
+ key: 'teletext-tagc-2'
218
220
  },
219
221
  },
220
222
  ],