|
|
@ -7,8 +7,8 @@ |
|
|
|
<div class="area-text">反应板夹区</div> |
|
|
|
</div> |
|
|
|
<div class="real-time-temperature"> |
|
|
|
<div :class="['status-ball', { 'overheat': currentTemperature > 40 }]"></div> |
|
|
|
<div class="number">温度: {{ currentTemperature }}°</div> |
|
|
|
<div :class="['status-ball', { 'overheat': temperature > 40 }]"></div> |
|
|
|
<div class="number">温度: {{ temperature }}°</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!--反应板显示区域--> |
|
|
@ -55,8 +55,6 @@ const props = defineProps({ |
|
|
|
default: 40 |
|
|
|
} |
|
|
|
}) |
|
|
|
// 温度状态 |
|
|
|
const currentTemperature = ref(props.temperature); |
|
|
|
|
|
|
|
const changeNumRef = ref() |
|
|
|
const changeNumber = (plate, index) => { |
|
|
|