yuang-framework-ui-pc 1.1.29 → 1.1.31

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.
@@ -1,5 +1,7 @@
1
- .slider-captcha-dialog-container {
2
- .slider-captcha-dialog-modal {
1
+
2
+ /* 滑块验证码弹出框 */
3
+ .yu-slider-captcha-dialog {
4
+ .yu-slider-captcha-dialog-modal {
3
5
  position: fixed;
4
6
  left: 0;
5
7
  top: 0;
@@ -11,7 +13,7 @@
11
13
  z-index: 1000;
12
14
  }
13
15
 
14
- .slider-captcha-dialog-wrapper {
16
+ .yu-slider-captcha-dialog-wrapper {
15
17
  position: fixed;
16
18
  top: 0;
17
19
  right: 0;
@@ -22,7 +24,7 @@
22
24
 
23
25
  z-index: 1001;
24
26
 
25
- .slider-captcha-dialog {
27
+ .yu-slider-captcha-dialog {
26
28
  // 在移动端禁止上下滑动,添加position: fixed;
27
29
  position: fixed;
28
30
  background: #fff;
@@ -43,15 +45,15 @@
43
45
 
44
46
  border-radius: 4px;
45
47
 
46
- .slider-captcha {
48
+ .yu-slider-captcha {
47
49
  }
48
50
  }
49
51
 
50
- .slide-up {
51
- animation: slide-up-animation 0.5s ease;
52
+ .yu-slider-captcha-slide-up {
53
+ animation: yu-slider-captcha-slide-up-animation 0.5s ease;
52
54
  }
53
55
 
54
- @keyframes slide-up-animation {
56
+ @keyframes yu-slider-captcha-slide-up-animation {
55
57
  0% {
56
58
  transform: translate(-50%, 100%);
57
59
  }
@@ -65,18 +67,19 @@
65
67
 
66
68
 
67
69
 
68
- .slider-captcha-container {
69
- .slider-captcha {
70
+ /* 滑块验证码弹容器 */
71
+ .yu-slider-captcha-container {
72
+ .yu-slider-captcha {
70
73
  position: relative;
71
74
  }
72
75
 
73
- .slider-captcha-title {
76
+ .yu-slider-captcha-title {
74
77
  position: relative;
75
78
  height: 30px;
76
79
  font-size: 16px;
77
80
  }
78
81
 
79
- .slider-captcha-refresh-icon {
82
+ .yu-slider-captcha-refresh-icon {
80
83
  position: absolute;
81
84
  right: 30px;
82
85
  top: 0;
@@ -89,11 +92,11 @@
89
92
  opacity: 0.7;
90
93
  }
91
94
 
92
- .slider-captcha-refresh-icon:hover {
95
+ .yu-slider-captcha-refresh-icon:hover {
93
96
  opacity: 1;
94
97
  }
95
98
 
96
- .slider-captcha-close-icon {
99
+ .yu-slider-captcha-close-icon {
97
100
  position: absolute;
98
101
  right: 0;
99
102
  top: 0;
@@ -106,20 +109,20 @@
106
109
  opacity: 0.7;
107
110
  }
108
111
 
109
- .slider-captcha-close-icon:hover {
112
+ .yu-slider-captcha-close-icon:hover {
110
113
  opacity: 1;
111
114
  }
112
115
  }
113
116
 
114
117
  /*图片加载样式*/
115
- .img-loading {
118
+ .yu-slider-captcha-img-loading {
116
119
  position: absolute;
117
120
  top: 0;
118
121
  right: 0;
119
122
  left: 0;
120
123
  bottom: 0;
121
124
  z-index: 999;
122
- animation: loading 1.5s infinite;
125
+ animation: yu-slider-captcha-loading 1.5s infinite;
123
126
  background-image: url(../images/loading.svg);
124
127
  background-repeat: no-repeat;
125
128
  background-position: center center;
@@ -128,7 +131,7 @@
128
131
  //border-radius: 5px;
129
132
  }
130
133
 
131
- @keyframes loading {
134
+ @keyframes yu-slider-captcha-loading {
132
135
  0% {
133
136
  opacity: 0.7;
134
137
  }
@@ -165,12 +168,12 @@
165
168
  //}
166
169
 
167
170
  /*验证图片*/
168
- .slide-canvas {
171
+ .yu-slider-captcha-canvas {
169
172
  //border-radius: 5px;
170
173
  }
171
174
 
172
175
  /*阻塞块*/
173
- .slide-block {
176
+ .yu-slider-captcha-block {
174
177
  position: absolute;
175
178
  left: 0;
176
179
  top: 0;
@@ -179,12 +182,12 @@
179
182
  }
180
183
 
181
184
  /*校验失败时的阻塞块样式*/
182
- .slide-block.verify-fail {
185
+ .yu-slider-captcha-block.is-verify-fail {
183
186
  transition: left 0.5s linear;
184
187
  }
185
188
 
186
189
  /*滑动条*/
187
- .slider {
190
+ .yu-slider-captcha-slider {
188
191
  position: relative;
189
192
  text-align: center;
190
193
  width: 100%;
@@ -201,7 +204,7 @@
201
204
  }
202
205
 
203
206
  /*滑动盒子*/
204
- .slider-box {
207
+ .yu-slider-captcha-slider-box {
205
208
  position: absolute;
206
209
  left: 0;
207
210
  top: 0;
@@ -214,7 +217,7 @@
214
217
  }
215
218
 
216
219
  /*滑动按钮*/
217
- .slider-button {
220
+ .yu-slider-captcha-slider-button {
218
221
  background-color: rgb(255, 255, 255);
219
222
  color: white;
220
223
  text-align: center;
@@ -235,17 +238,17 @@
235
238
  }
236
239
 
237
240
  /*鼠标悬浮时的按钮样式*/
238
- .slider-button:hover {
241
+ .yu-slider-captcha-slider-button:hover {
239
242
  //background: #1991FA
240
243
  cursor: pointer;
241
244
  }
242
245
 
243
246
  /*鼠标悬浮时的按钮图标样式*/
244
- .slider-button:hover .slider-button-icon {
247
+ .yu-slider-captcha-slider-button:hover .yu-slider-captcha-slider-button-icon {
245
248
  }
246
249
 
247
250
  /*滑动按钮图标*/
248
- .slider-button-icon {
251
+ .yu-slider-captcha-slider-button-icon {
249
252
  width: 32px;
250
253
  height: 32px;
251
254
  font-size: 24px;
@@ -254,42 +257,42 @@
254
257
  }
255
258
 
256
259
  /*校验时的按钮样式*/
257
- .verify-active .slider-button {
260
+ .is-verify-active .slider-button {
258
261
  //height: 38px;
259
262
  //top: -1px;
260
263
  //border: 1px solid #1991FA;
261
264
  }
262
265
 
263
266
  /*校验时的滑动箱样式*/
264
- .verify-active .slider-box {
267
+ .is-verify-active .yu-slider-captcha-slider-box {
265
268
  height: 40px;
266
269
  border-width: 1px;
267
270
  }
268
271
 
269
272
  /*校验成功时的滑动箱样式*/
270
- .verify-success .slider-box {
273
+ .is-verify-success .yu-slider-captcha-slider-box {
271
274
  height: 40px;
272
275
  }
273
276
 
274
277
  /*校验成功时的按钮样式*/
275
- .verify-success .slider-button {
278
+ .is-verify-success .slider-button {
276
279
  }
277
280
 
278
281
  /*校验成功时的按钮图标样式*/
279
- .verify-success .slider-button-icon {
282
+ .is-verify-success .yu-slider-captcha-slider-button-icon {
280
283
  background-position: 0 0 !important;
281
284
  }
282
285
 
283
286
  /*校验失败时的滑动箱样式*/
284
- .verify-fail .slider-box {
287
+ .is-verify-fail .yu-slider-captcha-slider-box {
285
288
  transition: width 0.5s linear;
286
289
  }
287
290
 
288
291
  /*校验失败时的按钮样式*/
289
- .verify-fail .slider-button {
292
+ .is-verify-fail .slider-button {
290
293
  transition: left 0.5s linear;
291
294
  }
292
295
 
293
296
  /*校验失败时的按钮图标样式*/
294
- .verify-fail .slider-button-icon {
297
+ .is-verify-fail .yu-slider-captcha-slider-button-icon {
295
298
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-pc",
3
- "version": "1.1.29",
3
+ "version": "1.1.31",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host --config vite.global.ts --mode dev",