@seresweb/website-component 2.0.0

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 (125) hide show
  1. package/README.md +144 -0
  2. package/dist/_vars-BV4QQF-p.js +4 -0
  3. package/dist/_vars-CyrPevgT.cjs +1 -0
  4. package/dist/cjs/Input.cjs +1 -0
  5. package/dist/cjs/accordion-info-panel.cjs +1 -0
  6. package/dist/cjs/animated-number.cjs +1 -0
  7. package/dist/cjs/drawer.cjs +1 -0
  8. package/dist/cjs/dropdown.cjs +1 -0
  9. package/dist/cjs/gradual-highlight.cjs +1 -0
  10. package/dist/cjs/horizontal-viewer.cjs +1 -0
  11. package/dist/cjs/image-indicator.cjs +1 -0
  12. package/dist/cjs/index.cjs +1 -0
  13. package/dist/cjs/layz-image.cjs +1 -0
  14. package/dist/cjs/parameter-box.cjs +1 -0
  15. package/dist/cjs/radio.cjs +1 -0
  16. package/dist/cjs/swiper-normal.cjs +1 -0
  17. package/dist/cjs/swiper-vehicle.cjs +1 -0
  18. package/dist/cjs/tab-indicator.cjs +1 -0
  19. package/dist/cjs/video.cjs +1 -0
  20. package/dist/css/accordion-info-panel.css +1 -0
  21. package/dist/css/drawer.css +1 -0
  22. package/dist/css/dropdown.css +1 -0
  23. package/dist/css/gradual-highlight.css +1 -0
  24. package/dist/css/horizontal-viewer.css +1 -0
  25. package/dist/css/image-indicator.css +1 -0
  26. package/dist/css/input.css +1 -0
  27. package/dist/css/layz-image.css +1 -0
  28. package/dist/css/parameter-box.css +1 -0
  29. package/dist/css/radio.css +1 -0
  30. package/dist/css/swiper-normal.css +1 -0
  31. package/dist/css/swiper-vehicle.css +1 -0
  32. package/dist/css/tab-indicator.css +1 -0
  33. package/dist/css/video.css +1 -0
  34. package/dist/es/Input.mjs +70 -0
  35. package/dist/es/accordion-info-panel.mjs +145 -0
  36. package/dist/es/animated-number.mjs +72 -0
  37. package/dist/es/drawer.mjs +174 -0
  38. package/dist/es/dropdown.mjs +62 -0
  39. package/dist/es/gradual-highlight.mjs +90 -0
  40. package/dist/es/horizontal-viewer.mjs +4 -0
  41. package/dist/es/image-indicator.mjs +4 -0
  42. package/dist/es/index.mjs +60 -0
  43. package/dist/es/layz-image.mjs +51 -0
  44. package/dist/es/parameter-box.mjs +115 -0
  45. package/dist/es/radio.mjs +56 -0
  46. package/dist/es/swiper-normal.mjs +4 -0
  47. package/dist/es/swiper-vehicle.mjs +4 -0
  48. package/dist/es/tab-indicator.mjs +184 -0
  49. package/dist/es/video.mjs +246 -0
  50. package/dist/global.d.ts +22 -0
  51. package/dist/index-BgNMAlW8.js +536 -0
  52. package/dist/index-BrggpRcU.js +5287 -0
  53. package/dist/index-DrnEpWXW.cjs +5 -0
  54. package/dist/index-LswhGmG3.cjs +1 -0
  55. package/dist/index.css +1 -0
  56. package/dist/scss/_animate.scss +132 -0
  57. package/dist/scss/_vars.scss +1 -0
  58. package/dist/scss/accordion-info-panel.scss +104 -0
  59. package/dist/scss/drawer.scss +64 -0
  60. package/dist/scss/dropdown.scss +21 -0
  61. package/dist/scss/gradual-highlight.scss +26 -0
  62. package/dist/scss/horizontal-viewer.scss +161 -0
  63. package/dist/scss/image-indicator.scss +79 -0
  64. package/dist/scss/index.scss +17 -0
  65. package/dist/scss/input.scss +46 -0
  66. package/dist/scss/layz-image.scss +11 -0
  67. package/dist/scss/parameter-box.scss +94 -0
  68. package/dist/scss/radio.scss +70 -0
  69. package/dist/scss/swiper-normal.scss +117 -0
  70. package/dist/scss/swiper-vehicle.scss +123 -0
  71. package/dist/scss/tab-indicator.scss +148 -0
  72. package/dist/scss/video.scss +169 -0
  73. package/dist/types/components/Input/Input.vue.d.ts +26 -0
  74. package/dist/types/components/Input/index.d.ts +6 -0
  75. package/dist/types/components/Input/type.d.ts +9 -0
  76. package/dist/types/components/_utils.d.ts +1 -0
  77. package/dist/types/components/_vars.d.ts +1 -0
  78. package/dist/types/components/accordion-info-panel/accordion-info-panel.vue.d.ts +5 -0
  79. package/dist/types/components/accordion-info-panel/index.d.ts +6 -0
  80. package/dist/types/components/accordion-info-panel/type.d.ts +26 -0
  81. package/dist/types/components/animated-number/animated-number.vue.d.ts +12 -0
  82. package/dist/types/components/animated-number/index.d.ts +6 -0
  83. package/dist/types/components/animated-number/type.d.ts +50 -0
  84. package/dist/types/components/drawer/drawer.vue.d.ts +37 -0
  85. package/dist/types/components/drawer/index.d.ts +6 -0
  86. package/dist/types/components/drawer/type.d.ts +43 -0
  87. package/dist/types/components/drawer/u.d.ts +1 -0
  88. package/dist/types/components/dropdown/dropdown.vue.d.ts +18 -0
  89. package/dist/types/components/dropdown/index.d.ts +5 -0
  90. package/dist/types/components/gradual-highlight/gradual-highlight.vue.d.ts +10 -0
  91. package/dist/types/components/gradual-highlight/index.d.ts +6 -0
  92. package/dist/types/components/gradual-highlight/type.d.ts +17 -0
  93. package/dist/types/components/horizontal-viewer/horizontal-viewer.vue.d.ts +5 -0
  94. package/dist/types/components/horizontal-viewer/index.d.ts +6 -0
  95. package/dist/types/components/horizontal-viewer/mb-viewer.vue.d.ts +5 -0
  96. package/dist/types/components/horizontal-viewer/pc-viewer.vue.d.ts +15 -0
  97. package/dist/types/components/horizontal-viewer/type.d.ts +15 -0
  98. package/dist/types/components/image-indicator/image-indicator.vue.d.ts +11 -0
  99. package/dist/types/components/image-indicator/index.d.ts +6 -0
  100. package/dist/types/components/image-indicator/type.d.ts +18 -0
  101. package/dist/types/components/index.d.ts +21 -0
  102. package/dist/types/components/layz-image/index.d.ts +6 -0
  103. package/dist/types/components/layz-image/layz-image.vue.d.ts +3 -0
  104. package/dist/types/components/layz-image/type.d.ts +35 -0
  105. package/dist/types/components/parameter-box/index.d.ts +6 -0
  106. package/dist/types/components/parameter-box/parameter-box.vue.d.ts +6 -0
  107. package/dist/types/components/parameter-box/type.d.ts +46 -0
  108. package/dist/types/components/radio/index.d.ts +6 -0
  109. package/dist/types/components/radio/radio.vue.d.ts +9 -0
  110. package/dist/types/components/radio/type.d.ts +8 -0
  111. package/dist/types/components/resolver.d.ts +18 -0
  112. package/dist/types/components/swiper-normal/index.d.ts +6 -0
  113. package/dist/types/components/swiper-normal/swiper-normal.vue.d.ts +19 -0
  114. package/dist/types/components/swiper-normal/type.d.ts +79 -0
  115. package/dist/types/components/swiper-vehicle/index.d.ts +6 -0
  116. package/dist/types/components/swiper-vehicle/swiper-vehicle.vue.d.ts +15 -0
  117. package/dist/types/components/swiper-vehicle/type.d.ts +54 -0
  118. package/dist/types/components/tab-indicator/index.d.ts +6 -0
  119. package/dist/types/components/tab-indicator/tab-indicator.vue.d.ts +15 -0
  120. package/dist/types/components/tab-indicator/type.d.ts +28 -0
  121. package/dist/types/components/video/index.d.ts +6 -0
  122. package/dist/types/components/video/type.d.ts +38 -0
  123. package/dist/types/components/video/video-wrapper.vue.d.ts +33 -0
  124. package/dist/types/components/video/video.vue.d.ts +183 -0
  125. package/package.json +48 -0
