yc-ui2 0.1.2-beta20 → 0.1.2-beta22
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.
- package/README.md +1 -1
- package/dist/img/1.8e585a4b.jpg +0 -0
- package/dist/img/2.52192bf1.jpg +0 -0
- package/dist/img/3.4627edc5.jpg +0 -0
- package/dist/img/4.00b9b96d.jpg +0 -0
- package/dist/img/5.00adbac5.jpg +0 -0
- package/dist/img/6.fec4cf56.jpg +0 -0
- package/dist/img/7.2d4c9f56.jpg +0 -0
- package/dist/img/8.63e261ca.jpg +0 -0
- package/dist/img/chatTop.aa23e4d0.png +0 -0
- package/dist/yc-ui2.common.js +227 -48
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.css +1 -1
- package/dist/yc-ui2.umd.js +227 -48
- package/dist/yc-ui2.umd.js.map +1 -1
- package/dist/yc-ui2.umd.min.js +1 -1
- package/dist/yc-ui2.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/App.vue +8 -19
- package/src/assets/customerService/admin.jpg +0 -0
- package/src/assets/customerService/chatTop.png +0 -0
- package/src/assets/customerService/ellipticalWenh.png +0 -0
- package/src/assets/customerService/enlarge.png +0 -0
- package/src/assets/customerService/personal.jpg +0 -0
- package/src/assets/customerService/personal1.jpg +0 -0
- package/src/assets/customerService/personal2.jpg +0 -0
- package/src/assets/slideVerify/1.jpg +0 -0
- package/src/assets/slideVerify/2.jpg +0 -0
- package/src/assets/slideVerify/3.jpg +0 -0
- package/src/assets/slideVerify/4.jpg +0 -0
- package/src/assets/slideVerify/5.jpg +0 -0
- package/src/assets/slideVerify/6.jpg +0 -0
- package/src/assets/slideVerify/7.jpg +0 -0
- package/src/assets/slideVerify/8.jpg +0 -0
- /package/src/assets/{images/ca → ca}/ca-bg.png +0 -0
- /package/src/assets/{images/ca → ca}/ca-download.png +0 -0
- /package/src/assets/{images/ca → ca}/caBg.png +0 -0
- /package/src/assets/{images/ca → ca}/login-btn-bg.png +0 -0
- /package/src/assets/{images/ca → ca}/password.jpg +0 -0
- /package/src/assets/{images/ca → ca}/password.png +0 -0
- /package/src/assets/{images/ca → ca}/refresh.png +0 -0
package/package.json
CHANGED
package/src/App.vue
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<div id="yc-ui2">
|
3
|
-
|
3
|
+
<YcSlideVerify />
|
4
4
|
<router-view></router-view>
|
5
5
|
<YcCustomerService
|
6
6
|
title="小优客服【38号为您服务】"
|
@@ -27,7 +27,7 @@
|
|
27
27
|
export default {
|
28
28
|
name: "App",
|
29
29
|
components: {
|
30
|
-
|
30
|
+
YcSlideVerify: () => import("comp/YcSlideVerify"),
|
31
31
|
YcCustomerService: () => import("comp/YcCustomerService"),
|
32
32
|
YcCA: () => import("comp/YcCA"),
|
33
33
|
},
|
@@ -46,23 +46,12 @@ export default {
|
|
46
46
|
},
|
47
47
|
methods: {
|
48
48
|
login(value, back) {
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
// .catch(() => {
|
56
|
-
// this.loading = false
|
57
|
-
// })
|
58
|
-
// this.$store
|
59
|
-
// .dispatch("CALogin", this.loginForm)
|
60
|
-
// .then(() => {
|
61
|
-
// this.$router.push({ path: this.redirect || "/" }).catch(() => {})
|
62
|
-
// })
|
63
|
-
// .catch(() => {
|
64
|
-
// this.loading = false
|
65
|
-
// })
|
49
|
+
this.$store
|
50
|
+
.dispatch("CALogin", value)
|
51
|
+
.then(() => {
|
52
|
+
this.$router.push({ path: this.redirect || "/" }).catch(() => {})
|
53
|
+
})
|
54
|
+
.finally(() => back(value))
|
66
55
|
},
|
67
56
|
},
|
68
57
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|