@dckj-npm/dc-material 0.1.28 → 0.1.30
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.
- package/build/docs/404.html +47 -0
- package/build/docs/_demos/:uuid +47 -0
- package/build/docs/colorful-button.html +4 -4
- package/build/docs/colorful-input.html +4 -4
- package/build/docs/index.html +4 -4
- package/build/docs/umi.19a78b0f.js +1 -0
- package/build/docs/{umi.1db9e2cc.css → umi.5357b0f6.css} +1 -1
- package/build/docs/~demos/:uuid.html +47 -0
- package/build/docs/~demos/colorful-button-demo.html +4 -4
- package/build/docs/~demos/colorful-input-demo.html +4 -4
- package/build/index.js +12 -19
- package/build/lowcode/assets-daily.json +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +10 -10
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +10 -10
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +4 -4
- package/dist/BizComps.js.map +1 -1
- package/es/assets/icon/position/arror.png +0 -0
- package/es/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/es/components/bottom-navigation/index.d.ts +3 -3
- package/es/components/bottom-navigation/index.scss +23 -23
- package/es/components/button/button.d.ts +14 -14
- package/es/components/button/index.d.ts +6 -6
- package/es/components/button/index.js +2 -2
- package/es/components/carousel/carousel.d.ts +14 -0
- package/es/components/carousel/carousel.js +75 -0
- package/es/components/carousel/carousel.scss +32 -0
- package/es/components/colorful-button/colorful-button.d.ts +12 -12
- package/es/components/colorful-button/index.d.ts +3 -3
- package/es/components/colorful-input/colorful-input.d.ts +8 -8
- package/es/components/colorful-input/index.d.ts +3 -3
- package/es/components/goods-card-list/goods-card-list.d.ts +5 -0
- package/es/components/goods-card-list/goods-card-list.js +139 -0
- package/es/components/goods-card-list/goods-card-list.scss +93 -0
- package/es/components/goods-card-list/index.d.ts +3 -0
- package/es/components/goods-card-list/index.js +2 -0
- package/es/components/goods-card-list/types.d.ts +41 -0
- package/es/components/goods-card-list/types.js +1 -0
- package/es/components/grid-nav/grid-nav.d.ts +13 -13
- package/es/components/grid-nav/index.d.ts +3 -3
- package/es/components/grid-nav/index.scss +37 -37
- package/es/components/integral-task/index.d.ts +6 -6
- package/es/components/integral-task/index.js +2 -2
- package/es/components/integral-task/integral-task.d.ts +40 -40
- package/es/components/menu-list/index.d.ts +6 -6
- package/es/components/menu-list/index.js +2 -2
- package/es/components/menu-list/index.scss +16 -16
- package/es/components/menu-list/menu-list-item.d.ts +5 -5
- package/es/components/menu-list/menu-list-item.scss +49 -49
- package/es/components/menu-list/menu-list.d.ts +5 -5
- package/es/components/menu-list/types.d.ts +23 -23
- package/es/components/message-list/index.d.ts +6 -6
- package/es/components/message-list/index.js +2 -2
- package/es/components/message-list/index.scss +22 -22
- package/es/components/message-list/message-list-item.d.ts +29 -29
- package/es/components/message-list/message-list-item.js +2 -2
- package/es/components/message-list/message-list-item.scss +49 -49
- package/es/components/message-list/message-list.d.ts +32 -32
- package/es/components/notice-bar/index.d.ts +3 -3
- package/es/components/notice-bar/index.scss +26 -26
- package/es/components/notice-bar/notice-bar-item.d.ts +31 -31
- package/es/components/notice-bar/notice-bar-item.scss +26 -26
- package/es/components/notice-bar/notice-bar.d.ts +50 -50
- package/es/components/position/entity.d.ts +5 -5
- package/es/components/position/index.d.ts +3 -3
- package/es/components/position/index.scss +27 -23
- package/es/components/position/position-left.d.ts +9 -9
- package/es/components/position/position-list.d.ts +12 -12
- package/es/components/position/position.d.ts +8 -8
- package/es/components/radio-group/index.d.ts +8 -8
- package/es/components/radio-group/index.js +2 -2
- package/es/components/radio-group/index.scss +40 -40
- package/es/components/radio-group/radio-group-item.d.ts +48 -48
- package/es/components/radio-group/radio-group.d.ts +52 -52
- package/es/components/search-bar/index.d.ts +3 -3
- package/es/components/search-bar/index.scss +13 -13
- package/es/components/search-bar/search-bar.d.ts +7 -7
- package/es/components/swiper/index.d.ts +3 -3
- package/es/components/swiper/swiper.d.ts +47 -47
- package/es/components/tab/index.d.ts +6 -6
- package/es/components/tab/index.js +2 -2
- package/es/components/tab/index.scss +22 -22
- package/es/components/tab/tab.d.ts +23 -23
- package/es/components/tab-container/index.d.ts +3 -3
- package/es/components/tab-container/index.scss +47 -47
- package/es/components/tab-container/tab-container.d.ts +10 -10
- package/es/components/tab-container-item/index.d.ts +3 -3
- package/es/components/tab-container-item/tab-container-item.d.ts +9 -9
- package/es/components/tag/index.d.ts +6 -6
- package/es/components/tag/index.js +2 -2
- package/es/components/tag/tag.d.ts +14 -14
- package/es/components/teletext-list/index.d.ts +6 -6
- package/es/components/teletext-list/index.js +2 -2
- package/es/components/teletext-list/index.scss +19 -19
- package/es/components/teletext-list/teletext-list-item.d.ts +42 -42
- package/es/components/teletext-list/teletext-list-item.js +10 -7
- package/es/components/teletext-list/teletext-list-item.scss +55 -55
- package/es/components/teletext-list/teletext-list.d.ts +61 -61
- package/es/components/teletext-list/teletext-list.js +2 -2
- package/es/components/title/index.d.ts +8 -8
- package/es/components/title/index.js +2 -2
- package/es/components/title/title-1.d.ts +10 -10
- package/es/components/title/title-1.scss +25 -25
- package/es/components/title/title-2.d.ts +18 -18
- package/es/components/title/title-2.scss +22 -22
- package/es/index.d.ts +40 -38
- package/es/index.js +4 -0
- package/es/index.scss +5 -5
- package/es/utils/children-node-handle.d.ts +9 -9
- package/es/utils/children-node-handle.js +0 -2
- package/es/utils/component-wrapper.d.ts +9 -9
- package/es/utils/debounce.d.ts +1 -0
- package/es/utils/debounce.js +14 -0
- package/es/variables.d.ts +2 -2
- package/lib/assets/icon/position/arror.png +0 -0
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/lib/components/bottom-navigation/index.d.ts +3 -3
- package/lib/components/bottom-navigation/index.scss +23 -23
- package/lib/components/button/button.d.ts +14 -14
- package/lib/components/button/index.d.ts +6 -6
- package/lib/components/button/index.js +2 -2
- package/lib/components/carousel/carousel.d.ts +14 -0
- package/lib/components/carousel/carousel.js +81 -0
- package/lib/components/carousel/carousel.scss +32 -0
- package/lib/components/colorful-button/colorful-button.d.ts +12 -12
- package/lib/components/colorful-button/index.d.ts +3 -3
- package/lib/components/colorful-input/colorful-input.d.ts +8 -8
- package/lib/components/colorful-input/index.d.ts +3 -3
- package/lib/components/goods-card-list/goods-card-list.d.ts +5 -0
- package/lib/components/goods-card-list/goods-card-list.js +146 -0
- package/lib/components/goods-card-list/goods-card-list.scss +93 -0
- package/lib/components/goods-card-list/index.d.ts +3 -0
- package/lib/components/goods-card-list/index.js +6 -0
- package/lib/components/goods-card-list/types.d.ts +41 -0
- package/lib/components/goods-card-list/types.js +3 -0
- package/lib/components/grid-nav/grid-nav.d.ts +13 -13
- package/lib/components/grid-nav/index.d.ts +3 -3
- package/lib/components/grid-nav/index.scss +37 -37
- package/lib/components/integral-task/index.d.ts +6 -6
- package/lib/components/integral-task/index.js +2 -2
- package/lib/components/integral-task/integral-task.d.ts +40 -40
- package/lib/components/menu-list/index.d.ts +6 -6
- package/lib/components/menu-list/index.js +2 -2
- package/lib/components/menu-list/index.scss +16 -16
- package/lib/components/menu-list/menu-list-item.d.ts +5 -5
- package/lib/components/menu-list/menu-list-item.scss +49 -49
- package/lib/components/menu-list/menu-list.d.ts +5 -5
- package/lib/components/menu-list/types.d.ts +23 -23
- package/lib/components/message-list/index.d.ts +6 -6
- package/lib/components/message-list/index.js +2 -2
- package/lib/components/message-list/index.scss +22 -22
- package/lib/components/message-list/message-list-item.d.ts +29 -29
- package/lib/components/message-list/message-list-item.js +2 -2
- package/lib/components/message-list/message-list-item.scss +49 -49
- package/lib/components/message-list/message-list.d.ts +32 -32
- package/lib/components/notice-bar/index.d.ts +3 -3
- package/lib/components/notice-bar/index.scss +26 -26
- package/lib/components/notice-bar/notice-bar-item.d.ts +31 -31
- package/lib/components/notice-bar/notice-bar-item.scss +26 -26
- package/lib/components/notice-bar/notice-bar.d.ts +50 -50
- package/lib/components/position/entity.d.ts +5 -5
- package/lib/components/position/index.d.ts +3 -3
- package/lib/components/position/index.scss +27 -23
- package/lib/components/position/position-left.d.ts +9 -9
- package/lib/components/position/position-list.d.ts +12 -12
- package/lib/components/position/position.d.ts +8 -8
- package/lib/components/radio-group/index.d.ts +8 -8
- package/lib/components/radio-group/index.scss +40 -40
- package/lib/components/radio-group/radio-group-item.d.ts +48 -48
- package/lib/components/radio-group/radio-group.d.ts +52 -52
- package/lib/components/search-bar/index.d.ts +3 -3
- package/lib/components/search-bar/index.scss +13 -13
- package/lib/components/search-bar/search-bar.d.ts +7 -7
- package/lib/components/swiper/index.d.ts +3 -3
- package/lib/components/swiper/swiper.d.ts +47 -47
- package/lib/components/tab/index.d.ts +6 -6
- package/lib/components/tab/index.js +2 -2
- package/lib/components/tab/index.scss +22 -22
- package/lib/components/tab/tab.d.ts +23 -23
- package/lib/components/tab-container/index.d.ts +3 -3
- package/lib/components/tab-container/index.scss +47 -47
- package/lib/components/tab-container/tab-container.d.ts +10 -10
- package/lib/components/tab-container-item/index.d.ts +3 -3
- package/lib/components/tab-container-item/tab-container-item.d.ts +9 -9
- package/lib/components/tag/index.d.ts +6 -6
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/tag.d.ts +14 -14
- package/lib/components/teletext-list/index.d.ts +6 -6
- package/lib/components/teletext-list/index.scss +19 -19
- package/lib/components/teletext-list/teletext-list-item.d.ts +42 -42
- package/lib/components/teletext-list/teletext-list-item.js +10 -7
- package/lib/components/teletext-list/teletext-list-item.scss +55 -55
- package/lib/components/teletext-list/teletext-list.d.ts +61 -61
- package/lib/components/teletext-list/teletext-list.js +2 -2
- package/lib/components/title/index.d.ts +8 -8
- package/lib/components/title/title-1.d.ts +10 -10
- package/lib/components/title/title-1.scss +25 -25
- package/lib/components/title/title-2.d.ts +18 -18
- package/lib/components/title/title-2.scss +22 -22
- package/lib/index.d.ts +40 -38
- package/lib/index.js +5 -1
- package/lib/index.scss +5 -5
- package/lib/utils/children-node-handle.d.ts +9 -9
- package/lib/utils/children-node-handle.js +0 -2
- package/lib/utils/component-wrapper.d.ts +9 -9
- package/lib/utils/debounce.d.ts +1 -0
- package/lib/utils/debounce.js +18 -0
- package/lib/variables.d.ts +2 -2
- package/lowcode/custom-radio-group/meta.ts +293 -293
- package/lowcode/custom-radio-group-item/meta.ts +229 -229
- package/lowcode/d-c-slider/meta.design.ts +173 -173
- package/lowcode/d-c-slider/meta.ts +342 -342
- package/lowcode/d-c-slider/snippets.ts +68 -68
- package/lowcode/goods-card-list/meta.ts +262 -0
- package/lowcode/grid-nav/meta.ts +212 -212
- package/lowcode/menu-list/meta.ts +147 -147
- package/lowcode/message-list/meta.ts +205 -205
- package/lowcode/navigation/meta.ts +173 -173
- package/lowcode/notice-bar/meta.ts +291 -291
- package/lowcode/search-bar/meta.ts +54 -54
- package/lowcode/tab-container/meta.ts +69 -69
- package/lowcode/tab-container/props.ts +194 -194
- package/lowcode/tab-container-item/meta.ts +195 -195
- package/lowcode/tag-c/meta.ts +75 -75
- package/lowcode/teletext-list/meta.ts +329 -329
- package/lowcode/title1/meta.ts +59 -59
- package/lowcode/title2/meta.ts +93 -93
- package/lowcode_es/button2/meta.d.ts +22 -22
- package/lowcode_es/custom-radio-group/meta.d.ts +22 -22
- package/lowcode_es/custom-radio-group-item/meta.d.ts +23 -23
- package/lowcode_es/d-c-slider/meta.d.ts +148 -148
- package/lowcode_es/d-c-slider/meta.design.d.ts +100 -100
- package/lowcode_es/d-c-slider/snippets.d.ts +36 -36
- package/lowcode_es/goods-card-list/meta.d.ts +22 -0
- package/lowcode_es/goods-card-list/meta.js +245 -0
- package/lowcode_es/grid-nav/meta.d.ts +22 -22
- package/lowcode_es/integral-task/meta.d.ts +22 -22
- package/lowcode_es/menu-list/meta.d.ts +22 -22
- package/lowcode_es/message-list/meta.d.ts +22 -22
- package/lowcode_es/meta.js +23 -22
- package/lowcode_es/navigation/meta.d.ts +22 -22
- package/lowcode_es/notice-bar/meta.d.ts +22 -22
- package/lowcode_es/position/meta.d.ts +22 -22
- package/lowcode_es/search-bar/meta.d.ts +22 -22
- package/lowcode_es/swiper/meta.d.ts +22 -22
- package/lowcode_es/tab-container/meta.d.ts +22 -22
- package/lowcode_es/tab-container/props.d.ts +90 -90
- package/lowcode_es/tab-container-item/meta.d.ts +22 -22
- package/lowcode_es/tab-message/meta.d.ts +22 -22
- package/lowcode_es/tag-c/meta.d.ts +22 -22
- package/lowcode_es/teletext-list/meta.d.ts +22 -22
- package/lowcode_es/title1/meta.d.ts +22 -22
- package/lowcode_es/title2/meta.d.ts +22 -22
- package/lowcode_es/view.js +3 -3
- package/lowcode_lib/button2/meta.d.ts +22 -22
- package/lowcode_lib/custom-radio-group/meta.d.ts +22 -22
- package/lowcode_lib/custom-radio-group-item/meta.d.ts +23 -23
- package/lowcode_lib/d-c-slider/meta.d.ts +148 -148
- package/lowcode_lib/d-c-slider/meta.design.d.ts +100 -100
- package/lowcode_lib/d-c-slider/snippets.d.ts +36 -36
- package/lowcode_lib/goods-card-list/meta.d.ts +22 -0
- package/lowcode_lib/goods-card-list/meta.js +250 -0
- package/lowcode_lib/grid-nav/meta.d.ts +22 -22
- package/lowcode_lib/integral-task/meta.d.ts +22 -22
- package/lowcode_lib/menu-list/meta.d.ts +22 -22
- package/lowcode_lib/message-list/meta.d.ts +22 -22
- package/lowcode_lib/meta.js +23 -22
- package/lowcode_lib/navigation/meta.d.ts +22 -22
- package/lowcode_lib/notice-bar/meta.d.ts +22 -22
- package/lowcode_lib/position/meta.d.ts +22 -22
- package/lowcode_lib/search-bar/meta.d.ts +22 -22
- package/lowcode_lib/swiper/meta.d.ts +22 -22
- package/lowcode_lib/tab-container/meta.d.ts +22 -22
- package/lowcode_lib/tab-container/props.d.ts +90 -90
- package/lowcode_lib/tab-container-item/meta.d.ts +22 -22
- package/lowcode_lib/tab-message/meta.d.ts +22 -22
- package/lowcode_lib/tag-c/meta.d.ts +22 -22
- package/lowcode_lib/teletext-list/meta.d.ts +22 -22
- package/lowcode_lib/title1/meta.d.ts +22 -22
- package/lowcode_lib/title2/meta.d.ts +22 -22
- package/lowcode_lib/view.js +2 -2
- package/package.json +3 -3
- package/build/docs/umi.c18d41ab.js +0 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
/* write style here */
|
|
2
|
-
.grid-navigation {
|
|
3
|
-
//padding: 10px;
|
|
4
|
-
width: 100%;
|
|
5
|
-
display: grid;
|
|
6
|
-
gap: 14px 38px; /* 宫格之间的间距 */
|
|
7
|
-
margin: 0;
|
|
8
|
-
// grid-template-columns: repeat(60px, minmax(1fr));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.grid-item {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
align-items: center;
|
|
15
|
-
text-align: center;
|
|
16
|
-
text-decoration: none;
|
|
17
|
-
color: #333;
|
|
18
|
-
position: relative;
|
|
19
|
-
img {
|
|
20
|
-
width: 48px;
|
|
21
|
-
height: 51px;
|
|
22
|
-
margin-bottom: 3px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
span {
|
|
26
|
-
font-size: 13px;
|
|
27
|
-
color: #222222;
|
|
28
|
-
// overflow: hidden;
|
|
29
|
-
// text-overflow: ellipsis;
|
|
30
|
-
// white-space: nowrap;
|
|
31
|
-
// max-width: 60px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:hover {
|
|
35
|
-
color: #007bff;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
/* write style here */
|
|
2
|
+
.grid-navigation {
|
|
3
|
+
//padding: 10px;
|
|
4
|
+
width: 100%;
|
|
5
|
+
display: grid;
|
|
6
|
+
gap: 14px 38px; /* 宫格之间的间距 */
|
|
7
|
+
margin: 0;
|
|
8
|
+
// grid-template-columns: repeat(60px, minmax(1fr));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.grid-item {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
align-items: center;
|
|
15
|
+
text-align: center;
|
|
16
|
+
text-decoration: none;
|
|
17
|
+
color: #333;
|
|
18
|
+
position: relative;
|
|
19
|
+
img {
|
|
20
|
+
width: 48px;
|
|
21
|
+
height: 51px;
|
|
22
|
+
margin-bottom: 3px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
span {
|
|
26
|
+
font-size: 13px;
|
|
27
|
+
color: #222222;
|
|
28
|
+
// overflow: hidden;
|
|
29
|
+
// text-overflow: ellipsis;
|
|
30
|
+
// white-space: nowrap;
|
|
31
|
+
// max-width: 60px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
color: #007bff;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 标签tag
|
|
3
|
-
*/
|
|
4
|
-
import IntegralTask from './integral-task';
|
|
5
|
-
export type { IntegralTaskProps } from './integral-task';
|
|
6
|
-
export default IntegralTask;
|
|
1
|
+
/**
|
|
2
|
+
* 标签tag
|
|
3
|
+
*/
|
|
4
|
+
import IntegralTask from './integral-task';
|
|
5
|
+
export type { IntegralTaskProps } from './integral-task';
|
|
6
|
+
export default IntegralTask;
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
interface DataProps {
|
|
4
|
-
/**
|
|
5
|
-
* 任务名称
|
|
6
|
-
*/
|
|
7
|
-
name: string;
|
|
8
|
-
/**
|
|
9
|
-
* 积分
|
|
10
|
-
*/
|
|
11
|
-
integral: number;
|
|
12
|
-
/**
|
|
13
|
-
* 状态 0 未完成 1 已完成
|
|
14
|
-
*/
|
|
15
|
-
status: number;
|
|
16
|
-
}
|
|
17
|
-
export interface IntegralTaskProps {
|
|
18
|
-
/**
|
|
19
|
-
* 任务名称
|
|
20
|
-
*/
|
|
21
|
-
list: DataProps[];
|
|
22
|
-
/**
|
|
23
|
-
* 图标
|
|
24
|
-
*/
|
|
25
|
-
icon: string;
|
|
26
|
-
/**
|
|
27
|
-
* 图片
|
|
28
|
-
*/
|
|
29
|
-
images: string[];
|
|
30
|
-
/**
|
|
31
|
-
* 完成文案
|
|
32
|
-
*/
|
|
33
|
-
completeLabel: string;
|
|
34
|
-
/**
|
|
35
|
-
* 未完成文案
|
|
36
|
-
*/
|
|
37
|
-
undoneLabel: string;
|
|
38
|
-
}
|
|
39
|
-
declare const IntegralTask: React.FC<IntegralTaskProps>;
|
|
40
|
-
export default IntegralTask;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
interface DataProps {
|
|
4
|
+
/**
|
|
5
|
+
* 任务名称
|
|
6
|
+
*/
|
|
7
|
+
name: string;
|
|
8
|
+
/**
|
|
9
|
+
* 积分
|
|
10
|
+
*/
|
|
11
|
+
integral: number;
|
|
12
|
+
/**
|
|
13
|
+
* 状态 0 未完成 1 已完成
|
|
14
|
+
*/
|
|
15
|
+
status: number;
|
|
16
|
+
}
|
|
17
|
+
export interface IntegralTaskProps {
|
|
18
|
+
/**
|
|
19
|
+
* 任务名称
|
|
20
|
+
*/
|
|
21
|
+
list: DataProps[];
|
|
22
|
+
/**
|
|
23
|
+
* 图标
|
|
24
|
+
*/
|
|
25
|
+
icon: string;
|
|
26
|
+
/**
|
|
27
|
+
* 图片
|
|
28
|
+
*/
|
|
29
|
+
images: string[];
|
|
30
|
+
/**
|
|
31
|
+
* 完成文案
|
|
32
|
+
*/
|
|
33
|
+
completeLabel: string;
|
|
34
|
+
/**
|
|
35
|
+
* 未完成文案
|
|
36
|
+
*/
|
|
37
|
+
undoneLabel: string;
|
|
38
|
+
}
|
|
39
|
+
declare const IntegralTask: React.FC<IntegralTaskProps>;
|
|
40
|
+
export default IntegralTask;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 菜单列表
|
|
3
|
-
*/
|
|
4
|
-
import MenuList from './menu-list';
|
|
5
|
-
export type { MenuListDataProps, MenuListProps } from './types';
|
|
6
|
-
export default MenuList;
|
|
1
|
+
/**
|
|
2
|
+
* 菜单列表
|
|
3
|
+
*/
|
|
4
|
+
import MenuList from './menu-list';
|
|
5
|
+
export type { MenuListDataProps, MenuListProps } from './types';
|
|
6
|
+
export default MenuList;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
@import '../../variables.scss';
|
|
2
|
-
|
|
3
|
-
.menu-list__panel {
|
|
4
|
-
border-radius: 10px;
|
|
5
|
-
background-color: white;
|
|
6
|
-
|
|
7
|
-
.menu-list__panel__item-list {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
gap: 2px;
|
|
11
|
-
padding: 1px 22px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
@import '../../variables.scss';
|
|
2
|
+
|
|
3
|
+
.menu-list__panel {
|
|
4
|
+
border-radius: 10px;
|
|
5
|
+
background-color: white;
|
|
6
|
+
|
|
7
|
+
.menu-list__panel__item-list {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: 2px;
|
|
11
|
+
padding: 1px 22px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MenuListDataProps } from "./types";
|
|
3
|
-
import "./menu-list-item.scss";
|
|
4
|
-
declare const MenuListItem: React.FC<MenuListDataProps>;
|
|
5
|
-
export default MenuListItem;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MenuListDataProps } from "./types";
|
|
3
|
+
import "./menu-list-item.scss";
|
|
4
|
+
declare const MenuListItem: React.FC<MenuListDataProps>;
|
|
5
|
+
export default MenuListItem;
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
@import '../../variables.scss';
|
|
2
|
-
|
|
3
|
-
.menu-list__panel__item {
|
|
4
|
-
display: flex;
|
|
5
|
-
gap: 7px;
|
|
6
|
-
justify-content: space-between;
|
|
7
|
-
align-items: center;
|
|
8
|
-
height: 45px;
|
|
9
|
-
|
|
10
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
11
|
-
|
|
12
|
-
&:last-child {
|
|
13
|
-
border-bottom: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.menu-list__panel__item_icon {
|
|
17
|
-
height: 100%;
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
|
|
21
|
-
& > img {
|
|
22
|
-
height: 15px;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.menu-list__panel__item_title {
|
|
27
|
-
font-size: 15px;
|
|
28
|
-
color: #666666;
|
|
29
|
-
font-weight: 500;
|
|
30
|
-
margin-right: auto;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.menu-list__panel__item_right {
|
|
34
|
-
height: 100%;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
|
|
38
|
-
& > svg {
|
|
39
|
-
height: 16px;
|
|
40
|
-
font-size: 12px;
|
|
41
|
-
color: #666666;
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
1
|
+
@import '../../variables.scss';
|
|
2
|
+
|
|
3
|
+
.menu-list__panel__item {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: 7px;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
align-items: center;
|
|
8
|
+
height: 45px;
|
|
9
|
+
|
|
10
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
11
|
+
|
|
12
|
+
&:last-child {
|
|
13
|
+
border-bottom: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.menu-list__panel__item_icon {
|
|
17
|
+
height: 100%;
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
|
|
21
|
+
& > img {
|
|
22
|
+
height: 15px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.menu-list__panel__item_title {
|
|
27
|
+
font-size: 15px;
|
|
28
|
+
color: #666666;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
margin-right: auto;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.menu-list__panel__item_right {
|
|
34
|
+
height: 100%;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
|
|
38
|
+
& > svg {
|
|
39
|
+
height: 16px;
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
color: #666666;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
import { MenuListProps } from "./types";
|
|
4
|
-
declare const MenuList: React.FC<MenuListProps>;
|
|
5
|
-
export default MenuList;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
import { MenuListProps } from "./types";
|
|
4
|
+
declare const MenuList: React.FC<MenuListProps>;
|
|
5
|
+
export default MenuList;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 数据
|
|
3
|
-
*/
|
|
4
|
-
export interface MenuListDataProps {
|
|
5
|
-
/**
|
|
6
|
-
* 菜单名称
|
|
7
|
-
*/
|
|
8
|
-
title: string;
|
|
9
|
-
/**
|
|
10
|
-
* 菜单图标地址
|
|
11
|
-
*/
|
|
12
|
-
iconUrl?: string;
|
|
13
|
-
/**
|
|
14
|
-
* 点击事件
|
|
15
|
-
*/
|
|
16
|
-
handleClick?: Function;
|
|
17
|
-
}
|
|
18
|
-
export interface MenuListProps {
|
|
19
|
-
/**
|
|
20
|
-
* 数据
|
|
21
|
-
*/
|
|
22
|
-
dataList?: MenuListDataProps[];
|
|
23
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 数据
|
|
3
|
+
*/
|
|
4
|
+
export interface MenuListDataProps {
|
|
5
|
+
/**
|
|
6
|
+
* 菜单名称
|
|
7
|
+
*/
|
|
8
|
+
title: string;
|
|
9
|
+
/**
|
|
10
|
+
* 菜单图标地址
|
|
11
|
+
*/
|
|
12
|
+
iconUrl?: string;
|
|
13
|
+
/**
|
|
14
|
+
* 点击事件
|
|
15
|
+
*/
|
|
16
|
+
handleClick?: Function;
|
|
17
|
+
}
|
|
18
|
+
export interface MenuListProps {
|
|
19
|
+
/**
|
|
20
|
+
* 数据
|
|
21
|
+
*/
|
|
22
|
+
dataList?: MenuListDataProps[];
|
|
23
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 消息列表
|
|
3
|
-
*/
|
|
4
|
-
import MessageList from './message-list';
|
|
5
|
-
export type { MessageListProps } from './message-list';
|
|
6
|
-
export default MessageList;
|
|
1
|
+
/**
|
|
2
|
+
* 消息列表
|
|
3
|
+
*/
|
|
4
|
+
import MessageList from './message-list';
|
|
5
|
+
export type { MessageListProps } from './message-list';
|
|
6
|
+
export default MessageList;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
@import '../../variables.scss';
|
|
2
|
-
|
|
3
|
-
.message-list__panel {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
margin: 0;
|
|
7
|
-
&__tab{
|
|
8
|
-
margin-bottom: 20px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&__item-list {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
gap: 10px;
|
|
15
|
-
div:last-child {
|
|
16
|
-
border-bottom: none;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
@import '../../variables.scss';
|
|
2
|
+
|
|
3
|
+
.message-list__panel {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
margin: 0;
|
|
7
|
+
&__tab{
|
|
8
|
+
margin-bottom: 20px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__item-list {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: 10px;
|
|
15
|
+
div:last-child {
|
|
16
|
+
border-bottom: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './message-list-item.scss';
|
|
3
|
-
/**
|
|
4
|
-
* 数据
|
|
5
|
-
*/
|
|
6
|
-
export interface DataProps {
|
|
7
|
-
/**
|
|
8
|
-
* 标题
|
|
9
|
-
*/
|
|
10
|
-
title?: string;
|
|
11
|
-
/**
|
|
12
|
-
* 图片地址
|
|
13
|
-
*/
|
|
14
|
-
image?: string;
|
|
15
|
-
/**
|
|
16
|
-
* 说明
|
|
17
|
-
*/
|
|
18
|
-
description?: string;
|
|
19
|
-
/**
|
|
20
|
-
* 发布时间
|
|
21
|
-
*/
|
|
22
|
-
gmtCreate?: string;
|
|
23
|
-
/**
|
|
24
|
-
* 点击事件
|
|
25
|
-
*/
|
|
26
|
-
onClick?: (e: any) => void;
|
|
27
|
-
}
|
|
28
|
-
declare const MessageListItem: React.FC<DataProps>;
|
|
29
|
-
export default MessageListItem;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './message-list-item.scss';
|
|
3
|
+
/**
|
|
4
|
+
* 数据
|
|
5
|
+
*/
|
|
6
|
+
export interface DataProps {
|
|
7
|
+
/**
|
|
8
|
+
* 标题
|
|
9
|
+
*/
|
|
10
|
+
title?: string;
|
|
11
|
+
/**
|
|
12
|
+
* 图片地址
|
|
13
|
+
*/
|
|
14
|
+
image?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 说明
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* 发布时间
|
|
21
|
+
*/
|
|
22
|
+
gmtCreate?: string;
|
|
23
|
+
/**
|
|
24
|
+
* 点击事件
|
|
25
|
+
*/
|
|
26
|
+
onClick?: (e: any) => void;
|
|
27
|
+
}
|
|
28
|
+
declare const MessageListItem: React.FC<DataProps>;
|
|
29
|
+
export default MessageListItem;
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
@import '../../variables.scss';
|
|
2
|
-
|
|
3
|
-
.message-list__panel__item {
|
|
4
|
-
display: flex;
|
|
5
|
-
gap: 5px;
|
|
6
|
-
padding-bottom: 10px;
|
|
7
|
-
justify-content: flex-start;
|
|
8
|
-
|
|
9
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
10
|
-
|
|
11
|
-
&_image {
|
|
12
|
-
width: 90px;
|
|
13
|
-
height: 71px;
|
|
14
|
-
border-radius: 5px;
|
|
15
|
-
flex: 0 0 auto;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
|
|
18
|
-
& > img {
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
object-fit: cover;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&__text {
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
gap: 3px;
|
|
30
|
-
|
|
31
|
-
&__title {
|
|
32
|
-
font-size: 15px;
|
|
33
|
-
font-weight: 500;
|
|
34
|
-
color: #000000;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&__description {
|
|
38
|
-
-webkit-line-clamp: 1;
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
color: #686868;
|
|
41
|
-
-webkit-box-orient: vertical;
|
|
42
|
-
display: -webkit-box;
|
|
43
|
-
font-size: 12px;
|
|
44
|
-
text-overflow: ellipsis;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
}
|
|
1
|
+
@import '../../variables.scss';
|
|
2
|
+
|
|
3
|
+
.message-list__panel__item {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: 5px;
|
|
6
|
+
padding-bottom: 10px;
|
|
7
|
+
justify-content: flex-start;
|
|
8
|
+
|
|
9
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
10
|
+
|
|
11
|
+
&_image {
|
|
12
|
+
width: 90px;
|
|
13
|
+
height: 71px;
|
|
14
|
+
border-radius: 5px;
|
|
15
|
+
flex: 0 0 auto;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
|
|
18
|
+
& > img {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
object-fit: cover;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__text {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
gap: 3px;
|
|
30
|
+
|
|
31
|
+
&__title {
|
|
32
|
+
font-size: 15px;
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
color: #000000;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__description {
|
|
38
|
+
-webkit-line-clamp: 1;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
color: #686868;
|
|
41
|
+
-webkit-box-orient: vertical;
|
|
42
|
+
display: -webkit-box;
|
|
43
|
+
font-size: 12px;
|
|
44
|
+
text-overflow: ellipsis;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
}
|