askbot-dragon 1.4.96 → 1.4.97
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 +27 -27
- package/babel.config.js +6 -6
- package/dragon.iml +7 -7
- package/package.json +58 -58
- package/public/index.html +74 -74
- package/src/App.vue +31 -31
- package/src/api/index.js +1 -1
- package/src/api/mock.http +2 -2
- package/src/api/requestUrl.js +185 -185
- package/src/assets/js/AliyunlssUtil.js +92 -92
- package/src/assets/js/Base64Util.js +22 -22
- package/src/assets/js/common.js +11 -11
- package/src/assets/js/hammer.js +89 -89
- package/src/assets/js/script.js +36 -36
- package/src/assets/less/common.css +6773 -6773
- package/src/assets/less/converSationContainer/common.less +192 -192
- package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
- package/src/assets/less/iconfont.css +37 -37
- package/src/assets/less/ticketMessage.less +211 -211
- package/src/components/ActionAlertIframe.vue +112 -112
- package/src/components/AiGuide.vue +467 -467
- package/src/components/AnswerDocknowledge.vue +490 -490
- package/src/components/AnswerVoice.vue +285 -285
- package/src/components/AskIFrame.vue +15 -15
- package/src/components/ConversationContainer.vue +4660 -4660
- package/src/components/FileType.vue +86 -86
- package/src/components/Message.vue +27 -27
- package/src/components/actionSatisfaction.vue +107 -107
- package/src/components/actionSendToBot.vue +62 -62
- package/src/components/answerDissatisfaction.vue +62 -62
- package/src/components/answerRadio.vue +131 -131
- package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
- package/src/components/ask-components/Msgloading.vue +37 -37
- package/src/components/ask-components/SatisfactionV2.vue +15 -15
- package/src/components/askVideo.vue +138 -138
- package/src/components/assetDetails.vue +370 -370
- package/src/components/assetMessage.vue +228 -228
- package/src/components/associationIntention.vue +349 -349
- package/src/components/attachmentPreview.vue +90 -90
- package/src/components/botActionSatisfactor.vue +68 -68
- package/src/components/chatContent.vue +513 -513
- package/src/components/feedBack.vue +136 -136
- package/src/components/fielListView.vue +351 -351
- package/src/components/file/AliyunOssComponents.vue +108 -108
- package/src/components/formTemplate.vue +3558 -3558
- package/src/components/loadingProcess.vue +164 -164
- package/src/components/message/ActionAlertIframe.vue +112 -112
- package/src/components/message/ShopMessage.vue +164 -164
- package/src/components/message/TextMessage.vue +924 -924
- package/src/components/message/TicketMessage.vue +177 -177
- package/src/components/message/swiper/index.js +4 -4
- package/src/components/message/swiper/ticketSwiper.vue +503 -503
- package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
- package/src/components/msgLoading.vue +231 -231
- package/src/components/myPopup.vue +70 -70
- package/src/components/pdfPosition.vue +1113 -1110
- package/src/components/popup.vue +227 -227
- package/src/components/previewDoc.vue +228 -228
- package/src/components/previewPdf.vue +290 -290
- package/src/components/receiverMessagePlatform.vue +65 -65
- package/src/components/recommend.vue +89 -89
- package/src/components/selector/hOption.vue +20 -20
- package/src/components/selector/hSelector.vue +199 -199
- package/src/components/selector/hWrapper.vue +216 -216
- package/src/components/senderMessagePlatform.vue +50 -50
- package/src/components/source/BotMessage.vue +24 -24
- package/src/components/source/CustomMessage.vue +24 -24
- package/src/components/test.vue +260 -260
- package/src/components/tree.vue +294 -294
- package/src/components/utils/AliyunIssUtil.js +81 -81
- package/src/components/utils/ckeditor.js +174 -174
- package/src/components/utils/ckeditorImageUpload/command.js +109 -109
- package/src/components/utils/ckeditorImageUpload/editing.js +11 -11
- package/src/components/utils/ckeditorImageUpload/plugin-image.js +11 -11
- package/src/components/utils/ckeditorImageUpload/toolbar-ui.js +40 -40
- package/src/components/utils/ckeditorfileUpload/common.js +180 -180
- package/src/components/utils/ckeditorfileUpload/editing.js +11 -11
- package/src/components/utils/ckeditorfileUpload/plugin_file.js +11 -11
- package/src/components/utils/ckeditorfileUpload/toolbar_ui.js +34 -34
- package/src/components/utils/format_date.js +25 -25
- package/src/components/utils/index.js +6 -6
- package/src/components/utils/math_utils.js +29 -29
- package/src/components/voiceComponent.vue +119 -119
- package/src/main.js +60 -60
- package/vue.config.js +55 -55
package/README.md
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
# dragon
|
|
2
|
-
|
|
3
|
-
## Project setup
|
|
4
|
-
```
|
|
5
|
-
npm install
|
|
6
|
-
```
|
|
7
|
-
|
|
8
|
-
### Compiles and hot-reloads for development
|
|
9
|
-
```
|
|
10
|
-
npm run serve
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
### Compiles and minifies for production
|
|
14
|
-
```
|
|
15
|
-
npm run build
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
### Lints and fixes files
|
|
19
|
-
```
|
|
20
|
-
npm run lint
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
### Customize configuration
|
|
24
|
-
See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
### 消息记录格式定义
|
|
1
|
+
# dragon
|
|
2
|
+
|
|
3
|
+
## Project setup
|
|
4
|
+
```
|
|
5
|
+
npm install
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
### Compiles and hot-reloads for development
|
|
9
|
+
```
|
|
10
|
+
npm run serve
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
### Compiles and minifies for production
|
|
14
|
+
```
|
|
15
|
+
npm run build
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### Lints and fixes files
|
|
19
|
+
```
|
|
20
|
+
npm run lint
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Customize configuration
|
|
24
|
+
See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### 消息记录格式定义
|
package/babel.config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
presets: [
|
|
3
|
-
'@vue/cli-plugin-babel/preset',
|
|
4
|
-
],
|
|
5
|
-
// "presets": [["@babel/preset-env", { "modules": false }]]
|
|
6
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
presets: [
|
|
3
|
+
'@vue/cli-plugin-babel/preset',
|
|
4
|
+
],
|
|
5
|
+
// "presets": [["@babel/preset-env", { "modules": false }]]
|
|
6
|
+
}
|
package/dragon.iml
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="WEB_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$" />
|
|
6
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
-
</component>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
+
</component>
|
|
8
8
|
</module>
|
package/package.json
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "askbot-dragon",
|
|
3
|
-
"version": "1.4.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"serve": "vue-cli-service serve",
|
|
6
|
-
"build": "vue-cli-service build",
|
|
7
|
-
"lint": "vue-cli-service lint"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"@ckeditor/ckeditor5-ui": "^10.1.0",
|
|
11
|
-
"@ckeditor/ckeditor5-vue2": "^3.0.1",
|
|
12
|
-
"ali-oss": "^6.2.1",
|
|
13
|
-
"audio-loader": "^1.0.3",
|
|
14
|
-
"ckeditor": "^4.12.1",
|
|
15
|
-
"core-js": "^3.6.5",
|
|
16
|
-
"install": "^0.13.0",
|
|
17
|
-
"jquery": "^3.5.1",
|
|
18
|
-
"lodash": "^4.17.21",
|
|
19
|
-
"uuid": "^8.3.2",
|
|
20
|
-
"v-viewer": "^1.6.4",
|
|
21
|
-
"vant": "^2.12.51",
|
|
22
|
-
"vconsole": "^3.9.1",
|
|
23
|
-
"vue": "^2.6.11",
|
|
24
|
-
"vue-resource": "^1.5.1",
|
|
25
|
-
"vue-video-player": "^5.0.2",
|
|
26
|
-
"weixin-js-sdk": "^1.6.0"
|
|
27
|
-
},
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"@vue/cli-plugin-babel": "~4.5.0",
|
|
30
|
-
"@vue/cli-plugin-eslint": "~4.5.0",
|
|
31
|
-
"@vue/cli-service": "~4.5.0",
|
|
32
|
-
"babel-eslint": "^10.1.0",
|
|
33
|
-
"element-ui": "^2.15.10",
|
|
34
|
-
"eslint": "^6.7.2",
|
|
35
|
-
"eslint-plugin-vue": "^6.2.2",
|
|
36
|
-
"less": "^3.12.2",
|
|
37
|
-
"less-loader": "^7.0.2",
|
|
38
|
-
"vue-template-compiler": "^2.6.11"
|
|
39
|
-
},
|
|
40
|
-
"eslintConfig": {
|
|
41
|
-
"root": true,
|
|
42
|
-
"env": {
|
|
43
|
-
"node": true
|
|
44
|
-
},
|
|
45
|
-
"extends": [
|
|
46
|
-
"plugin:vue/essential",
|
|
47
|
-
"eslint:recommended"
|
|
48
|
-
],
|
|
49
|
-
"parserOptions": {
|
|
50
|
-
"parser": "babel-eslint"
|
|
51
|
-
},
|
|
52
|
-
"rules": {}
|
|
53
|
-
},
|
|
54
|
-
"browserslist": [
|
|
55
|
-
"> 1%",
|
|
56
|
-
"last 2 versions"
|
|
57
|
-
]
|
|
58
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "askbot-dragon",
|
|
3
|
+
"version": "1.4.97",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"serve": "vue-cli-service serve",
|
|
6
|
+
"build": "vue-cli-service build",
|
|
7
|
+
"lint": "vue-cli-service lint"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@ckeditor/ckeditor5-ui": "^10.1.0",
|
|
11
|
+
"@ckeditor/ckeditor5-vue2": "^3.0.1",
|
|
12
|
+
"ali-oss": "^6.2.1",
|
|
13
|
+
"audio-loader": "^1.0.3",
|
|
14
|
+
"ckeditor": "^4.12.1",
|
|
15
|
+
"core-js": "^3.6.5",
|
|
16
|
+
"install": "^0.13.0",
|
|
17
|
+
"jquery": "^3.5.1",
|
|
18
|
+
"lodash": "^4.17.21",
|
|
19
|
+
"uuid": "^8.3.2",
|
|
20
|
+
"v-viewer": "^1.6.4",
|
|
21
|
+
"vant": "^2.12.51",
|
|
22
|
+
"vconsole": "^3.9.1",
|
|
23
|
+
"vue": "^2.6.11",
|
|
24
|
+
"vue-resource": "^1.5.1",
|
|
25
|
+
"vue-video-player": "^5.0.2",
|
|
26
|
+
"weixin-js-sdk": "^1.6.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@vue/cli-plugin-babel": "~4.5.0",
|
|
30
|
+
"@vue/cli-plugin-eslint": "~4.5.0",
|
|
31
|
+
"@vue/cli-service": "~4.5.0",
|
|
32
|
+
"babel-eslint": "^10.1.0",
|
|
33
|
+
"element-ui": "^2.15.10",
|
|
34
|
+
"eslint": "^6.7.2",
|
|
35
|
+
"eslint-plugin-vue": "^6.2.2",
|
|
36
|
+
"less": "^3.12.2",
|
|
37
|
+
"less-loader": "^7.0.2",
|
|
38
|
+
"vue-template-compiler": "^2.6.11"
|
|
39
|
+
},
|
|
40
|
+
"eslintConfig": {
|
|
41
|
+
"root": true,
|
|
42
|
+
"env": {
|
|
43
|
+
"node": true
|
|
44
|
+
},
|
|
45
|
+
"extends": [
|
|
46
|
+
"plugin:vue/essential",
|
|
47
|
+
"eslint:recommended"
|
|
48
|
+
],
|
|
49
|
+
"parserOptions": {
|
|
50
|
+
"parser": "babel-eslint"
|
|
51
|
+
},
|
|
52
|
+
"rules": {}
|
|
53
|
+
},
|
|
54
|
+
"browserslist": [
|
|
55
|
+
"> 1%",
|
|
56
|
+
"last 2 versions"
|
|
57
|
+
]
|
|
58
|
+
}
|
package/public/index.html
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
-
<html lang="en">
|
|
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
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
|
|
8
|
-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
9
|
-
<title><%= htmlWebpackPlugin.options.title %></title>
|
|
10
|
-
<script>
|
|
11
|
-
if (!Object.fromEntries) {
|
|
12
|
-
Object.defineProperty(Object, 'fromEntries', {
|
|
13
|
-
value(entries) {
|
|
14
|
-
if (!entries || !entries[Symbol.iterator]) { throw new Error('Object.fromEntries() requires a single iterable argument'); }
|
|
15
|
-
const o = {};
|
|
16
|
-
Object.keys(entries).forEach((key) => {
|
|
17
|
-
const [k, v] = entries[key];
|
|
18
|
-
|
|
19
|
-
o[k] = v;
|
|
20
|
-
});
|
|
21
|
-
return o;
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
</script>
|
|
26
|
-
<script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/ckeditor5-build-classic/0.4.4/ckeditor.js"></script>
|
|
27
|
-
<!-- 项目图标 -->
|
|
28
|
-
<link rel="stylesheet" href="//at.alicdn.com/t/font_1566110_3hu6pyd938i.css"/>
|
|
29
|
-
<!-- guoran图标 -->
|
|
30
|
-
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_2913049_qtm7orae3l.css"/>
|
|
31
|
-
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
|
|
32
|
-
<!-- <script src="https://static.guoranbot.com/ckeditor5-build-classic/0.3.7/build/ckeditor.js"></script> -->
|
|
33
|
-
|
|
34
|
-
<!-- vue -->
|
|
35
|
-
<!-- <script src="https://static.guoranbot.com/vue/2.6.11/dist/vue.min.js"></script>
|
|
36
|
-
<script src="https://static.guoranbot.com/vue-router/3.3.2/dist/vue-router.min.js"></script> -->
|
|
37
|
-
|
|
38
|
-
<!-- element -->
|
|
39
|
-
<!-- <script src="https://static.guoranbot.com/element-ui/2.13.2/lib/index.js"></script>
|
|
40
|
-
<link rel="stylesheet" href="https://static.guoranbot.com/element-ui/2.13.2/lib/theme-chalk/index.css"> -->
|
|
41
|
-
|
|
42
|
-
<!-- vant -->
|
|
43
|
-
<!-- <script src="https://static.guoranbot.com/vant/2.12/lib/vant.min.js"></script>
|
|
44
|
-
<link rel="stylesheet" href="https://static.guoranbot.com/vant/2.12/lib/index.css" /> -->
|
|
45
|
-
|
|
46
|
-
<!-- pdf.js -->
|
|
47
|
-
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf.min.js" integrity="sha512-BagCUdQjQ2Ncd42n5GGuXQn1qwkHL2jCSkxN5+ot9076d5wAI8bcciSooQaI3OG3YLj6L97dKAFaRvhSXVO0/Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
48
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf.worker.min.js" integrity="sha512-6UHd2tcWIvg5hIYHXb3lnNO61tWfriGen6KddwGYTSUUazWGYESTHDDxJFEQkCy1cSL//yXKc1gcL+51/DTLFQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
49
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf_viewer.min.js" integrity="sha512-tYEGuMBQkCfSlBKJ3dNgS06wbb/MNE6nO2poZ1Y5brix8NajGcDcfEvuL38wJDOTkq0j5ojASNmrzv/8/wgGHQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
50
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf_viewer.min.css" integrity="sha512-Jf9DLkegLgARLR151csVkPvcVt4cOUhslrSZwiTAe9mqFL/BbYRDmxCOioCtbHifEgjsBFbrVhOMQ3mYPDLrqQ==" crossorigin="anonymous" referrerpolicy="no-referrer" /> -->
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf.min.js" referrerpolicy="no-referrer"></script>
|
|
54
|
-
<script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf.worker.min.js" referrerpolicy="no-referrer"></script>
|
|
55
|
-
<script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf_viewer.js" referrerpolicy="no-referrer"></script>
|
|
56
|
-
<link rel="stylesheet" href="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf_viewer_01.css" referrerpolicy="no-referrer" />
|
|
57
|
-
<!-- hammer.js -->
|
|
58
|
-
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.8/hammer.min.js" integrity="sha512-UXumZrZNiOwnTcZSHLOfcTs0aos2MzBWHXOHOuB0J/R44QB0dwY5JgfbvljXcklVf65Gc4El6RjZ+lnwd2az2g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> -->
|
|
59
|
-
<style>
|
|
60
|
-
*{
|
|
61
|
-
margin: 0;
|
|
62
|
-
padding: 0;
|
|
63
|
-
}
|
|
64
|
-
</style>
|
|
65
|
-
</head>
|
|
66
|
-
<body>
|
|
67
|
-
<noscript>
|
|
68
|
-
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
69
|
-
</noscript>
|
|
70
|
-
<div id="app"></div>
|
|
71
|
-
<!-- built files will be auto injected -->
|
|
72
|
-
</body>
|
|
73
|
-
|
|
74
|
-
</html>
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html lang="en">
|
|
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
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
|
|
8
|
+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
|
9
|
+
<title><%= htmlWebpackPlugin.options.title %></title>
|
|
10
|
+
<script>
|
|
11
|
+
if (!Object.fromEntries) {
|
|
12
|
+
Object.defineProperty(Object, 'fromEntries', {
|
|
13
|
+
value(entries) {
|
|
14
|
+
if (!entries || !entries[Symbol.iterator]) { throw new Error('Object.fromEntries() requires a single iterable argument'); }
|
|
15
|
+
const o = {};
|
|
16
|
+
Object.keys(entries).forEach((key) => {
|
|
17
|
+
const [k, v] = entries[key];
|
|
18
|
+
|
|
19
|
+
o[k] = v;
|
|
20
|
+
});
|
|
21
|
+
return o;
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
</script>
|
|
26
|
+
<script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/ckeditor5-build-classic/0.4.4/ckeditor.js"></script>
|
|
27
|
+
<!-- 项目图标 -->
|
|
28
|
+
<link rel="stylesheet" href="//at.alicdn.com/t/font_1566110_3hu6pyd938i.css"/>
|
|
29
|
+
<!-- guoran图标 -->
|
|
30
|
+
<link rel="stylesheet" href="//at.alicdn.com/t/c/font_2913049_qtm7orae3l.css"/>
|
|
31
|
+
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
|
|
32
|
+
<!-- <script src="https://static.guoranbot.com/ckeditor5-build-classic/0.3.7/build/ckeditor.js"></script> -->
|
|
33
|
+
|
|
34
|
+
<!-- vue -->
|
|
35
|
+
<!-- <script src="https://static.guoranbot.com/vue/2.6.11/dist/vue.min.js"></script>
|
|
36
|
+
<script src="https://static.guoranbot.com/vue-router/3.3.2/dist/vue-router.min.js"></script> -->
|
|
37
|
+
|
|
38
|
+
<!-- element -->
|
|
39
|
+
<!-- <script src="https://static.guoranbot.com/element-ui/2.13.2/lib/index.js"></script>
|
|
40
|
+
<link rel="stylesheet" href="https://static.guoranbot.com/element-ui/2.13.2/lib/theme-chalk/index.css"> -->
|
|
41
|
+
|
|
42
|
+
<!-- vant -->
|
|
43
|
+
<!-- <script src="https://static.guoranbot.com/vant/2.12/lib/vant.min.js"></script>
|
|
44
|
+
<link rel="stylesheet" href="https://static.guoranbot.com/vant/2.12/lib/index.css" /> -->
|
|
45
|
+
|
|
46
|
+
<!-- pdf.js -->
|
|
47
|
+
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf.min.js" integrity="sha512-BagCUdQjQ2Ncd42n5GGuXQn1qwkHL2jCSkxN5+ot9076d5wAI8bcciSooQaI3OG3YLj6L97dKAFaRvhSXVO0/Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
48
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf.worker.min.js" integrity="sha512-6UHd2tcWIvg5hIYHXb3lnNO61tWfriGen6KddwGYTSUUazWGYESTHDDxJFEQkCy1cSL//yXKc1gcL+51/DTLFQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
49
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf_viewer.min.js" integrity="sha512-tYEGuMBQkCfSlBKJ3dNgS06wbb/MNE6nO2poZ1Y5brix8NajGcDcfEvuL38wJDOTkq0j5ojASNmrzv/8/wgGHQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
|
50
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf_viewer.min.css" integrity="sha512-Jf9DLkegLgARLR151csVkPvcVt4cOUhslrSZwiTAe9mqFL/BbYRDmxCOioCtbHifEgjsBFbrVhOMQ3mYPDLrqQ==" crossorigin="anonymous" referrerpolicy="no-referrer" /> -->
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
<script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf.min.js" referrerpolicy="no-referrer"></script>
|
|
54
|
+
<script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf.worker.min.js" referrerpolicy="no-referrer"></script>
|
|
55
|
+
<script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf_viewer.js" referrerpolicy="no-referrer"></script>
|
|
56
|
+
<link rel="stylesheet" href="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf_viewer_01.css" referrerpolicy="no-referrer" />
|
|
57
|
+
<!-- hammer.js -->
|
|
58
|
+
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.8/hammer.min.js" integrity="sha512-UXumZrZNiOwnTcZSHLOfcTs0aos2MzBWHXOHOuB0J/R44QB0dwY5JgfbvljXcklVf65Gc4El6RjZ+lnwd2az2g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> -->
|
|
59
|
+
<style>
|
|
60
|
+
*{
|
|
61
|
+
margin: 0;
|
|
62
|
+
padding: 0;
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
65
|
+
</head>
|
|
66
|
+
<body>
|
|
67
|
+
<noscript>
|
|
68
|
+
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
|
69
|
+
</noscript>
|
|
70
|
+
<div id="app"></div>
|
|
71
|
+
<!-- built files will be auto injected -->
|
|
72
|
+
</body>
|
|
73
|
+
|
|
74
|
+
</html>
|
package/src/App.vue
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="app">
|
|
3
|
-
<ConversationContainer msg="Welcome to Your Vue.js App"/>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
import ConversationContainer from './components/ConversationContainer.vue'
|
|
9
|
-
export default {
|
|
10
|
-
name: 'App',
|
|
11
|
-
components: {
|
|
12
|
-
ConversationContainer
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
<style lang="less">
|
|
18
|
-
@import "assets/less/converSationContainer/common.less";
|
|
19
|
-
/*#app {
|
|
20
|
-
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
21
|
-
-webkit-font-smoothing: antialiased;
|
|
22
|
-
-moz-osx-font-smoothing: grayscale;
|
|
23
|
-
text-align: center;
|
|
24
|
-
color: #2c3e50;
|
|
25
|
-
margin-top: 60px;
|
|
26
|
-
}*/
|
|
27
|
-
*{
|
|
28
|
-
margin: 0;
|
|
29
|
-
padding: 0;
|
|
30
|
-
}
|
|
31
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="app">
|
|
3
|
+
<ConversationContainer msg="Welcome to Your Vue.js App"/>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import ConversationContainer from './components/ConversationContainer.vue'
|
|
9
|
+
export default {
|
|
10
|
+
name: 'App',
|
|
11
|
+
components: {
|
|
12
|
+
ConversationContainer
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<style lang="less">
|
|
18
|
+
@import "assets/less/converSationContainer/common.less";
|
|
19
|
+
/*#app {
|
|
20
|
+
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
21
|
+
-webkit-font-smoothing: antialiased;
|
|
22
|
+
-moz-osx-font-smoothing: grayscale;
|
|
23
|
+
text-align: center;
|
|
24
|
+
color: #2c3e50;
|
|
25
|
+
margin-top: 60px;
|
|
26
|
+
}*/
|
|
27
|
+
*{
|
|
28
|
+
margin: 0;
|
|
29
|
+
padding: 0;
|
|
30
|
+
}
|
|
31
|
+
</style>
|
package/src/api/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { requestUrl } from './requestUrl.js';
|
|
1
|
+
import { requestUrl } from './requestUrl.js';
|
|
2
2
|
export { requestUrl }
|
package/src/api/mock.http
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
GET http://192.168.60.45:8080/v1/mock/auth/verify
|
|
2
|
-
Accept: */*
|
|
1
|
+
GET http://192.168.60.45:8080/v1/mock/auth/verify
|
|
2
|
+
Accept: */*
|
|
3
3
|
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJzZXNzaW9uOnd4IiwianRpIjoiX19tb2NrIiwiaWF0IjoxNTc2NDg5NzUyfQ.iuBg8URK9zQmNhAlYDeT0I4d_EWZMz8106fIIThLH1s
|