-
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
0 parents
commit 9f3c591
Showing
868 changed files
with
280,159 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,3 @@ | ||
.idea | ||
*.iml | ||
target |
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,71 @@ | ||
Xm Spring Boot | ||
=================================== | ||
这是一个Spring Boot的基础项目 | ||
|
||
如果你更需要Spring-cloud版本,请移步 [xm-skeleton](https://github.com/xiaomalover/xm-skeleton "XM Skeleton"). | ||
|
||
目录结构 | ||
-------- | ||
|
||
``` | ||
admin-server-template 管理后台模板,用vue.js搭建 | ||
admin-server 管理后台服务 | ||
api-server 接口服务 | ||
common-lib 公共资源 | ||
generator 基于Mybatis-plus的生成工具 | ||
``` | ||
|
||
运行 | ||
-------- | ||
1,先导入根目录下的数据库 | ||
|
||
2, 启动管理后台,API服务 | ||
|
||
|
||
功能 | ||
------- | ||
|
||
1. 完整的后台管理系统,后端模板采用vue.js开发, 权限可以控制到按钮 | ||
2. 用户注册,登录,token存储redis | ||
3. 代码自动生成,可自己指定生成模块,基于Mybatis-Plus实现 | ||
4. 文章管理,百度富文本编辑器,图片上传 | ||
|
||
... | ||
|
||
开发注意 | ||
--------- | ||
开发后台模板,请先安装nodeJs到你的系统,然后进入admin-server-template目录中依次执行 | ||
``` | ||
$ npm install | ||
$ npn run dev | ||
``` | ||
如果开发完成了,请执行以下命令, 然后把dist目录里生成的资源文件拷贝到,admin-server的resources的static目录下。 | ||
``` | ||
$ npm run build | ||
``` | ||
|
||
项目截屏 | ||
--------- | ||
|
||
![screen-shot](screen-shot/1.png) | ||
|
||
![screen-shot](screen-shot/2.png) | ||
|
||
![screen-shot](screen-shot/3.png) | ||
|
||
![screen-shot](screen-shot/4.jpg) | ||
|
||
![screen-shot](screen-shot/5.jpg) | ||
|
||
![screen-shot](screen-shot/6.png) | ||
|
||
![screen-shot](screen-shot/7.png) | ||
|
||
![screen-shot](screen-shot/8.png) | ||
|
||
|
||
联系作者 | ||
--------- | ||
如果有任何安装问题,请加我微信,如果你觉得对你有用,请帮忙star, 让更多人看到此项目,希望能帮到大家。 | ||
|
||
![contact](screen-shot/contact.jpg) |
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,3 @@ | ||
> 1% | ||
last 2 versions | ||
not ie <= 8 |
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,26 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
# 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* | ||
|
||
# Eclipse project files | ||
.classpath | ||
.project | ||
package-lock.json |
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 = { | ||
plugins: { | ||
autoprefixer: {} | ||
} | ||
} |
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,6 @@ | ||
# 管理系统模板应用 | ||
|
||
UI采用iview, 请参考网站 https://www.iviewui.com | ||
|
||
|
||
请先安装node.js,然后进入文件夹执行,npm install, 再执行npm run dev |
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/app' | ||
] | ||
} |
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,41 @@ | ||
{ | ||
"name": "com-dm-admin-front", | ||
"version": "0.1.0", | ||
"description": "XM Boot 管理后台前端", | ||
"author": "xiaomalover <xiaomalover@gmail.com>", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vue-cli-service serve", | ||
"build": "vue-cli-service build" | ||
}, | ||
"dependencies": { | ||
"area-data": "^5.0.6", | ||
"axios": "^0.18.0", | ||
"clipboard": "^2.0.1", | ||
"countup": "^1.8.2", | ||
"cropperjs": "^1.4.1", | ||
"echarts": "^4.1.0", | ||
"gitment": "^0.0.3", | ||
"html2canvas": "^1.0.0-alpha.12", | ||
"iview": "^3.0.1", | ||
"iview-area": "^1.6.0", | ||
"js-cookie": "^2.2.0", | ||
"moment": "2.22.2", | ||
"rasterizehtml": "^1.3.0", | ||
"vue": "^2.5.17", | ||
"vue-awesome": "^3.1.0", | ||
"vue-i18n": "^5.0.3", | ||
"vue-router": "^3.0.1", | ||
"vue-virtual-scroller": "^0.12.0", | ||
"vuex": "^3.0.1", | ||
"xlsx": "^0.13.4", | ||
"vue-ueditor-wrap": "^2.4.1" | ||
}, | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "^3.5.0", | ||
"@vue/cli-service": "^3.5.0", | ||
"less": "^3.0.4", | ||
"less-loader": "^4.1.0", | ||
"vue-template-compiler": "^2.5.17" | ||
} | ||
} |
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 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<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" type="image/png" href="<%= BASE_URL %>logo.png"> | ||
<title>Skeleton 后台管理系统</title> | ||
<script src="https://cdn.vaptcha.com/v2.js"></script> | ||
|
||
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but skeleton-front 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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions
40
admin-server-template/public/ueditor/dialogs/anchor/anchor.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,40 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | ||
"http://www.w3.org/TR/html4/loose.dtd"> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | ||
<title></title> | ||
<style type="text/css"> | ||
*{color: #838383;margin: 0;padding: 0} | ||
html,body {font-size: 12px;overflow: hidden; } | ||
.content{padding:5px 0 0 15px;} | ||
input{width:210px;height:21px;line-height:21px;margin-left: 4px;} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="content"> | ||
<span><var id="lang_input_anchorName"></var></span><input id="anchorName" value="" /> | ||
</div> | ||
<script type="text/javascript" src="../internal.js"></script> | ||
<script type="text/javascript"> | ||
var anchorInput = $G('anchorName'), | ||
node = editor.selection.getRange().getClosedNode(); | ||
if(node && node.tagName == 'IMG' && (node = node.getAttribute('anchorname'))){ | ||
anchorInput.value = node; | ||
} | ||
anchorInput.onkeydown = function(evt){ | ||
evt = evt || window.event; | ||
if(evt.keyCode == 13){ | ||
editor.execCommand('anchor', anchorInput.value); | ||
dialog.close(); | ||
domUtils.preventDefault(evt) | ||
} | ||
}; | ||
dialog.onok = function (){ | ||
editor.execCommand('anchor', anchorInput.value); | ||
dialog.close(); | ||
}; | ||
$focus(anchorInput); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.