@tbox.cn/app-card-assets 0.1.0 → 1.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/README.md +3 -1
  2. package/SOURCE.md +1 -1
  3. package/assets.json +3 -22
  4. package/components/Banner/index.tsx +2 -3
  5. package/components/BlockAnimal/LottiePlayer/index.tsx +2 -3
  6. package/components/BlockAnimal/index.tsx +13 -14
  7. package/components/BlockBarrage/index.tsx +10 -11
  8. package/components/BlockFanSwiper/index.tsx +6 -7
  9. package/components/BlockIntro/index.tsx +4 -5
  10. package/components/BlockIntroCenter/index.tsx +3 -4
  11. package/components/BlockNowList/index.tsx +10 -8
  12. package/components/BlockQuestionList/index.tsx +12 -13
  13. package/components/BlockServiceIconList/index.tsx +20 -18
  14. package/components/BlockServiceList/index.tsx +10 -11
  15. package/components/BlockTravelCarousel/index.tsx +142 -33
  16. package/components/BlockTravelCarousel/tags/Tags.tsx +2 -3
  17. package/components/OneCol/index.tsx +18 -19
  18. package/components/TwoCol/index.tsx +16 -17
  19. package/docs/Banner.md +1 -1
  20. package/docs/BlockAnimal.md +1 -1
  21. package/docs/BlockBarrage.md +1 -1
  22. package/docs/BlockFanSwiper.md +1 -1
  23. package/docs/BlockIntro.md +1 -1
  24. package/docs/BlockIntroCenter.md +1 -1
  25. package/docs/BlockNowList.md +1 -1
  26. package/docs/BlockQuestionList.md +1 -1
  27. package/docs/BlockServiceIconList.md +1 -1
  28. package/docs/BlockServiceList.md +1 -1
  29. package/docs/BlockTravelCarousel.md +3 -1
  30. package/docs/OneCol.md +1 -1
  31. package/docs/TwoCol.md +1 -1
  32. package/package.json +1 -3
  33. package/shared/home-integration.md +18 -16
  34. package/components/Banner/index.module.less +0 -11
  35. package/components/BlockAnimal/LottiePlayer/index.module.less +0 -11
  36. package/components/BlockAnimal/index.module.less +0 -78
  37. package/components/BlockBarrage/index.module.less +0 -101
  38. package/components/BlockFanSwiper/index.module.less +0 -89
  39. package/components/BlockIntro/index.module.less +0 -31
  40. package/components/BlockIntroCenter/index.module.less +0 -30
  41. package/components/BlockNowList/index.module.less +0 -72
  42. package/components/BlockQuestionList/index.module.less +0 -113
  43. package/components/BlockServiceIconList/index.module.less +0 -62
  44. package/components/BlockServiceList/index.module.less +0 -89
  45. package/components/BlockTravelCarousel/index.module.less +0 -125
  46. package/components/BlockTravelCarousel/tags/Tags.module.less +0 -20
  47. package/components/OneCol/index.module.less +0 -158
  48. package/components/TwoCol/index.module.less +0 -191
@@ -1,125 +0,0 @@
1
- .escortList {
2
- box-sizing: border-box;
3
- position: relative;
4
- border-radius: 24px;
5
- height: 448px;
6
- margin-bottom: 28px;
7
- line-height: 1.5;
8
- }
9
-
10
- .swiper {
11
- border-radius: 24px;
12
- height: 448px;
13
- }
14
-
15
- .infoCard {
16
- height: 448px;
17
- width: 100%;
18
- box-sizing: border-box;
19
- position: relative;
20
- background-position: center;
21
- background-size: cover;
22
- background-repeat: no-repeat;
23
- }
24
-
25
- .escortMark {
26
- position: absolute;
27
- top: 224px;
28
- left: 0;
29
- height: 224px;
30
- width: 100%;
31
- border-radius: 0 0 24px 24px;
32
- background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
33
- }
34
-
35
- .titleTag {
36
- position: absolute;
37
- top: 24px;
38
- left: 24px;
39
- box-sizing: border-box;
40
- border-radius: 8px;
41
- padding: 0 10px;
42
- font-size: 22px;
43
- color: #fff;
44
- text-align: center;
45
- font-weight: 500;
46
- background-image: linear-gradient(90deg, #fe5500 0%, #ff8e00 100%);
47
- }
48
-
49
- .infoBox {
50
- position: absolute;
51
- padding: 0 24px;
52
- bottom: 32px;
53
- width: 100%;
54
- }
55
-
56
- .infoContainer {
57
- display: flex;
58
- align-items: center;
59
- box-sizing: border-box;
60
- flex-direction: row;
61
- }
62
-
63
- .titleText {
64
- color: rgb(255, 255, 255);
65
- font-size: 40px;
66
- font-weight: 500;
67
- line-height: 48px;
68
- white-space: nowrap;
69
- box-sizing: border-box;
70
- margin-bottom: 12px;
71
- }
72
-
73
- .infoDesc {
74
- font-size: 24px;
75
- color: #fff;
76
- letter-spacing: 1px;
77
- font-weight: 500;
78
- opacity: 0.7;
79
- text-overflow: ellipsis;
80
- margin-top: 16px;
81
- line-height: 32px;
82
- }
83
-
84
- .dotsBox {
85
- position: absolute;
86
- bottom: 12px;
87
- left: 0;
88
- width: 100%;
89
- display: flex;
90
- justify-content: center;
91
- align-items: center;
92
- }
93
-
94
- .dotsBox2 {
95
- position: absolute;
96
- bottom: 32px;
97
- right: 24px;
98
- }
99
-
100
- .customDots {
101
- display: flex;
102
- justify-content: center;
103
- flex-direction: row;
104
- }
105
-
106
- .indicatorDot {
107
- width: 8px;
108
- height: 8px;
109
- border-radius: 4px;
110
- background-color: rgba(255, 255, 255, 0.4);
111
- margin: 0 4px;
112
- }
113
-
114
- .active {
115
- background-color: #fff;
116
- width: 23px;
117
- }
118
-
119
- .tagsBox1 {
120
- margin-left: 16px;
121
- }
122
-
123
- .tagsBox2 {
124
- margin-top: 12px;
125
- }
@@ -1,20 +0,0 @@
1
- .buttonGroup {
2
- display: flex;
3
- flex-direction: row;
4
- box-sizing: border-box;
5
- }
6
- .button {
7
- margin-right: 12px;
8
- padding: 0 12px;
9
- display: flex;
10
- align-items: center;
11
- flex-direction: row;
12
- justify-content: center;
13
- height: 38px;
14
- background-color: rgba(255, 255, 255, 0.14);
15
- font-size: 24px;
16
- color: #fff;
17
- border: 1.5px solid #6c6e7e;
18
- border-radius: 19px;
19
- box-sizing: border-box;
20
- }
@@ -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
- }