Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VueElementTemplate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄瑜
VueElementTemplate
Commits
45adc8fb
Commit
45adc8fb
authored
7 years ago
by
杨柠瑞
Browse files
Options
Browse Files
Download
Plain Diff
issues 23
parents
04e79534
2d958a4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
HmIconMenu.vue
src/views/haomo/components/iconMenu/HmIconMenu.vue
+2
-2
index.vue
src/views/haomo/components/iconMenu/index.vue
+1
-2
No files found.
src/views/haomo/components/iconMenu/HmIconMenu.vue
View file @
45adc8fb
<
template
>
<div
class=
"app-container documentation-container"
>
<el-collapse
v-model=
"activeNames"
@
change=
"handleChange"
>
<el-collapse-item
title=
""
name=
"1"
>
<el-collapse-item
title=
""
name=
"1"
style=
"width: 90%;margin:0 auto"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
v-for=
"
item in icons
"
style=
"margin-bottom: 20px;"
>
<el-col
:span=
"4"
v-for=
"
(item,key) in icons"
:key=
"key
"
style=
"margin-bottom: 20px;"
>
<i
:class=
"item.className"
style=
"margin-left: 5px;"
></i>
<p>
<i
class=
"hm-icon-menu_i"
:style=
"
{backgroundColor: item.color}">
</i>
...
...
This diff is collapsed.
Click to expand it.
src/views/haomo/components/iconMenu/index.vue
View file @
45adc8fb
...
...
@@ -10,7 +10,7 @@
import
schema
from
'../../schemas/hm_org_schema'
export
default
{
name
:
'Hm
ComplexForm
Index'
,
name
:
'Hm
IconMenu
Index'
,
// 继承其他组件
extends
:
{},
// 使用其它组件
...
...
@@ -19,7 +19,6 @@
},
data
()
{
return
{
// widgetType值 1:普通input 2:下拉框 (如果是下拉框 再传一个options表示下拉框选项)3:复选框 4:文本域 5:富文本 6:日期 7:单选框
showUserColumns
:
[{
name
:
'username'
,
widgetType
:
1
},
{
name
:
'securityLevel'
,
widgetType
:
5
},
{
name
:
'type'
,
widgetType
:
2
,
options
:
[
'选项1'
,
'选项2'
]
},
{
name
:
'avatar'
,
widgetType
:
3
,
options
:
[
'美女'
,
'帅哥'
]
},
{
name
:
'departmentId'
,
widgetType
:
4
},
{
name
:
'createTime'
,
widgetType
:
6
},
{
name
:
'loginid'
,
widgetType
:
7
,
options
:
[
'会员'
,
'访客'
]
}],
// 要显示按钮 暂只支持确定、保存、取消、提交、重置
showUserButtons
:
[
'确定'
,
'取消'
]
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment