yc-ui2 0.2.2-beta2 → 0.2.2-beta4

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.
Files changed (47) hide show
  1. package/package.json +1 -1
  2. package/.env +0 -7
  3. package/babel.config.js +0 -5
  4. package/jsconfig.json +0 -19
  5. package/public/favicon.ico +0 -0
  6. package/public/index.html +0 -20
  7. package/src/App.vue +0 -70
  8. package/src/api/customerService.js +0 -56
  9. package/src/assets/ca/ca-bg.png +0 -0
  10. package/src/assets/ca/caBg.png +0 -0
  11. package/src/assets/customerService/admin.jpg +0 -0
  12. package/src/assets/customerService/chatTop.png +0 -0
  13. package/src/assets/customerService/ellipticalWenh.png +0 -0
  14. package/src/assets/customerService/enlarge.png +0 -0
  15. package/src/assets/customerService/personal.jpg +0 -0
  16. package/src/assets/customerService/personal1.jpg +0 -0
  17. package/src/assets/customerService/personal2.jpg +0 -0
  18. package/src/assets/slideVerify/1.jpg +0 -0
  19. package/src/assets/slideVerify/2.jpg +0 -0
  20. package/src/assets/slideVerify/3.jpg +0 -0
  21. package/src/assets/slideVerify/4.jpg +0 -0
  22. package/src/assets/slideVerify/5.jpg +0 -0
  23. package/src/assets/slideVerify/6.jpg +0 -0
  24. package/src/assets/slideVerify/7.jpg +0 -0
  25. package/src/assets/slideVerify/8.jpg +0 -0
  26. package/src/components/YcCA/index.vue +0 -536
  27. package/src/components/YcCustomerService/chat.vue +0 -337
  28. package/src/components/YcCustomerService/chatMixin.js +0 -128
  29. package/src/components/YcCustomerService/index.vue +0 -272
  30. package/src/components/YcQuestion/index.vue +0 -535
  31. package/src/components/YcSlideVerify/index.vue +0 -104
  32. package/src/main.js +0 -19
  33. package/src/packages/index.js +0 -29
  34. package/src/router/index.js +0 -20
  35. package/src/utils/auth.js +0 -6
  36. package/src/utils/mTokenPlugin/base64.js +0 -148
  37. package/src/utils/mTokenPlugin/base64_backups.js +0 -146
  38. package/src/utils/mTokenPlugin/hunca_mToken_core.js +0 -1447
  39. package/src/utils/mTokenPlugin/hunca_mToken_core2.js +0 -1455
  40. package/src/utils/mTokenPlugin/hunca_mToken_core_backups.js +0 -1425
  41. package/src/utils/mTokenPlugin/mToken.js +0 -3211
  42. package/src/utils/mTokenPlugin/mToken_backups.js +0 -3202
  43. package/src/utils/mTokenPluginBeijin/formateTime.js +0 -10
  44. package/src/utils/mTokenPluginBeijin/xtxasyn.js +0 -1156
  45. package/src/utils/request.js +0 -50
  46. package/src/views/question.vue +0 -32
  47. package/vue.config.js +0 -41
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-ui2",
3
- "version": "0.2.2-beta2",
3
+ "version": "0.2.2-beta4",
4
4
  "private": false,
5
5
  "description": "湖南优创UI组件库",
6
6
  "main": "dist/yc-ui2.umd.min.js",
