Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
爱吃血肠
incubator-dubbo-admin
提交
da4441f5
I
incubator-dubbo-admin
项目概览
爱吃血肠
/
incubator-dubbo-admin
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
incubator-dubbo-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
da4441f5
编写于
2月 12, 2019
作者:
N
nzomkxia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
customize button style and size #295
上级
327cdbb7
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
57 addition
and
22 deletion
+57
-22
dubbo-admin-ui/src/components/ServiceDetail.vue
dubbo-admin-ui/src/components/ServiceDetail.vue
+32
-12
dubbo-admin-ui/src/components/ServiceSearch.vue
dubbo-admin-ui/src/components/ServiceSearch.vue
+21
-10
dubbo-admin-ui/src/lang/en.js
dubbo-admin-ui/src/lang/en.js
+2
-0
dubbo-admin-ui/src/lang/zh.js
dubbo-admin-ui/src/lang/zh.js
+2
-0
未找到文件。
dubbo-admin-ui/src/components/ServiceDetail.vue
浏览文件 @
da4441f5
...
...
@@ -56,17 +56,21 @@
<td>
{{
getPort
(
props
.
item
.
address
)
}}
</td>
<td></td>
<td></td>
<td><v-tooltip
top
>
<v-btn
small
slot=
"activator"
color=
"primary"
@
click=
"toCopyText(props.item.url)"
>
{{
$t
(
'
copyUrl
'
)
}}
</v-btn>
<span>
{{
props
.
item
.
url
}}
</span>
</v-tooltip></td>
<td>
<v-tooltip
top
>
<v-btn
class=
"tiny"
slot=
"activator"
color=
"primary"
@
mouseover=
"setHoverHint"
@
mouseout=
"setoutHint"
@
click=
"toCopyText(props.item.url)"
>
{{
$t
(
hint
)
}}
</v-btn>
<span>
{{
props
.
item
.
url
}}
</span>
</v-tooltip>
</td>
</
template
>
</v-data-table>
</v-tab-item>
...
...
@@ -121,7 +125,8 @@
providerDetails
:
[],
consumerDetails
:
[],
methodMetaData
:
[],
basic
:
[]
basic
:
[],
hint
:
'
url
'
}),
methods
:
{
setmetaHeaders
:
function
()
{
...
...
@@ -143,6 +148,13 @@
}
]
},
setHoverHint
:
function
()
{
this
.
hint
=
'
copy
'
},
setoutHint
:
function
()
{
this
.
hint
=
'
url
'
},
setdetailHeaders
:
function
()
{
this
.
detailHeaders
=
{
providers
:
[
...
...
@@ -261,3 +273,11 @@
}
</
script
>
<
style
scoped
>
.tiny
{
min-width
:
30px
;
height
:
20px
;
font-size
:
8px
;
}
</
style
>
dubbo-admin-ui/src/components/ServiceSearch.vue
浏览文件 @
da4441f5
...
...
@@ -81,29 +81,30 @@
<td>
{{
props
.
item
.
appName
}}
</td>
<td
class=
"text-xs-center px-0"
nowrap
>
<v-btn
small
color=
'
primary
'
@
click=
"toTestService(props.item)"
class=
"tiny"
color=
'
success
'
:href=
'getHref(props.item.service, props.item.appName, props.item.group, props.item.version)'
>
{{
$t
(
'
test
'
)
}}
{{
$t
(
'
detail
'
)
}}
</v-btn>
<v-btn
small
color=
'primary'
:href=
'getHref(props.item.service, props.item.appName, props.item.group, props.item.version)'
class=
"tiny"
outline
@
click=
"toTestService(props.item)"
>
{{
$t
(
'
detail
'
)
}}
{{
$t
(
'
test
'
)
}}
</v-btn>
<v-menu
>
<v-btn
slot=
"activator"
color=
"primary"
class=
"tiny"
outline
small
dark
>
{{
$t
(
'
more
'
)
}}
<v-icon
>
expand_more
</v-icon>
<v-icon
class=
"tiny-icon"
>
arrow_drop_down
</v-icon>
</v-btn>
<v-list>
<v-list-tile
...
...
@@ -331,5 +332,15 @@
word-break
:
break-all
;
}
.tiny
{
min-width
:
30px
;
height
:
20px
;
font-size
:
8px
;
}
.tiny-icon
{
font-size
:
18px
;
}
</
style
>
dubbo-admin-ui/src/lang/en.js
浏览文件 @
da4441f5
...
...
@@ -132,6 +132,8 @@ export default {
detail
:
'
Detail
'
,
more
:
'
More
'
,
copyUrl
:
'
Copy URL
'
,
copy
:
'
Copy
'
,
url
:
'
URL
'
,
copySuccessfully
:
'
Copied
'
,
test
:
'
Test
'
,
placeholders
:
{
...
...
dubbo-admin-ui/src/lang/zh.js
浏览文件 @
da4441f5
...
...
@@ -132,6 +132,8 @@ export default {
detail
:
'
详情
'
,
more
:
'
更多
'
,
copyUrl
:
'
复制 URL
'
,
copy
:
'
复制
'
,
url
:
'
URL
'
,
copySuccessfully
:
'
已复制
'
,
test
:
'
测试
'
,
placeholders
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录