Commit 16db1492 by huangqy

111

parent 28f8597d
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<div class="item"> <div class="item">
<span>当前温度</span> <span>当前温度</span>
<dv-decoration-9 style="width: 1.5rem;height: 1.5rem;margin-left: 35px;" :color="colors2"> <dv-decoration-9 style="width: 1.5rem;height: 1.5rem;margin-left: 35px;" :color="colors2">
<span style="font-size: 0.25rem;color: rgb(61,231,201);font-weight: bold;" v-if="currentData && currentData.length > 0">{{ currentData.length == 1 ? currentData[0].temperature.split('℃')[0]*0.99 + '℃' : currentData[1].temperature }}</span> <span style="font-size: 0.25rem;color: rgb(61,231,201);font-weight: bold;" v-if="currentData && currentData.length > 0">{{ currentData.length == 1 ? currentData[0].temperature.split('℃')[0]*0.99.toFixed(2) + '℃' : currentData[1].temperature }}</span>
</dv-decoration-9> </dv-decoration-9>
</div> </div>
<div class="item"> <div class="item">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论