yc-ui2 0.1.2-beta29 → 0.1.3-beta10

Sign up to get free protection for your applications and to get access to all the features.
package/.env CHANGED
@@ -1,2 +1,5 @@
1
- VUE_APP_BASE_API = http://113.219.171.47:6610
2
- VUE_APP_PATH = /cloud-img
1
+ VUE_APP_CUSTOMER_API = 58.20.153.230:7080
2
+ VUE_APP_CUSTOMER_PATH = /customer-api
3
+
4
+ VUE_APP_IMG_API = 113.219.171.47:6610
5
+ VUE_APP_IMG_PATH = /cloud-img
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
- title="小优客服【38号为您服务】"
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
- | title | `String` | 标题 |
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
- title="小优客服"
116
- commit="小优为您提供24小时服务"
117
- :json="JSON.stringify(require('@/assets/questions.js').default)"
118
- ></YcQuestion>
112
+ :id=""
113
+ :title=""
114
+ :commit=""
115
+ ></YcQuestion>
119
116
  </template>
120
117
  ```
121
118
 
122
119
  | Param | Type | Describe |
123
120
  | ------ | -------- | -------- |
124
- | title | `String` | 标题 |
121
+ | id | `Number` | 服务id |
122
+ | title | `String` | 服务Name |
125
123
  | commit | `String` | 描述 |
126
- | json | `String` | 问题库 |