修改 - PanelItem 优化

This commit is contained in:
suwings 2018-04-28 11:16:01 +08:00
parent e72ebc207a
commit 3ba3851891
3 changed files with 17 additions and 2 deletions

View File

@ -172,6 +172,16 @@
background-color: #e6e6e6;
}
/* 专门用来覆盖 PanelItem 的特殊元素 */
.ItemTableList {
padding: 0px 8px;
width: 100%;
margin-bottom: 0px;
border-bottom: 1px solid #d8d8d8;
background-color: initial;
}
.input-group {
margin-bottom: 10px;
}

View File

@ -14,7 +14,8 @@
</div>
</div>
</div>
<div class="PanelItem" v-for="item of items">
<div class=" ItemTableList"></div>
<div class="PanelItem ItemTableList" v-for="item of items">
<div class="row">
<div class="col-md-7">
<div class="PanelItemInfo">
@ -42,6 +43,9 @@
<div class="PanelItemMuem">
<!--<button class="btn btn-success">开启</button>
<button class="btn btn-success">关闭</button>-->
<button class="btn btn-primary" v-on:click="onRedirect('./template/component/server.html','server/get',item.serverName)">
事件监听
</button>
<button class="btn btn-info" v-on:click="onRedirect('./template/component/server.html','server/get',item.serverName)">
参数 | 配置
</button>

View File

@ -17,7 +17,8 @@
</div>
</div>
</div>
<div class="PanelItem" v-for="item of items">
<div class="ItemTableList"></div>
<div class="PanelItem ItemTableList" v-for="item of items">
<div class="row">
<div class="col-md-7">
<div class="PanelItemInfo">