Browse Source

运营公交车辆卡片优化

dev
巴林闲侠 1 year ago
parent
commit
8bbe49adbb
  1. 2
      web/client/src/sections/quanju/containers/footer/operation/right.js
  2. 14
      web/client/src/sections/quanju/containers/footer/operation/style.less

2
web/client/src/sections/quanju/containers/footer/operation/right.js

@ -56,7 +56,7 @@ const Right = ({ busRunTime }) => {
const style = { height: "97%", marginTop: "3%" } const style = { height: "97%", marginTop: "3%" }
const carouselContent = busRunTimeList.map((d, index) => { const carouselContent = busRunTimeList.map((d, index) => {
return ( return (
<div key={index} style={{ width: '100%', height: '40%' }}> <div key={index} style={{ width: '100%', height: '40%' }} className='carCard'>
<div className='busInformation'> <div className='busInformation'>
<img src='/assets/images/quanju/theBus.png' style={{ width: '15%', display: 'block', float: 'left' }} /> <img src='/assets/images/quanju/theBus.png' style={{ width: '15%', display: 'block', float: 'left' }} />
<span> <span>

14
web/client/src/sections/quanju/containers/footer/operation/style.less

@ -3,11 +3,13 @@
height: 96%; height: 96%;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected { .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
background: none; background: none;
background-color: none !important; background-color: none !important;
border: 1px solid rgba(10, 114, 255, 1); border: 1px solid rgba(10, 114, 255, 1);
} }
.ant-tree .ant-tree-node-content-wrapper:hover { .ant-tree .ant-tree-node-content-wrapper:hover {
background-color: none; background-color: none;
background: none; background: none;
@ -30,14 +32,23 @@
border-radius: 1px border-radius: 1px
} }
//
.carCard {
background-image: url(/assets/images/leadership/beijinglan.png);
background-size: cover;
margin: 12px 0;
padding: 0 -4px;
}
//车辆视频监控样式 //车辆视频监控样式
.busInformation { .busInformation {
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
span { span {
width: 85%; width: 85%;
height: 15%; height: 15%;
h3 { h3 {
margin-top: 6%; margin-top: 6%;
list-style: none; list-style: none;
@ -47,6 +58,7 @@
float: left; float: left;
font-size: 10px; font-size: 10px;
} }
h4 { h4 {
margin-top: 3.6%; margin-top: 3.6%;
color: #fff; color: #fff;
@ -58,6 +70,7 @@
float: left; float: left;
text-shadow: 0px 0px 8px #07B9FE; text-shadow: 0px 0px 8px #07B9FE;
} }
h5 { h5 {
margin-top: 4.2%; margin-top: 4.2%;
color: #fff; color: #fff;
@ -71,6 +84,7 @@
} }
} }
} }
.busVideo { .busVideo {
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;

Loading…
Cancel
Save