├── docs └── WechatIMG58.png ├── public ├── favicon.ico └── index.html ├── src ├── assets │ └── logo.png ├── main.js ├── App.vue ├── router │ └── index.js └── components │ ├── AnnoCanvas.vue │ ├── ImageList.vue │ ├── ImageFlipper.vue │ └── ImageViewer.vue ├── babel.config.js ├── dist └── static │ ├── favicon.ico │ ├── fonts │ ├── element-icons.f1a45d74.ttf │ └── element-icons.ff18efd1.woff │ ├── index.html │ ├── css │ └── app.b844481b.css │ └── js │ ├── app.1db76be7.js │ └── app.1db76be7.js.map ├── vue.config.js ├── .gitignore ├── jsconfig.json ├── utils └── build_vue.py ├── README.md ├── package.json └── backend └── file_server.py /docs/WechatIMG58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mactarvish/vue-image-viewer/HEAD/docs/WechatIMG58.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mactarvish/vue-image-viewer/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mactarvish/vue-image-viewer/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /dist/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mactarvish/vue-image-viewer/HEAD/dist/static/favicon.ico -------------------------------------------------------------------------------- /vue.config.js: -------------------------------------------------------------------------------- 1 | const { defineConfig } = require('@vue/cli-service') 2 | module.exports = defineConfig({ 3 | transpileDependencies: true 4 | }) 5 | -------------------------------------------------------------------------------- /dist/static/fonts/element-icons.f1a45d74.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mactarvish/vue-image-viewer/HEAD/dist/static/fonts/element-icons.f1a45d74.ttf -------------------------------------------------------------------------------- /dist/static/fonts/element-icons.ff18efd1.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mactarvish/vue-image-viewer/HEAD/dist/static/fonts/element-icons.ff18efd1.woff -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | # /dist 4 | 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | pnpm-debug.log* 15 | 16 | # Editor directories and files 17 | .idea 18 | .vscode 19 | *.suo 20 | *.ntvs* 21 | *.njsproj 22 | *.sln 23 | *.sw? 24 | 25 | pgs 26 | logs -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 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 | } 20 | -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App.vue' 3 | import axios from 'axios'; 4 | import ElementUI from "element-ui" 5 | import "element-ui/lib/theme-chalk/index.css"; 6 | 7 | import router from "./router" 8 | 9 | Vue.config.productionTip = false 10 | Vue.prototype.$axios = axios; 11 | Vue.use(ElementUI); 12 | 13 | new Vue({ 14 | router, 15 | render: h => h(App), 16 | }).$mount('#app') 17 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |
10 |