|
@@ -4,8 +4,10 @@
|
|
<div style="padding-top:20px">
|
|
<div style="padding-top:20px">
|
|
<div class="ob-info-box">
|
|
<div class="ob-info-box">
|
|
<div class="interface-service-header">
|
|
<div class="interface-service-header">
|
|
- <span style="font-size:18px;">{{ name }}</span>
|
|
|
|
- <span style="float:right;font-size:18px;">类型:API</span>
|
|
|
|
|
|
+ <el-tooltip popper-class="service-tooltip" placement="bottom" effect="dark" :content="name">
|
|
|
|
+ <span class="interface-service-left">{{ name }}</span>
|
|
|
|
+ </el-tooltip>
|
|
|
|
+ <span class="interface-service-right">类型:API</span>
|
|
</div>
|
|
</div>
|
|
<div class="service-header">
|
|
<div class="service-header">
|
|
<div class="service-header-left" @click="goDrawer">
|
|
<div class="service-header-left" @click="goDrawer">
|
|
@@ -485,6 +487,19 @@ export default {
|
|
width:100%;
|
|
width:100%;
|
|
height:100%;
|
|
height:100%;
|
|
}
|
|
}
|
|
|
|
+ .interface-service-right{
|
|
|
|
+ float:right;
|
|
|
|
+ font-size:18px;
|
|
|
|
+ }
|
|
|
|
+ .interface-service-left{
|
|
|
|
+ font-size:18px;
|
|
|
|
+ max-width: 85%;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis; /* 显示省略号 */
|
|
|
|
+ white-space: nowrap;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ }
|
|
.service-header{
|
|
.service-header{
|
|
display: flex;
|
|
display: flex;
|
|
}
|
|
}
|
|
@@ -623,3 +638,8 @@ export default {
|
|
width: 80px;
|
|
width: 80px;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
|
|
+<style>
|
|
|
|
+.service-tooltip{
|
|
|
|
+ max-width: 900px;
|
|
|
|
+}
|
|
|
|
+</style>
|