Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
wangtao
3 years ago
Commit
6cf3dfdbeb11fcd5b56ebafdb031b96ee7f09a69
1 parent
d8355549
样式优化
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
23 deletions
hg-monitor-web-base/src/main/resources/static/vue3/public/css/base.css
hg-monitor-web-base/src/main/resources/static/vue3/src/script/global.js
hg-monitor-web-base/src/main/resources/static/vue3/src/views/ajConfig/index.html
hg-monitor-web-base/src/main/resources/static/vue3/public/css/base.css
View file @
6cf3dfd
...
...
@@ -149,4 +149,4 @@ custom-class="config-dialog"
}
.tree-table
.el-table
.el-table__cell.is-center
div
{
justify-content
:
center
;
}
+
}
...
...
hg-monitor-web-base/src/main/resources/static/vue3/src/script/global.js
View file @
6cf3dfd
...
...
@@ -379,7 +379,17 @@ global.getHealthDesc = (level) => {
}
// 组件默认大小 medium / small / mini
global
.
elementSize
=
''
;
// global.elementSize = 'default';
global
.
elementConfig
=
{
size
:{
// large / default / small
button
:
'default'
,
// large / default / small
input
:
'large'
}
}
global
.
height
=
window
.
innerHeight
-
20
;
export
default
global
...
...
hg-monitor-web-base/src/main/resources/static/vue3/src/views/ajConfig/index.html
View file @
6cf3dfd
<div
class=
"container"
:style=
"{'height':height+'px','max-height':height+'px'}"
>
<div
class=
"cm-card"
:style=
"{'min-height':height+'px','max-height':height+'px','height':'100%'}"
>
<div
class=
"search"
>
<div
class=
"keyword"
style=
"padding-left: 10px"
>
<el-form-item
>
<el-input
v-model=
"search.keyword"
placeholder=
"请输入关键字,回车搜索"
@
keydown
.
enter
.
native=
"getDataList"
></el-input>
</el-form-item>
</div>
<div
class=
"selectType"
style=
"padding-left: 10px;width: 120px;"
>
<el-select
v-model=
"couponSelected"
class=
"m-2"
placeholder=
"请选择"
size=
"large"
@
change=
"onChangeStripe"
>
<el-option
v-for=
"item in typeOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</div>
<div
class=
"adds"
style=
""
>
<el-form-item>
<el-button
@
click=
"addAj()"
style=
"margin-left: 10px"
>
新增
</el-button>
</el-form-item>
<div
class=
"condition"
>
<div
class=
"keyword"
style=
"padding-left: 10px"
>
<el-input
v-model=
"search.keyword"
:size=
"$global.elementConfig.size.input"
placeholder=
"请输入关键字,回车搜索"
@
keydown
.
enter
.
native=
"getDataList"
></el-input>
</div>
<div
class=
"selectType"
style=
"padding-left: 10px;width: 120px;"
>
<el-select
v-model=
"couponSelected"
class=
"m-2"
placeholder=
"请选择"
:size=
"$global.elementConfig.size.input"
@
change=
"onChangeStripe"
>
<el-option
v-for=
"item in typeOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</div>
<el-button
@
click=
"addAj()"
:size=
"$global.elementConfig.size.button"
>
新增
</el-button>
</div>
<div
class=
"design"
style=
"float:right;padding-left: 1200px"
>
<div
class=
"btns"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"handleView()"
style=
"margin-left: 10px"
>
设计
</el-button>
<el-button
type=
"primary"
@
click=
"handleView()"
:size=
"$global.elementConfig.size.button"
style=
"margin-left: 10px"
>
设计
</el-button>
</el-form-item>
</div>
</div>
...
...
Please
register
or
login
to post a comment