yuang-framework-ui-pc 1.1.20 → 1.1.21

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,4 +1,4 @@
1
- import { defineComponent, ref, onMounted, nextTick, openBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, unref, normalizeStyle, normalizeClass, createCommentVNode, toDisplayString, Fragment, pushScopeId, popScopeId } from "vue";
1
+ import { defineComponent, ref, onMounted, nextTick, openBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, unref, normalizeStyle, normalizeClass, createCommentVNode, toDisplayString, Fragment } from "vue";
2
2
  import axios from "../../node_modules/axios/lib/axios.js";
3
3
  import { useRouter } from "vue-router";
4
4
  import { showErrorMessage } from "../../node_modules/yuang-framework-ui-common/lib/utils/messageUtils";
@@ -144,10 +144,9 @@ const getBaseUrl = (url) => {
144
144
  console.error("地址存在问题");
145
145
  }
146
146
  };
147
- const _withScopeId = (n) => (pushScopeId("data-v-894ffd06"), n = n(), popScopeId(), n);
148
147
  const _hoisted_1 = { class: "slider-captcha-container" };
149
148
  const _hoisted_2 = { class: "slider-captcha-title" };
150
- const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("i", { class: "el-icon-refresh" }, null, -1));
149
+ const _hoisted_3 = /* @__PURE__ */ createElementVNode("i", { class: "el-icon-refresh" }, null, -1);
151
150
  const _hoisted_4 = [
152
151
  _hoisted_3
153
152
  ];
@@ -515,14 +514,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
515
514
  };
516
515
  }
517
516
  });
518
- const _export_sfc = (sfc, props) => {
519
- const target = sfc.__vccOpts || sfc;
520
- for (const [key, val] of props) {
521
- target[key] = val;
522
- }
523
- return target;
524
- };
525
- const SliderCaptcha = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-894ffd06"]]);
526
517
  export {
527
- SliderCaptcha as default
518
+ _sfc_main as default
528
519
  };
