Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
63076384
Commit
63076384
authored
Apr 27, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传,拉一下代码
parent
7052e228
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
14 deletions
+78
-14
src/components/block-radius.vue
src/components/block-radius.vue
+1
-1
src/pages/fwzc_fwcs.vue
src/pages/fwzc_fwcs.vue
+77
-13
No files found.
src/components/block-radius.vue
View file @
63076384
...
@@ -19,7 +19,7 @@ export default {
...
@@ -19,7 +19,7 @@ export default {
.block_radius
{
.block_radius
{
background-color
:
#fff
;
background-color
:
#fff
;
border-radius
:
10px
;
border-radius
:
10px
;
padding
:
1
0px
;
padding
:
2
0px
;
}
}
</
style
>
</
style
>
src/pages/fwzc_fwcs.vue
View file @
63076384
<
template
>
<
template
>
<div
class=
"fwcs"
>
<div
class=
"fwcs"
>
<el-breadcrumb
separator=
"/"
class=
"bread_crumb"
>
<el-breadcrumb-item
:to=
"
{ path: '/' }">服务注册
</el-breadcrumb-item>
<el-breadcrumb-item>
服务测试
</el-breadcrumb-item>
</el-breadcrumb>
<block-radius>
<block-radius>
<el-row>
<el-row>
<el-button>
默认按钮
</el-button>
<el-button
<el-button>
默认按钮
</el-button>
v-for=
"item in btnList"
<el-button>
默认按钮
</el-button>
:key=
"item.id"
<el-button>
默认按钮
</el-button>
@
click=
"clickBtn(item.id)"
<el-button>
默认按钮
</el-button>
:class=
"activeBtn == item.id ? 'fwcs_btn_act':'fwcs_btn_dis'"
>
{{
item
.
text
}}
</el-button>
</el-row>
</el-row>
<div
class=
"gray_line"
></div>
<div
class=
"gray_line"
></div>
<div
class=
"fwcs_fwdz"
>
服务地址:
</div>
<div
class=
"fwcs_fwdz_inner"
>
<el-input
placeholder=
"请输入内容"
v-model=
"input3"
class=
"input-with-select"
>
<el-select
v-model=
"select"
slot=
"prepend"
placeholder=
"请选择"
>
<el-option
v-for=
"item in optionType"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-input>
</div>
</block-radius>
</block-radius>
</div>
</div>
</
template
>
</
template
>
...
@@ -20,13 +38,26 @@ export default {
...
@@ -20,13 +38,26 @@ export default {
blockRadius
blockRadius
},
},
data
:
()
=>
({
data
:
()
=>
({
activeName
:
"
second
"
btnList
:
[
{
icon
:
""
,
text
:
"
数据服务
"
,
id
:
0
},
{
icon
:
""
,
text
:
"
时空服务
"
,
id
:
1
},
{
icon
:
""
,
text
:
"
视频服务
"
,
id
:
2
},
{
icon
:
""
,
text
:
"
感知服务
"
,
id
:
3
},
{
icon
:
""
,
text
:
"
综合服务
"
,
id
:
4
}
],
activeBtn
:
0
,
input3
:
""
,
select
:
"
GET
"
,
optionType
:
[
{
label
:
"
GET
"
,
value
:
"
GET
"
},
{
label
:
"
POST
"
,
value
:
"
POST
"
}
]
}),
}),
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{},
methods
:
{
methods
:
{
handleClick
(
tab
,
event
)
{
clickBtn
(
val
)
{
console
.
log
(
tab
,
event
)
;
this
.
activeBtn
=
val
;
}
}
},
},
mounted
()
{}
mounted
()
{}
...
@@ -36,11 +67,44 @@ export default {
...
@@ -36,11 +67,44 @@ export default {
<
style
scoped
>
<
style
scoped
>
.fwcs
{
.fwcs
{
}
}
.bread_crumb
{
margin
:
20px
;
font-size
:
14px
;
}
.fwcs_btn_act
{
background-color
:
#e56600
;
color
:
#ffffff
;
}
.fwcs_btn_dis
{
background-color
:
#e3e5ef
;
color
:
#8890a7
;
}
.gray_line
{
.gray_line
{
width
:
98
%
;
width
:
100
%
;
margin
:
20px
auto
;
margin
:
20px
auto
;
height
:
1px
;
height
:
1px
;
background-color
:
#DCDFE6
;
background-color
:
#dcdfe6
;
}
.fwcs_fwdz
{
color
:
#58617a
;
margin
:
20px
;
font-size
:
14px
;
}
.input-with-select
{
width
:
70%
;
}
</
style
>
<
style
>
.bread_crumb
.el-breadcrumb__inner
{
color
:
#b4c0f5
!important
;
}
.bread_crumb
.is-link
{
color
:
#626de9
!important
;
}
.fwcs_fwdz_inner
.el-select
.el-input
{
width
:
130px
;
background-color
:
#0f2683
;
color
:
#ffffff
;
border-radius
:
4px
0px
0px
4px
;
}
}
</
style
>
</
style
>
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