修改界面显示

master
夜笙歌 11 months ago
parent 229cc6cdbe
commit f9023cb9b7

@ -35,8 +35,8 @@
</div>
<vue-seamless-scroll :class-option="scrollTableOption" :data="scrollTableData" class="case-item"
style="height: 84%;overflow: hidden;">
<div v-for="(item, index) in scrollTableData" :key="index">
<div :style='"background-color:" + ((index % 2 === 0) ? "#053460" : "#032d57")'>
<div v-for="(item, index) in scrollTableData" :key="index" style="height: 3vh;">
<div :style='"height:100%;line-height:3vh;background-color:" + ((index % 2 === 0) ? "#053460" : "#032d57")'>
<div class="scrollTableItem">
{{ item.value1 }}
</div>
@ -80,7 +80,7 @@
import vueSeamlessScroll from "vue-seamless-scroll";
import Chart from "../../../components/board/Chart";
import * as echarts from 'echarts'
import { getData } from "@/api/board/getData";
import {getData} from "@/api/board/getData";
export default {
components: {
@ -757,6 +757,7 @@ export default {
font-size: 0.9vw;
color: #fff;
}
.centerBg {
background-image: url("../../../assets/board/model2.png");
background-repeat: no-repeat;

@ -42,8 +42,9 @@
<div
v-for="(item, index) in scrollTableData"
:key="index"
style="height: 3vh;"
>
<div :style='"background-color:" + ((index % 2 === 0)? "#05346066":"#032d5766") '>
<div :style='"height:100%;line-height:3vh;background-color:" + ((index % 2 === 0)? "#05346066":"#032d5766") '>
<div
class="scrollTableItem">
{{ item.value1 }}

Loading…
Cancel
Save