支持展示abl-logo
parent
4d6f881460
commit
b7b950ec8b
|
@ -10,7 +10,8 @@
|
|||
<el-row :gutter="12">
|
||||
<el-col :span="num" v-for="item in mediaServerList" :key="item.id">
|
||||
<el-card shadow="hover" :body-style="{ padding: '0px'}" class="server-card">
|
||||
<div class="card-img-zlm"></div>
|
||||
<div v-if="item.type === 'zlm'" class="card-img-zlm"></div>
|
||||
<div v-if="item.type === 'abl'" class="card-img-abl"></div>
|
||||
<div style="padding: 14px;text-align: left">
|
||||
<span style="font-size: 16px">{{item.id}}</span>
|
||||
<el-button v-if="!item.defaultServer" icon="el-icon-edit" style="padding: 0;float: right;" type="text" @click="edit(item)">编辑</el-button>
|
||||
|
@ -154,6 +155,13 @@
|
|||
background-size: contain;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.card-img-abl{
|
||||
width: 200px; height: 200px;
|
||||
background: url('~@static/images/abl-logo.jpg') no-repeat center;
|
||||
background-position: center;
|
||||
background-size: contain;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.server-card-status-online{
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
Reference in New Issue