Merge branch 'lx' of http://192.168.110.2:3000/taoge_xiaodi/maintenance_system
This commit is contained in:
16
src/assets/styles/1.html
Normal file
16
src/assets/styles/1.html
Normal file
@ -0,0 +1,16 @@
|
||||
<div class="card">
|
||||
<div id="content">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
// 定义每个状态对应的图片URL
|
||||
const titleList = ['运行正常', '运行异常', '未运行']
|
||||
let titleHtml = ""
|
||||
titleList.forEach((title, index) => {
|
||||
titleHtml += `我是标题${title}<br>`
|
||||
})
|
||||
document.getElementById('content').innerHTML = titleHtml
|
||||
|
||||
</script>
|
||||
@ -1,16 +1,230 @@
|
||||
.no-header-dialog {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#custom-dialog {
|
||||
padding: 0;
|
||||
top: 0;
|
||||
|
||||
.el-dialog__header {
|
||||
display: none;
|
||||
// display: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.el-dialog__body {
|
||||
padding: 0 !important;
|
||||
// height: auto !important;
|
||||
max-height: none !important;
|
||||
}
|
||||
|
||||
.alert-content {
|
||||
padding: 80px;
|
||||
.status-alert-content {
|
||||
background: linear-gradient(180deg, rgba(0, 119, 255, 0.23) 0%, rgba(255, 255, 255, 0) 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding-left: 20px;
|
||||
padding-right: 50px;
|
||||
|
||||
.info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
|
||||
.title {
|
||||
color: rgba(0, 30, 59, 1);
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.name {
|
||||
color: rgba(0, 30, 59, 1);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
|
||||
.last-update {
|
||||
// font-size: ;
|
||||
color: rgba(113, 128, 150, 1);
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.text {
|
||||
font-size: 12px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.img {
|
||||
width: 240px;
|
||||
height: 240px;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.info-box {
|
||||
font-size: 12px;
|
||||
display: flex;
|
||||
gap: 40px;
|
||||
margin-left: 30px;
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: rgba(113, 128, 150, 1);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.text {
|
||||
font-weight: bold;
|
||||
color: rgba(0, 30, 59, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.status-alert-content .success {
|
||||
color: rgba(0, 184, 122, 1) !important;
|
||||
}
|
||||
|
||||
.status-alert-content .orange {
|
||||
color: rgba(255, 153, 0, 1) !important;
|
||||
}
|
||||
|
||||
.status-alert-content .red {
|
||||
color: rgba(227, 39, 39, 1) !important;
|
||||
}
|
||||
|
||||
.back {
|
||||
background-image: url("/assets/dialog2.png");
|
||||
background-size: 455px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 780px -65px;
|
||||
}
|
||||
|
||||
.alarm-alert-content {
|
||||
background: linear-gradient(180deg, rgba(255, 87, 51, 0.23) 0%, rgba(255, 219, 219, 0) 100%);
|
||||
padding-left: 50px;
|
||||
padding-right: 50px;
|
||||
padding-bottom: 50px;
|
||||
|
||||
.top {
|
||||
display: flex;
|
||||
gap: 50px;
|
||||
align-items: center;
|
||||
padding: 50px 0;
|
||||
padding-bottom: 20px;
|
||||
|
||||
|
||||
.info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
|
||||
.title {
|
||||
color: rgba(227, 39, 39, 1);
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.alarm-id {
|
||||
color: rgba(0, 30, 59, 1);
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.status-box {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
|
||||
.status {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.last-update {
|
||||
color: rgba(113, 128, 150, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.info-box {
|
||||
.list {
|
||||
display: flex;
|
||||
gap: 90px;
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
|
||||
.title {
|
||||
color: rgba(113, 128, 150, 1);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.text {
|
||||
color: rgba(0, 30, 59, 1);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progress-box {
|
||||
.title {
|
||||
color: rgba(0, 30, 59, 1);
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.notice-box {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
color: rgba(113, 128, 150, 1);
|
||||
|
||||
.time {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.title.active {
|
||||
color: rgba(247, 89, 10, 1);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.alarm-alert-content .red {
|
||||
color: rgba(227, 39, 39, 1) !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user