You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
661 B

5 years ago
<template>
<view>
<uni-list v-for="(item,index) in realData" :key="index">
<uni-list-item :show-arrow="false" :title="item.name" :note="item.data"></uni-list-item>
</uni-list>
</view>
</template>
<script>
import uniList from '@/components/uni-list/uni-list.vue'
import uniListItem from '@/components/uni-list-item/uni-list-item.vue'
export default {
components: {
uniList,
uniListItem
},
props:{
msg:{
type: Object,
default: null
}
},
data() {
return {
realData: [{name:'温度',data:'21.1'},{name:'湿度',data:'11.1'},{name:'温度',data:'21.1'}]
}
},
methods: {
}
}
</script>
<style>
</style>