style: termail 样式调整

This commit is contained in:
zhangyu
2021-04-27 10:02:08 +08:00
parent 2b3047b413
commit fe6e77a6c3
2 changed files with 17 additions and 1 deletions

View File

@@ -199,4 +199,7 @@
color: $--theme-color; color: $--theme-color;
} }
} }
.sub-list{
background: #000 !important;
}
/* 上滑resize工具条--end */ /* 上滑resize工具条--end */

View File

@@ -1,4 +1,4 @@
<style lang="scss"> <style lang="scss" scoped>
@import './webSSH.scss'; @import './webSSH.scss';
</style> </style>
<template> <template>
@@ -57,6 +57,18 @@
> >
<!-- tab显示的内容 1 grey,2 green, 3 red--> <!-- tab显示的内容 1 grey,2 green, 3 red-->
<span slot="label" style=""> <span slot="label" style="">
<el-popover
slot="label"
placement="top"
width="150"
trigger="hover"
:popper-class="'popover-webshell'"
>
<div>
{{item.uuid.slice(0,7)}}
</div>
<span slot="reference"> <i class="nz-icon nz-icon-about" /></span>
</el-popover>
<div :class="{'active-icon grey':item.circleColor == 1,'active-icon green':item.circleColor == 2,'active-icon red':item.circleColor == 3}" <div :class="{'active-icon grey':item.circleColor == 1,'active-icon green':item.circleColor == 2,'active-icon red':item.circleColor == 3}"
style="margin-top: 0px;"></div>{{item.title}} style="margin-top: 0px;"></div>{{item.title}}
</span> </span>
@@ -441,6 +453,7 @@ export default {
title: title, title: title,
name: newTabName, name: newTabName,
circleColor: 1, // 1 grey,2 green, 3 red circleColor: 1, // 1 grey,2 green, 3 red
uuid: uuid,
terminal: { terminal: {
name: newTabName, name: newTabName,
cols: 225, cols: 225,