s-material-react 1.3.35 → 1.3.37
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/css/common/icon.scss +0 -1
- package/css/common/index.scss +1 -0
- package/css/common/promotionItem.scss +87 -0
- package/css/pages/backTop.scss +43 -0
- package/css/pages/goodsList.scss +36 -8
- package/css/pages/index.scss +2 -1
- package/css/pages/marketingGroup/getCouponOne.scss +122 -0
- package/css/pages/marketingGroup/index.scss +1 -0
- package/dist/components/BackTop/index.d.ts +6 -0
- package/dist/components/basic/ClassifyNavGroup/ClassifyNav/index.d.ts +15 -0
- package/dist/components/basic/ClassifyNavGroup/ClassifyNavOne/index.d.ts +29 -0
- package/dist/components/basic/ClassifyNavGroup/ClassifyNavThree/index.d.ts +18 -0
- package/dist/components/basic/ClassifyNavGroup/ClassifyNavTwo/index.d.ts +16 -0
- package/dist/components/basic/ClassifyNavGroup/index.d.ts +4 -0
- package/dist/components/basic/Cube/index.d.ts +20 -0
- package/dist/components/basic/GoodsGroup/Goods/index.d.ts +30 -0
- package/dist/components/basic/GoodsGroup/GoodsSlider/index.d.ts +19 -0
- package/dist/components/basic/GoodsGroup/GoodsSlideshow/index.d.ts +17 -0
- package/dist/components/basic/GoodsGroup/index.d.ts +3 -0
- package/dist/components/basic/LineGroup/Line/index.d.ts +12 -0
- package/dist/components/basic/LineGroup/TextLine/index.d.ts +16 -0
- package/dist/components/basic/LineGroup/index.d.ts +2 -0
- package/dist/components/basic/Notice/index.d.ts +10 -0
- package/dist/components/basic/Search/Search/index.d.ts +16 -0
- package/dist/components/basic/Search/SearchStyleTwo/index.d.ts +16 -0
- package/dist/components/basic/Search/index.d.ts +2 -0
- package/dist/components/basic/Slider/index.d.ts +36 -0
- package/dist/components/basic/Slider/item.d.ts +6 -0
- package/dist/components/basic/Slider/slider.d.ts +33 -0
- package/dist/components/basic/Title/index.d.ts +18 -0
- package/dist/components/basic/Video/index.d.ts +13 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/marketingGroup/GetCouponOne/components/oneLineOneBlc/index.d.ts +14 -0
- package/dist/components/marketingGroup/GetCouponOne/components/oneLineTwoBlc/index.d.ts +15 -0
- package/dist/components/marketingGroup/GetCouponOne/index.d.ts +10 -0
- package/dist/components/marketingGroup/PromotionList/index.d.ts +2 -0
- package/dist/components/marketingGroup/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/css/common/icon.scss
CHANGED
package/css/common/index.scss
CHANGED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
.promotionItem {
|
|
2
|
+
display: flex;
|
|
3
|
+
min-height: 120px;
|
|
4
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
|
|
5
|
+
margin: 0 10px;
|
|
6
|
+
border-radius: 6px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
|
|
9
|
+
.lPart {
|
|
10
|
+
flex: 1;
|
|
11
|
+
background: linear-gradient(270deg, #1A1922 0%, #383647 100%);
|
|
12
|
+
border-radius: 6px;
|
|
13
|
+
position: relative;
|
|
14
|
+
padding-top: 20px;
|
|
15
|
+
|
|
16
|
+
.round {
|
|
17
|
+
width: 24px;
|
|
18
|
+
height: 24px;
|
|
19
|
+
border-radius: 100%;
|
|
20
|
+
background-color: #FFFFFF;
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 50%;
|
|
23
|
+
right: -12px;
|
|
24
|
+
margin-top: -12px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.tagBg {
|
|
28
|
+
height: 26px;
|
|
29
|
+
line-height: 26px;
|
|
30
|
+
width: 200px;
|
|
31
|
+
background: #FFFFFF;
|
|
32
|
+
transform: rotate(-45deg);
|
|
33
|
+
text-align: center;
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 14px;
|
|
36
|
+
left: -72px;
|
|
37
|
+
|
|
38
|
+
.txt {
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
color: #394259;
|
|
41
|
+
font-weight: 500;
|
|
42
|
+
text-align: center;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.rule {
|
|
47
|
+
font-size: 24px;
|
|
48
|
+
font-weight: 500;
|
|
49
|
+
color: #FFFFFF;
|
|
50
|
+
text-align: center;
|
|
51
|
+
margin-bottom: 10px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.title {
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
font-weight: 400;
|
|
57
|
+
color: #FFFFFF;
|
|
58
|
+
text-align: center;
|
|
59
|
+
display: block;
|
|
60
|
+
margin-bottom: 2px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.time {
|
|
64
|
+
color: rgba(255,255,255,0.45);
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
text-align: center;
|
|
67
|
+
display: block;
|
|
68
|
+
|
|
69
|
+
.num {
|
|
70
|
+
display: inline-block;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.rPart {
|
|
76
|
+
width: 48px;
|
|
77
|
+
padding: 4px 4px 4px 0;
|
|
78
|
+
|
|
79
|
+
.sideBorder {
|
|
80
|
+
border: 1px solid #C3C6CD;
|
|
81
|
+
border-left: none;
|
|
82
|
+
height: 100%;
|
|
83
|
+
border-top-right-radius: 6px;
|
|
84
|
+
border-bottom-right-radius: 6px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'iconfont'; /* Project id 3715677 */
|
|
3
|
+
src: url('//at.alicdn.com/t/c/font_3715677_zbl4sqwpqs.woff2?t=1684306298598') format('woff2'),
|
|
4
|
+
url('//at.alicdn.com/t/c/font_3715677_zbl4sqwpqs.woff?t=1684306298598') format('woff'),
|
|
5
|
+
url('//at.alicdn.com/t/c/font_3715677_zbl4sqwpqs.ttf?t=1684306298598') format('truetype');
|
|
6
|
+
}
|
|
7
|
+
.iconfont {
|
|
8
|
+
font-family: "iconfont" !important;
|
|
9
|
+
font-size: 16px;
|
|
10
|
+
font-style: normal;
|
|
11
|
+
-webkit-font-smoothing: antialiased;
|
|
12
|
+
-moz-osx-font-smoothing: grayscale;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.icon-fanhuidingbu:before {
|
|
16
|
+
content: "\e60b";
|
|
17
|
+
}
|
|
18
|
+
//小程序
|
|
19
|
+
.position{
|
|
20
|
+
position: fixed;
|
|
21
|
+
right: 0;
|
|
22
|
+
|
|
23
|
+
z-index: 99;
|
|
24
|
+
|
|
25
|
+
// background: skyblue;
|
|
26
|
+
}
|
|
27
|
+
//pc端样式
|
|
28
|
+
.position1{
|
|
29
|
+
position: absolute;
|
|
30
|
+
right: 0;
|
|
31
|
+
z-index: 99;
|
|
32
|
+
|
|
33
|
+
// background: skyblue;
|
|
34
|
+
}
|
|
35
|
+
.IconBox{
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
justify-content: space-around;
|
|
39
|
+
align-items: center;
|
|
40
|
+
margin: 10px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
package/css/pages/goodsList.scss
CHANGED
|
@@ -38,9 +38,34 @@
|
|
|
38
38
|
display: flex;
|
|
39
39
|
justify-content: space-between;
|
|
40
40
|
align-items: center;
|
|
41
|
+
height: 25px;
|
|
42
|
+
line-height: 25px;
|
|
43
|
+
margin: 0 10px;
|
|
41
44
|
}
|
|
42
|
-
.
|
|
43
|
-
|
|
45
|
+
.decoration{
|
|
46
|
+
text-decoration:line-through;
|
|
47
|
+
}
|
|
48
|
+
.textBox{
|
|
49
|
+
display: flex;
|
|
50
|
+
// padding: 0 10px;
|
|
51
|
+
}
|
|
52
|
+
.boxNone{
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
55
|
+
.mgtop{
|
|
56
|
+
margin-top: 10px;
|
|
57
|
+
}
|
|
58
|
+
.mgbtm{
|
|
59
|
+
margin-bottom: 10px;
|
|
60
|
+
}
|
|
61
|
+
.mgrf{
|
|
62
|
+
margin-left: 10px;
|
|
63
|
+
margin-right: 10px;
|
|
64
|
+
line-height: 25px;
|
|
65
|
+
height: 25px;
|
|
66
|
+
}
|
|
67
|
+
.btm{
|
|
68
|
+
height: 0;
|
|
44
69
|
}
|
|
45
70
|
.listWrap {
|
|
46
71
|
background-color: #f6f6f6;
|
|
@@ -53,20 +78,23 @@
|
|
|
53
78
|
.listItem {
|
|
54
79
|
overflow: hidden;
|
|
55
80
|
background-color: #fff;
|
|
56
|
-
padding-bottom: 12px;
|
|
57
|
-
|
|
81
|
+
// padding-bottom: 12px;
|
|
82
|
+
height: fit-content;
|
|
58
83
|
.img {
|
|
59
84
|
display: block;
|
|
60
85
|
width: 100%;
|
|
61
86
|
height: 170px;
|
|
62
|
-
margin-bottom: 5px;
|
|
87
|
+
// margin-bottom: 5px;
|
|
63
88
|
}
|
|
64
89
|
|
|
65
90
|
.name {
|
|
66
91
|
font-size: 12px;
|
|
67
92
|
display: block;
|
|
68
|
-
padding:
|
|
69
|
-
|
|
93
|
+
// padding: 10px;
|
|
94
|
+
height: 25px;
|
|
95
|
+
line-height: 25px;
|
|
96
|
+
margin: 0 10px;
|
|
97
|
+
// margin-bottom: 5px;
|
|
70
98
|
@include titleLine(1);
|
|
71
99
|
}
|
|
72
100
|
|
|
@@ -74,7 +102,7 @@
|
|
|
74
102
|
display: block;
|
|
75
103
|
color: #ff0934;
|
|
76
104
|
font-size: 12px;
|
|
77
|
-
|
|
105
|
+
|
|
78
106
|
}
|
|
79
107
|
|
|
80
108
|
}
|
package/css/pages/index.scss
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@import './articleDetail';
|
|
35
35
|
@import './search.scss';
|
|
36
36
|
@import './searchStyleTwo.scss';
|
|
37
|
-
|
|
37
|
+
@import './backTop.scss';
|
|
38
38
|
|
|
39
39
|
// basic
|
|
40
40
|
@import './lineGroup';
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
// business
|
|
43
43
|
@import './goodsClassifyGroup';
|
|
44
44
|
@import './goodsDetailGroup';
|
|
45
|
+
@import './marketingGroup';
|
|
45
46
|
|
|
46
47
|
//
|
|
47
48
|
//* {
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
.getCouponOne {
|
|
2
|
+
|
|
3
|
+
.OneLineOneBlc {
|
|
4
|
+
background: #FFFFFF;
|
|
5
|
+
display: flex;
|
|
6
|
+
min-height: 88px;
|
|
7
|
+
border: 1px solid #000;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
margin: 10px;
|
|
10
|
+
|
|
11
|
+
.lPart {
|
|
12
|
+
flex: 1;
|
|
13
|
+
padding: 23px;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
|
|
18
|
+
.intro {
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
border-right: 1px dashed #000;
|
|
21
|
+
padding-right: 23px;
|
|
22
|
+
|
|
23
|
+
.type {
|
|
24
|
+
font-size: 18px;
|
|
25
|
+
margin-bottom: 4px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.rule {
|
|
29
|
+
font-size: 12px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.info {
|
|
34
|
+
flex: 1;
|
|
35
|
+
padding-left: 23px;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
|
|
39
|
+
.title {
|
|
40
|
+
font-weight: bold;
|
|
41
|
+
font-size: 14px;
|
|
42
|
+
color: #333;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.validity {
|
|
46
|
+
font-size: 12px;
|
|
47
|
+
color: #999;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.rPart {
|
|
53
|
+
width: 40px;
|
|
54
|
+
background: #000000;
|
|
55
|
+
color: #fff;
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
|
|
59
|
+
.txt {
|
|
60
|
+
writing-mode: vertical-rl;
|
|
61
|
+
text-align: center;
|
|
62
|
+
margin: 0 auto;
|
|
63
|
+
height: 88px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.oneLineTwoBlc {
|
|
69
|
+
display: grid;
|
|
70
|
+
grid-template-columns: repeat(2, 1fr);
|
|
71
|
+
gap: 10px;
|
|
72
|
+
|
|
73
|
+
.oneLineTwoBlcItem {
|
|
74
|
+
height: 114px;
|
|
75
|
+
display: flex;
|
|
76
|
+
justify-content: space-between;
|
|
77
|
+
border: 1px solid #000;
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
|
|
80
|
+
.lPart {
|
|
81
|
+
padding: 14px 8px;
|
|
82
|
+
|
|
83
|
+
.price {
|
|
84
|
+
font-weight: bold;
|
|
85
|
+
margin-bottom: 10px;
|
|
86
|
+
|
|
87
|
+
.num {
|
|
88
|
+
font-size: 27px;
|
|
89
|
+
display: inline-block;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.info {
|
|
94
|
+
font-size: 14px;
|
|
95
|
+
font-weight: bold;
|
|
96
|
+
color: #333;
|
|
97
|
+
margin-bottom: 8px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.condition {
|
|
101
|
+
color: #999;
|
|
102
|
+
font-size: 12px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.rPart {
|
|
107
|
+
width: 40px;
|
|
108
|
+
height: 100%;
|
|
109
|
+
line-height: 100%;
|
|
110
|
+
background: #000000;
|
|
111
|
+
color: #fff;
|
|
112
|
+
|
|
113
|
+
.txt {
|
|
114
|
+
writing-mode: vertical-rl;
|
|
115
|
+
text-align: center;
|
|
116
|
+
margin: 0 auto;
|
|
117
|
+
height: inherit;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./getCouponOne";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ClassifyItemType {
|
|
3
|
+
imgUrl: string;
|
|
4
|
+
title: string;
|
|
5
|
+
link?: any;
|
|
6
|
+
}
|
|
7
|
+
interface ClassifyNavType {
|
|
8
|
+
defaultValue: Array<ClassifyItemType>;
|
|
9
|
+
borderRadius: number;
|
|
10
|
+
paddingTop: number;
|
|
11
|
+
paddingBottom: number;
|
|
12
|
+
selectClassifyNav: Array<ClassifyItemType>;
|
|
13
|
+
}
|
|
14
|
+
export declare const ClassifyNav: React.NamedExoticComponent<ClassifyNavType>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const initialClassifyNavOne: {
|
|
3
|
+
defaultValue: never[];
|
|
4
|
+
selectClassifyNav: never[];
|
|
5
|
+
navRadius: string;
|
|
6
|
+
navBorderColor: string;
|
|
7
|
+
navBgColor: string;
|
|
8
|
+
navBoxShadow: boolean;
|
|
9
|
+
imgRadius: string;
|
|
10
|
+
imgBoxShadow: boolean;
|
|
11
|
+
layout: number;
|
|
12
|
+
marginTop: number;
|
|
13
|
+
marginBottom: number;
|
|
14
|
+
};
|
|
15
|
+
export declare const ClassifyNavOneJsx: React.FC<typeof initialClassifyNavOne>;
|
|
16
|
+
export declare const ClassifyNavOne: React.NamedExoticComponent<{
|
|
17
|
+
defaultValue: never[];
|
|
18
|
+
selectClassifyNav: never[];
|
|
19
|
+
navRadius: string;
|
|
20
|
+
navBorderColor: string;
|
|
21
|
+
navBgColor: string;
|
|
22
|
+
navBoxShadow: boolean;
|
|
23
|
+
imgRadius: string;
|
|
24
|
+
imgBoxShadow: boolean;
|
|
25
|
+
layout: number;
|
|
26
|
+
marginTop: number;
|
|
27
|
+
marginBottom: number;
|
|
28
|
+
}>;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const ClassifyNavThree: React.NamedExoticComponent<{
|
|
3
|
+
defaultValue: never[];
|
|
4
|
+
selectClassifyNav: never[];
|
|
5
|
+
navRadius: string;
|
|
6
|
+
navBorderColor: string;
|
|
7
|
+
navBgColor: string;
|
|
8
|
+
navBoxShadow: boolean;
|
|
9
|
+
imgRadius: string;
|
|
10
|
+
imgBoxShadow: boolean;
|
|
11
|
+
fontSize: string;
|
|
12
|
+
fontColor: string;
|
|
13
|
+
tagBgColor: string;
|
|
14
|
+
otherStyle: never[];
|
|
15
|
+
layout: number;
|
|
16
|
+
marginTop: number;
|
|
17
|
+
marginBottom: number;
|
|
18
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const ClassifyNavTwo: React.NamedExoticComponent<{
|
|
3
|
+
defaultValue: never[];
|
|
4
|
+
selectClassifyNav: never[];
|
|
5
|
+
navRadius: string;
|
|
6
|
+
navBorderColor: string;
|
|
7
|
+
navBgColor: string;
|
|
8
|
+
navBoxShadow: boolean;
|
|
9
|
+
fontSize: string;
|
|
10
|
+
fontColor: string;
|
|
11
|
+
tagBgColor: string;
|
|
12
|
+
otherStyle: never[];
|
|
13
|
+
layout: number;
|
|
14
|
+
marginTop: number;
|
|
15
|
+
marginBottom: number;
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ImgType {
|
|
3
|
+
imgUrl: string;
|
|
4
|
+
link: string;
|
|
5
|
+
}
|
|
6
|
+
interface CubeType {
|
|
7
|
+
defaultValue: Array<ImgType>;
|
|
8
|
+
type: number;
|
|
9
|
+
borderRadius: number;
|
|
10
|
+
paddingTop: number;
|
|
11
|
+
paddingLeft: number;
|
|
12
|
+
paddingRight: number;
|
|
13
|
+
picGap: number;
|
|
14
|
+
xGap: number;
|
|
15
|
+
paddingBottom: number;
|
|
16
|
+
outerShadow: boolean;
|
|
17
|
+
selectImg: Array<ImgType>;
|
|
18
|
+
}
|
|
19
|
+
export declare const Cube: React.NamedExoticComponent<CubeType>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface GoodsType {
|
|
2
|
+
defaultValue: Array<{
|
|
3
|
+
goodsCode: string | number;
|
|
4
|
+
goodsName: string | number;
|
|
5
|
+
dataPic: string;
|
|
6
|
+
goodsSalesvolume: number;
|
|
7
|
+
brandName: string | number;
|
|
8
|
+
pricesetNprice: number;
|
|
9
|
+
pricesetMakeprice?: number;
|
|
10
|
+
}>;
|
|
11
|
+
margin?: number;
|
|
12
|
+
cell: number;
|
|
13
|
+
gap?: number;
|
|
14
|
+
showSales: boolean;
|
|
15
|
+
goods: Array<never> | undefined;
|
|
16
|
+
circular?: boolean;
|
|
17
|
+
markedPrice?: number;
|
|
18
|
+
classCode?: string;
|
|
19
|
+
paddingTop?: number;
|
|
20
|
+
paddingBottom?: number;
|
|
21
|
+
paddingLeft?: number;
|
|
22
|
+
paddingRight?: number;
|
|
23
|
+
goodsName?: boolean;
|
|
24
|
+
goodsPrice?: boolean;
|
|
25
|
+
goodsCar?: boolean;
|
|
26
|
+
goodsBorder?: boolean;
|
|
27
|
+
goodsShadow?: boolean;
|
|
28
|
+
marginGap?: number;
|
|
29
|
+
}
|
|
30
|
+
export declare const Goods: import("react").NamedExoticComponent<GoodsType>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const GoodsSlider: React.NamedExoticComponent<{
|
|
3
|
+
defaultValue: never[];
|
|
4
|
+
goods: never[];
|
|
5
|
+
price: boolean;
|
|
6
|
+
marketPrice: boolean;
|
|
7
|
+
cart: boolean;
|
|
8
|
+
wrapRadius: string;
|
|
9
|
+
wrapBgColor: string;
|
|
10
|
+
wrapBorderColor: string;
|
|
11
|
+
wrapShadow: boolean;
|
|
12
|
+
goodsRadius: string;
|
|
13
|
+
goodsBgColor: string;
|
|
14
|
+
goodsGap: number;
|
|
15
|
+
marginLeft: number;
|
|
16
|
+
marginRight: number;
|
|
17
|
+
marginTop: number;
|
|
18
|
+
marginBottom: number;
|
|
19
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const GoodsSlideshow: React.NamedExoticComponent<{
|
|
3
|
+
defaultValue: never[];
|
|
4
|
+
goods: never[];
|
|
5
|
+
GoodsSlideshowBg: string;
|
|
6
|
+
marketPrice: boolean;
|
|
7
|
+
goodsName: boolean;
|
|
8
|
+
salesNum: boolean;
|
|
9
|
+
price: boolean;
|
|
10
|
+
goodsRadius: string;
|
|
11
|
+
goodsBorder: boolean;
|
|
12
|
+
goodsShadow: boolean;
|
|
13
|
+
btnText: string;
|
|
14
|
+
btnBg: string;
|
|
15
|
+
btnColor: string;
|
|
16
|
+
btnRadius: string;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface LineType {
|
|
3
|
+
borderRadius: number;
|
|
4
|
+
height: number;
|
|
5
|
+
width: number;
|
|
6
|
+
borderStyle: string;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
paddingTop: number;
|
|
9
|
+
paddingBottom: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const Line: React.NamedExoticComponent<LineType>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const initialTextLine: {
|
|
3
|
+
TextLineBgColor: string;
|
|
4
|
+
text: string;
|
|
5
|
+
contentSize: number;
|
|
6
|
+
lineStyle: string;
|
|
7
|
+
fontSize: number;
|
|
8
|
+
textAlign: string;
|
|
9
|
+
fontColor: string;
|
|
10
|
+
lineColor: string;
|
|
11
|
+
fontWeight: string;
|
|
12
|
+
fontStyle: string;
|
|
13
|
+
textDecoration: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const TextLine: React.FC<typeof initialTextLine>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SearchType {
|
|
3
|
+
value: string;
|
|
4
|
+
iconShow: boolean;
|
|
5
|
+
fontColor: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
borderRadius: boolean;
|
|
8
|
+
paddingLeft: number;
|
|
9
|
+
paddingRight: number;
|
|
10
|
+
sticky: boolean;
|
|
11
|
+
fontsize: number;
|
|
12
|
+
paddings: number;
|
|
13
|
+
otherStyles: Array<string>;
|
|
14
|
+
}
|
|
15
|
+
export declare const Search: React.NamedExoticComponent<SearchType>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SearchType {
|
|
3
|
+
value: string;
|
|
4
|
+
iconShow: boolean;
|
|
5
|
+
fontColor: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
borderRadius: boolean;
|
|
8
|
+
paddingLeft: number;
|
|
9
|
+
paddingRight: number;
|
|
10
|
+
sticky: boolean;
|
|
11
|
+
fontsize: number;
|
|
12
|
+
paddings: number;
|
|
13
|
+
otherStyles: Array<string>;
|
|
14
|
+
}
|
|
15
|
+
export declare const SearchStyleTwo: React.NamedExoticComponent<SearchType>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface itemType {
|
|
3
|
+
imgUrl: string;
|
|
4
|
+
link: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
}
|
|
7
|
+
interface SwiperType {
|
|
8
|
+
defaultValue?: Array<itemType>;
|
|
9
|
+
type?: number;
|
|
10
|
+
autoplay?: boolean;
|
|
11
|
+
autoplayInterval?: number;
|
|
12
|
+
direction?: 'horizontal' | 'vertical';
|
|
13
|
+
loop?: boolean;
|
|
14
|
+
paddingTop?: number;
|
|
15
|
+
paddingBottom?: number;
|
|
16
|
+
paddingLeft?: number;
|
|
17
|
+
paddingRight?: number;
|
|
18
|
+
selectImg?: Array<itemType>;
|
|
19
|
+
imgHeight?: {
|
|
20
|
+
height: number;
|
|
21
|
+
width: number;
|
|
22
|
+
};
|
|
23
|
+
vertical?: boolean;
|
|
24
|
+
paddingTB?: number;
|
|
25
|
+
paddingLR?: number;
|
|
26
|
+
fontsize?: number;
|
|
27
|
+
textAlign?: string;
|
|
28
|
+
fontColor?: string;
|
|
29
|
+
backGroundColor?: string;
|
|
30
|
+
otherStyles?: Array<string>;
|
|
31
|
+
ImgShadow?: boolean;
|
|
32
|
+
Position?: string;
|
|
33
|
+
value?: string;
|
|
34
|
+
}
|
|
35
|
+
export declare const Slider: React.NamedExoticComponent<SwiperType>;
|
|
36
|
+
export {};
|