|
@@ -841,13 +841,13 @@ const handleRefreshChart=async ()=>{
|
|
|
<div class="latest-value-wrap" v-if="resData">
|
|
|
<p style="margin-bottom:10px">最新数值</p>
|
|
|
<ul class="flex list" v-if="resData.ChartInfo.ChartType===1">
|
|
|
- <li v-for="item in chartData.series" :key="item.name">
|
|
|
+ <li :class="chartData.series.length==1?'one':''" v-for="item in chartData.series" :key="item.name">
|
|
|
<p style="color:#333">{{moment(item.LatestDate).format('YYYY-MM-DD')}}</p>
|
|
|
<p :style="{color:item.color}">{{item.name}}</p>
|
|
|
<p style="color:#1F243A">{{item.LatestValue}}</p>
|
|
|
</li>
|
|
|
</ul>
|
|
|
- <ul class="list" v-else>
|
|
|
+ <ul class="flex list" v-else>
|
|
|
<li style="width:100%;border-right:none">
|
|
|
<p style="color:#333">{{moment(resData.EdbInfoList[0].LatestDate).format('YYYY-MM-DD')}}</p>
|
|
|
<p :style="{color:resData.EdbInfoList[0].ChartColor}">{{resData.ChartInfo.ChartName}}</p>
|
|
@@ -1043,6 +1043,10 @@ const handleRefreshChart=async ()=>{
|
|
|
font-size: 28px;
|
|
|
}
|
|
|
}
|
|
|
+ .one{
|
|
|
+ flex: 1;
|
|
|
+ border-right: none !important;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|