Skip to content

Commit 9f3c591

Browse files
committed
init
0 parents  commit 9f3c591

File tree

868 files changed

+280159
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

868 files changed

+280159
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
*.iml
3+
target

README.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
Xm Spring Boot
2+
===================================
3+
这是一个Spring Boot的基础项目
4+
5+
如果你更需要Spring-cloud版本,请移步 [xm-skeleton](https://github.com/xiaomalover/xm-skeleton "XM Skeleton").
6+
7+
目录结构
8+
--------
9+
10+
```
11+
admin-server-template 管理后台模板,用vue.js搭建
12+
admin-server 管理后台服务
13+
api-server 接口服务
14+
common-lib 公共资源
15+
generator 基于Mybatis-plus的生成工具
16+
```
17+
18+
运行
19+
--------
20+
1,先导入根目录下的数据库
21+
22+
2, 启动管理后台,API服务
23+
24+
25+
功能
26+
-------
27+
28+
1. 完整的后台管理系统,后端模板采用vue.js开发, 权限可以控制到按钮
29+
2. 用户注册,登录,token存储redis
30+
3. 代码自动生成,可自己指定生成模块,基于Mybatis-Plus实现
31+
4. 文章管理,百度富文本编辑器,图片上传
32+
33+
...
34+
35+
开发注意
36+
---------
37+
开发后台模板,请先安装nodeJs到你的系统,然后进入admin-server-template目录中依次执行
38+
```
39+
$ npm install
40+
$ npn run dev
41+
```
42+
如果开发完成了,请执行以下命令, 然后把dist目录里生成的资源文件拷贝到,admin-server的resources的static目录下。
43+
```
44+
$ npm run build
45+
```
46+
47+
项目截屏
48+
---------
49+
50+
![screen-shot](screen-shot/1.png)
51+
52+
![screen-shot](screen-shot/2.png)
53+
54+
![screen-shot](screen-shot/3.png)
55+
56+
![screen-shot](screen-shot/4.jpg)
57+
58+
![screen-shot](screen-shot/5.jpg)
59+
60+
![screen-shot](screen-shot/6.png)
61+
62+
![screen-shot](screen-shot/7.png)
63+
64+
![screen-shot](screen-shot/8.png)
65+
66+
67+
联系作者
68+
---------
69+
如果有任何安装问题,请加我微信,如果你觉得对你有用,请帮忙star, 让更多人看到此项目,希望能帮到大家。
70+
71+
![contact](screen-shot/contact.jpg)

admin-server-template/.browserslistrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not ie <= 8

admin-server-template/.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw*
22+
23+
# Eclipse project files
24+
.classpath
25+
.project
26+
package-lock.json

admin-server-template/.postcssrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
plugins: {
3+
autoprefixer: {}
4+
}
5+
}

admin-server-template/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 管理系统模板应用
2+
3+
UI采用iview, 请参考网站 https://www.iviewui.com
4+
5+
6+
请先安装node.js,然后进入文件夹执行,npm install, 再执行npm run dev

admin-server-template/babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/app'
4+
]
5+
}

admin-server-template/package.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "com-dm-admin-front",
3+
"version": "0.1.0",
4+
"description": "XM Boot 管理后台前端",
5+
"author": "xiaomalover <[email protected]>",
6+
"private": true,
7+
"scripts": {
8+
"dev": "vue-cli-service serve",
9+
"build": "vue-cli-service build"
10+
},
11+
"dependencies": {
12+
"area-data": "^5.0.6",
13+
"axios": "^0.18.0",
14+
"clipboard": "^2.0.1",
15+
"countup": "^1.8.2",
16+
"cropperjs": "^1.4.1",
17+
"echarts": "^4.1.0",
18+
"gitment": "^0.0.3",
19+
"html2canvas": "^1.0.0-alpha.12",
20+
"iview": "^3.0.1",
21+
"iview-area": "^1.6.0",
22+
"js-cookie": "^2.2.0",
23+
"moment": "2.22.2",
24+
"rasterizehtml": "^1.3.0",
25+
"vue": "^2.5.17",
26+
"vue-awesome": "^3.1.0",
27+
"vue-i18n": "^5.0.3",
28+
"vue-router": "^3.0.1",
29+
"vue-virtual-scroller": "^0.12.0",
30+
"vuex": "^3.0.1",
31+
"xlsx": "^0.13.4",
32+
"vue-ueditor-wrap": "^2.4.1"
33+
},
34+
"devDependencies": {
35+
"@vue/cli-plugin-babel": "^3.5.0",
36+
"@vue/cli-service": "^3.5.0",
37+
"less": "^3.0.4",
38+
"less-loader": "^4.1.0",
39+
"vue-template-compiler": "^2.5.17"
40+
}
41+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
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+
<link rel="icon" type="image/png" href="<%= BASE_URL %>logo.png">
8+
<title>Skeleton 后台管理系统</title>
9+
<script src="https://cdn.vaptcha.com/v2.js"></script>
10+
11+
</head>
12+
<body>
13+
<noscript>
14+
<strong>We're sorry but skeleton-front doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
15+
</noscript>
16+
<div id="app"></div>
17+
<!-- built files will be auto injected -->
18+
</body>
19+
</html>

admin-server-template/public/logo.png

3.4 KB
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2+
"http://www.w3.org/TR/html4/loose.dtd">
3+
<html>
4+
<head>
5+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6+
<title></title>
7+
<style type="text/css">
8+
*{color: #838383;margin: 0;padding: 0}
9+
html,body {font-size: 12px;overflow: hidden; }
10+
.content{padding:5px 0 0 15px;}
11+
input{width:210px;height:21px;line-height:21px;margin-left: 4px;}
12+
</style>
13+
</head>
14+
<body>
15+
<div class="content">
16+
<span><var id="lang_input_anchorName"></var></span><input id="anchorName" value="" />
17+
</div>
18+
<script type="text/javascript" src="../internal.js"></script>
19+
<script type="text/javascript">
20+
var anchorInput = $G('anchorName'),
21+
node = editor.selection.getRange().getClosedNode();
22+
if(node && node.tagName == 'IMG' && (node = node.getAttribute('anchorname'))){
23+
anchorInput.value = node;
24+
}
25+
anchorInput.onkeydown = function(evt){
26+
evt = evt || window.event;
27+
if(evt.keyCode == 13){
28+
editor.execCommand('anchor', anchorInput.value);
29+
dialog.close();
30+
domUtils.preventDefault(evt)
31+
}
32+
};
33+
dialog.onok = function (){
34+
editor.execCommand('anchor', anchorInput.value);
35+
dialog.close();
36+
};
37+
$focus(anchorInput);
38+
</script>
39+
</body>
40+
</html>

0 commit comments

Comments
 (0)