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