-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,021 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.DS_Store | ||
node_modules | ||
package-lock.json | ||
/dist | ||
|
||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset' | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "esnext", | ||
"baseUrl": "./", | ||
"moduleResolution": "node", | ||
"paths": { | ||
"@/*": [ | ||
"src/*" | ||
] | ||
}, | ||
"lib": [ | ||
"esnext", | ||
"dom", | ||
"dom.iterable", | ||
"scripthost" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"name": "collie-ui", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint" | ||
}, | ||
"dependencies": { | ||
"axios": "^1.3.6", | ||
"core-js": "^3.8.3", | ||
"element-ui": "^2.15.13", | ||
"markdown-it": "^13.0.1", | ||
"marked": "^4.3.0", | ||
"uuid": "^9.0.0", | ||
"vue": "^2.6.14", | ||
"vue-carousel": "^0.18.0", | ||
"vue-dragscroll": "^4.0.5" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.12.16", | ||
"@babel/eslint-parser": "^7.12.16", | ||
"@types/markdown-it": "^12.2.3", | ||
"@vue/cli-plugin-babel": "~5.0.0", | ||
"@vue/cli-plugin-eslint": "~5.0.0", | ||
"@vue/cli-service": "~5.0.0", | ||
"eslint": "^7.32.0", | ||
"eslint-plugin-vue": "^8.0.3", | ||
"vue-template-compiler": "^2.6.14" | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"plugin:vue/essential", | ||
"eslint:recommended" | ||
], | ||
"parserOptions": { | ||
"parser": "@babel/eslint-parser" | ||
}, | ||
"rules": {} | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not dead" | ||
] | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang=""> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> | ||
<title><%= htmlWebpackPlugin.options.title %></title> | ||
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> | ||
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<template> | ||
<div id="app"> | ||
<ModelShow/> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import ModelShow from './components/ModelShow.vue'; | ||
export default { | ||
name: 'App', | ||
head: { | ||
title: { | ||
inner: 'Collie' | ||
} | ||
}, | ||
components: { | ||
ModelShow | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
#app { | ||
font-family: Avenir, Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
text-align: center; | ||
color: #2c3e50; | ||
height: 100%; | ||
width: 100%; | ||
overflow: hidden; | ||
position: fixed; | ||
left: 0; | ||
top: 0; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[ | ||
{ | ||
"name": "MOSS", | ||
"dialogue": [ | ||
{"MOSS":"你好,我是MOSS"}, | ||
{"HUMAN":"你好,我是HUMAN"}, | ||
{"MOSS":"很高兴认识你"}, | ||
{"HUMAN":"我也是。"} | ||
] | ||
}, | ||
{ | ||
"name": "Alpaca", | ||
"dialogue": [ | ||
{"Alpaca":"你好,我是Alpaca"}, | ||
{"HUMAN":"你好,我是HUMAN"}, | ||
{"Alpaca":"很高兴认识你"}, | ||
{"HUMAN":"我也是。"} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@font-face { | ||
font-family: "iconfont"; /* Project id 4035487 */ | ||
src: url('iconfont.woff2?t=1682826765060') format('woff2'), | ||
url('iconfont.woff?t=1682826765060') format('woff'), | ||
url('iconfont.ttf?t=1682826765060') format('truetype'); | ||
} | ||
|
||
.iconfont { | ||
font-family: "iconfont" !important; | ||
font-size: 50px; | ||
color: black; | ||
font-style: normal; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} | ||
|
||
.icon-chuangjian:before { | ||
content: "\e614"; | ||
} | ||
|
||
.icon-cangpeitubiao_xiazaipandiandanxiazaidayinmoban:before { | ||
content: "\e623"; | ||
} | ||
|
||
.icon-fasong:before { | ||
content: "\e604"; | ||
} | ||
|
||
.icon-qingkong:before { | ||
content: "\e946"; | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"id": "4035487", | ||
"name": "collie", | ||
"font_family": "iconfont", | ||
"css_prefix_text": "icon-", | ||
"description": "", | ||
"glyphs": [ | ||
{ | ||
"icon_id": "12732490", | ||
"name": "创建", | ||
"font_class": "chuangjian", | ||
"unicode": "e614", | ||
"unicode_decimal": 58900 | ||
}, | ||
{ | ||
"icon_id": "16563853", | ||
"name": "下载盘点单、下载打印模板", | ||
"font_class": "cangpeitubiao_xiazaipandiandanxiazaidayinmoban", | ||
"unicode": "e623", | ||
"unicode_decimal": 58915 | ||
}, | ||
{ | ||
"icon_id": "1418205", | ||
"name": "发送", | ||
"font_class": "fasong", | ||
"unicode": "e604", | ||
"unicode_decimal": 58884 | ||
}, | ||
{ | ||
"icon_id": "6219264", | ||
"name": "清空", | ||
"font_class": "qingkong", | ||
"unicode": "e946", | ||
"unicode_decimal": 59718 | ||
} | ||
] | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.