Commit 6ea776ec authored by renjintao's avatar renjintao

index bg&&scrool

parent 66b7669d
<template> <template>
<div class="mainDivs">
<div style="width:1860px;margin:0 auto;" class="divmain"> <div style="width:1860px;margin:0 auto;" class="divmain">
<Row :gutter="24" index> <Row :gutter="24" index>
<!--left--> <!--left-->
...@@ -297,6 +298,7 @@ ...@@ -297,6 +298,7 @@
<Col span="24" class="mb50">&nbsp;</Col> <Col span="24" class="mb50">&nbsp;</Col>
</Row> </Row>
</div> </div>
</div>
</template> </template>
<script> <script>
import Train from "./train"; import Train from "./train";
...@@ -489,4 +491,14 @@ export default { ...@@ -489,4 +491,14 @@ export default {
.hoverImg :hover { .hoverImg :hover {
background: #ccc; background: #ccc;
} }
.mainDivs {
position: fixed;
width: 100%;
top: 90px;
left: 0;
right: 0;
background: #f5f6fa;
height: calc(100vh - 90px);
overflow: auto;
}
</style> </style>
\ No newline at end of file
<template> <template>
<div class="mainDivs">
<div style="width:1740px;margin:0 auto;"> <div style="width:1740px;margin:0 auto;">
<Row class="mt20"> <Row class="mt20">
<Col span="12" class="tc"> <Col span="12" class="tc">
...@@ -80,7 +81,8 @@ ...@@ -80,7 +81,8 @@
<Row> <Row>
<Col span="24" style="height:150px"> <Col span="24" style="height:150px">
<span class="fl trainTitles" style="color: #2d8cf0;">作业前准备</span> <Train :row="dataBlue" class="fl"></Train> <span class="fl trainTitles" style="color: #2d8cf0;">作业前准备</span>
<Train :row="dataBlue" class="fl"></Train>
</Col> </Col>
</Row> </Row>
<Row class="lh30"> <Row class="lh30">
...@@ -102,7 +104,8 @@ ...@@ -102,7 +104,8 @@
<!--3--> <!--3-->
<Row> <Row>
<Col span="24" style="height:150px"> <Col span="24" style="height:150px">
<span class="fl trainTitles" style="color: #888;">无电</span><Train :row="dataGray" class="fl"></Train> <span class="fl trainTitles" style="color: #888;">无电</span>
<Train :row="dataGray" class="fl"></Train>
</Col> </Col>
</Row> </Row>
<Row class="lh30"> <Row class="lh30">
...@@ -149,6 +152,7 @@ ...@@ -149,6 +152,7 @@
<Col span="24" class="mb50">&nbsp;</Col> <Col span="24" class="mb50">&nbsp;</Col>
</Row> </Row>
</div> </div>
</div>
</template> </template>
<script> <script>
import Train from "./train"; import Train from "./train";
...@@ -223,6 +227,16 @@ export default { ...@@ -223,6 +227,16 @@ export default {
}; };
</script> </script>
<style lang="less"> <style lang="less">
.mainDivs {
position: fixed;
width: 100%;
top: 90px;
left: 0;
right: 0;
background: #f5f6fa;
height: calc(100vh - 90px);
overflow:auto;
}
.trainTitles { .trainTitles {
line-height: 130px; line-height: 130px;
font-size: 18px; font-size: 18px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment