提交代码

main
姜玉琦 2024-07-03 16:03:16 +08:00
parent 25bb59c95e
commit 7e1ca83ef7
3 changed files with 11 additions and 11 deletions

View File

@ -19,14 +19,14 @@
<script lang='ts' setup>
import {reactive} from 'vue'
let noticeList=reactive([
{ type:'info',msg:'测试消息1',date:'2024-05-12'},
{ type:'info',msg:'测试消息2',date:'2024-05-12'},
{ type:'warn',msg:'测试告警3',date:'2024-05-12'},
{ type:'warn',msg:'测试告警4',date:'2024-05-12'},
{ type:'info',msg:'测试消息5',date:'2024-05-12'},
{ type:'warn',msg:'测试告警3',date:'2024-05-12'},
{ type:'warn',msg:'测试告警4',date:'2024-05-12'},
{ type:'info',msg:'测试消息5',date:'2024-05-12'},
{ type:'info',msg:'用户王大山修改了密码',date:'2024-05-12'},
{ type:'info',msg:'用户王大山修改了密码',date:'2024-05-12'},
{ type:'warn',msg:'设备abc服务器异常中断',date:'2024-05-12'},
{ type:'warn',msg:'设备abc服务器异常中断',date:'2024-05-12'},
{ type:'info',msg:'用户王大山修改了密码',date:'2024-05-12'},
{ type:'warn',msg:'设备abc服务器异常中断',date:'2024-05-12'},
{ type:'warn',msg:'设备abc服务器异常中断',date:'2024-05-12'},
{ type:'info',msg:'用户王大山修改了密码',date:'2024-05-12'},
])
</script>
<style lang='scss'>

View File

@ -49,7 +49,7 @@
<span>{{ it.temperature }}%</span>
</div>
<div class="chart-line">
<div class="chart-line-inline" :style="'width:' + it.temperature + '%'"></div>
<div class="chart-line-inline" :style="'width:' + it.temperature + '°'"></div>
</div>
<div class="chart-item-title">

View File

@ -34,7 +34,7 @@
</template>
<div class="dev-row2">
<div>
网络类型:<span>{{ it.netType }}</span>
任务类型:<span>{{ it.netType }}</span>
</div>
</div>
<div class="dev-row3">
@ -49,7 +49,7 @@
<span>{{ it.temperature }}%</span>
</div>
<div class="chart-line">
<div class="chart-line-inline" :style="'width:' + it.temperature + '%'"></div>
<div class="chart-line-inline" :style="'width:' + it.temperature + '°'"></div>
</div>
<div class="chart-item-title">