@ -0,0 +1,3 @@ |
|||||||
|
> 1% |
||||||
|
last 2 versions |
||||||
|
not ie <= 8 |
@ -0,0 +1,22 @@ |
|||||||
|
.DS_Store |
||||||
|
node_modules |
||||||
|
/dist |
||||||
|
example.html |
||||||
|
favicon.ico |
||||||
|
# local env files |
||||||
|
.env.local |
||||||
|
.env.*.local |
||||||
|
|
||||||
|
# Log files |
||||||
|
npm-debug.log* |
||||||
|
yarn-debug.log* |
||||||
|
yarn-error.log* |
||||||
|
|
||||||
|
# Editor directories and files |
||||||
|
.idea |
||||||
|
.vscode |
||||||
|
*.suo |
||||||
|
*.ntvs* |
||||||
|
*.njsproj |
||||||
|
*.sln |
||||||
|
*.sw* |
@ -0,0 +1,6 @@ |
|||||||
|
{ |
||||||
|
"tabWidth": 4, |
||||||
|
"singleQuote": true, |
||||||
|
"trailingComma": "none", |
||||||
|
"printWidth": 140 |
||||||
|
} |
@ -0,0 +1,21 @@ |
|||||||
|
MIT License |
||||||
|
|
||||||
|
Copyright (c) 2016-2019 vue-manage-system |
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy |
||||||
|
of this software and associated documentation files (the "Software"), to deal |
||||||
|
in the Software without restriction, including without limitation the rights |
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
||||||
|
copies of the Software, and to permit persons to whom the Software is |
||||||
|
furnished to do so, subject to the following conditions: |
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all |
||||||
|
copies or substantial portions of the Software. |
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
||||||
|
SOFTWARE. |
@ -0,0 +1,5 @@ |
|||||||
|
module.exports = { |
||||||
|
presets: [ |
||||||
|
'@vue/app' |
||||||
|
] |
||||||
|
} |
@ -0,0 +1,44 @@ |
|||||||
|
{ |
||||||
|
"name": "vue-manage-system", |
||||||
|
"version": "4.2.0", |
||||||
|
"private": true, |
||||||
|
"scripts": { |
||||||
|
"dev": "npm run serve", |
||||||
|
"serve": "vue-cli-service serve", |
||||||
|
"build": "vue-cli-service build" |
||||||
|
}, |
||||||
|
"dependencies": { |
||||||
|
"axios": "^0.26.1", |
||||||
|
"babel-polyfill": "^6.26.0", |
||||||
|
"core-js": "^2.6.10", |
||||||
|
"echarts": "^4.9.0", |
||||||
|
"element-theme": "^2.0.1", |
||||||
|
"element-ui": "^2.15.6", |
||||||
|
"html2canvas": "^1.3.2", |
||||||
|
"js-cookie": "^2.2.1", |
||||||
|
"jspdf": "^2.4.0", |
||||||
|
"lru-cache": "^7.14.1", |
||||||
|
"mavon-editor": "^2.9.1", |
||||||
|
"node-sass": "^4.14.1", |
||||||
|
"pinyin-pro": "^3.15.1", |
||||||
|
"vue": "^2.6.14", |
||||||
|
"vue-animate-number": "^0.4.2", |
||||||
|
"vue-cropperjs": "^3.0.0", |
||||||
|
"vue-i18n": "^8.26.5", |
||||||
|
"vue-pdf": "^4.3.0", |
||||||
|
"vue-quill-editor": "^3.0.6", |
||||||
|
"vue-router": "^3.5.3", |
||||||
|
"vuedraggable": "^2.24.3", |
||||||
|
"vuex": "^3.6.2", |
||||||
|
"wow.js": "^1.2.2" |
||||||
|
}, |
||||||
|
"devDependencies": { |
||||||
|
"@vue/cli-plugin-babel": "^3.9.0", |
||||||
|
"@vue/cli-service": "^3.9.0", |
||||||
|
"browserslist": "^4.17.5", |
||||||
|
"caniuse-lite": "^1.0.30001271", |
||||||
|
"element-theme-chalk": "^2.15.6", |
||||||
|
"sass-loader": "^8.0.2", |
||||||
|
"vue-template-compiler": "^2.6.14" |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,5 @@ |
|||||||
|
module.exports = { |
||||||
|
plugins: { |
||||||
|
autoprefixer: {} |
||||||
|
} |
||||||
|
} |
After Width: | Height: | Size: 646 KiB |
After Width: | Height: | Size: 430 KiB |
After Width: | Height: | Size: 514 KiB |
After Width: | Height: | Size: 220 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,20 @@ |
|||||||
|
<!DOCTYPE html> |
||||||
|
<html lang="en"> |
||||||
|
<head> |
||||||
|
<meta charset="utf-8" /> |
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
||||||
|
<meta name="keywords" content="深圳或然科技官网,深圳或然科技,或然科技,教育产业互联网,金融科技,实训软件,虚拟仿真" /> |
||||||
|
<meta name="description" content="致力于成为教育产业数字化的推动者,成就百万教育产业数字化的创业者" /> |
||||||
|
<meta name="baidu-site-verification" content="code-TRfXe8xIkJ" /> |
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> |
||||||
|
<link rel="stylesheet" href="//at.alicdn.com/t/font_830376_qzecyukz0s.css" /> |
||||||
|
<title>深圳或然科技官网</title> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
<noscript> |
||||||
|
<strong>We're sorry but vms 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> |
@ -0,0 +1,120 @@ |
|||||||
|
<template> |
||||||
|
<div id="app"> |
||||||
|
<router-view></router-view> |
||||||
|
</div> |
||||||
|
</template> |
||||||
|
|
||||||
|
<script> |
||||||
|
import Setting from '@/setting'; |
||||||
|
import util from '@/libs/util'; |
||||||
|
export default { |
||||||
|
name: 'App', |
||||||
|
created() { |
||||||
|
//在页面加载时读取localStorage里的状态信息 |
||||||
|
if (util.local.get(Setting.storeKey)) { |
||||||
|
this.$store.replaceState(Object.assign({}, this.$store.state, util.local.get(Setting.storeKey))); |
||||||
|
} |
||||||
|
|
||||||
|
//在页面刷新时将vuex里的信息保存到localStorage里 |
||||||
|
window.addEventListener('beforeunload', () => { |
||||||
|
util.local.set(Setting.storeKey, this.$store.state); |
||||||
|
}); |
||||||
|
// 判断当前处于什么终端 true为PC端,false为手机端 |
||||||
|
function IsPCModel() { |
||||||
|
var userAgentInfo = navigator.userAgent; |
||||||
|
var Agents = ['Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod']; |
||||||
|
var flagPc = true; |
||||||
|
for (var v = 0; v < Agents.length; v++) { |
||||||
|
if (userAgentInfo.indexOf(Agents[v]) > 0) { |
||||||
|
flagPc = false; |
||||||
|
break; |
||||||
|
} |
||||||
|
} |
||||||
|
return flagPc; |
||||||
|
} |
||||||
|
var flagZt = IsPCModel(); |
||||||
|
this.$store.commit('updateModelType', flagZt) |
||||||
|
window.onresize = this.throttle(() => { |
||||||
|
if(document.body.clientWidth <= 1200) { |
||||||
|
this.$store.commit('updateModelType', false) |
||||||
|
}else if(document.body.clientWidth > 1700 ) { |
||||||
|
this.$store.commit('updateModelType', true) |
||||||
|
this.$store.dispatch('updateNavSumA', 10) |
||||||
|
sessionStorage.setItem('navPageSize', 10) |
||||||
|
}else if(document.body.clientWidth > 1600 && document.body.clientWidth <= 1700 ) { |
||||||
|
this.$store.commit('updateModelType', true) |
||||||
|
if (this.$i18n.locale == 'en') { |
||||||
|
this.$store.dispatch('updateNavSumA', 9) |
||||||
|
sessionStorage.setItem('navPageSize', 9) |
||||||
|
}else { |
||||||
|
this.$store.dispatch('updateNavSumA', 10) |
||||||
|
sessionStorage.setItem('navPageSize', 10) |
||||||
|
} |
||||||
|
}else if(document.body.clientWidth > 1500 && document.body.clientWidth <= 1600) { |
||||||
|
this.$store.commit('updateModelType', true) |
||||||
|
this.$store.dispatch('updateNavSumA', 9) |
||||||
|
sessionStorage.setItem('navPageSize', 9) |
||||||
|
}else if(document.body.clientWidth > 1400 && document.body.clientWidth <= 1500) { |
||||||
|
this.$store.commit('updateModelType', true) |
||||||
|
if (this.$i18n.locale == 'en') { |
||||||
|
this.$store.dispatch('updateNavSumA', 7) |
||||||
|
sessionStorage.setItem('navPageSize', 7) |
||||||
|
}else { |
||||||
|
this.$store.dispatch('updateNavSumA', 8) |
||||||
|
sessionStorage.setItem('navPageSize', 8) |
||||||
|
} |
||||||
|
}else if(document.body.clientWidth > 1300 && document.body.clientWidth <= 1400) { |
||||||
|
this.$store.commit('updateModelType', true) |
||||||
|
if (this.$i18n.locale == 'en') { |
||||||
|
this.$store.dispatch('updateNavSumA', 6) |
||||||
|
sessionStorage.setItem('navPageSize', 6) |
||||||
|
}else { |
||||||
|
this.$store.dispatch('updateNavSumA', 7) |
||||||
|
sessionStorage.setItem('navPageSize', 7) |
||||||
|
} |
||||||
|
}else if(document.body.clientWidth > 1200 && document.body.clientWidth <= 1300) { |
||||||
|
this.$store.commit('updateModelType', true) |
||||||
|
if (this.$i18n.locale == 'en') { |
||||||
|
this.$store.dispatch('updateNavSumA', 6) |
||||||
|
sessionStorage.setItem('navPageSize', 6) |
||||||
|
}else { |
||||||
|
this.$store.dispatch('updateNavSumA', 6) |
||||||
|
sessionStorage.setItem('navPageSize', 6) |
||||||
|
} |
||||||
|
}else { |
||||||
|
this.$store.commit('updateModelType', true) |
||||||
|
} |
||||||
|
},500) |
||||||
|
}, |
||||||
|
mounted() { |
||||||
|
window.onbeforeunload = function(){ |
||||||
|
sessionStorage.removeItem('navPageSize') |
||||||
|
} |
||||||
|
if(document.body.clientWidth > 1600 ) { |
||||||
|
sessionStorage.setItem('navPageSize', 10) |
||||||
|
}else if(document.body.clientWidth > 1500 && document.body.clientWidth <= 1600) { |
||||||
|
sessionStorage.setItem('navPageSize', 9) |
||||||
|
}else if(document.body.clientWidth > 1400 && document.body.clientWidth <= 1500) { |
||||||
|
sessionStorage.setItem('navPageSize', 8) |
||||||
|
}else if(document.body.clientWidth > 1300 && document.body.clientWidth <= 1400) { |
||||||
|
sessionStorage.setItem('navPageSize', 7) |
||||||
|
}else if(document.body.clientWidth > 1200 && document.body.clientWidth <= 1300) { |
||||||
|
sessionStorage.setItem('navPageSize', 6) |
||||||
|
} |
||||||
|
}, |
||||||
|
methods: { |
||||||
|
throttle(func, delay) { |
||||||
|
var prev = Date.now() |
||||||
|
return function () { |
||||||
|
var context = this; |
||||||
|
var args = arguments; |
||||||
|
var now = Date.now(); |
||||||
|
if (now - prev >= delay) { |
||||||
|
func.apply(context, args); |
||||||
|
prev = Date.now(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
}; |
||||||
|
</script> |
@ -0,0 +1,21 @@ |
|||||||
|
export default { |
||||||
|
newlyPublishedArticles: `iasf/sysContent/newlyPublishedArticles`, |
||||||
|
listWithTree: `iasf/sysColumn/listWithTree`, |
||||||
|
findArticle: `iasf/sysContent/findById`, |
||||||
|
findPage: `iasf/sysColumnLongPage/getLongPageInformation`, |
||||||
|
queryArticle: `iasf/sysContent/pagingQuery`, |
||||||
|
getRedisCache: `iasf/sysColumnLongPage/getRedisCache`, |
||||||
|
listWithTreeMenuVisible: `iasf/sysColumn/listWithTreeMenuVisible`, |
||||||
|
theAttachmentUnderTheQueryColumn: `iasf/content/file/theAttachmentUnderTheQueryColumn`, |
||||||
|
findColumn: `iasf/sysColumn/findById`, |
||||||
|
queryClassif: `iasf/content/classification/allTheQuery`, |
||||||
|
getTheFullArticleByColumn: `iasf/sysColumn/getTheFullArticleByColumn`, |
||||||
|
queryLabel: `iasf/content/label/queryAllArticleSubjectTags`, |
||||||
|
getsTheSubColumn: `iasf/sysColumn/getsTheSubColumn`, |
||||||
|
articlePreview: `iasf/sysContent/articlePreview`, |
||||||
|
getsSublevelColumnsUnderALevel: `iasf/sysColumn/getsSublevelColumnsUnderALevel`, |
||||||
|
hotContent: `iasf/sysContent/hotContent`, |
||||||
|
siteSearchArticles: `iasf/sysContent/siteSearchArticles`, |
||||||
|
oneLevelChecksThemAll: `iasf/sysColumn/oneLevelChecksThemAll`, |
||||||
|
queryArticlesByColumnType: `iasf/sysColumn/queryArticlesByColumnType`, |
||||||
|
} |
After Width: | Height: | Size: 2.4 MiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 673 KiB |
After Width: | Height: | Size: 182 KiB |
After Width: | Height: | Size: 304 KiB |
After Width: | Height: | Size: 551 KiB |
After Width: | Height: | Size: 495 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 100 KiB |
After Width: | Height: | Size: 318 KiB |
After Width: | Height: | Size: 206 KiB |
After Width: | Height: | Size: 332 KiB |
After Width: | Height: | Size: 336 KiB |
After Width: | Height: | Size: 245 KiB |
After Width: | Height: | Size: 397 B |
After Width: | Height: | Size: 1.4 MiB |
After Width: | Height: | Size: 683 B |
After Width: | Height: | Size: 230 KiB |
After Width: | Height: | Size: 683 B |
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 103 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 103 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 639 B |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 105 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 127 KiB |
After Width: | Height: | Size: 883 B |
After Width: | Height: | Size: 804 B |
After Width: | Height: | Size: 730 KiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 466 KiB |
After Width: | Height: | Size: 602 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 MiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 616 B |
After Width: | Height: | Size: 646 KiB |
After Width: | Height: | Size: 430 KiB |
After Width: | Height: | Size: 514 KiB |
After Width: | Height: | Size: 220 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 997 B |
After Width: | Height: | Size: 602 B |
After Width: | Height: | Size: 741 B |
After Width: | Height: | Size: 1002 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 436 KiB |
After Width: | Height: | Size: 266 KiB |
After Width: | Height: | Size: 270 KiB |
After Width: | Height: | Size: 604 KiB |
After Width: | Height: | Size: 219 KiB |
After Width: | Height: | Size: 285 KiB |
After Width: | Height: | Size: 256 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 164 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 118 KiB |
After Width: | Height: | Size: 623 B |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 95 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 230 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 122 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 149 KiB |
After Width: | Height: | Size: 2.6 KiB |