mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-09-24 15:13:04 +08:00
feat(application): add application banner image and enhance card layouts
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 203 KiB |
@@ -11,7 +11,7 @@
|
||||
</div>
|
||||
<div class="thing-footer">
|
||||
<div class="thing-footer-title">
|
||||
<span>{{name}}</span>
|
||||
<span class="thing-body-content-application-name">{{name}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -31,7 +31,7 @@
|
||||
},
|
||||
icon: {
|
||||
type: String,
|
||||
default: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg'
|
||||
default: 'images/app/application.jpg'
|
||||
},
|
||||
url: {
|
||||
type: String,
|
||||
@@ -68,6 +68,18 @@
|
||||
.thing-body-content-application-icon {
|
||||
width: 120px;
|
||||
cursor: pointer;
|
||||
|
||||
.el-avatar {
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.thing-body-content-application-name {
|
||||
display: block;
|
||||
width: 120px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</div>
|
||||
<div class="thing-footer">
|
||||
<div class="thing-footer-title">
|
||||
<span>{{name}}</span>
|
||||
<span class="thing-body-content-dashboard-name">{{name}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -77,4 +77,12 @@
|
||||
max-width: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
.thing-body-content-dashboard-name {
|
||||
display: block;
|
||||
width: 280px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user