@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.
Files changed (48) hide show
  1. package/README.md +3 -1
  2. package/SOURCE.md +1 -1
  3. package/assets.json +1 -16
  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 +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,89 +0,0 @@
1
- .cardContainer {
2
- // background-color: aqua;
3
- // overflow: hidden;
4
- // height: 506px;
5
- margin-bottom: 28px;
6
- }
7
-
8
- .swiperWrapper {
9
- padding-top: 44px;
10
- // padding-bottom: 44px;
11
- }
12
-
13
- .slider {
14
- position: relative;
15
- width: 100%;
16
- min-height: 506px;
17
-
18
- // background-color: khaki;
19
- overflow: hidden;
20
- // overflow-y: initial;
21
- }
22
-
23
- .sliderItem {
24
- position: absolute;
25
- width: 394px;
26
- height: 506px;
27
- // overflow: hidden;
28
- border-radius: 40px;
29
- background-size: cover;
30
- left: calc(50% - 394px/2);
31
- top: 0;
32
- transition: transform 0.3s ease-in-out;
33
- visibility: visible;
34
- // box-shadow: 0 17px 51px rgba(50, 87, 107, 0.22);
35
- // background-color: lawngreen;
36
- }
37
-
38
- .itemHidden {
39
- visibility: hidden;
40
- }
41
-
42
- .sliderItemContent {
43
- width: 100%;
44
- height: 100%;
45
- // padding: 28px;
46
- display: flex;
47
- flex-direction: column;
48
- justify-content: flex-end;
49
- position: relative;
50
- }
51
-
52
- .sliderItemImg {
53
- position: absolute;
54
- top: 0;
55
- left: 0;
56
- width: 100%;
57
- height: 100%;
58
- // height: 506px;
59
- border-radius: 40px;
60
- }
61
- .sliderItemTitle {
62
- position: relative;
63
- z-index: 3;
64
- font-size: 34px;
65
- line-height: 48px;
66
- color: #fff;
67
- font-weight: 500;
68
- margin-bottom: 20px;
69
- padding: 0 24px;
70
-
71
- }
72
-
73
- .sliderItemCity {
74
- margin-top: 28px;
75
- display: flex;
76
- flex-direction: row;
77
- align-items: center;
78
- }
79
-
80
- .cityIcon {
81
- width: 24px;
82
- height: 24px;
83
- }
84
-
85
- .cityText {
86
- font-size: 18px;
87
- line-height: 24px;
88
- color: rgba(255, 255, 255, 0.8);
89
- }
@@ -1,31 +0,0 @@
1
- .cityContainer {
2
- margin-top: 32px;
3
- width: 100%;
4
- box-sizing: border-box;
5
- margin-bottom: 40px;
6
- }
7
-
8
- .welcomeSection {
9
- display: flex;
10
- flex-direction: column;
11
- box-sizing: border-box;
12
- }
13
-
14
- .greetingText {
15
- color: #102953;
16
- font-size: 48px;
17
- line-height: 64px;
18
- font-weight: 700;
19
- align-self: flex-start;
20
- width: 100%;
21
- white-space: nowrap;
22
- box-sizing: border-box;
23
- }
24
-
25
- .descText {
26
- color: #1f3b63;
27
- font-size: 25px;
28
- margin-top: 12px;
29
- line-height: 1.5;
30
- box-sizing: border-box;
31
- }
@@ -1,30 +0,0 @@
1
- .welcomeSection {
2
- margin-top: 32px;
3
- display: flex;
4
- flex-direction: column;
5
- box-sizing: border-box;
6
- width: 100%;
7
- align-items: center;
8
- margin-bottom: 28px;
9
- }
10
-
11
- .greetingText {
12
- width: 100%;
13
- text-align: center;
14
- color: #102953;
15
- font-size: 44px;
16
- line-height: 64px;
17
- font-weight: 700;
18
- box-sizing: border-box;
19
- }
20
-
21
- .descText {
22
- width: 100%;
23
- text-align: center;
24
- // color: rgba(0,0,0,0.5);
25
- color: #1f3b63;
26
- font-size: 25px;
27
- line-height: 36px;
28
- margin-top: 12px;
29
- box-sizing: border-box;
30
- }
@@ -1,72 +0,0 @@
1
- .nowList {
2
- margin-bottom: 28px;
3
- position: relative;
4
- }
5
-
6
- .listBox {
7
- width: 100%;
8
- display: flex;
9
- flex-direction: row;
10
- flex-wrap: wrap;
11
- gap: 32px;
12
- justify-content: center;
13
-
14
- }
15
-
16
- .listItem {
17
- width: 300px;
18
- height: 416px;
19
- background-size: 100% 100%;
20
- }
21
- .item0 {
22
- transform: rotate(3deg);
23
- }
24
- .item1 {
25
- transform: rotate(-3deg);
26
- }
27
- .item2 {
28
- transform: rotate(3deg);
29
-
30
- }
31
-
32
- .item3 {
33
- transform: rotate(-3deg);
34
- }
35
-
36
-
37
- .itemContent {
38
- margin-top: 190px;
39
- padding: 24px;
40
- display: flex;
41
- flex-direction: column;
42
- }
43
-
44
- .itemTitle {
45
- color: #102953;
46
- font-size: 30px;
47
- white-space: nowrap;
48
- overflow: hidden;
49
- text-overflow: ellipsis;
50
- font-weight: 500;
51
- margin-bottom: 8px;
52
- }
53
-
54
- .itemDesc {
55
- color: #102953;
56
- font-size: 26px;
57
- white-space: nowrap;
58
- overflow: hidden;
59
- text-overflow: ellipsis;
60
- font-weight: 500;
61
- margin-bottom: 28px;
62
- }
63
-
64
- .itemBtn {
65
- align-self: flex-start;
66
- padding: 12px 24px;
67
- background: #102953;
68
- color: #fff;
69
- font-weight: 500;
70
- font-size: 26px;
71
- border-radius: 32px;
72
- }
@@ -1,113 +0,0 @@
1
- .articleList {
2
- margin-bottom: 28px;
3
- box-sizing: border-box;
4
- }
5
-
6
- .headerSection {
7
- border-radius: 24px;
8
- background-color: rgba(255, 255, 255, 0.5);
9
- padding: 24px 24px 28px 24px;
10
- display: flex;
11
- flex-direction: column;
12
- box-sizing: border-box;
13
- }
14
-
15
- .titleWrapper {
16
- display: flex;
17
- flex-direction: row;
18
- justify-content: space-between;
19
- align-items: center;
20
- box-sizing: border-box;
21
- }
22
-
23
- .articleTitle {
24
- color: #1f3b63;
25
- font-size: 30px;
26
- font-weight: 500;
27
- line-height: 40px;
28
- white-space: nowrap;
29
- box-sizing: border-box;
30
- }
31
-
32
- .actionBar {
33
- display: flex;
34
- align-items: center;
35
- flex-direction: row;
36
- box-sizing: border-box;
37
- cursor: pointer;
38
- }
39
-
40
- .loadingIndicator {
41
- width: 32px;
42
- height: 32px;
43
- box-sizing: border-box;
44
- }
45
-
46
- .refreshButton {
47
- color: #4b6b99;
48
- font-size: 26px;
49
- font-weight: 500;
50
- line-height: 36px;
51
- margin-left: 6px;
52
- white-space: nowrap;
53
- box-sizing: border-box;
54
- }
55
-
56
- .contentArea {
57
- display: flex;
58
- flex-direction: column;
59
- box-sizing: border-box;
60
- }
61
-
62
- .articleItem {
63
- border-radius: 16px;
64
- background-color: #fff;
65
- padding: 18px 24px;
66
- height: 72px;
67
- display: flex;
68
- flex-direction: row;
69
- align-items: center;
70
- box-sizing: border-box;
71
- cursor: pointer;
72
- margin-top: 24px;
73
- }
74
-
75
- .itemThumbnail {
76
- width: 16px;
77
- height: 16px;
78
- }
79
-
80
- .itemDescription {
81
- color: #1f3b63;
82
- font-size: 26px;
83
- margin-left: 8px;
84
- line-height: 36px;
85
- white-space: nowrap;
86
- box-sizing: border-box;
87
- flex: 1;
88
- overflow: hidden;
89
- text-overflow: ellipsis;
90
- }
91
-
92
- .navigationIcon {
93
- margin-left: 48px;
94
- width: 32px;
95
- height: 32px;
96
- box-sizing: border-box;
97
- }
98
-
99
- .more-options-icon {
100
- margin-left: 76px;
101
- width: 36px;
102
- height: 36px;
103
- box-sizing: border-box;
104
- }
105
-
106
- .additional-item {
107
- border-radius: 16px;
108
- background-color: rgb(255, 255, 255);
109
- padding: 20px 20px 20px 20px;
110
- display: flex;
111
- align-items: center;
112
- box-sizing: border-box;
113
- }
@@ -1,62 +0,0 @@
1
- .serviceList {
2
- margin-bottom: 28px;
3
- border-radius: 24px;
4
- background-color: rgba(255, 255, 255, 0.5);
5
- padding: 24px;
6
- display: flex;
7
- flex-direction: column;
8
- justify-content: center;
9
- box-sizing: border-box;
10
- }
11
-
12
- .servers {
13
- display: flex;
14
- flex-direction: column;
15
- }
16
- .serversTitle {
17
- color: #1f3b63;
18
- font-size: 30px;
19
- font-weight: 500;
20
- }
21
-
22
- .serversListBox {
23
- margin-top: 24px;
24
- width: 100%;
25
- display: flex;
26
- justify-content: center;
27
- align-items: center;
28
- }
29
-
30
- .serversList {
31
- display: flex;
32
- flex-direction: row;
33
- flex-wrap: wrap;
34
- width: 622px;
35
- }
36
-
37
- .serversItem {
38
- display: flex;
39
- justify-content: center;
40
- align-items: center;
41
- width: 155px;
42
- height: 86px;
43
- cursor: pointer;
44
- }
45
- .serversItemBox {
46
- display: flex;
47
- flex-direction: column;
48
- justify-content: center;
49
- align-items: center;
50
- }
51
-
52
- .serversIcon {
53
- width: 48px;
54
- height: 48px;
55
- }
56
-
57
- .serversText {
58
- font-size: 22px;
59
- color: #1f3b63;
60
- margin-top: 8px;
61
- text-align: center;
62
- }
@@ -1,89 +0,0 @@
1
- .travelType {
2
- box-sizing: border-box;
3
- margin-bottom: 28px;
4
- }
5
-
6
- .serviceHeader {
7
- border-radius: 24px;
8
- background-color: rgba(255, 255, 255, 0.5);
9
- padding: 0 24px 28px;
10
- display: flex;
11
- flex-direction: column;
12
- box-sizing: border-box;
13
- }
14
-
15
- .mainTitle {
16
- font-size: 30px;
17
- color: #1f3b63;
18
- line-height: 40px;
19
- font-weight: 500;
20
- margin: 24px 0;
21
- }
22
-
23
- .transportOptions {
24
- width: 100%;
25
- display: flex;
26
- height: 164px;
27
- flex-direction: row;
28
- overflow-x: auto;
29
- gap: 12px;
30
- // 隐藏滚动条width: 0;
31
- scrollbar-width: none;
32
- }
33
- .optionsContainer {
34
- position: relative;
35
- width: 280px;
36
- height: 164px;
37
- padding: 20px 24px;
38
- display: flex;
39
- flex-direction: column;
40
- align-items: flex-start;
41
- justify-content: space-between;
42
- background-size: cover;
43
- box-sizing: border-box;
44
- flex-shrink: 0;
45
- flex-grow: 0;
46
- border-radius: 16px;
47
- overflow: hidden;
48
- }
49
-
50
- .optionsMark {
51
- position: absolute;
52
- top: 0;
53
- left: 0;
54
- width: 100%;
55
- height: 100%;
56
- }
57
- .optionsMarkWrap {
58
- position: relative;
59
- width: 100%;
60
- height: 100%;
61
- z-index: 1;
62
- }
63
-
64
- .guideTitle {
65
- color: rgb(255, 255, 255);
66
- font-size: 26px;
67
- white-space: nowrap;
68
- box-sizing: border-box;
69
- margin-bottom: 30px;
70
- overflow: hidden;
71
- text-overflow: ellipsis;
72
- width: 100%;
73
- }
74
-
75
- .descWrap {
76
- display: flex;
77
- flex-direction: column;
78
- }
79
-
80
- .freeTourOption {
81
- margin-bottom: 12px;
82
- color: rgb(237, 238, 239);
83
- font-size: 22px;
84
- box-sizing: border-box;
85
- white-space: nowrap;
86
- overflow: hidden;
87
- text-overflow: ellipsis;
88
- width: 100%;
89
- }
@@ -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
- }