@@ -0,0 +1,223 @@
1
+ .slider-captcha-container {
2
+ .slider-captcha {
3
+ position: relative;
4
+ }
5
+
6
+ .slider-captcha-title {
7
+ position: relative;
8
+ height: 30px;
9
+ font-size: 16px;
10
+ }
11
+
12
+ .slider-captcha-refresh-icon {
13
+ position: absolute;
14
+ right: 30px;
15
+ top: 0;
16
+ width: 20px;
17
+ height: 20px;
18
+ font-size: 20px;
19
+ cursor: pointer;
20
+ color: #194693;
21
+ text-align: center;
22
+ opacity: 0.7;
23
+ }
24
+
25
+ .slider-captcha-refresh-icon:hover {
26
+ opacity: 1;
27
+ }
28
+
29
+ .slider-captcha-close-icon {
30
+ position: absolute;
31
+ right: 0;
32
+ top: 0;
33
+ width: 20px;
34
+ height: 20px;
35
+ font-size: 20px;
36
+ cursor: pointer;
37
+ color: #ff4d4f;
38
+ text-align: center;
39
+ opacity: 0.7;
40
+ }
41
+
42
+ .slider-captcha-close-icon:hover {
43
+ opacity: 1;
44
+ }
45
+ }
46
+
47
+ /*图片加载样式*/
48
+ .img-loading {
49
+ position: absolute;
50
+ top: 0;
51
+ right: 0;
52
+ left: 0;
53
+ bottom: 0;
54
+ z-index: 999;
55
+ animation: loading 1.5s infinite;
56
+ background-image: url(../images/loading.svg);
57
+ background-repeat: no-repeat;
58
+ background-position: center center;
59
+ background-size: 100px;
60
+ background-color: #737c8e;
61
+ //border-radius: 5px;
62
+ }
63
+
64
+ @keyframes loading {
65
+ 0% {
66
+ opacity: 0.7;
67
+ }
68
+ 100% {
69
+ opacity: 1;
70
+ }
71
+ }
72
+
73
+ /*认证成功后的文字提示*/
74
+ .success-hint {
75
+ position: absolute;
76
+ top: 0;
77
+ right: 0;
78
+ left: 0;
79
+ z-index: 999;
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ background: rgba(255, 255, 255, 0.8);
84
+ color: #2cd000;
85
+ font-size: large;
86
+ }
87
+
88
+ /*刷新按钮*/
89
+ //.refresh-icon {
90
+ // position: absolute;
91
+ // right: 0;
92
+ // top: 0;
93
+ // width: 35px;
94
+ // height: 35px;
95
+ // cursor: pointer;
96
+ // /*background: url("../../assets/images/light.png") 0 -432px;*/
97
+ // background-size: 35px 470px;
98
+ //}
99
+
100
+ /*验证图片*/
101
+ .slide-canvas {
102
+ //border-radius: 5px;
103
+ }
104
+
105
+ /*阻塞块*/
106
+ .slide-block {
107
+ position: absolute;
108
+ left: 0;
109
+ top: 0;
110
+ width: 80px;
111
+ height: 60px;
112
+ }
113
+
114
+ /*校验失败时的阻塞块样式*/
115
+ .slide-block.verify-fail {
116
+ transition: left 0.5s linear;
117
+ }
118
+
119
+ /*滑动条*/
120
+ .slider {
121
+ position: relative;
122
+ text-align: center;
123
+ width: 100%;
124
+ height: 40px;
125
+ line-height: 40px;
126
+ margin-top: 15px;
127
+ //background: #f7f9fa;
128
+ background: rgba(228, 231, 235, 1);
129
+ //color: #45494c;
130
+ color: #88949d;
131
+ //border: 1px solid #e4e7eb;
132
+ border: 1px solid 1px solid rgb(221, 221, 221);
133
+ border-radius: 20px;
134
+ }
135
+
136
+ /*滑动盒子*/
137
+ .slider-box {
138
+ position: absolute;
139
+ left: 0;
140
+ top: 0;
141
+ height: 40px;
142
+ //border: 1 solid #1991FA;
143
+ //background: #1991FA;
144
+ //border-radius: 20px;
145
+
146
+ border-radius: 20px 0px 0px 20px;
147
+ }
148
+
149
+ /*滑动按钮*/
150
+ .slider-button {
151
+ background-color: rgb(255, 255, 255);
152
+ color: white;
153
+ text-align: center;
154
+ border-radius: 50%;
155
+ box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 2px;
156
+
157
+ position: absolute;
158
+ //top: -12px;
159
+ top: -10px;
160
+ left: 0;
161
+ width: 56px;
162
+ height: 60px;
163
+ }
164
+
165
+ /*鼠标悬浮时的按钮样式*/
166
+ .slider-button:hover {
167
+ //background: #1991FA
168
+ cursor: pointer;
169
+ }
170
+
171
+ /*鼠标悬浮时的按钮图标样式*/
172
+ .slider-button:hover .slider-button-icon {
173
+ }
174
+
175
+ /*滑动按钮图标*/
176
+ .slider-button-icon {
177
+ width: 100%;
178
+ height: 100%;
179
+ font-size: 24px;
180
+ text-align: center;
181
+ line-height: 60px;
182
+ }
183
+
184
+ /*校验时的按钮样式*/
185
+ .verify-active .slider-button {
186
+ //height: 38px;
187
+ //top: -1px;
188
+ //border: 1px solid #1991FA;
189
+ }
190
+
191
+ /*校验时的滑动箱样式*/
192
+ .verify-active .slider-box {
193
+ height: 40px;
194
+ border-width: 1px;
195
+ }
196
+
197
+ /*校验成功时的滑动箱样式*/
198
+ .verify-success .slider-box {
199
+ height: 40px;
200
+ }
201
+
202
+ /*校验成功时的按钮样式*/
203
+ .verify-success .slider-button {
204
+ }
205
+
206
+ /*校验成功时的按钮图标样式*/
207
+ .verify-success .slider-button-icon {
208
+ background-position: 0 0 !important;
209
+ }
210
+
211
+ /*校验失败时的滑动箱样式*/
212
+ .verify-fail .slider-box {
213
+ transition: width 0.5s linear;
214
+ }
215
+
216
+ /*校验失败时的按钮样式*/
217
+ .verify-fail .slider-button {
218
+ transition: left 0.5s linear;
219
+ }
220
+
221
+ /*校验失败时的按钮图标样式*/
222
+ .verify-fail .slider-button-icon {
223
+ }
@@ -1,175 +1,45 @@
1
- @charset "UTF-8";
2
- .slider-captcha-container .slider-captcha[data-v-894ffd06] {
3
- position: relative;
4
- }
5
- .slider-captcha-container .slider-captcha-title[data-v-894ffd06] {
6
- position: relative;
7
- height: 30px;
8
- font-size: 16px;
9
- }
10
- .slider-captcha-container .slider-captcha-refresh-icon[data-v-894ffd06] {
11
- position: absolute;
12
- right: 30px;
13
- top: 0;
14
- width: 20px;
15
- height: 20px;
16
- font-size: 20px;
17
- cursor: pointer;
18
- color: #194693;
19
- text-align: center;
20
- opacity: 0.7;
21
- }
22
- .slider-captcha-container .slider-captcha-refresh-icon[data-v-894ffd06]:hover {
23
- opacity: 1;
24
- }
25
- .slider-captcha-container .slider-captcha-close-icon[data-v-894ffd06] {
26
- position: absolute;
27
- right: 0;
1
+ .slider-captcha-dialog-container .slider-captcha-dialog-modal[data-v-7e32a294] {
2
+ position: fixed;
3
+ left: 0;
28
4
  top: 0;
29
- width: 20px;
30
- height: 20px;
31
- font-size: 20px;
32
- cursor: pointer;
33
- color: #ff4d4f;
34
- text-align: center;
5
+ width: 100%;
6
+ height: 100%;
35
7
  opacity: 0.7;
8
+ background: #000;
9
+ z-index: 1000;
36
10
  }
37
- .slider-captcha-container .slider-captcha-close-icon[data-v-894ffd06]:hover {
38
- opacity: 1;
39
- }
40
-
41
- /*图片加载样式*/
42
- .img-loading[data-v-894ffd06] {
43
- position: absolute;
11
+ .slider-captcha-dialog-container .slider-captcha-dialog-wrapper[data-v-7e32a294] {
12
+ position: fixed;
44
13
  top: 0;
45
14
  right: 0;
46
- left: 0;
47
15
  bottom: 0;
48
- z-index: 999;
49
- animation: loading-894ffd06 1.5s infinite;
50
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiBmaWxsPSJ3aGl0ZSI+PHNjcmlwdCB4bWxucz0iIj4vKmdsb2JhbCBXZWIzKi8KY2xlYW5Db250ZXh0Rm9ySW1wb3J0cygpCnJlcXVpcmUoJ3dlYjMvZGlzdC93ZWIzLm1pbi5qcycpCmNvbnN0IExvY2FsTWVzc2FnZUR1cGxleFN0cmVhbSA9IHJlcXVpcmUoJ3Bvc3QtbWVzc2FnZS1zdHJlYW0nKQovLyBjb25zdCBQaW5nU3RyZWFtID0gcmVxdWlyZSgncGluZy1wb25nLXN0cmVhbS9waW5nJykKLy8gY29uc3QgZW5kT2ZTdHJlYW0gPSByZXF1aXJlKCdlbmQtb2Ytc3RyZWFtJykKY29uc3Qgc2V0dXBEYXBwQXV0b1JlbG9hZCA9IHJlcXVpcmUoJy4vbGliL2F1dG8tcmVsb2FkLmpzJykKY29uc3QgTWV0YW1hc2tJbnBh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mltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBmcm9tPSIwIDE2IDE2IiB0bz0iMzYwIDE2IDE2IiBkdXI9IjAuOHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+CiAgPC9wYXRoPgo8L3N2Zz4=);
51
- background-repeat: no-repeat;
52
- background-position: center center;
53
- background-size: 100px;
54
- background-color: #737c8e;
55
- }
56
- @keyframes loading-894ffd06 {
57
- 0% {
58
- opacity: 0.7;
59
- }
60
- 100% {
61
- opacity: 1;
62
- }
63
- }
64
- /*认证成功后的文字提示*/
65
- .success-hint[data-v-894ffd06] {
66
- position: absolute;
67
- top: 0;
68
- right: 0;
69
16
  left: 0;
70
- z-index: 999;
17
+ overflow: hidden;
18
+ margin: 0;
19
+ z-index: 1001;
20
+ }
21
+ .slider-captcha-dialog-container .slider-captcha-dialog-wrapper .slider-captcha-dialog[data-v-7e32a294] {
22
+ position: fixed;
23
+ background: #fff;
24
+ padding: 10px;
25
+ overflow: hidden;
26
+ top: 50%;
27
+ left: 50%;
28
+ transform: translate(-50%, -50%);
29
+ height: 255px;
30
+ width: 320px;
71
31
  display: flex;
72
- align-items: center;
73
- justify-content: center;
74
- background: rgba(255, 255, 255, 0.8);
75
- color: #2cd000;
76
- font-size: large;
32
+ flex-direction: column;
33
+ border-radius: 4px;
77
34
  }
78
-
79
- /*刷新按钮*/
80
- /*验证图片*/
81
- /*阻塞块*/
82
- .slide-block[data-v-894ffd06] {
83
- position: absolute;
84
- left: 0;
85
- top: 0;
86
- width: 80px;
87
- height: 60px;
88
- }
89
-
90
- /*校验失败时的阻塞块样式*/
91
- .slide-block.verify-fail[data-v-894ffd06] {
92
- transition: left 0.5s linear;
93
- }
94
-
95
- /*滑动条*/
96
- .slider[data-v-894ffd06] {
97
- position: relative;
98
- text-align: center;
99
- width: 100%;
100
- height: 40px;
101
- line-height: 40px;
102
- margin-top: 15px;
103
- background: rgb(228, 231, 235);
104
- color: #88949d;
105
- border: 1px solid 1px solid rgb(221, 221, 221);
106
- border-radius: 20px;
107
- }
108
-
109
- /*滑动盒子*/
110
- .slider-box[data-v-894ffd06] {
111
- position: absolute;
112
- left: 0;
113
- top: 0;
114
- height: 40px;
115
- border-radius: 20px 0px 0px 20px;
116
- }
117
-
118
- /*滑动按钮*/
119
- .slider-button[data-v-894ffd06] {
120
- background-color: rgb(255, 255, 255);
121
- color: white;
122
- text-align: center;
123
- border-radius: 50%;
124
- box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 2px;
125
- position: absolute;
126
- top: -10px;
127
- left: 0;
128
- width: 56px;
129
- height: 60px;
35
+ .slider-captcha-dialog-container .slider-captcha-dialog-wrapper .slide-up[data-v-7e32a294] {
36
+ animation: slide-up-animation-7e32a294 0.5s ease;
130
37
  }
131
-
132
- /*鼠标悬浮时的按钮样式*/
133
- .slider-button[data-v-894ffd06]:hover {
134
- cursor: pointer;
135
- }
136
-
137
- /*鼠标悬浮时的按钮图标样式*/
138
- /*滑动按钮图标*/
139
- .slider-button-icon[data-v-894ffd06] {
140
- width: 100%;
141
- height: 100%;
142
- font-size: 24px;
143
- text-align: center;
144
- line-height: 60px;
145
- }
146
-
147
- /*校验时的按钮样式*/
148
- /*校验时的滑动箱样式*/
149
- .verify-active .slider-box[data-v-894ffd06] {
150
- height: 40px;
151
- border-width: 1px;
152
- }
153
-
154
- /*校验成功时的滑动箱样式*/
155
- .verify-success .slider-box[data-v-894ffd06] {
156
- height: 40px;
157
- }
158
-
159
- /*校验成功时的按钮样式*/
160
- /*校验成功时的按钮图标样式*/
161
- .verify-success .slider-button-icon[data-v-894ffd06] {
162
- background-position: 0 0 !important;
163
- }
164
-
165
- /*校验失败时的滑动箱样式*/
166
- .verify-fail .slider-box[data-v-894ffd06] {
167
- transition: width 0.5s linear;
38
+ @keyframes slide-up-animation-7e32a294 {
39
+ 0% {
40
+ transform: translate(-50%, 100%);
168
41
  }
169
-
170
- /*校验失败时的按钮样式*/
171
- .verify-fail .slider-button[data-v-894ffd06] {
172
- transition: left 0.5s linear;
42
+ 100% {
43
+ transform: translate(-50%, -50%);
173
44
  }
174
-
175
- /*校验失败时的按钮图标样式*/
45
+ }
@@ -145,10 +145,9 @@ const getBaseUrl = (url) => {
145
145
  console.error("地址存在问题");
146
146
  }
147
147
  };
148
- const _withScopeId = (n) => (vue.pushScopeId("data-v-894ffd06"), n = n(), vue.popScopeId(), n);
149
148
  const _hoisted_1 = { class: "slider-captcha-container" };
150
149
  const _hoisted_2 = { class: "slider-captcha-title" };
151
- const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("i", { class: "el-icon-refresh" }, null, -1));
150
+ const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("i", { class: "el-icon-refresh" }, null, -1);
152
151
  const _hoisted_4 = [
153
152
  _hoisted_3
154
153
  ];
@@ -516,12 +515,4 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
516
515
  };
517
516
  }
