@fonixtree/magic-design 1.0.5 → 2.0.3
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/es/assets/fonts/magic-box-iconfont.css +47 -3
- package/es/assets/fonts/magic-box-iconfont.css.bak +47 -3
- package/es/assets/fonts/magic-box-iconfont.js +1 -1
- package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/assets/less/slider.less +49 -1
- package/es/common/ImageModal/index.js +35 -2
- package/es/common/ImagePicker/index.js +69 -9
- package/es/common/ImagePicker/index.less +1 -0
- package/es/common/LinkModal/AffiliateProductTable/index.js +348 -0
- package/es/common/LinkModal/CatgTable/index.js +6 -3
- package/es/common/LinkModal/FilteredProductModal/index.js +2 -2
- package/es/common/LinkModal/ProductDetailPage/index.js +1 -1
- package/es/common/LinkModal/index.js +6 -0
- package/es/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
- package/es/composite-comp/bol/components/Banner/index.js +15 -1
- package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -4
- package/es/composite-comp/bol/components/Banner/mobile/index.less +52 -78
- package/es/composite-comp/bol/components/Banner/pc/index.js +1 -4
- package/es/composite-comp/bol/components/Button/index.js +3 -4
- package/es/composite-comp/bol/components/Carousel/mobile/index.js +1 -4
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
- package/es/composite-comp/bol/components/Carousel/pc/index.js +1 -4
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -4
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
- package/es/composite-comp/bol/components/ImageGallery/pc/index.js +3 -4
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +11 -2
- package/es/composite-comp/bol/components/ImageText/mobile/index.js +1 -4
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
- package/es/composite-comp/bol/components/ImageText/pc/index.js +3 -4
- package/es/composite-comp/bol/components/Newsletter/index.js +1 -4
- package/es/composite-comp/bol/components/Tag/index.js +3 -4
- package/es/composite-comp/bol/components/Text/index.js +3 -4
- package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +49 -10
- package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +5 -5
- package/es/composite-comp/bol/components/Video/defaultJSON.js +10 -0
- package/es/composite-comp/bol/components/Video/index.js +23 -1
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +9 -12
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -11
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +9 -11
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -50
- package/es/composite-comp/bol/components/Video/mobile/index.js +8 -49
- package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
- package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -12
- package/es/composite-comp/bol/components/Video/pc/Layout1/index.less +2 -2
- package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +15 -16
- package/es/composite-comp/bol/components/Video/pc/Layout2/index.less +4 -4
- package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +8 -11
- package/es/composite-comp/bol/components/Video/pc/Layout3/index.less +2 -2
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -12
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +5 -4
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -12
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +12 -10
- package/es/composite-comp/bol/components/Wallet/mobile/index.js +1 -4
- package/es/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
- package/es/composite-comp/bol/components/Wallet/pc/index.js +1 -4
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +4 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
- package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +12 -2
- package/es/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
- package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +10 -1
- package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +12 -2
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +76 -80
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
- package/es/constants/index.js +4 -2
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
- package/es/core/Designer/AiImageGenerator/History/index.js +141 -0
- package/es/core/Designer/AiImageGenerator/History/index.less +69 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.js +45 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.less +39 -0
- package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/es/core/Designer/AiImageGenerator/index.js +711 -0
- package/es/core/Designer/AiImageGenerator/index.less +144 -0
- package/es/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
- package/es/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
- package/es/core/Designer/ChatRobot/index.js +321 -0
- package/es/core/Designer/ChatRobot/index.less +135 -0
- package/es/core/Designer/ChatRobot/markdown.less +1 -0
- package/es/core/Designer/FonixtreeGpt/index.js +160 -0
- package/es/core/Designer/index.js +27 -8
- package/es/decorator/metaDecorator.js +1 -1
- package/es/locale/en/en.json +5 -0
- package/es/locale/es/es.json +5 -0
- package/es/locale/id/id.json +5 -0
- package/es/meta-comp/config-panels/ImageConfig/index.js +32 -11
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
- package/es/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
- package/es/meta-comp/config-panels/PlayIconConfig/index.less +37 -2
- package/es/meta-comp/config-panels/TextConfig/index.js +5 -1
- package/es/mobx/Store.js +3 -0
- package/es/utils/androidUtil.js +2 -1
- package/es/utils/businessUtil.js +13 -0
- package/es/utils/commonUtil.js +142 -34
- package/es/utils/coreUtil.js +3 -4
- package/lib/assets/fonts/magic-box-iconfont.css +47 -3
- package/lib/assets/fonts/magic-box-iconfont.css.bak +47 -3
- package/lib/assets/fonts/magic-box-iconfont.js +1 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/assets/less/slider.less +49 -1
- package/lib/common/ImageModal/index.js +35 -2
- package/lib/common/ImagePicker/index.js +69 -9
- package/lib/common/ImagePicker/index.less +1 -0
- package/lib/common/LinkModal/AffiliateProductTable/index.js +348 -0
- package/lib/common/LinkModal/CatgTable/index.js +6 -3
- package/lib/common/LinkModal/FilteredProductModal/index.js +2 -2
- package/lib/common/LinkModal/ProductDetailPage/index.js +1 -1
- package/lib/common/LinkModal/index.js +6 -0
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
- package/lib/composite-comp/bol/components/Banner/index.js +15 -1
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -4
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
- package/lib/composite-comp/bol/components/Banner/pc/index.js +1 -4
- package/lib/composite-comp/bol/components/Button/index.js +3 -4
- package/lib/composite-comp/bol/components/Carousel/mobile/index.js +1 -4
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +1 -4
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -4
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
- package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +3 -4
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +11 -2
- package/lib/composite-comp/bol/components/ImageText/mobile/index.js +1 -4
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +3 -4
- package/lib/composite-comp/bol/components/Newsletter/index.js +1 -4
- package/lib/composite-comp/bol/components/Tag/index.js +3 -4
- package/lib/composite-comp/bol/components/Text/index.js +3 -4
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +49 -10
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +5 -5
- package/lib/composite-comp/bol/components/Video/defaultJSON.js +10 -0
- package/lib/composite-comp/bol/components/Video/index.js +23 -1
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +9 -12
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -11
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +9 -11
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -50
- package/lib/composite-comp/bol/components/Video/mobile/index.js +8 -49
- package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -12
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +2 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +15 -16
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +4 -4
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +8 -11
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +2 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -12
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +5 -4
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -12
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +12 -10
- package/lib/composite-comp/bol/components/Wallet/mobile/index.js +1 -4
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
- package/lib/composite-comp/bol/components/Wallet/pc/index.js +1 -4
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +4 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +12 -2
- package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +10 -1
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +12 -2
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +76 -80
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
- package/lib/constants/index.js +4 -2
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
- package/lib/core/Designer/AiImageGenerator/History/index.js +141 -0
- package/lib/core/Designer/AiImageGenerator/History/index.less +69 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +45 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +39 -0
- package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/lib/core/Designer/AiImageGenerator/index.js +711 -0
- package/lib/core/Designer/AiImageGenerator/index.less +144 -0
- package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
- package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
- package/lib/core/Designer/ChatRobot/index.js +321 -0
- package/lib/core/Designer/ChatRobot/index.less +135 -0
- package/lib/core/Designer/ChatRobot/markdown.less +1 -0
- package/lib/core/Designer/FonixtreeGpt/index.js +160 -0
- package/lib/core/Designer/index.js +27 -8
- package/lib/decorator/metaDecorator.js +1 -1
- package/lib/locale/en/en.json +5 -0
- package/lib/locale/es/es.json +5 -0
- package/lib/locale/id/id.json +5 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.js +32 -11
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/index.less +37 -2
- package/lib/meta-comp/config-panels/TextConfig/index.js +5 -1
- package/lib/mobx/Store.js +3 -0
- package/lib/utils/androidUtil.js +2 -1
- package/lib/utils/businessUtil.js +13 -0
- package/lib/utils/commonUtil.js +142 -34
- package/lib/utils/coreUtil.js +3 -4
- package/package.json +2 -1
- package/es/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/.DS_Store +0 -0
|
@@ -1,82 +1,78 @@
|
|
|
1
1
|
.m-sign-board-bar {
|
|
2
2
|
width: 100%;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
}
|
|
3
|
+
}
|
|
4
|
+
.m-sign-board-bar .search {
|
|
5
|
+
width: 100%;
|
|
6
|
+
background: #EEEEEE;
|
|
7
|
+
border-radius: 0.16rem;
|
|
8
|
+
padding: 0.16rem 0.24rem;
|
|
9
|
+
height: 0.72rem;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
margin-bottom: 0.08rem;
|
|
14
|
+
}
|
|
15
|
+
.m-sign-board-bar .search .search-input {
|
|
16
|
+
height: 0.4rem;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
font-size: 0.32rem;
|
|
19
|
+
line-height: 0.4rem;
|
|
20
|
+
padding: 0;
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
border: none;
|
|
23
|
+
}
|
|
24
|
+
.m-sign-board-bar .store-info-wrap {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
margin-top: 0.4rem;
|
|
28
|
+
}
|
|
29
|
+
.m-sign-board-bar .store-info-wrap .number {
|
|
30
|
+
font-family: 'Montserrat';
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
font-size: 0.24rem;
|
|
33
|
+
line-height: 0.32rem;
|
|
34
|
+
color: #696973;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
}
|
|
38
|
+
.m-sign-board-bar .store-info-wrap .number > img {
|
|
39
|
+
width: 0.28rem;
|
|
40
|
+
}
|
|
41
|
+
.m-sign-board-bar .store-info-wrap .number > span {
|
|
42
|
+
font-weight: 700;
|
|
43
|
+
font-size: 0.28rem;
|
|
44
|
+
line-height: 0.36rem;
|
|
45
|
+
color: #333333;
|
|
46
|
+
margin: 0 0.08rem;
|
|
47
|
+
}
|
|
48
|
+
.m-sign-board-bar .store-info-wrap .number:nth-child(2) {
|
|
49
|
+
margin-left: 0.48rem;
|
|
50
|
+
flex: 1;
|
|
51
|
+
}
|
|
52
|
+
.m-sign-board-bar .store-info-wrap .chat-btn {
|
|
53
|
+
padding: 0.1rem 0.24rem;
|
|
54
|
+
background: #FFFFFF;
|
|
55
|
+
border: 0.02rem solid #333333;
|
|
56
|
+
border-radius: 0.08rem;
|
|
57
|
+
width: fit-content;
|
|
58
|
+
font-family: 'Montserrat';
|
|
59
|
+
font-weight: 400;
|
|
60
|
+
font-size: 0.24rem;
|
|
61
|
+
line-height: 0.32rem;
|
|
62
|
+
text-transform: uppercase;
|
|
63
|
+
color: #333333;
|
|
64
|
+
}
|
|
65
|
+
.m-sign-board-bar .store-info-wrap .store-logo {
|
|
66
|
+
width: 0.88rem;
|
|
67
|
+
height: 0.88rem;
|
|
68
|
+
border-radius: 50%;
|
|
69
|
+
}
|
|
70
|
+
.m-sign-board-bar .store-info-wrap .store-name {
|
|
71
|
+
flex: 1;
|
|
72
|
+
margin-left: 0.24rem;
|
|
73
|
+
font-weight: 500;
|
|
74
|
+
font-size: 0.32rem;
|
|
75
|
+
line-height: 0.4rem;
|
|
76
|
+
color: #070707;
|
|
77
|
+
font-family: 'Montserrat';
|
|
78
|
+
}
|
package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js
CHANGED
|
@@ -275,7 +275,7 @@ function (_super) {
|
|
|
275
275
|
];
|
|
276
276
|
return [4
|
|
277
277
|
/*yield*/
|
|
278
|
-
, (0, _commonUtil.commonFetch)("/designer/v1/" + window.magicDesign.MBaseUrl + "/brands
|
|
278
|
+
, (0, _commonUtil.commonFetch)("/designer/v1/" + window.magicDesign.MBaseUrl + "/stores/contract/brands")];
|
|
279
279
|
|
|
280
280
|
case 3:
|
|
281
281
|
res = _a.sent();
|
package/lib/constants/index.js
CHANGED
|
@@ -7,7 +7,8 @@ exports.urlTypeMap = exports.urlType = exports.respCodeMap = exports.quickMenuCo
|
|
|
7
7
|
var STORAGE_KEY = {
|
|
8
8
|
LOCALE: 'magicLocale',
|
|
9
9
|
MAGIC_RENDER_HTML: 'MAGIC_RENDER_HTML',
|
|
10
|
-
MAGIC_RENDER_PAGEDATA: 'MAGIC_RENDER_PAGEDATA'
|
|
10
|
+
MAGIC_RENDER_PAGEDATA: 'MAGIC_RENDER_PAGEDATA',
|
|
11
|
+
FONIXTREE_AI_IMG_HIS: 'fonixtree_ai_img_his'
|
|
11
12
|
};
|
|
12
13
|
/** 授信状态 */
|
|
13
14
|
|
|
@@ -57,7 +58,8 @@ var urlTypeMap = {
|
|
|
57
58
|
VIDEO: 'Video',
|
|
58
59
|
SHARE_URL: 'ShareURL',
|
|
59
60
|
MINI_APP: 'MiniApp',
|
|
60
|
-
STORE: 'Store'
|
|
61
|
+
STORE: 'Store',
|
|
62
|
+
AFFILIATE_PRODUCT: 'AffiliateProduct'
|
|
61
63
|
};
|
|
62
64
|
exports.urlTypeMap = urlTypeMap;
|
|
63
65
|
var respCodeMap = {
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = GenerateArtist;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
|
|
14
|
+
var _back = _interopRequireDefault(require("./images/back1.png"));
|
|
15
|
+
|
|
16
|
+
var _back2 = _interopRequireDefault(require("./images/back2.png"));
|
|
17
|
+
|
|
18
|
+
var _back3 = _interopRequireDefault(require("./images/back3.png"));
|
|
19
|
+
|
|
20
|
+
var _back4 = _interopRequireDefault(require("./images/back4.png"));
|
|
21
|
+
|
|
22
|
+
require("./index.less");
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
|
+
|
|
26
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
27
|
+
|
|
28
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
29
|
+
|
|
30
|
+
function GenerateArtist() {
|
|
31
|
+
var _a = (0, _react.useState)(1),
|
|
32
|
+
active = _a[0],
|
|
33
|
+
setActive = _a[1];
|
|
34
|
+
|
|
35
|
+
var source = [{
|
|
36
|
+
key: 1,
|
|
37
|
+
name: 'Creativity',
|
|
38
|
+
src: _back["default"]
|
|
39
|
+
}, {
|
|
40
|
+
key: 2,
|
|
41
|
+
name: 'Quadratic element',
|
|
42
|
+
src: _back2["default"]
|
|
43
|
+
}, {
|
|
44
|
+
key: 3,
|
|
45
|
+
name: 'Expect',
|
|
46
|
+
src: _back3["default"]
|
|
47
|
+
}, {
|
|
48
|
+
key: 4,
|
|
49
|
+
name: 'Concreteness',
|
|
50
|
+
src: _back4["default"]
|
|
51
|
+
}];
|
|
52
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
53
|
+
className: "artist_wrap"
|
|
54
|
+
}, source.map(function (node) {
|
|
55
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
56
|
+
key: node.key,
|
|
57
|
+
className: (0, _classnames["default"])('art_node', {
|
|
58
|
+
art_active: node.key === active
|
|
59
|
+
}),
|
|
60
|
+
onClick: function onClick() {
|
|
61
|
+
return setActive(node.key);
|
|
62
|
+
}
|
|
63
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
64
|
+
alt: "",
|
|
65
|
+
src: node.src
|
|
66
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
67
|
+
className: "art_mask"
|
|
68
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
69
|
+
className: "art_title"
|
|
70
|
+
}, node.name));
|
|
71
|
+
}));
|
|
72
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.artist_wrap {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
.art_node {
|
|
6
|
+
position: relative;
|
|
7
|
+
margin-bottom: 8px;
|
|
8
|
+
width: 140px;
|
|
9
|
+
height: 80px;
|
|
10
|
+
border-radius:6px;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
border: 2px solid transparent;
|
|
14
|
+
&.art_active {
|
|
15
|
+
border: 2px solid #2F54EB;
|
|
16
|
+
}
|
|
17
|
+
img {
|
|
18
|
+
height: 100%;
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
.art_mask {
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: 0;
|
|
24
|
+
border-radius: 4px;
|
|
25
|
+
height: 100%;
|
|
26
|
+
width: 100%;
|
|
27
|
+
background: linear-gradient(360deg, rgba(0, 0, 0, 0.6) 0%, rgba(255, 255, 255, 0) 53.89%);
|
|
28
|
+
}
|
|
29
|
+
.art_title {
|
|
30
|
+
position: absolute;
|
|
31
|
+
bottom: 6px;
|
|
32
|
+
left: 6px;
|
|
33
|
+
font-family: 'Open Sans';
|
|
34
|
+
font-style: normal;
|
|
35
|
+
font-weight: 400;
|
|
36
|
+
font-size: 12px;
|
|
37
|
+
line-height: 16px;
|
|
38
|
+
color: #FFF;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = GenerateSize;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _antd = require("antd");
|
|
11
|
+
|
|
12
|
+
require("./index.less");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
function GenerateSize(_a) {
|
|
17
|
+
var value = _a.value,
|
|
18
|
+
onChange = _a.onChange;
|
|
19
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
20
|
+
className: "gene_size_wrap"
|
|
21
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
22
|
+
defaultValue: "1",
|
|
23
|
+
options: [{
|
|
24
|
+
value: '1',
|
|
25
|
+
label: '1:1'
|
|
26
|
+
}]
|
|
27
|
+
}), /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
28
|
+
defaultValue: "1",
|
|
29
|
+
options: [{
|
|
30
|
+
value: '1',
|
|
31
|
+
label: '256x256'
|
|
32
|
+
}, {
|
|
33
|
+
value: '2',
|
|
34
|
+
label: '512x512'
|
|
35
|
+
}, {
|
|
36
|
+
value: '3',
|
|
37
|
+
label: '1024x1024'
|
|
38
|
+
}],
|
|
39
|
+
style: {
|
|
40
|
+
marginLeft: 10
|
|
41
|
+
}
|
|
42
|
+
}));
|
|
43
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
|
|
14
|
+
var _common = require("../../../../common");
|
|
15
|
+
|
|
16
|
+
require("./index.less");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
24
|
+
var __spreadArrays = void 0 && (void 0).__spreadArrays || function () {
|
|
25
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
|
|
26
|
+
s += arguments[i].length;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++) {
|
|
30
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
|
|
31
|
+
r[k] = a[j];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return r;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
function History(_a) {
|
|
39
|
+
var source = _a.source,
|
|
40
|
+
onClick = _a.onClick,
|
|
41
|
+
onChange = _a.onChange,
|
|
42
|
+
selectIndex = _a.selectIndex;
|
|
43
|
+
|
|
44
|
+
var _b = (0, _react.useState)(false),
|
|
45
|
+
isEdit = _b[0],
|
|
46
|
+
setIsEdit = _b[1];
|
|
47
|
+
|
|
48
|
+
var _c = (0, _react.useState)([]),
|
|
49
|
+
selected = _c[0],
|
|
50
|
+
setSelected = _c[1];
|
|
51
|
+
|
|
52
|
+
var historyConfig = function historyConfig() {
|
|
53
|
+
if (isEdit) {
|
|
54
|
+
setSelected([]);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
setIsEdit(!isEdit);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
var onDeleteHistory = function onDeleteHistory() {
|
|
61
|
+
if (!selected.length) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
var newSource = source.filter(function (src, index) {
|
|
66
|
+
return !selected.includes(index);
|
|
67
|
+
});
|
|
68
|
+
onChange(newSource.length ? newSource : []);
|
|
69
|
+
setIsEdit(false);
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
var onHisItemClick = function onHisItemClick(index) {
|
|
73
|
+
if (!isEdit) {
|
|
74
|
+
onClick(index);
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (selected.includes(index)) {
|
|
79
|
+
var newSelecetd = selected.filter(function (sel) {
|
|
80
|
+
return sel !== index;
|
|
81
|
+
});
|
|
82
|
+
setSelected(newSelecetd);
|
|
83
|
+
} else {
|
|
84
|
+
setSelected(__spreadArrays(selected, [index]));
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
89
|
+
className: "history_wrap"
|
|
90
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
91
|
+
className: "history_header"
|
|
92
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
93
|
+
className: "title"
|
|
94
|
+
}, "History"), /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
95
|
+
color: "#2F54EB",
|
|
96
|
+
onClick: historyConfig,
|
|
97
|
+
size: 20,
|
|
98
|
+
style: {
|
|
99
|
+
cursor: 'pointer'
|
|
100
|
+
},
|
|
101
|
+
type: isEdit ? 'icon-close' : 'icon-setting1'
|
|
102
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
103
|
+
className: "history_list"
|
|
104
|
+
}, source.length > 0 && source.map(function (his, index) {
|
|
105
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
106
|
+
className: (0, _classnames["default"])('historyNode', {
|
|
107
|
+
active: selectIndex === index
|
|
108
|
+
}),
|
|
109
|
+
onClick: function onClick() {
|
|
110
|
+
return onHisItemClick(index);
|
|
111
|
+
}
|
|
112
|
+
}, isEdit && /*#__PURE__*/_react["default"].createElement("div", {
|
|
113
|
+
className: "hisSelectIcon"
|
|
114
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
115
|
+
color: "#2F54EB",
|
|
116
|
+
size: 20,
|
|
117
|
+
style: {
|
|
118
|
+
cursor: 'pointer'
|
|
119
|
+
},
|
|
120
|
+
type: selected.includes(index) ? 'icon-select1' : 'icon-uncheck'
|
|
121
|
+
})), /*#__PURE__*/_react["default"].createElement("img", {
|
|
122
|
+
alt: "",
|
|
123
|
+
src: his.images[0]
|
|
124
|
+
}), his.images.length > 1 && /*#__PURE__*/_react["default"].createElement("span", {
|
|
125
|
+
className: "hisImgNum"
|
|
126
|
+
}, his.images.length));
|
|
127
|
+
})), isEdit && /*#__PURE__*/_react["default"].createElement("div", {
|
|
128
|
+
className: "historyBottom",
|
|
129
|
+
onClick: onDeleteHistory
|
|
130
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
131
|
+
color: "#FF4141",
|
|
132
|
+
size: 16,
|
|
133
|
+
style: {
|
|
134
|
+
cursor: 'pointer'
|
|
135
|
+
},
|
|
136
|
+
type: "icon-delete1"
|
|
137
|
+
}), /*#__PURE__*/_react["default"].createElement("span", null, "Delete"), " "));
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
var _default = History;
|
|
141
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.history_wrap {
|
|
2
|
+
position: relative;
|
|
3
|
+
height: calc(100vh - 100px);
|
|
4
|
+
overflow: scroll;
|
|
5
|
+
width: 132px;
|
|
6
|
+
min-height: 100%;
|
|
7
|
+
background-color: #FFF;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
.history_header {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
padding: 16px;
|
|
13
|
+
}
|
|
14
|
+
.history_list {
|
|
15
|
+
padding: 0 16px;
|
|
16
|
+
max-height: calc(100vh - 200px);
|
|
17
|
+
overflow: scroll;
|
|
18
|
+
.historyNode {
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
border: 2px solid transparent;
|
|
21
|
+
border-radius: 6px;
|
|
22
|
+
position: relative;
|
|
23
|
+
margin-bottom: 12px;
|
|
24
|
+
.hisSelectIcon {
|
|
25
|
+
position: absolute;
|
|
26
|
+
right: 6px;
|
|
27
|
+
top: 6px;
|
|
28
|
+
background-color: #FFF;
|
|
29
|
+
border-radius: 50%;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
}
|
|
34
|
+
img {
|
|
35
|
+
border-radius: 4px;
|
|
36
|
+
width: 96px;
|
|
37
|
+
height: 96px;
|
|
38
|
+
}
|
|
39
|
+
.hisImgNum {
|
|
40
|
+
width: 18px;
|
|
41
|
+
height: 18px;
|
|
42
|
+
position: absolute;
|
|
43
|
+
bottom: 6px;
|
|
44
|
+
right: 6px;
|
|
45
|
+
background: #2F54EBCC;
|
|
46
|
+
color: #FFF;
|
|
47
|
+
font-family: 'Open Sans';
|
|
48
|
+
font-size: 12px;
|
|
49
|
+
font-weight: 400;
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.active {
|
|
56
|
+
border: 2px solid #2F54EB;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
.historyBottom {
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
position: absolute;
|
|
62
|
+
bottom: 16px;
|
|
63
|
+
left: 0;
|
|
64
|
+
right: 0;
|
|
65
|
+
margin-top: 10px;
|
|
66
|
+
color: #FF4141;
|
|
67
|
+
text-align: center;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = UploadReference;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _antd = require("antd");
|
|
11
|
+
|
|
12
|
+
var _common = require("../../../../common");
|
|
13
|
+
|
|
14
|
+
require("./index.less");
|
|
15
|
+
|
|
16
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
+
|
|
18
|
+
function UploadReference() {
|
|
19
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
20
|
+
className: "ref_wrap"
|
|
21
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
22
|
+
className: "upload_btn"
|
|
23
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
24
|
+
color: "#A3AEC3",
|
|
25
|
+
size: 30,
|
|
26
|
+
type: "icon-add"
|
|
27
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
28
|
+
className: "proportion_wrap"
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
30
|
+
className: "title"
|
|
31
|
+
}, "Proportion"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
32
|
+
className: "desc"
|
|
33
|
+
}, "Big numbers have big effects"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
34
|
+
className: "slider_wrap"
|
|
35
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Slider, {
|
|
36
|
+
className: "cylon-slider-sm",
|
|
37
|
+
defaultValue: 5,
|
|
38
|
+
max: 10,
|
|
39
|
+
min: 1,
|
|
40
|
+
step: 1,
|
|
41
|
+
tooltip: {
|
|
42
|
+
open: true
|
|
43
|
+
}
|
|
44
|
+
}))));
|
|
45
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.ref_wrap {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
.upload_btn {
|
|
5
|
+
height:80px;
|
|
6
|
+
width: 80px;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
background: #F5F6F7;
|
|
11
|
+
border: 1px dashed #D2D9E5;
|
|
12
|
+
border-radius: 4px;
|
|
13
|
+
}
|
|
14
|
+
.proportion_wrap {
|
|
15
|
+
height: 80px;
|
|
16
|
+
margin-left: 12px;
|
|
17
|
+
background-color: #F5F6F7;
|
|
18
|
+
padding: 4px 8px;
|
|
19
|
+
.title {
|
|
20
|
+
font-family: 'Open Sans';
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
font-size: 12px;
|
|
24
|
+
line-height: 20px;
|
|
25
|
+
color: #232F46;
|
|
26
|
+
}
|
|
27
|
+
.desc {
|
|
28
|
+
font-family: 'Open Sans';
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
font-size: 12px;
|
|
32
|
+
line-height: 16px;
|
|
33
|
+
color: #8493AF;
|
|
34
|
+
}
|
|
35
|
+
.slider_wrap {
|
|
36
|
+
padding-top: 12px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
Binary file
|