|
|
@@ -8,8 +8,14 @@
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
|
<el-divider />
|
|
|
- <div v-if="scoreInfoList.length > 0" class="score-show">
|
|
|
- <VChart class="pic-show" :option="options" :style="{ height: updateChartHeight }" />
|
|
|
+ <div class="score-show">
|
|
|
+ <VChart
|
|
|
+ v-if="scoreInfoList.length > 0"
|
|
|
+ class="pic-show"
|
|
|
+ :option="options"
|
|
|
+ :style="{ height: updateChartHeight }"
|
|
|
+ />
|
|
|
+ <div v-else class="pic-none">暂无数据</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="score-divider" :style="{ height: updateLineHeight }"></div>
|
|
|
@@ -268,4 +274,12 @@
|
|
|
color: rgba(0, 0, 0, 0.45);
|
|
|
font-size: 10px;
|
|
|
}
|
|
|
+
|
|
|
+ .pic-none {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ height: 100%;
|
|
|
+ font-size: 20px;
|
|
|
+ }
|
|
|
</style>
|