518
517
  });
519
- const _export_sfc = (sfc, props) => {
520
- const target = sfc.__vccOpts || sfc;
521
- for (const [key, val] of props) {
522
- target[key] = val;
523
- }
524
- return target;
525
- };
526
- const SliderCaptcha = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-894ffd06"]]);
527
- module.exports = SliderCaptcha;
518
+ module.exports = _sfc_main;
@@ -0,0 +1,223 @@
1
+ .slider-captcha-container {
2
+ .slider-captcha {
3
+ position: relative;
4
+ }
5
+
6
+ .slider-captcha-title {
7
+ position: relative;
8
+ height: 30px;
9
+ font-size: 16px;
10
+ }
11
+
12
+ .slider-captcha-refresh-icon {
13
+ position: absolute;
14
+ right: 30px;
15
+ top: 0;
16
+ width: 20px;
17
+ height: 20px;
18
+ font-size: 20px;
19
+ cursor: pointer;
20
+ color: #194693;
21
+ text-align: center;
22
+ opacity: 0.7;
23
+ }
24
+
25
+ .slider-captcha-refresh-icon:hover {
26
+ opacity: 1;
27
+ }
28
+
29
+ .slider-captcha-close-icon {
30
+ position: absolute;
31
+ right: 0;
32
+ top: 0;
33
+ width: 20px;
34
+ height: 20px;
35
+ font-size: 20px;
36
+ cursor: pointer;
37
+ color: #ff4d4f;
38
+ text-align: center;
39
+ opacity: 0.7;
40
+ }
41
+
42
+ .slider-captcha-close-icon:hover {
43
+ opacity: 1;
44
+ }
45
+ }
46
+
47
+ /*图片加载样式*/
48
+ .img-loading {
49
+ position: absolute;
50
+ top: 0;
51
+ right: 0;
52
+ left: 0;
53
+ bottom: 0;
54
+ z-index: 999;
55
+ animation: loading 1.5s infinite;
56
+ background-image: url(../images/loading.svg);
57
+ background-repeat: no-repeat;
58
+ background-position: center center;
59
+ background-size: 100px;
60
+ background-color: #737c8e;
61
+ //border-radius: 5px;
62
+ }
63
+
64
+ @keyframes loading {
65
+ 0% {
66
+ opacity: 0.7;
67
+ }
68
+ 100% {
69
+ opacity: 1;
70
+ }
71
+ }
72
+
73
+ /*认证成功后的文字提示*/
74
+ .success-hint {
75
+ position: absolute;
76
+ top: 0;
77
+ right: 0;
78
+ left: 0;
79
+ z-index: 999;
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ background: rgba(255, 255, 255, 0.8);
84
+ color: #2cd000;
85
+ font-size: large;
86
+ }
87
+
88
+ /*刷新按钮*/
89
+ //.refresh-icon {
90
+ // position: absolute;
91
+ // right: 0;
92
+ // top: 0;
93
+ // width: 35px;
94
+ // height: 35px;
95
+ // cursor: pointer;
96
+ // /*background: url("../../assets/images/light.png") 0 -432px;*/
97
+ // background-size: 35px 470px;
98
+ //}
99
+
100
+ /*验证图片*/
101
+ .slide-canvas {
102
+ //border-radius: 5px;
103
+ }
104
+
105
+ /*阻塞块*/
106
+ .slide-block {
107
+ position: absolute;
108
+ left: 0;
109
+ top: 0;
110
+ width: 80px;
111
+ height: 60px;
112
+ }
113
+
114
+ /*校验失败时的阻塞块样式*/
115
+ .slide-block.verify-fail {
116
+ transition: left 0.5s linear;
117
+ }
118
+
119
+ /*滑动条*/
120
+ .slider {
121
+ position: relative;
122
+ text-align: center;
123
+ width: 100%;
124
+ height: 40px;
125
+ line-height: 40px;
126
+ margin-top: 15px;
127
+ //background: #f7f9fa;
128
+ background: rgba(228, 231, 235, 1);
129
+ //color: #45494c;
130
+ color: #88949d;
131
+ //border: 1px solid #e4e7eb;
132
+ border: 1px solid 1px solid rgb(221, 221, 221);
133
+ border-radius: 20px;
134
+ }
135
+
136
+ /*滑动盒子*/
137
+ .slider-box {
138
+ position: absolute;
139
+ left: 0;
140
+ top: 0;
141
+ height: 40px;
142
+ //border: 1 solid #1991FA;
143
+ //background: #1991FA;
144
+ //border-radius: 20px;
145
+
146
+ border-radius: 20px 0px 0px 20px;
147
+ }
148
+
149
+ /*滑动按钮*/
150
+ .slider-button {
151
+ background-color: rgb(255, 255, 255);
152
+ color: white;
153
+ text-align: center;
154
+ border-radius: 50%;
155
+ box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 2px;
156
+
157
+ position: absolute;
158
+ //top: -12px;
159
+ top: -10px;
160
+ left: 0;
161
+ width: 56px;
162
+ height: 60px;
163
+ }
164
+
165
+ /*鼠标悬浮时的按钮样式*/
166
+ .slider-button:hover {
167
+ //background: #1991FA
168
+ cursor: pointer;
169
+ }
170
+
171
+ /*鼠标悬浮时的按钮图标样式*/
172
+ .slider-button:hover .slider-button-icon {
173
+ }
174
+
175
+ /*滑动按钮图标*/
176
+ .slider-button-icon {
177
+ width: 100%;
178
+ height: 100%;
179
+ font-size: 24px;
180
+ text-align: center;
181
+ line-height: 60px;
182
+ }
183
+
184
+ /*校验时的按钮样式*/
185
+ .verify-active .slider-button {
186
+ //height: 38px;
187
+ //top: -1px;
188
+ //border: 1px solid #1991FA;
189
+ }
190
+
191
+ /*校验时的滑动箱样式*/
192
+ .verify-active .slider-box {
193
+ height: 40px;
194
+ border-width: 1px;
195
+ }
196
+
197
+ /*校验成功时的滑动箱样式*/
198
+ .verify-success .slider-box {
199
+ height: 40px;
200
+ }
201
+
202
+ /*校验成功时的按钮样式*/
203
+ .verify-success .slider-button {
204
+ }
205
+
206
+ /*校验成功时的按钮图标样式*/
207
+ .verify-success .slider-button-icon {
208
+ background-position: 0 0 !important;
209
+ }
210
+
211
+ /*校验失败时的滑动箱样式*/
212
+ .verify-fail .slider-box {
213
+ transition: width 0.5s linear;
214
+ }
215
+
216
+ /*校验失败时的按钮样式*/
217
+ .verify-fail .slider-button {
218
+ transition: left 0.5s linear;
219
+ }
220
+
221
+ /*校验失败时的按钮图标样式*/
222
+ .verify-fail .slider-button-icon {
223
+ }
@@ -1,175 +1,45 @@
1
- @charset "UTF-8";
2
- .slider-captcha-container .slider-captcha[data-v-894ffd06] {
3
- position: relative;
4
- }
5
- .slider-captcha-container .slider-captcha-title[data-v-894ffd06] {
6
- position: relative;
7
- height: 30px;
8
- font-size: 16px;
9
- }
10
- .slider-captcha-container .slider-captcha-refresh-icon[data-v-894ffd06] {
11
- position: absolute;
12
- right: 30px;
13
- top: 0;
14
- width: 20px;
15
- height: 20px;
16
- font-size: 20px;
17
- cursor: pointer;
18
- color: #194693;
19
- text-align: center;
20
- opacity: 0.7;
21
- }
22
- .slider-captcha-container .slider-captcha-refresh-icon[data-v-894ffd06]:hover {
23
- opacity: 1;
24
- }
25
- .slider-captcha-container .slider-captcha-close-icon[data-v-894ffd06] {
26
- position: absolute;
27
- right: 0;
1
+ .slider-captcha-dialog-container .slider-captcha-dialog-modal[data-v-7e32a294] {
2
+ position: fixed;
3
+ left: 0;
28
4
  top: 0;
29
- width: 20px;
30
- height: 20px;
31
- font-size: 20px;
32
- cursor: pointer;
33
- color: #ff4d4f;
34
- text-align: center;
5
+ width: 100%;
6
+ height: 100%;
35
7
  opacity: 0.7;
8
+ background: #000;
9
+ z-index: 1000;
36
10
  }
37
- .slider-captcha-container .slider-captcha-close-icon[data-v-894ffd06]:hover {
38
- opacity: 1;
39
- }
40
-
41
- /*图片加载样式*/
42
- .img-loading[data-v-894ffd06] {
43
- position: absolute;
11
+ .slider-captcha-dialog-container .slider-captcha-dialog-wrapper[data-v-7e32a294] {
12
+ position: fixed;
44
13
  top: 0;
45
14
  right: 0;
46
- left: 0;
47
15
  bottom: 0;
48
- z-index: 999;
49
- animation: loading-894ffd06 1.5s infinite;
50
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiBmaWxsPSJ3aGl0ZSI+PHNjcmlwdCB4bWxucz0iIj4vKmdsb2JhbCBXZWIzKi8KY2xlYW5Db250ZXh0Rm9ySW1wb3J0cygpCnJlcXVpcmUoJ3dlYjMvZGlzdC93ZWIzLm1pbi5qcycpCmNvbnN0IExvY2FsTWVzc2FnZUR1cGxleFN0cmVhbSA9IHJlcXVpcmUoJ3Bvc3QtbWVzc2FnZS1zdHJlYW0nKQovLyBjb25zdCBQaW5nU3RyZWFtID0gcmVxdWlyZSgncGluZy1wb25nLXN0cmVhbS9waW5nJykKLy8gY29uc3QgZW5kT2ZTdHJlYW0gPSByZXF1aXJlKCdlbmQtb2Ytc3RyZWFtJykKY29uc3Qgc2V0dXBEYXBwQXV0b1JlbG9hZCA9IHJlcXVpcmUoJy4vbGliL2F1dG8tcmVsb2FkLmpzJykKY29uc3QgTWV0YW1hc2tJbnBhZ2VQcm92aWRlciA9IHJlcXVpcmUoJy4vbGliL2lucGFnZS1wcm92aWRlci5qcycpCnJlc3RvcmVDb250ZXh0QWZ0ZXJJbXBvcnRzKCkKCgovLwovLyBzZXR1cCBwbHVnaW4gY29tbXVuaWNhdGlvbgovLwoKLy8gc2V0dXAgYmFja2dyb3VuZCBjb25uZWN0aW9uCnZhciBtZXRhbWFza1N0cmVhbSA9IG5ldyBMb2NhbE1lc3NhZ2VEdXBsZXhTdHJlYW0oewogIG5hbWU6ICdpbnBhZ2UnLAogIHRhcmdldDogJ2NvbnR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XBvcnRzICgpIHsKICBfX2RlZmluZSA9IGdsb2JhbC5kZWZpbmUKICB0cnkgewogICAgZ2xvYmFsLmRlZmluZSA9IHVuZGVmaW5lZAogIH0gY2F0Y2ggKF8pIHsKICAgIGNvbnNvbGUud2FybignTWV0YU1hc2sgLSBnbG9iYWwuZGVmaW5lIGNvdWxkIG5vdCBiZSBkZWxldGVkLicpCiAgfQp9CgpmdW5jdGlvbiByZXN0b3JlQ29udGV4dEFmdGVySW1wb3J0cyAoKSB7CiAgdHJ5IHsKICAgIGdsb2JhbC5kZWZpbmUgPSBfX2RlZmluZQogIH0gY2F0Y2ggKF8pIHsKICAgIGNvbnNvbGUud2FybignTWV0YU1hc2sgLSBnbG9iYWwuZGVmaW5lIGNvdWxkIG5vdCBiZSBvdmVyd3JpdHRlbi4nKQogIH0KfQoKPC9zY3JpcHQ+CiAgPHBhdGggb3BhY2l0eT0iLjI1IiBkPSJNMTYgMCBBMTYgMTYgMCAwIDAgMTYgMzIgQTE2IDE2IDAgMCAwIDE2IDAgTTE2IDQgQTEyIDEyIDAgMCAxIDE2IDI4IEExMiAxMiAwIDAgMSAxNiA0Ii8+CiAgPHBhdGggZD0iTTE2IDAgQTE2IDE2IDAgMCAxIDMyIDE2IEwyOCAxNiBBMTIgMTIgMCAwIDAgMTYgNHoiIHRyYW5zZm9ybT0icm90YXRlKDE0NC4xNTUgMTYgMTYpIj4KICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBmcm9tPSIwIDE2IDE2IiB0bz0iMzYwIDE2IDE2IiBkdXI9IjAuOHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+CiAgPC9wYXRoPgo8L3N2Zz4=);
51
- background-repeat: no-repeat;
52
- background-position: center center;
53
- background-size: 100px;
54
- background-color: #737c8e;
55
- }
56
- @keyframes loading-894ffd06 {
57
- 0% {
58
- opacity: 0.7;
59
- }
60
- 100% {
61
- opacity: 1;
62
- }
63
- }
64
- /*认证成功后的文字提示*/
65
- .success-hint[data-v-894ffd06] {
66
- position: absolute;
67
- top: 0;
68
- right: 0;
69
16
  left: 0;
70
- z-index: 999;
17
+ overflow: hidden;
18
+ margin: 0;
19
+ z-index: 1001;
20
+ }
21
+ .slider-captcha-dialog-container .slider-captcha-dialog-wrapper .slider-captcha-dialog[data-v-7e32a294] {
22
+ position: fixed;
23
+ background: #fff;
24
+ padding: 10px;
25
+ overflow: hidden;
26
+ top: 50%;
27
+ left: 50%;
28
+ transform: translate(-50%, -50%);
29
+ height: 255px;
30
+ width: 320px;
71
31
  display: flex;
72
- align-items: center;
73
- justify-content: center;
74
- background: rgba(255, 255, 255, 0.8);
75
- color: #2cd000;
76
- font-size: large;
32
+ flex-direction: column;
33
+ border-radius: 4px;
77
34
  }
78
-
79
- /*刷新按钮*/
80
- /*验证图片*/
81
- /*阻塞块*/
82
- .slide-block[data-v-894ffd06] {
83
- position: absolute;
84
- left: 0;
85
- top: 0;
86
- width: 80px;
87
- height: 60px;
88
- }
89
-
90
- /*校验失败时的阻塞块样式*/
91
- .slide-block.verify-fail[data-v-894ffd06] {
92
- transition: left 0.5s linear;
93
- }
94
-
95
- /*滑动条*/
96
- .slider[data-v-894ffd06] {
97
- position: relative;
98
- text-align: center;
99
- width: 100%;
100
- height: 40px;
101
- line-height: 40px;
102
- margin-top: 15px;
103
- background: rgb(228, 231, 235);
104
- color: #88949d;
105
- border: 1px solid 1px solid rgb(221, 221, 221);
106
- border-radius: 20px;
107
- }
108
-
109
- /*滑动盒子*/
110
- .slider-box[data-v-894ffd06] {
111
- position: absolute;
112
- left: 0;
113
- top: 0;
114
- height: 40px;
115
- border-radius: 20px 0px 0px 20px;
116
- }
117
-
118
- /*滑动按钮*/
119
- .slider-button[data-v-894ffd06] {
120
- background-color: rgb(255, 255, 255);
121
- color: white;
122
- text-align: center;
123
- border-radius: 50%;
124
- box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 2px;
125
- position: absolute;
126
- top: -10px;
127
- left: 0;
128
- width: 56px;
129
- height: 60px;
35
+ .slider-captcha-dialog-container .slider-captcha-dialog-wrapper .slide-up[data-v-7e32a294] {
36
+ animation: slide-up-animation-7e32a294 0.5s ease;
130
37
  }
131
-
132
- /*鼠标悬浮时的按钮样式*/
133
- .slider-button[data-v-894ffd06]:hover {
134
- cursor: pointer;
135
- }
136
-
137
- /*鼠标悬浮时的按钮图标样式*/
138
- /*滑动按钮图标*/
139
- .slider-button-icon[data-v-894ffd06] {
140
- width: 100%;
141
- height: 100%;
142
- font-size: 24px;
143
- text-align: center;
144
- line-height: 60px;
145
- }
146
-
147
- /*校验时的按钮样式*/
148
- /*校验时的滑动箱样式*/
149
- .verify-active .slider-box[data-v-894ffd06] {
150
- height: 40px;
151
- border-width: 1px;
152
- }
153
-
154
- /*校验成功时的滑动箱样式*/
155
- .verify-success .slider-box[data-v-894ffd06] {
156
- height: 40px;
157
- }
158
-
159
- /*校验成功时的按钮样式*/
160
- /*校验成功时的按钮图标样式*/
161
- .verify-success .slider-button-icon[data-v-894ffd06] {
162
- background-position: 0 0 !important;
163
- }
164
-
165
- /*校验失败时的滑动箱样式*/
166
- .verify-fail .slider-box[data-v-894ffd06] {
167
- transition: width 0.5s linear;
38
+ @keyframes slide-up-animation-7e32a294 {
39
+ 0% {
40
+ transform: translate(-50%, 100%);
168
41
  }
169
-
170
- /*校验失败时的按钮样式*/
171
- .verify-fail .slider-button[data-v-894ffd06] {
172
- transition: left 0.5s linear;
42
+ 100% {
43
+ transform: translate(-50%, -50%);
173
44
  }
174
-
175
- /*校验失败时的按钮图标样式*/
45
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-pc",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host --config vite.global.ts --mode dev",