feat: Add video embedding functionality and update facilities data structure

This commit is contained in:
zhangyuheng
2026-03-09 16:47:33 +08:00
parent 23af029688
commit 7294088ed8
4 changed files with 100 additions and 14 deletions

View File

@@ -453,6 +453,27 @@
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
/* Video Embed */
.video-embed-wrapper {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
margin: 12px 0 20px;
border-radius: 12px;
overflow: hidden;
background: #000;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.video-embed-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
.no-results-message {
text-align: center;
padding: 60px;
@@ -999,6 +1020,11 @@
color: #1565c0;
}
.badge-video {
background: #fce4ec;
color: #c62828;
}
.sortable-item .item-content {
flex: 1;
border: 1px solid rgba(0,0,0,0.06) !important;