yc-ui2 0.1.1-beta02 → 0.1.1-beta04
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/yc-ui2.common.js +19 -19
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.css +1 -1
- package/dist/yc-ui2.umd.js +19 -19
- 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 +7 -9
- package/src/router/index.js +7 -8
package/package.json
CHANGED
package/src/App.vue
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
<template>
|
2
2
|
<div id="app">
|
3
3
|
<!-- <YcSlideVerify /> -->
|
4
|
-
<YcCustomerService />
|
4
|
+
<!-- <YcCustomerService /> -->
|
5
|
+
<!-- <router-view></router-view> -->
|
5
6
|
</div>
|
6
7
|
</template>
|
7
8
|
|
@@ -10,18 +11,15 @@ export default {
|
|
10
11
|
name: "App",
|
11
12
|
components: {
|
12
13
|
// YcSlideVerify: () => import("comp/YcSlideVerify/index.vue"),
|
13
|
-
YcCustomerService: () => import("comp/YcCustomerService/index.vue"),
|
14
|
+
// YcCustomerService: () => import("comp/YcCustomerService/index.vue"),
|
14
15
|
},
|
15
16
|
}
|
16
17
|
</script>
|
17
18
|
|
18
19
|
<style>
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
text-align: center;
|
24
|
-
color: #2c3e50;
|
25
|
-
margin-top: 60px;
|
20
|
+
html,
|
21
|
+
body {
|
22
|
+
padding: 0px;
|
23
|
+
margin: 0px;
|
26
24
|
}
|
27
25
|
</style>
|
package/src/router/index.js
CHANGED
@@ -4,18 +4,17 @@ import VueRouter from "vue-router"
|
|
4
4
|
Vue.use(VueRouter)
|
5
5
|
|
6
6
|
const routes = [
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
// path: '/router2',
|
13
|
-
// component: Router2
|
14
|
-
// }
|
7
|
+
{
|
8
|
+
path: "/question",
|
9
|
+
component: (resolve) => require(['@/components/YcCustomerService/question'], resolve),
|
10
|
+
hidden: true,
|
11
|
+
},
|
15
12
|
]
|
16
13
|
|
17
14
|
const router = new VueRouter({
|
18
15
|
routes,
|
16
|
+
mode: "history", // 去掉url中的#
|
17
|
+
scrollBehavior: () => ({ y: 0 })
|
19
18
|
})
|
20
19
|
|
21
20
|
export default router
|