@tbox.cn/app-card-assets 0.1.1 → 1.0.0-alpha.7

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