Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
祺技世界
gin-vue-admin
提交
69a09055
G
gin-vue-admin
项目概览
祺技世界
/
gin-vue-admin
与 Fork 源项目一致
Fork自
FLIPPED-AURORA / gin-vue-admin
通知
6
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
69a09055
编写于
2月 03, 2020
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'gin-vue-admin-develop' of
https://github.com/piexlmax/QMPlus
上级
2cc0f0c1
e968db3b
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
274 addition
and
15 deletion
+274
-15
QMPlusVuePage/src/style/main.scss
QMPlusVuePage/src/style/main.scss
+184
-0
QMPlusVuePage/src/view/example/form/form.vue
QMPlusVuePage/src/view/example/form/form.vue
+80
-3
QMPlusVuePage/src/view/example/rte/rte.vue
QMPlusVuePage/src/view/example/rte/rte.vue
+1
-5
QMPlusVuePage/src/view/example/upload/upload.vue
QMPlusVuePage/src/view/example/upload/upload.vue
+2
-0
QMPlusVuePage/src/view/layout/aside/index.vue
QMPlusVuePage/src/view/layout/aside/index.vue
+0
-1
QMPlusVuePage/src/view/layout/index.vue
QMPlusVuePage/src/view/layout/index.vue
+4
-4
QMPlusVuePage/src/view/superAdmin/authority/authority.vue
QMPlusVuePage/src/view/superAdmin/authority/authority.vue
+2
-1
QMPlusVuePage/src/view/superAdmin/system/system.vue
QMPlusVuePage/src/view/superAdmin/system/system.vue
+1
-1
未找到文件。
QMPlusVuePage/src/style/main.scss
浏览文件 @
69a09055
...
...
@@ -529,4 +529,188 @@ ul,
ol
,
li
{
list-style-type
:
none
;
}
// navbar
.el-scrollbar
{
.el-scrollbar__view
{
.el-menu-vertical
{
background-color
:
#001529
;
}
.el-menu-item
:hover
i
,
.el-menu-item
:hover
span
{
color
:
#fff
;
}
li
{
background-color
:
#001529
;
ul
{
.el-menu-item
{
background-color
:
#000408
;
height
:
44px
;
line-height
:
44px
;
}
.is-active
{
background-color
:
#1890ff
;
}
}
}
.el-submenu__title
:hover
{
background-color
:
#001529
;
}
.el-submenu__title
:hover
i
,
.el-submenu__title
:hover
span
{
color
:
#fff
;
}
.el-menu--inline
{
border-left
:
5px
solid
#2c3b41
;
}
}
}
// layout
.layout-cont
{
.main-cont
{
&
.el-main
{
background-color
:
#ecf0f5
;
padding
:
0
;
}
.breadcrumb
{
background-color
:
#fff
;
padding
:
0
0
15px
15px
;
}
}
}
.admin-box
{
padding
:
15px
20px
;
.el-button
{
padding
:
7px
10px
;
}
.el-input__inner
{
height
:
30px
;
line-height
:
30px
;
}
.el-input__icon
{
line-height
:
30px
;
}
}
.button-box
{
background
:
#fff
;
border
:
1px
solid
#ebeef5
;
border-bottom
:
none
;
}
.search-term
{
background
:
#fff
;
padding
:
0
15px
;
border-left
:
1px
solid
#ebeef5
;
border-right
:
1px
solid
#ebeef5
;
}
// table
.has-gutter
{
tr
{
th
{
background-color
:
#fafafa
;
}
}
}
.el-table--striped
{
.el-table__body
{
tr
.el-table__row--striped
{
td
{
background
:
#fff
!
important
;
}
}
}
}
.el-table
th
,
.el-table
tr
{
background-color
:
#fafafa
;
}
.el-pagination
{
.btn-prev
,
.btn-next
{
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
}
.el-pager
{
li
{
color
:
#666
;
font-size
:
12px
;
margin
:
0
5px
;
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
}
}
}
// el-form
.el-form
{
background-color
:
#fff
;
padding
:
10px
0
;
}
.el-row
{
padding
:
10px
0
;
.el-col
>
label
{
line-height
:
30px
;
text-align
:
right
;
width
:
80%
;
padding-right
:
15px
;
display
:
inline-block
;
}
.line
{
line-height
:
30px
;
text-align
:
center
;
}
}
// edit_container
.edit_container
{
background-color
:
#fff
;
padding
:
15px
;
.el-button
{
margin
:
15px
0
;
}
}
.edit
{
background-color
:
#fff
;
padding
:
15px
;
.el-button
{
margin
:
15px
0
;
}
}
// upload-demo
.upload-demo
,
.upload
{
background-color
:
#fff
;
padding
:
15px
;
.el-upload-list__item-status-label
{
right
:
0
;
left
:
120px
;
}
.el-upload__tip
{
margin
:
10px
0
;
}
}
// system
.system
{
padding
:
15px
;
.el-input__inner
{
width
:
80%
;
}
}
\ No newline at end of file
QMPlusVuePage/src/view/example/form/form.vue
浏览文件 @
69a09055
<
template
>
<div>
<el-form
:model=
"form"
label-width=
"80px"
ref=
"form"
>
<el-form-item
label=
"活动名称"
>
<el-row>
<el-col
:span=
"3"
><label
for=
""
>
活动名称
</label></el-col>
<el-col
:span=
"10"
><el-input
v-model=
"form.name"
></el-input></el-col>
</el-row>
<el-row>
<el-col
:span=
"3"
><label
for=
""
>
活动区域
</label></el-col>
<el-col
:span=
"10"
>
<el-select
placeholder=
"请选择活动区域"
v-model=
"form.region"
>
<el-option
label=
"上海"
value=
"shanghai"
></el-option>
<el-option
label=
"北京"
value=
"beijing"
></el-option>
</el-select>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"3"
><label
for=
""
>
活动时间
</label></el-col>
<el-col
:span=
"10"
>
<el-col
:span=
"11"
>
<el-date-picker
placeholder=
"选择日期"
style=
"width: 100%;"
type=
"date"
v-model=
"form.date1"
></el-date-picker>
</el-col>
<el-col
:span=
"2"
class=
"line"
>
——
</el-col>
<el-col
:span=
"11"
>
<el-time-picker
placeholder=
"选择时间"
style=
"width: 100%;"
v-model=
"form.date2"
></el-time-picker>
</el-col>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"3"
><label
for=
""
>
即时配送
</label></el-col>
<el-col
:span=
"10"
><el-switch
v-model=
"form.delivery"
></el-switch></el-col>
</el-row>
<el-row>
<el-col
:span=
"3"
><label
for=
""
>
活动性质
</label></el-col>
<el-col
:span=
"10"
>
<el-checkbox-group
v-model=
"form.type"
>
<el-checkbox
label=
"美食/餐厅线上活动"
name=
"type"
></el-checkbox>
<el-checkbox
label=
"地推活动"
name=
"type"
></el-checkbox>
<el-checkbox
label=
"线下主题活动"
name=
"type"
></el-checkbox>
<el-checkbox
label=
"单纯品牌曝光"
name=
"type"
></el-checkbox>
</el-checkbox-group>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"3"
><label
for=
""
>
特殊资源
</label></el-col>
<el-col
:span=
"10"
>
<el-radio-group
v-model=
"form.resource"
>
<el-radio
label=
"线上品牌商赞助"
></el-radio>
<el-radio
label=
"线下场地免费"
></el-radio>
</el-radio-group>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"3"
><label
for=
""
>
活动形式
</label></el-col>
<el-col
:span=
"10"
><el-input
type=
"textarea"
v-model=
"form.desc"
></el-input></el-col>
</el-row>
<el-row>
<el-col
:span=
"3"
><label
for=
""
>
穿梭框
</label></el-col>
<el-col
:span=
"20"
>
<el-transfer
:data=
"data"
:filter-method=
"filterMethod"
filter-placeholder=
"请输入城市拼音"
filterable
v-model=
"value"
></el-transfer>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"3"
><label
for=
""
>
活动时间
</label></el-col>
<el-col
:span=
"10"
><el-input
v-model=
"form.name"
></el-input></el-col>
</el-row>
<el-row
type=
"flex"
justify=
"center"
>
<el-col
:span=
"13"
>
<el-button
@
click=
"onSubmit"
type=
"primary"
>
立即创建
</el-button>
<el-button>
取消
</el-button>
</el-col>
</el-row>
<!--
<el-form-item
label=
"活动名称"
>
<el-input
v-model=
"form.name"
></el-input>
</el-form-item>
<el-form-item>
...
...
@@ -51,7 +128,7 @@
<el-form-item>
<el-button
@
click=
"onSubmit"
type=
"primary"
>
立即创建
</el-button>
<el-button>
取消
</el-button>
</el-form-item>
</el-form-item>
-->
</el-form>
</div>
</
template
>
...
...
@@ -107,4 +184,4 @@ export default {
}
}
}
</
script
>
\ No newline at end of file
</
script
>
QMPlusVuePage/src/view/example/rte/rte.vue
浏览文件 @
69a09055
...
...
@@ -11,7 +11,7 @@
></quill-editor>
<el-button
plain
@
click=
"saveHtml"
>
保存
</el-button>
</div>
<div>
<div
class=
"edit"
>
<mavon-editor
v-model=
"model.content"
></mavon-editor>
<el-button
type=
"primary"
size=
"small"
@
click=
"submit"
>
发表
</el-button>
</div>
...
...
@@ -47,7 +47,3 @@ export default {
}
}
</
script
>
<
style
>
</
style
>
\ No newline at end of file
QMPlusVuePage/src/view/example/upload/upload.vue
浏览文件 @
69a09055
<
template
>
<div
v-loading.fullscreen.lock=
"fullscreenLoading"
>
<div
class=
"upload"
>
<el-upload
:action=
"`$
{path}/fileUploadAndDownload/upload`"
:before-upload="checkFile"
...
...
@@ -49,6 +50,7 @@
@
size-change=
"handleSizeChange"
layout=
"total, sizes, prev, pager, next, jumper"
></el-pagination>
</div>
</div>
</template>
...
...
QMPlusVuePage/src/view/layout/aside/index.vue
浏览文件 @
69a09055
...
...
@@ -8,7 +8,6 @@
:default-active=
"active"
@
select=
"selectMenuItem"
active-text-color=
"#fff"
background-color=
"#0F3D5F"
text-color=
"rgb(191, 203, 217)"
unique-opened
>
...
...
QMPlusVuePage/src/view/layout/index.vue
浏览文件 @
69a09055
...
...
@@ -122,14 +122,14 @@ $mainHight: 100vh;
.main-cont
{
.breadcrumb
{
line-height
:
24px
;
padding
:
6px
;
border-bottom
:
1px
solid
#eee
;
//
padding: 6px;
//
border-bottom: 1px solid #eee;
margin-bottom
:
6px
;
}
&
.el-main
{
overflow
:
auto
;
padding
:
0px
10px
;
background
:
#fff
;
//
padding: 0px 10px;
//
background: #fff;
}
height
:
$mainHight
!
important
;
overflow
:
visible
;
...
...
QMPlusVuePage/src/view/superAdmin/authority/authority.vue
浏览文件 @
69a09055
...
...
@@ -11,9 +11,10 @@
stripe
:tree-props=
"
{children: 'children', hasChildren: 'hasChildren'}">
<el-table-column
label=
"id"
min-width=
"180"
prop=
"ID"
></el-table-column>
<el-table-column
label=
"角色id"
min-width=
"180"
prop=
"authorityId"
></el-table-column>
<el-table-column
label=
"角色名称"
min-width=
"180"
prop=
"authorityName"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"500"
>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"500"
:style=
"
{ background:red , color:red}"
>
<template
slot-scope=
"scope"
>
<el-button
@
click=
"opdendrawer(scope.row)"
size=
"small"
type=
"text"
>
设置权限
</el-button>
<el-button
@
click=
"deleteAuth(scope.row)"
size=
"small"
type=
"text"
>
删除角色
</el-button>
...
...
QMPlusVuePage/src/view/superAdmin/system/system.vue
浏览文件 @
69a09055
<
template
>
<div>
<el-form
:model=
"config"
label-width=
"100px"
ref=
"form"
>
<el-form
:model=
"config"
label-width=
"100px"
ref=
"form"
class=
"system"
>
<h2>
系统配置
</h2>
<el-form-item
label=
"多点登录拦截"
>
<el-checkbox
v-model=
"config.system.useMultipoint"
>
开启
</el-checkbox>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录