@@ -0,0 +1,132 @@
1
+ @use './_vars' as vars;
2
+
3
+ // 淡进淡出
4
+ .#{vars.$prefix}-fade-enter-active,
5
+ .#{vars.$prefix}-fade-leave-active {
6
+ transition: opacity 0.3s ease;
7
+ }
8
+ .#{vars.$prefix}-fade-enter-from,
9
+ .#{vars.$prefix}-fade-leave-to {
10
+ opacity: 0;
11
+ }
12
+
13
+ .#{vars.$prefix}-fade-enter-to,
14
+ .#{vars.$prefix}-fade-leave-from {
15
+ opacity: 1;
16
+ }
17
+
18
+ // 手风琴
19
+ .#{vars.$prefix}-accordion-enter-active,
20
+ .#{vars.$prefix}-accordion-leave-active {
21
+ transition: height 0.3s ease, opacity 0.3s ease;
22
+ overflow: hidden;
23
+ }
24
+
25
+ .#{vars.$prefix}-accordion-enter-from,
26
+ .#{vars.$prefix}-accordion-leave-to {
27
+ height: 0;
28
+ opacity: 0;
29
+ }
30
+
31
+ .#{vars.$prefix}-accordion-enter-to,
32
+ .#{vars.$prefix}-accordion-leave-from {
33
+ opacity: 1;
34
+ }
35
+
36
+ /* 抽屉 */
37
+ @each $dir in top, bottom, left, right {
38
+ .#{vars.$prefix}-drawer-#{$dir}-enter-from,
39
+ .#{vars.$prefix}-drawer-#{$dir}-leave-to {
40
+ opacity: 0;
41
+ @if $dir == top {
42
+ transform: translateY(-100%);
43
+ }
44
+ @if $dir == bottom {
45
+ transform: translateY(100%);
46
+ }
47
+ @if $dir == left {
48
+ transform: translateX(-100%);
49
+ }
50
+ @if $dir == right {
51
+ transform: translateX(100%);
52
+ }
53
+ }
54
+
55
+ .#{vars.$prefix}-drawer-#{$dir}-enter-active,
56
+ .#{vars.$prefix}-drawer-#{$dir}-leave-active {
57
+ transition: all 0.3s ease;
58
+ }
59
+
60
+ .#{vars.$prefix}-drawer-#{$dir}-enter-to,
61
+ .#{vars.$prefix}-drawer-#{$dir}-leave-from {
62
+ transform: translate(0, 0);
63
+ opacity: 1;
64
+ }
65
+ }
66
+
67
+ // 下拉框
68
+ .#{vars.$prefix}-dropdown-enter-from,
69
+ .#{vars.$prefix}-dropdown-leave-to {
70
+ transform-origin: top;
71
+ transform: scaleY(0);
72
+ opacity: 0;
73
+ }
74
+
75
+ .#{vars.$prefix}-dropdown-enter-active,
76
+ .#{vars.$prefix}-dropdown-leave-active {
77
+ transition-duration: 300ms;
78
+ }
79
+
80
+ .#{vars.$prefix}-dropdown-leave-from,
81
+ .#{vars.$prefix}-dropdown-enter-to {
82
+ transform-origin: top;
83
+ transform: scaleY(1);
84
+ opacity: 1;
85
+ }
86
+
87
+ // 横向抖动
88
+ @keyframes #{vars.$prefix}-shake-horizontal {
89
+ 0% {
90
+ transform: translateX(0);
91
+ }
92
+ 10% {
93
+ transform: translateX(-8px);
94
+ }
95
+ 20% {
96
+ transform: translateX(8px);
97
+ }
98
+ 30% {
99
+ transform: translateX(-6px);
100
+ }
101
+ 40% {
102
+ transform: translateX(6px);
103
+ }
104
+ 50% {
105
+ transform: translateX(-4px);
106
+ }
107
+ 60% {
108
+ transform: translateX(4px);
109
+ }
110
+ 70% {
111
+ transform: translateX(-2px);
112
+ }
113
+ 80% {
114
+ transform: translateX(2px);
115
+ }
116
+ 90% {
117
+ transform: translateX(0);
118
+ }
119
+ 100% {
120
+ transform: translateX(0);
121
+ }
122
+ }
123
+
124
+ .#{vars.$prefix}-shake {
125
+ animation: #{vars.$prefix}-shake-horizontal 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
126
+ }
127
+
128
+ /* 循环抖动*/
129
+ .#{vars.$prefix}-shake--infinite {
130
+ animation-iteration-count: infinite;
131
+ animation-duration: 1s;
132
+ }
@@ -0,0 +1 @@
1
+ $prefix: 'sc';
@@ -0,0 +1,104 @@
1
+ @use './_vars' as vars;
2
+
3
+ .#{vars.$prefix}-accordion-info {
4
+ display: flex;
5
+ gap: 40px;
6
+ background-color: #000;
7
+ color: #fff;
8
+ border-radius: 12px;
9
+
10
+ &__image {
11
+ flex: 1;
12
+ position: relative;
13
+ height: 760px;
14
+
15
+ .#{vars.$prefix}-picture {
16
+ position: absolute;
17
+ top: 0;
18
+ left: 0;
19
+ width: 100%;
20
+ height: 100%;
21
+ }
22
+ }
23
+
24
+ &__content {
25
+ width: 500px;
26
+ }
27
+
28
+ &__item {
29
+ cursor: pointer;
30
+ padding: 36px 0;
31
+ border-bottom: 1px solid rgba(255, 255, 255, 0.25);
32
+ display: flex;
33
+ flex-direction: column;
34
+ }
35
+
36
+ &__header {
37
+ display: flex;
38
+ justify-content: space-between;
39
+ align-items: center;
40
+ line-height: 54px;
41
+ }
42
+
43
+ &__title {
44
+ font-feature-settings: 'liga' off, 'clig' off;
45
+ font-family: HarmonyOS_Sans_Medium;
46
+ font-size: 28px;
47
+ font-style: normal;
48
+ font-weight: 500;
49
+ line-height: normal;
50
+ }
51
+
52
+ &__icon {
53
+ font-size: 20px;
54
+ }
55
+
56
+ &__desc {
57
+ font-feature-settings: 'liga' off, 'clig' off;
58
+ font-family: HarmonyOS_Sans_Light;
59
+ font-size: 16px;
60
+ font-style: normal;
61
+ font-weight: 400;
62
+ line-height: 24px;
63
+ margin: 0;
64
+ }
65
+ }
66
+
67
+ @media (max-width: 768px) {
68
+ .#{vars.$prefix}-accordion-info {
69
+ flex-direction: column;
70
+ gap: 20px;
71
+
72
+ &__image {
73
+ width: 100%;
74
+ height: 240px;
75
+ flex: unset;
76
+ }
77
+
78
+ &__content {
79
+ width: 100%;
80
+ }
81
+
82
+ &__item {
83
+ padding: 24px 0;
84
+ }
85
+
86
+ &__header {
87
+ line-height: 48px;
88
+ }
89
+
90
+ &__title {
91
+ font-size: 16px;
92
+ font-style: normal;
93
+ font-weight: 500;
94
+ line-height: 24px;
95
+ }
96
+
97
+ &__desc {
98
+ font-size: 10px;
99
+ font-style: normal;
100
+ font-weight: 400;
101
+ line-height: normal;
102
+ }
103
+ }
104
+ }
@@ -0,0 +1,64 @@
1
+ @use './_vars' as vars;
2
+
3
+ .#{vars.$prefix}-drawer {
4
+ position: relative;
5
+ }
6
+
7
+ .#{vars.$prefix}-drawer-trigger {
8
+ position: relative;
9
+ }
10
+
11
+ .#{vars.$prefix}-drawer-wrapper {
12
+ position: fixed;
13
+ background: white;
14
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
15
+ pointer-events: auto;
16
+ width: 100%;
17
+ transition: all 0.3s ease;
18
+ display: flex;
19
+ flex-direction: column;
20
+ }
21
+
22
+ .#{vars.$prefix}-drawer-header {
23
+ padding: 20px 20px 0;
24
+ margin-bottom: 20px;
25
+ position: relative;
26
+ }
27
+
28
+ .#{vars.$prefix}-drawer-content {
29
+ flex: 1;
30
+ overflow: auto;
31
+ padding: 20px;
32
+ }
33
+
34
+ .#{vars.$prefix}-drawer-mask {
35
+ position: fixed;
36
+ inset: 0;
37
+ background-color: rgba(0, 0, 0, 0.4);
38
+ backdrop-filter: blur(4px);
39
+ pointer-events: auto;
40
+ }
41
+
42
+ /* 各方向定位 */
43
+ .#{vars.$prefix}-drawer-top {
44
+ top: 0;
45
+ left: 0;
46
+ width: 100vw;
47
+ }
48
+ .#{vars.$prefix}-drawer-bottom {
49
+ bottom: 0;
50
+ left: 0;
51
+ width: 100vw;
52
+ }
53
+ .#{vars.$prefix}-drawer-left {
54
+ top: 0;
55
+ left: 0;
56
+ width: 50vw;
57
+ height: 100vh;
58
+ }
59
+ .#{vars.$prefix}-drawer-right {
60
+ top: 0;
61
+ right: 0;
62
+ width: 50vw;
63
+ height: 100vh;
64
+ }
@@ -0,0 +1,21 @@
1
+ @use './_vars' as vars;
2
+
3
+ .#{vars.$prefix}-dropdown-wrapper {
4
+ position: relative;
5
+ display: inline-flex;
6
+ justify-content: center;
7
+ }
8
+
9
+ .#{vars.$prefix}-dropdown-trigger {
10
+ cursor: pointer;
11
+ }
12
+
13
+ .#{vars.$prefix}-dropdown-content {
14
+ position: absolute;
15
+ top: 100%;
16
+ background: white;
17
+ border: 1px solid #ddd;
18
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
19
+ overflow: hidden;
20
+ z-index: 100;
21
+ }
@@ -0,0 +1,26 @@
1
+ @use './_vars' as vars;
2
+
3
+ .#{vars.$prefix}-gradual-highlight {
4
+ &__wrap {
5
+ position: relative;
6
+ }
7
+
8
+ &__origin {
9
+ line-height: 1;
10
+ vertical-align: text-top;
11
+ }
12
+ &__pass {
13
+ display: inline-block;
14
+ height: 100%;
15
+ position: absolute;
16
+ top: 0;
17
+ left: 0;
18
+ overflow: hidden;
19
+ white-space: nowrap;
20
+ pointer-events: none;
21
+ user-select: none;
22
+ width: 0%;
23
+ transition: width 0.1s linear;
24
+ line-height: 1;
25
+ }
26
+ }
@@ -0,0 +1,161 @@
1
+ @use './_vars' as vars;
2
+
3
+ .#{vars.$prefix}-horizontal-viewer {
4
+ width: 100vw;
5
+ height: 4000px;
6
+ color: #fff;
7
+ background-color: #000;
8
+ position: relative;
9
+
10
+ &__header {
11
+ width: 1400px;
12
+ margin: 0 auto 40px;
13
+
14
+ p:nth-of-type(1) {
15
+ color: #caab78;
16
+ font-feature-settings: 'liga' off, 'clig' off;
17
+ font-family: HarmonyOS_Sans_Regular;
18
+ font-size: 44px;
19
+ font-style: normal;
20
+ font-weight: 400;
21
+ line-height: normal;
22
+ margin-bottom: 16px;
23
+ }
24
+
25
+ p:nth-of-type(2) {
26
+ color: #fff;
27
+ font-feature-settings: 'liga' off, 'clig' off;
28
+ font-family: HarmonyOS_Sans_Light;
29
+ font-size: 18px;
30
+ font-style: normal;
31
+ font-weight: 400;
32
+ line-height: 27px;
33
+ }
34
+ }
35
+
36
+ &__container {
37
+ width: 100%;
38
+ height: 100vh;
39
+ box-sizing: border-box;
40
+ position: sticky;
41
+ padding-top: 160px;
42
+ top: 0;
43
+ overflow: hidden;
44
+
45
+ &.has-header {
46
+ padding-top: 80px;
47
+ }
48
+ }
49
+
50
+ &__scroller {
51
+ width: 100%;
52
+ box-sizing: border-box;
53
+ padding: 0 260px;
54
+ overflow-x: hidden;
55
+ }
56
+
57
+ &__content {
58
+ width: fit-content;
59
+ display: flex;
60
+ margin-bottom: 40px;
61
+
62
+ &-item {
63
+ position: relative;
64
+ flex-shrink: 0;
65
+ width: 1400px;
66
+
67
+ & + & {
68
+ margin-left: 40px;
69
+ }
70
+
71
+ .#{vars.$prefix}-picture {
72
+ height: 100%;
73
+ }
74
+
75
+ &-footer {
76
+ position: absolute;
77
+ bottom: 40px;
78
+ left: 40px;
79
+ right: 40px;
80
+
81
+ p:nth-of-type(1) {
82
+ font-feature-settings: 'liga' off, 'clig' off;
83
+ font-family: 'HarmonyOS_Sans_Regular';
84
+ font-size: 24px;
85
+ font-style: normal;
86
+ font-weight: 500;
87
+ line-height: 36px; /* 150% */
88
+ margin-bottom: 8px;
89
+ }
90
+
91
+ p:nth-of-type(2) {
92
+ font-feature-settings: 'liga' off, 'clig' off;
93
+ font-family: HarmonyOS_Sans_Light;
94
+ font-size: 16px;
95
+ font-style: normal;
96
+ font-weight: 400;
97
+ line-height: 24px; /* 150% */
98
+ }
99
+ }
100
+ }
101
+ }
102
+
103
+ .has-header {
104
+ .#{vars.$prefix}-horizontal-viewer__content {
105
+ &-item {
106
+ width: 1200px;
107
+ }
108
+ }
109
+ }
110
+
111
+ &__pagination {
112
+ width: 1400px;
113
+ margin: 0 auto;
114
+
115
+ display: flex;
116
+ justify-content: space-between;
117
+ position: relative;
118
+ }
119
+
120
+ &__scrollbar {
121
+ position: relative;
122
+ width: 100%;
123
+ height: 2px;
124
+ border-radius: 1px;
125
+ background-color: rgba(255, 255, 255, 0.4);
126
+ }
127
+
128
+ &__scrollbar-drag {
129
+ width: 33.33%;
130
+ position: absolute;
131
+ height: 4px;
132
+ margin-top: -3px;
133
+ left: 0;
134
+ border-radius: 1px;
135
+ background-color: #caab78;
136
+ transition: transform 0.5s, width 0.5s;
137
+ }
138
+ }
139
+
140
+ .#{vars.$prefix}-horizontal-viewer-mb {
141
+ width: 100vw;
142
+ padding: 0 24px;
143
+ box-sizing: border-box;
144
+ color: #fff;
145
+ }
146
+
147
+ @media (max-width: 768px) {
148
+ }
149
+
150
+ html[dir='rtl'] {
151
+ .#{vars.$prefix}-horizontal-viewer {
152
+ &__content {
153
+ &-item {
154
+ & + .#{vars.$prefix}-horizontal-viewer__content-item {
155
+ margin-left: 0;
156
+ margin-right: 40px;
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
@@ -0,0 +1,79 @@
1
+ @use './_vars' as vars;
2
+
3
+ .#{vars.$prefix}-image-indicator {
4
+ color: #fff;
5
+ font-family: HarmonyOS_Sans_Regular;
6
+
7
+ &__list {
8
+ display: flex;
9
+ justify-content: space-between;
10
+ gap: 20px;
11
+ margin-bottom: 20px;
12
+
13
+ &-item {
14
+ flex: 1;
15
+ flex-shrink: 0;
16
+ opacity: 0.5;
17
+ transition: opacity 0.5s;
18
+ }
19
+ }
20
+
21
+ & &__active {
22
+ opacity: 1;
23
+ }
24
+
25
+ &__intro {
26
+ position: relative;
27
+
28
+ &-item {
29
+ word-wrap: break-word;
30
+ white-space: normal;
31
+ width: 100%;
32
+ position: absolute;
33
+ left: 50%;
34
+ transform: translateX(-50%);
35
+ opacity: 0;
36
+ transition: opacity 0.25s;
37
+ }
38
+
39
+ &-title {
40
+ font-size: 24px;
41
+ font-style: normal;
42
+ font-weight: 500;
43
+ line-height: 36px;
44
+ margin-bottom: 8px;
45
+ }
46
+
47
+ &-desc {
48
+ font-size: 16px;
49
+ font-style: normal;
50
+ font-weight: 400;
51
+ line-height: 24px;
52
+ }
53
+ }
54
+ }
55
+
56
+ @media (max-width: 768px) {
57
+ .#{vars.$prefix}-image-indicator {
58
+ &__list {
59
+ gap: 8px;
60
+ margin-bottom: 20px;
61
+ }
62
+
63
+ &__intro {
64
+ &-item {
65
+ text-align: center;
66
+ }
67
+
68
+ &-title {
69
+ font-size: 16px;
70
+ line-height: 24px;
71
+ }
72
+
73
+ &-desc {
74
+ font-size: 10px;
75
+ line-height: normal;
76
+ }
77
+ }
78
+ }
79
+ }
@@ -0,0 +1,17 @@
1
+ @use 'swiper/swiper-bundle.css';
2
+ @use './animate';
3
+
4
+ @use './dropdown';
5
+ @use './video';
6
+ @use './drawer';
7
+ @use './layz-image';
8
+ @use './tab-indicator';
9
+ @use './swiper-normal';
10
+ @use './accordion-info-panel';
11
+ @use './horizontal-viewer';
12
+ @use './swiper-vehicle';
13
+ @use './image-indicator';
14
+ @use './gradual-highlight';
15
+ @use './parameter-box';
16
+ @use './radio';
17
+ @use './input';
@@ -0,0 +1,46 @@
1
+ @use './_vars' as vars;
2
+
3
+ .#{vars.$prefix}-input {
4
+ font-size: 16px;
5
+ display: flex;
6
+ align-items: center;
7
+ position: relative;
8
+ margin-top: 4px;
9
+ height: 54px;
10
+ border-radius: 2px;
11
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
12
+ transition: border-color 0.3s ease-in-out;
13
+
14
+ &:hover {
15
+ border-color: #000;
16
+ }
17
+
18
+ input {
19
+ border: none;
20
+ outline: none;
21
+ flex: 1; // 自动占满剩余空间
22
+ height: 54px;
23
+ }
24
+
25
+ input::placeholder {
26
+ height: 25px;
27
+ font-weight: 500;
28
+ color: #000;
29
+ line-height: 21px;
30
+ opacity: 0.3;
31
+ }
32
+
33
+ &__prefix,
34
+ &__suffix {
35
+ display: flex;
36
+ align-items: center;
37
+ height: 100%;
38
+ padding: 0 8px;
39
+ position: relative;
40
+ z-index: 1;
41
+ }
42
+
43
+ @media (max-width: 768px) {
44
+ font-size: 14px;
45
+ }
46
+ }
@@ -0,0 +1,11 @@
1
+ @use './_vars' as vars;
2
+
3
+ .#{vars.$prefix}-picture {
4
+ display: flex;
5
+
6
+ .#{vars.$prefix}-img {
7
+ width: 100%;
8
+ height: 100%;
9
+ object-fit: cover;
10
+ }
11
+ }