yc-ui2 0.1.2-beta29 → 0.1.3-beta1
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/.env +5 -2
- package/README.md +11 -14
- package/dist/yc-ui2.common.js +40213 -3130
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.css +1 -1
- package/dist/yc-ui2.umd.js +40217 -3134
- package/dist/yc-ui2.umd.js.map +1 -1
- package/dist/yc-ui2.umd.min.js +24 -1
- package/dist/yc-ui2.umd.min.js.map +1 -1
- package/package.json +4 -3
- package/src/App.vue +13 -4
- package/src/api/customerService.js +56 -0
- package/src/utils/request.js +45 -0
- package/src/views/question.vue +13 -3
- package/vue.config.js +9 -1
package/.env
CHANGED
package/README.md
CHANGED
@@ -37,9 +37,8 @@ proxy: {
|
|
37
37
|
|
38
38
|
```html
|
39
39
|
<yc-slide-verify
|
40
|
-
:isShow="isShow"
|
40
|
+
:isShow.sync="isShow"
|
41
41
|
@success="handleLogin"
|
42
|
-
@close="isShow = false"
|
43
42
|
/>
|
44
43
|
```
|
45
44
|
|
@@ -57,10 +56,9 @@ proxy: {
|
|
57
56
|
|
58
57
|
```html
|
59
58
|
<yc-customer-service
|
60
|
-
|
59
|
+
:id=""
|
60
|
+
:title=""
|
61
61
|
jumpPage="/question"
|
62
|
-
:json="JSON.stringify(require('@/assets/questions.js').default)"
|
63
|
-
:regular="['发票增值税率', '城市维护建设税', '教育费附加征收率']"
|
64
62
|
>
|
65
63
|
<!-- 定制化插槽部分 -->
|
66
64
|
<div>
|
@@ -82,10 +80,9 @@ proxy: {
|
|
82
80
|
|
83
81
|
| Param | Type | Describe |
|
84
82
|
| -------- | -------- | ---------------- |
|
85
|
-
|
|
83
|
+
| id | `Number` | 服务id |
|
84
|
+
| title | `String` | 服务标题 |
|
86
85
|
| jumpPage | `String` | 展开跳转客服页面 |
|
87
|
-
| json | `String` | 问题库 |
|
88
|
-
| regular | `Array` | 常见问题 |
|
89
86
|
-------------
|
90
87
|
|
91
88
|
|
@@ -112,15 +109,15 @@ const whiteList = ['/login', '......', '/question']
|
|
112
109
|
```html
|
113
110
|
<template>
|
114
111
|
<YcQuestion
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
112
|
+
:id=""
|
113
|
+
:title=""
|
114
|
+
:commit=""
|
115
|
+
></YcQuestion>
|
119
116
|
</template>
|
120
117
|
```
|
121
118
|
|
122
119
|
| Param | Type | Describe |
|
123
120
|
| ------ | -------- | -------- |
|
124
|
-
|
|
121
|
+
| id | `Number` | 服务id |
|
122
|
+
| title | `String` | 服务Name |
|
125
123
|
| commit | `String` | 描述 |
|
126
|
-
| json | `String` | 问题库 |
|