Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit10c33fc

Browse files
authored
Merge pull requestlin-xin#124 from lin-xin/dev
更新V3.2.0版本
2 parentsbc4a63f +c1d7c1a commit10c33fc

24 files changed

+458
-108
lines changed

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
node_modules/
33
dist/
44
npm-debug.log
5+
example.html

‎README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#manage-system #
1+
#vue-manage-system #
22
基于Vue.js 2.x系列 + Element UI 的后台管理系统解决方案。[线上地址](http://blog.gdfengshuo.com/example/work/)
33

44
[English document](https://github.com/lin-xin/manage-system/blob/master/README_EN.md)
@@ -31,6 +31,7 @@
3131
-[x] 权限测试
3232
-[x] 404 / 403
3333
-[x] 三级菜单
34+
-[x] 自定义图标
3435

3536

3637
##目录结构介绍 ##
@@ -53,6 +54,7 @@
5354
| |-- BaseTable.vue // 基础表格
5455
| |-- DashBoard.vue // 系统首页
5556
| |-- DragList.vue // 拖拽列表组件
57+
| |-- Icon.vue // 自定义图标组件
5658
| |-- Login.vue // 登录
5759
| |-- Markdown.vue // markdown组件
5860
| |-- Premission.vue // 权限测试组件

‎README_EN.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#manage-system #
1+
#vue-manage-system #
22
The web management system solution based on Vue2 and Element-UI。[live demo](http://blog.gdfengshuo.com/example/work/)
33

44
##Donation
@@ -22,6 +22,8 @@ The scheme as a set of multi-function background frame templates, suitable for m
2222
-[x] List drag sort
2323
-[x] Permission
2424
-[x] 404 / 403
25+
-[x] Three level menu
26+
-[x] Custom icon
2527

2628

2729
##Directory structure ##

‎index.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,10 @@
22
<html>
33
<head>
44
<metacharset="utf-8">
5-
<title>vue-manage-system | 基于Vue的后台管理系统</title>
5+
<title>vue-manage-system</title>
66
<metaname="viewport"content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
7-
<metaname="keywords"content="vue, vue-manage-system, manage-system, 后台管理系统, element"/>
8-
<metaname="description"content="基于Vue2 + Element UI 的后台管理系统解决方案"/>
97
</head>
108
<body>
119
<divid="app"></div>
12-
<!--<script src="./static/js/vendor.dll.js"></script>-->
13-
<!-- <script>
14-
var _hmt = _hmt || [];
15-
(function() {
16-
var hm = document.createElement("script");
17-
hm.src = "https://hm.baidu.com/hm.js?b455f7e1c6ca6e239edaccf0e6aa11fb";
18-
var s = document.getElementsByTagName("script")[0];
19-
s.parentNode.insertBefore(hm, s);
20-
})();
21-
</script> -->
22-
2310
</body>
2411
</html>

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"vue-manage-system",
3-
"version":"3.1.1",
3+
"version":"3.2.0",
44
"description":"基于Vue.js 2.x系列 + element-ui 内容管理系统解决方案",
55
"author":"lin-xin <2981207131@qq.com>",
66
"private":true,

‎screenshots/wms1.png

5.34 KB
Loading

‎screenshots/wms2.png

8.21 KB
Loading

‎screenshots/wms3.png

112 KB
Loading

‎src/App.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
</div>
55
</template>
66
<style>
7+
@import'http://at.alicdn.com/t/font_830376_qzecyukz0s.css';
78
@import"../static/css/main.css";
89
@import"../static/css/color-dark.css";/*深色主题*/
910
/*@import "../static/css/theme-green/color-green.css"; 浅绿色主题*/

‎src/components/common/Sidebar.vue

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,22 @@
3939
collapse:false,
4040
items: [
4141
{
42-
icon:'el-icon-setting',
42+
icon:'el-icon-lx-home',
4343
index:'dashboard',
4444
title:'系统首页'
4545
},
4646
{
47-
icon:'el-icon-tickets',
47+
icon:'el-icon-lx-cascades',
4848
index:'table',
4949
title:'基础表格'
5050
},
5151
{
52-
icon:'el-icon-message',
52+
icon:'el-icon-lx-copy',
5353
index:'tabs',
5454
title:'tab选项卡'
5555
},
5656
{
57-
icon:'el-icon-date',
57+
icon:'el-icon-lx-calendar',
5858
index:'3',
5959
title:'表单相关',
6060
subs: [
@@ -64,7 +64,7 @@
6464
},
6565
{
6666
index:'3-2',
67-
title:'编辑器',
67+
title:'三级菜单',
6868
subs: [
6969
{
7070
index:'editor',
@@ -83,7 +83,12 @@
8383
]
8484
},
8585
{
86-
icon:'el-icon-star-on',
86+
icon:'el-icon-lx-emoji',
87+
index:'icon',
88+
title:'自定义图标'
89+
},
90+
{
91+
icon:'el-icon-lx-favor',
8792
index:'charts',
8893
title:'schart图表'
8994
},
@@ -93,14 +98,19 @@
9398
title:'拖拽列表'
9499
},
95100
{
96-
icon:'el-icon-warning',
97-
index:'permission',
98-
title:'权限测试'
99-
},
100-
{
101-
icon:'el-icon-error',
102-
index:'404',
103-
title:'404页面'
101+
icon:'el-icon-lx-warn',
102+
index:'6',
103+
title:'错误处理',
104+
subs: [
105+
{
106+
index:'permission',
107+
title:'权限测试'
108+
},
109+
{
110+
index:'404',
111+
title:'404页面'
112+
}
113+
]
104114
}
105115
]
106116
}

‎src/components/page/BaseCharts.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
<div>
33
<divclass="crumbs">
44
<el-breadcrumbseparator="/">
5-
<el-breadcrumb-item><iclass="el-icon-date"></i> 图表</el-breadcrumb-item>
6-
<el-breadcrumb-item>基础图表</el-breadcrumb-item>
5+
<el-breadcrumb-item><iclass="el-icon-lx-favor"></i> schart图表</el-breadcrumb-item>
76
</el-breadcrumb>
87
</div>
98
<divclass="container">

‎src/components/page/BaseForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<divclass="crumbs">
44
<el-breadcrumbseparator="/">
5-
<el-breadcrumb-item><iclass="el-icon-date"></i> 表单</el-breadcrumb-item>
5+
<el-breadcrumb-item><iclass="el-icon-lx-calendar"></i> 表单</el-breadcrumb-item>
66
<el-breadcrumb-item>基本表单</el-breadcrumb-item>
77
</el-breadcrumb>
88
</div>

‎src/components/page/BaseTable.vue

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<divclass="table">
33
<divclass="crumbs">
44
<el-breadcrumbseparator="/">
5-
<el-breadcrumb-item><iclass="el-icon-tickets"></i> 基础表格</el-breadcrumb-item>
5+
<el-breadcrumb-item><iclass="el-icon-lx-cascades"></i> 基础表格</el-breadcrumb-item>
66
</el-breadcrumb>
77
</div>
88
<divclass="container">
@@ -15,23 +15,23 @@
1515
<el-inputv-model="select_word"placeholder="筛选关键词"class="handle-input mr10"></el-input>
1616
<el-buttontype="primary"icon="search"@click="search">搜索</el-button>
1717
</div>
18-
<el-table:data="data"borderstyle="width:100%"ref="multipleTable"@selection-change="handleSelectionChange">
19-
<el-table-columntype="selection"width="55"></el-table-column>
18+
<el-table:data="data"borderclass="table"ref="multipleTable"@selection-change="handleSelectionChange">
19+
<el-table-columntype="selection"width="55"align="center"></el-table-column>
2020
<el-table-columnprop="date"label="日期"sortablewidth="150">
2121
</el-table-column>
2222
<el-table-columnprop="name"label="姓名"width="120">
2323
</el-table-column>
2424
<el-table-columnprop="address"label="地址":formatter="formatter">
2525
</el-table-column>
26-
<el-table-columnlabel="操作"width="180">
26+
<el-table-columnlabel="操作"width="180"align="center">
2727
<template slot-scope="scope">
28-
<el-buttonsize="small"@click="handleEdit(scope.$index, scope.row)">编辑</el-button>
29-
<el-buttonsize="small"type="danger"@click="handleDelete(scope.$index, scope.row)">删除</el-button>
28+
<el-buttontype="text"icon="el-icon-edit"@click="handleEdit(scope.$index, scope.row)">编辑</el-button>
29+
<el-buttontype="text"icon="el-icon-delete"class="red"@click="handleDelete(scope.$index, scope.row)">删除</el-button>
3030
</template>
3131
</el-table-column>
3232
</el-table>
3333
<divclass="pagination">
34-
<el-pagination@current-change="handleCurrentChange"layout="prev, pager, next":total="1000">
34+
<el-paginationbackground@current-change="handleCurrentChange"layout="prev, pager, next":total="1000">
3535
</el-pagination>
3636
</div>
3737
</div>
@@ -202,4 +202,11 @@
202202
font-size:16px;
203203
text-align:center
204204
}
205+
.table{
206+
width:100%;
207+
font-size:14px;
208+
}
209+
.red{
210+
color:#ff0000;
211+
}
205212
</style>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp