|
|
|
@import url("./fonts.scss");
|
|
|
|
@import url("./element-plus.scss");
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--fg-box-margin: 16px;
|
|
|
|
// 外观 撑杆 轮播图&视频
|
|
|
|
--fg-swiper-monitor-main-iamge-width: 581px;
|
|
|
|
--fg-swiper-monitor-main-iamge-height: 400px;
|
|
|
|
--fg-swiper-monitor-slide-iamge-width: 155px;
|
|
|
|
--fg-swiper-monitor-slide-iamge-height: 91px;
|
|
|
|
}
|
|
|
|
// 标题背景
|
|
|
|
.bg_title {
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
height: 14px;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
// 标题图
|
|
|
|
@for $i from 0 through 8 {
|
|
|
|
// 生成动态类名
|
|
|
|
.bg_title_#{$i} {
|
|
|
|
// 动态设置背景图片,引用对应的图标
|
|
|
|
background-image: url("@/assets/header/title#{$i}.png");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-basic-content {
|
|
|
|
background: linear-gradient(180deg, rgba(7, 16, 19, 0) 0%, #081417 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-error-picture {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: url("@/assets/common/load_file_error.png") no-repeat center center;
|
|
|
|
background-size: 50%;
|
|
|
|
border: 1px dashed red;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 标题字体
|
|
|
|
.fg-title {
|
|
|
|
font-family: "DouyinSansBold"; // 自定义字体名称
|
|
|
|
// 字体样式(根据需求调整)
|
|
|
|
font-size: 16px;
|
|
|
|
color: #96e6ff; // 初始字体颜色, 浅蓝色
|
|
|
|
// 背景渐变和裁剪
|
|
|
|
background: linear-gradient(to bottom, #ffffff, #96e6ff);
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
background-clip: text;
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
}
|
|
|
|
// 特殊标记1
|
|
|
|
.fg-mark1 {
|
|
|
|
font-family: "DingTalk JinBuTi"; // 自定义字体名称
|
|
|
|
// 字体样式(根据需求调整)
|
|
|
|
color: #1cecf5; // 初始字体颜色, 浅蓝色
|
|
|
|
}
|
|
|
|
.fg-f-1 {
|
|
|
|
font-family: "DingTalk JinBuTi"; // 自定义字体名称
|
|
|
|
}
|
|
|
|
// 标题图标
|
|
|
|
.fg-icon {
|
|
|
|
width: 17px;
|
|
|
|
height: 17px;
|
|
|
|
background-image: url("@/assets/common/title_before_icon.png");
|
|
|
|
background-size: 100% 100%;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
/* 按钮 */
|
|
|
|
.fg-button {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 0 10px;
|
|
|
|
height: 28px;
|
|
|
|
border-radius: 2px 2px 2px 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fg-basic-btn {
|
|
|
|
height: 32px;
|
|
|
|
width: 76px;
|
|
|
|
margin: 0;
|
|
|
|
&.el-button {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fg-info-button {
|
|
|
|
background: linear-gradient(180deg, #2589ff 0%, #46a9ed 100%);
|
|
|
|
border: 1px solid #42a5f5;
|
|
|
|
border-radius: 2px;
|
|
|
|
color: white;
|
|
|
|
margin-left: 0;
|
|
|
|
height: 32px;
|
|
|
|
& .icon {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
background-image: url("@/assets/common/search_icon.png");
|
|
|
|
background-size: contain;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fg-reset-btn {
|
|
|
|
background: transparent;
|
|
|
|
border-radius: 2px;
|
|
|
|
border: 1px solid #088bd6;
|
|
|
|
color: white;
|
|
|
|
box-shadow: none;
|
|
|
|
& .icon {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
background-image: url("@/assets/common/reset_icon.png");
|
|
|
|
background-size: contain;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fg-button-primary {
|
|
|
|
@apply fg-button;
|
|
|
|
background: #009dff;
|
|
|
|
}
|
|
|
|
.fg-button-primary1 {
|
|
|
|
@apply fg-button;
|
|
|
|
background: #22bacb;
|
|
|
|
}
|
|
|
|
.fg-button-primary-danger {
|
|
|
|
@apply fg-button;
|
|
|
|
background: #f53f3f;
|
|
|
|
}
|
|
|
|
// 弹窗
|
|
|
|
.fg-dialog {
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: url("@/assets/common/dialog_bg1.png");
|
|
|
|
background-size: 100% 100%;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
padding: 0 !important;
|
|
|
|
width: 816px;
|
|
|
|
height: 640px;
|
|
|
|
&.fg-dialog2 {
|
|
|
|
width: 1202px;
|
|
|
|
height: 602px;
|
|
|
|
background-image: url("@/assets/common/dialog_bg2.png");
|
|
|
|
}
|
|
|
|
.fg-dialog-header-close {
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
position: absolute;
|
|
|
|
right: -17px;
|
|
|
|
top: -17px;
|
|
|
|
z-index: 999999 !important;
|
|
|
|
cursor: pointer;
|
|
|
|
background-image: url("@/assets/common/dialog_close_icon.png");
|
|
|
|
background-size: 100% 100%;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
.fg-dialog-header {
|
|
|
|
position: relative;
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: url("@/assets/common/dialog_head_bg.png");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 外观、撑杆、钩机(监测)底部图表
|
|
|
|
.fg-footer-charts {
|
|
|
|
display: flex;
|
|
|
|
margin-top: 16px;
|
|
|
|
gap: 16px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
& > li {
|
|
|
|
height: 230px;
|
|
|
|
background: url("@/assets/common/long_chart_bg.png") no-repeat center center;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
width: calc(50% - 50px);
|
|
|
|
// background-color: red;
|
|
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
|
|
width: calc(50% + 50px);
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.fg-footer-charts-title {
|
|
|
|
@apply fg-title;
|
|
|
|
font-size: 18px;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
.fg-footer-charts-content {
|
|
|
|
max-width: 950px;
|
|
|
|
// background-color: red;
|
|
|
|
// overflow-x: auto;
|
|
|
|
// overflow-y: hidden;
|
|
|
|
height: calc(230px - 40px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.fg-empty-image {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-image: url("@/assets/common/emptyBg.png");
|
|
|
|
background-size: 312px 204px;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|