修改界面显示

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

@ -6,7 +6,7 @@
<div class="topNum practicalNum">{{ practicalNum }}</div> <div class="topNum practicalNum">{{ practicalNum }}</div>
<div class="topNum differenceValue">{{ differenceValue }}</div> <div class="topNum differenceValue">{{ differenceValue }}</div>
<div class="title" v-for="(i, k) in title" <div class="title" v-for="(i, k) in title"
:style="'top:' + (titlePosition[k] && titlePosition[k].top || 0) + '%;left:' + (titlePosition[k] && titlePosition[k].left || 0) + '%'"> :style="'top:' + (titlePosition[k] && titlePosition[k].top || 0) + '%;left:' + (titlePosition[k] && titlePosition[k].left || 0) + '%'">
{{ i }} {{ i }}
</div> </div>
<div class="meter">平均节拍{{ meter }} /</div> <div class="meter">平均节拍{{ meter }} /</div>
@ -34,9 +34,9 @@
</div> </div>
</div> </div>
<vue-seamless-scroll :class-option="scrollTableOption" :data="scrollTableData" class="case-item" <vue-seamless-scroll :class-option="scrollTableOption" :data="scrollTableData" class="case-item"
style="height: 84%;overflow: hidden;"> style="height: 84%;overflow: hidden;">
<div v-for="(item, index) in scrollTableData" :key="index"> <div v-for="(item, index) in scrollTableData" :key="index" style="height: 3vh;">
<div :style='"background-color:" + ((index % 2 === 0) ? "#053460" : "#032d57")'> <div :style='"height:100%;line-height:3vh;background-color:" + ((index % 2 === 0) ? "#053460" : "#032d57")'>
<div class="scrollTableItem"> <div class="scrollTableItem">
{{ item.value1 }} {{ item.value1 }}
</div> </div>
@ -80,7 +80,7 @@
import vueSeamlessScroll from "vue-seamless-scroll"; import vueSeamlessScroll from "vue-seamless-scroll";
import Chart from "../../../components/board/Chart"; import Chart from "../../../components/board/Chart";
import * as echarts from 'echarts' import * as echarts from 'echarts'
import { getData } from "@/api/board/getData"; import {getData} from "@/api/board/getData";
export default { export default {
components: { components: {
@ -757,6 +757,7 @@ export default {
font-size: 0.9vw; font-size: 0.9vw;
color: #fff; color: #fff;
} }
.centerBg { .centerBg {
background-image: url("../../../assets/board/model2.png"); background-image: url("../../../assets/board/model2.png");
background-repeat: no-repeat; background-repeat: no-repeat;

@ -42,8 +42,9 @@
<div <div
v-for="(item, index) in scrollTableData" v-for="(item, index) in scrollTableData"
:key="index" :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 <div
class="scrollTableItem"> class="scrollTableItem">
{{ item.value1 }} {{ item.value1 }}

Loading…
Cancel
Save