You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
4.1 KiB
SCSS
120 lines
4.1 KiB
SCSS
1 week ago
|
.trainModal-wrap.el-dialog {
|
||
|
.train-dialog-header {
|
||
|
color: white;
|
||
|
padding: 0;
|
||
|
// padding-top: 8px;
|
||
|
// margin-bottom: 20px;
|
||
|
.header-left {
|
||
|
padding: 0 24px;
|
||
|
font-weight: bold;
|
||
|
font-size: 18px;
|
||
|
.header-icon {
|
||
|
width: 24px;
|
||
|
height: 48px;
|
||
|
background-image: url("@/assets/common/sub_title_icon.png");
|
||
|
background-size: contain;
|
||
|
background-position: center;
|
||
|
background-repeat: no-repeat;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.train-content {
|
||
|
box-sizing: border-box;
|
||
|
padding: 0 24px;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
|
||
|
.train-content-top {
|
||
|
box-sizing: border-box;
|
||
|
width: 100%;
|
||
|
.train-content-top-img {
|
||
|
box-sizing: border-box;
|
||
|
padding-top: 16px;
|
||
|
display: flex;
|
||
|
flex-wrap: wrap;
|
||
|
justify-content: space-between; /* 水平方向均匀分布间距 */
|
||
|
align-content: space-between; /* 垂直方向均匀分布间距 */
|
||
|
|
||
|
}
|
||
|
img {
|
||
|
width: 568px;
|
||
|
height: 349px;
|
||
|
}
|
||
|
}
|
||
|
.train-content-bottom {
|
||
|
box-sizing: border-box;
|
||
|
margin-top: 12px;
|
||
|
|
||
|
.train-content-bottom-train {
|
||
|
box-sizing: border-box;
|
||
|
padding-top: 16px;
|
||
|
display: flex;
|
||
|
width: 100%;
|
||
|
height: 82px;
|
||
|
.train-card-item {
|
||
|
width: 80px;
|
||
|
height: 56px;
|
||
|
background-image: url("@/assets/trainManage/train_card_bg.png");
|
||
|
background-size: 100% 100%;
|
||
|
background-position: center;
|
||
|
background-repeat: no-repeat;
|
||
|
font-weight: 500;
|
||
|
font-size: 12px;
|
||
|
color: #37DBFF;
|
||
|
.train_head_icon{
|
||
|
width: 48px;
|
||
|
height: 48px;
|
||
|
background-image: url("@/assets/trainManage/train_head.png");
|
||
|
background-size: 100% 100%;
|
||
|
background-position: center;
|
||
|
background-repeat: no-repeat;
|
||
|
}
|
||
|
}
|
||
|
.train-card-item-list,
|
||
|
.high-height {
|
||
|
box-sizing: border-box;
|
||
|
width: 100%;
|
||
|
height: 82px;
|
||
|
padding: 16px 0;
|
||
|
display: flex;
|
||
|
// align-items: flex-end;
|
||
|
overflow-x: auto; /* 开启横向滚动 */
|
||
|
white-space: nowrap; /* 防止车厢内容换行 */
|
||
|
// background-color: #003366; /* 设置与背景相近颜色,这里假设深蓝色背景 */
|
||
|
padding: 0; /* 去除默认内边距 */
|
||
|
margin: 0; /* 去除默认外边距 */
|
||
|
margin-top: 18px;
|
||
|
|
||
|
gap: 8px; /* 车厢之间的间距 */
|
||
|
/* 自定义滚动条样式 */
|
||
|
&::-webkit-scrollbar {
|
||
|
height: 8px; /* 滚动条高度 */
|
||
|
background-color: transparent;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
&::-webkit-scrollbar-thumb {
|
||
|
background-color: rgba(255,255,255,0.6); /* 滚动条滑块颜色 */
|
||
|
border-radius: 4px; /* 滑块圆角 */
|
||
|
cursor: pointer;
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.train-content-bottom-title {
|
||
|
width: 100%;
|
||
|
box-sizing: border-box;
|
||
|
padding-left: 8px;
|
||
|
height: 22px;
|
||
|
font-weight: bold;
|
||
|
font-size: 14px;
|
||
|
color: #FFFFFF;
|
||
|
border-left: 3px solid #46A9ED;
|
||
|
line-height: 22px;
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|