package/.env DELETED
@@ -1,7 +0,0 @@
1
- VUE_APP_TOKEN_NAME = yc-ui2_tokenName
2
-
3
- VUE_APP_CUSTOMER_API = 58.20.153.230:7080
4
- VUE_APP_CUSTOMER_PATH = /customer-api
5
-
6
- VUE_APP_IMG_API = 113.219.171.47:6610
7
- VUE_APP_IMG_PATH = /cloud-img
package/babel.config.js DELETED
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- presets: [
3
- '@vue/cli-plugin-babel/preset'
4
- ]
5
- }
package/jsconfig.json DELETED
@@ -1,19 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es5",
4
- "module": "esnext",
5
- "baseUrl": "./",
6
- "moduleResolution": "node",
7
- "paths": {
8
- "@/*": [
9
- "src/*"
10
- ]
11
- },
12
- "lib": [
13
- "esnext",
14
- "dom",
15
- "dom.iterable",
16
- "scripthost"
17
- ]
18
- }
19
- }
Binary file
package/public/index.html DELETED
@@ -1,20 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
7
- <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
8
- <title><%= htmlWebpackPlugin.options.title %></title>
9
- </head>
10
- <body>
11
- <noscript>
12
- <strong
13
- >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
14
- properly without JavaScript enabled. Please enable it to
15
- continue.</strong
16
- >
17
- </noscript>
18
- <div id="yc-ui2"></div>
19
- </body>
20
- </html>
package/src/App.vue DELETED
@@ -1,70 +0,0 @@
1
- <template>
2
- <div id="yc-ui2">
3
- <yc-slide-verify :isShow.sync="isShow" />
4
- <router-view></router-view>
5
- <YcCustomerService
6
- :id="question.id"
7
- :title="question.serviceName"
8
- tokenName="tokenName"
9
- jumpPage="/question"
10
- >
11
- <div><i class="el-icon-mobile"></i></div>
12
- <div>
13
- <span>客服热线</span>
14
- <a href="tel:***">***</a>
15
- <template v-if="!['/login', '/register'].includes($route.path)">
16
- <span style="margin-top: 10px">***服务电话</span>
17
- <a href="tel:***">***(***)</a>
18
- <a href="tel:***">***(***)</a>
19
- </template>
20
- </div>
21
- </YcCustomerService>
22
- <YcCA :region="region" @caSuccess="login" />
23
- </div>
24
- </template>
25
-
26
- <script>
27
- // import { findServiceFeeAi } from "api/customerService"
28
- export default {
29
- name: "App",
30
- components: {
31
- YcSlideVerify: () => import("comp/YcSlideVerify"),
32
- YcCustomerService: () => import("comp/YcCustomerService"),
33
- YcCA: () => import("comp/YcCA"),
34
- },
35
- data() {
36
- return {
37
- region: void 0,
38
- isShow: false,
39
- question: {
40
- id: 0,
41
- serviceName: "",
42
- },
43
- };
44
- },
45
- created() {
46
- setTimeout(() => {
47
- this.region = 1;
48
- }, 1000);
49
-
50
- // findServiceFeeAi().then(({ data }) => {
51
- // this.question = data
52
- // })
53
- },
54
- methods: {
55
- login(value, back) {
56
- console.log(value, back);
57
- // CA 登录成功回调
58
- back(value);
59
- },
60
- },
61
- };
62
- </script>
63
-
64
- <style>
65
- html,
66
- body {
67
- padding: 0px;
68
- margin: 0px;
69
- }
70
- </style>
@@ -1,56 +0,0 @@
1
-
2
- import request from '@/utils/request'
3
-
4
- /**
5
- * 获取问题类型及问题(父子级)
6
- * @param {number} aiServiceId
7
- * @returns {[]}
8
- */
9
- export function getProblemTypeAndProblem(aiServiceId) {
10
- return request({
11
- url: '/aiService/discourse/getProblemTypeAndProblem/'+aiServiceId,
12
- method: 'GET',
13
- // params: query
14
- })
15
- }
16
-
17
- /**
18
- * 提问并获取回答
19
- * @param {{
20
- * problem: string,
21
- * aiServiceId: number
22
- * }} query
23
- * @returns {{}}
24
- */
25
- export function findDataByProblem(data) {
26
- return request({
27
- url: '/aiService/discourse/findDataByProblem',
28
- method: 'POST',
29
- data
30
- })
31
- }
32
-
33
- /**
34
- * 根据客服ID 查询提问次数最多的问题
35
- * @param {{
36
- * aiServiceId: number
37
- * }} query
38
- * @returns
39
- */
40
- export function findMaxNumData(aiServiceId) {
41
- return request({
42
- url: '/aiService/discourse/findMaxNumData/'+aiServiceId,
43
- method: 'GET',
44
- })
45
- }
46
-
47
- /**
48
- * 获取交易服务费客服信息
49
- * @returns
50
- */
51
- export function findServiceFeeAi() {
52
- return request({
53
- url: '/aiService/service/findServiceFeeAi',
54
- method: 'GET',
55
- })
56
- }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file