@tbox.cn/app-card-assets 0.1.0 → 1.0.0-alpha.6
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/README.md +3 -1
- package/SOURCE.md +1 -1
- package/assets.json +1 -16
- package/components/Banner/index.tsx +2 -3
- package/components/BlockAnimal/LottiePlayer/index.tsx +2 -3
- package/components/BlockAnimal/index.tsx +13 -14
- package/components/BlockBarrage/index.tsx +10 -11
- package/components/BlockFanSwiper/index.tsx +6 -7
- package/components/BlockIntro/index.tsx +4 -5
- package/components/BlockIntroCenter/index.tsx +3 -4
- package/components/BlockNowList/index.tsx +10 -8
- package/components/BlockQuestionList/index.tsx +12 -13
- package/components/BlockServiceIconList/index.tsx +10 -11
- package/components/BlockServiceList/index.tsx +10 -11
- package/components/BlockTravelCarousel/index.tsx +16 -15
- package/components/BlockTravelCarousel/tags/Tags.tsx +2 -3
- package/components/OneCol/index.tsx +18 -19
- package/components/TwoCol/index.tsx +16 -17
- package/docs/Banner.md +1 -1
- package/docs/BlockAnimal.md +1 -1
- package/docs/BlockBarrage.md +1 -1
- package/docs/BlockFanSwiper.md +1 -1
- package/docs/BlockIntro.md +1 -1
- package/docs/BlockIntroCenter.md +1 -1
- package/docs/BlockNowList.md +1 -1
- package/docs/BlockQuestionList.md +1 -1
- package/docs/BlockServiceIconList.md +1 -1
- package/docs/BlockServiceList.md +1 -1
- package/docs/BlockTravelCarousel.md +1 -1
- package/docs/OneCol.md +1 -1
- package/docs/TwoCol.md +1 -1
- package/package.json +1 -1
- package/shared/home-integration.md +18 -16
- package/components/Banner/index.module.less +0 -11
- package/components/BlockAnimal/LottiePlayer/index.module.less +0 -11
- package/components/BlockAnimal/index.module.less +0 -78
- package/components/BlockBarrage/index.module.less +0 -101
- package/components/BlockFanSwiper/index.module.less +0 -89
- package/components/BlockIntro/index.module.less +0 -31
- package/components/BlockIntroCenter/index.module.less +0 -30
- package/components/BlockNowList/index.module.less +0 -72
- package/components/BlockQuestionList/index.module.less +0 -113
- package/components/BlockServiceIconList/index.module.less +0 -62
- package/components/BlockServiceList/index.module.less +0 -89
- package/components/BlockTravelCarousel/index.module.less +0 -125
- package/components/BlockTravelCarousel/tags/Tags.module.less +0 -20
- package/components/OneCol/index.module.less +0 -158
- package/components/TwoCol/index.module.less +0 -191
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
.card {
|
|
2
|
-
padding: 100px 24px 0 24px;
|
|
3
|
-
margin-bottom: 28px;
|
|
4
|
-
line-height: 1.5;
|
|
5
|
-
}
|
|
6
|
-
.cardBody {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
background-color: rgba(255, 255, 255, 0.5);
|
|
10
|
-
border-radius: 48px;
|
|
11
|
-
box-shadow: 0 2px 38px #0f2a3138;
|
|
12
|
-
padding-top: 118px;
|
|
13
|
-
padding-bottom: 15px;
|
|
14
|
-
position: relative;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.textSection {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
white-space: normal;
|
|
22
|
-
align-items: center;
|
|
23
|
-
margin-top: 24px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.authorName {
|
|
27
|
-
font-size: 30px;
|
|
28
|
-
color: #1f3b63;
|
|
29
|
-
line-height: 48px;
|
|
30
|
-
text-align: center;
|
|
31
|
-
font-weight: 600;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.serviceDescription {
|
|
35
|
-
margin-top: 24px;
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
white-space: normal;
|
|
38
|
-
font-size: 30px;
|
|
39
|
-
color: #1f3b63;
|
|
40
|
-
line-height: 48px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.container {
|
|
44
|
-
width: 100%;
|
|
45
|
-
//height: 100%;
|
|
46
|
-
//position: relative;
|
|
47
|
-
}
|
|
48
|
-
.avatarWrapperBox {
|
|
49
|
-
position: absolute;
|
|
50
|
-
top: -80px;
|
|
51
|
-
display: flex;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
align-items: center;
|
|
54
|
-
width: 100%;
|
|
55
|
-
}
|
|
56
|
-
.avatarWrapper {
|
|
57
|
-
line-height: 0;
|
|
58
|
-
padding: 4px;
|
|
59
|
-
background: linear-gradient(143deg, #8f64ff 0%, #92b2ff 35%, #bbd5ff 54%, #8dc4ff 73%, #33e4ff 100%);
|
|
60
|
-
border-radius: 50%;
|
|
61
|
-
}
|
|
62
|
-
.headerIcon {
|
|
63
|
-
border-radius: 50%;
|
|
64
|
-
width: 148px;
|
|
65
|
-
height: 148px;
|
|
66
|
-
}
|
|
67
|
-
.title {
|
|
68
|
-
padding: 0 24px 24px 24px;
|
|
69
|
-
font-size: 30px;
|
|
70
|
-
color: #1f3b63;
|
|
71
|
-
line-height: 48px;
|
|
72
|
-
text-align: center;
|
|
73
|
-
font-weight: 600;
|
|
74
|
-
}
|
|
75
|
-
.cardContentWrapper {
|
|
76
|
-
margin: 0 32px;
|
|
77
|
-
}
|
|
78
|
-
.textContent {
|
|
79
|
-
font-size: 30px;
|
|
80
|
-
color: #1f3b63;
|
|
81
|
-
line-height: 48px;
|
|
82
|
-
}
|
|
83
|
-
//item
|
|
84
|
-
.oneCol {
|
|
85
|
-
padding: 24px 24px 0 24px;
|
|
86
|
-
}
|
|
87
|
-
.rowItemWrap {
|
|
88
|
-
margin-bottom: 16px;
|
|
89
|
-
}
|
|
90
|
-
.item {
|
|
91
|
-
display: flex;
|
|
92
|
-
flex-direction: row;
|
|
93
|
-
align-items: center;
|
|
94
|
-
justify-content: space-between;
|
|
95
|
-
background: #fff;
|
|
96
|
-
border-radius: 48px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.itemBackground {
|
|
100
|
-
background-image: url('https://mdn.alipayobjects.com/huamei_utmyzw/afts/img/wZNXQpLLo_kAAAAAAAAAAAAADrkDAQFr/original');
|
|
101
|
-
background-size: 100% 100%;
|
|
102
|
-
background-position: 0 0;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.titleWrap {
|
|
106
|
-
flex-shrink: 1;
|
|
107
|
-
margin-right: 8px;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.titleContainer {
|
|
111
|
-
display: flex;
|
|
112
|
-
align-items: center;
|
|
113
|
-
flex-direction: row;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.icon {
|
|
117
|
-
width: 32px;
|
|
118
|
-
height: 32px;
|
|
119
|
-
margin-right: 8px;
|
|
120
|
-
flex-shrink: 0;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.title {
|
|
124
|
-
font-size: 30px;
|
|
125
|
-
// font-weight: 400;
|
|
126
|
-
line-height: 42px;
|
|
127
|
-
margin-bottom: 4px;
|
|
128
|
-
overflow: hidden;
|
|
129
|
-
text-overflow: ellipsis;
|
|
130
|
-
word-break: break-all;
|
|
131
|
-
flex-shrink: 1;
|
|
132
|
-
display: -webkit-box;
|
|
133
|
-
-webkit-line-clamp: 2;
|
|
134
|
-
-webkit-box-orient: vertical;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.singleTitle {
|
|
138
|
-
font-size: 30px;
|
|
139
|
-
line-height: 42px;
|
|
140
|
-
overflow: hidden;
|
|
141
|
-
text-overflow: ellipsis;
|
|
142
|
-
word-break: break-all;
|
|
143
|
-
flex-shrink: 1;
|
|
144
|
-
font-weight: 400;
|
|
145
|
-
display: -webkit-box;
|
|
146
|
-
-webkit-line-clamp: 2;
|
|
147
|
-
-webkit-box-orient: vertical;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.subTitle {
|
|
151
|
-
font-size: 24px;
|
|
152
|
-
color: #8090a6;
|
|
153
|
-
line-height: 42px;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.arrow {
|
|
157
|
-
width: 32px;
|
|
158
|
-
}
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
.card {
|
|
2
|
-
padding: 100px 24px 0 24px;
|
|
3
|
-
margin-bottom: 28px;
|
|
4
|
-
}
|
|
5
|
-
.cardBody {
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background-color: rgba(255, 255, 255, 0.5);
|
|
9
|
-
border-radius: 48px;
|
|
10
|
-
box-shadow: 0 2px 38px #0f2a3138;
|
|
11
|
-
padding-top: 118px;
|
|
12
|
-
padding-bottom: 32px;
|
|
13
|
-
position: relative;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.textSection {
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
box-sizing: border-box;
|
|
20
|
-
white-space: normal;
|
|
21
|
-
align-items: center;
|
|
22
|
-
margin-top: 24px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.authorName {
|
|
26
|
-
font-size: 30px;
|
|
27
|
-
color: #1f3b63;
|
|
28
|
-
line-height: 48px;
|
|
29
|
-
text-align: center;
|
|
30
|
-
font-weight: 600;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.serviceDescription {
|
|
34
|
-
margin-top: 24px;
|
|
35
|
-
box-sizing: border-box;
|
|
36
|
-
white-space: normal;
|
|
37
|
-
font-size: 30px;
|
|
38
|
-
color: #1f3b63;
|
|
39
|
-
line-height: 48px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.container {
|
|
43
|
-
//width: 100%;
|
|
44
|
-
//height: 100%;
|
|
45
|
-
//position: relative;
|
|
46
|
-
}
|
|
47
|
-
.avatarWrapperBox {
|
|
48
|
-
position: absolute;
|
|
49
|
-
top: -80px;
|
|
50
|
-
display: flex;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
align-items: center;
|
|
53
|
-
width: 100%;
|
|
54
|
-
}
|
|
55
|
-
.avatarWrapper {
|
|
56
|
-
line-height: 0;
|
|
57
|
-
padding: 4px;
|
|
58
|
-
background: linear-gradient(143deg, #8f64ff 0%, #92b2ff 35%, #bbd5ff 54%, #8dc4ff 73%, #33e4ff 100%);
|
|
59
|
-
border-radius: 50%;
|
|
60
|
-
}
|
|
61
|
-
.headerIcon {
|
|
62
|
-
border-radius: 50%;
|
|
63
|
-
width: 148px;
|
|
64
|
-
height: 148px;
|
|
65
|
-
}
|
|
66
|
-
.title {
|
|
67
|
-
padding: 0 24px 24px 24px;
|
|
68
|
-
font-size: 30px;
|
|
69
|
-
color: #1f3b63;
|
|
70
|
-
line-height: 48px;
|
|
71
|
-
text-align: center;
|
|
72
|
-
font-weight: 600;
|
|
73
|
-
}
|
|
74
|
-
.cardContentWrapper {
|
|
75
|
-
margin: 0 32px;
|
|
76
|
-
}
|
|
77
|
-
.textContent {
|
|
78
|
-
font-size: 30px;
|
|
79
|
-
color: #1f3b63;
|
|
80
|
-
line-height: 48px;
|
|
81
|
-
}
|
|
82
|
-
.promotionWrapper {
|
|
83
|
-
// background-color: rgb(253, 253, 253);
|
|
84
|
-
// width: 340px;
|
|
85
|
-
// padding-right: 4px;
|
|
86
|
-
padding: 24px 24px 0;
|
|
87
|
-
box-sizing: border-box;
|
|
88
|
-
white-space: normal;
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-direction: row;
|
|
91
|
-
flex-wrap: wrap;
|
|
92
|
-
justify-content: space-between;
|
|
93
|
-
gap: 12px;
|
|
94
|
-
}
|
|
95
|
-
.serviceItemContainer {
|
|
96
|
-
flex: 2 1;
|
|
97
|
-
width: 40%;
|
|
98
|
-
padding: 20px 24px 20px 24px;
|
|
99
|
-
border: 1px solid rgba(141, 159, 184, 0.4);
|
|
100
|
-
border-radius: 24px;
|
|
101
|
-
background-color: #fff;
|
|
102
|
-
margin-top: 12px;
|
|
103
|
-
position: relative;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.serviceItemContainerFill {
|
|
107
|
-
width: 100%;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.serviceItemUpper {
|
|
111
|
-
display: flex;
|
|
112
|
-
flex-direction: row;
|
|
113
|
-
align-items: center;
|
|
114
|
-
justify-content: space-between;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.serviceItemUpperFill {
|
|
118
|
-
display: flex;
|
|
119
|
-
flex-direction: row;
|
|
120
|
-
justify-content: space-between;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.serviceItemUpperText {
|
|
124
|
-
width: 190px;
|
|
125
|
-
font-size: 30px;
|
|
126
|
-
line-height: 38px;
|
|
127
|
-
font-weight: 500;
|
|
128
|
-
color: #1f3b63;
|
|
129
|
-
overflow: hidden;
|
|
130
|
-
text-overflow: ellipsis;
|
|
131
|
-
white-space: nowrap;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.serviceItemUpperTextFill {
|
|
135
|
-
font-size: 30px;
|
|
136
|
-
line-height: 40px;
|
|
137
|
-
font-weight: 500;
|
|
138
|
-
color: #1f3b63;
|
|
139
|
-
flex: 1;
|
|
140
|
-
overflow: hidden;
|
|
141
|
-
text-overflow: ellipsis;
|
|
142
|
-
white-space: nowrap;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.arrowImg {
|
|
146
|
-
width: 24px;
|
|
147
|
-
height: 24px;
|
|
148
|
-
margin-left: 10px;
|
|
149
|
-
flex-shrink: 0;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.arrowImgFill {
|
|
153
|
-
width: 24px;
|
|
154
|
-
height: 24px;
|
|
155
|
-
margin-left: 10px;
|
|
156
|
-
position: relative;
|
|
157
|
-
top: 0;
|
|
158
|
-
bottom: 0;
|
|
159
|
-
margin: auto;
|
|
160
|
-
flex-shrink: 0;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.serviceItemLower {
|
|
164
|
-
margin-top: 12px;
|
|
165
|
-
color: #1f3b63;
|
|
166
|
-
opacity: 0.45;
|
|
167
|
-
font-size: 22px;
|
|
168
|
-
line-height: 30px;
|
|
169
|
-
overflow: hidden;
|
|
170
|
-
text-overflow: ellipsis;
|
|
171
|
-
word-break: break-all;
|
|
172
|
-
white-space: nowrap;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.truncate {
|
|
176
|
-
overflow: hidden;
|
|
177
|
-
text-overflow: ellipsis;
|
|
178
|
-
white-space: nowrap;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.serviceItemClass {
|
|
182
|
-
position: absolute;
|
|
183
|
-
top: -9px;
|
|
184
|
-
left: 0;
|
|
185
|
-
padding: 4px 12px;
|
|
186
|
-
background-color: #60aaf9;
|
|
187
|
-
border-radius: 16px;
|
|
188
|
-
line-height: 18px;
|
|
189
|
-
color: #fff;
|
|
190
|
-
font-size: 20px;
|
|
191
|
-
}
|