修改测试问题
This commit is contained in:
@@ -25,8 +25,8 @@
|
||||
<template v-for="(item, index) in IOData">
|
||||
<view class="item">{{ item.clDid }}</view>
|
||||
<view class="item" style="font-weight: 700">
|
||||
{{ Math.floor(item.value) || '-' }}
|
||||
<view v-if="item.value"> °C</view>
|
||||
{{ Math.floor(item.value) }}
|
||||
<view> °C</view>
|
||||
</view>
|
||||
</template>
|
||||
<template v-for="(item, index) in 3 - (IOData.length % 3)">
|
||||
@@ -170,7 +170,7 @@ export default {
|
||||
// },
|
||||
{
|
||||
iconPath: '/static/about.png',
|
||||
text: '关于',
|
||||
text: '详情',
|
||||
},
|
||||
// {
|
||||
// iconPath: '/static/access.png',
|
||||
@@ -235,7 +235,7 @@ export default {
|
||||
uni.switchTab({
|
||||
url: '/pages/index/message1',
|
||||
})
|
||||
} else if (e.text === '关于') {
|
||||
} else if (e.text === '详情') {
|
||||
uni.navigateTo({ url: '/pages/device/APF/about?id=' + this.devId })
|
||||
} else if (e.text === '移交') {
|
||||
uni.navigateTo({ url: '/pages/device/transfer?id=' + this.devId })
|
||||
@@ -673,8 +673,9 @@ export default {
|
||||
|
||||
.header {
|
||||
position: relative;
|
||||
width: 375px;
|
||||
margin: 0 auto;
|
||||
width: 100vw;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
|
||||
image {
|
||||
|
||||
Reference in New Issue
Block a user