消息列表优化
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</view>
|
||||
<view class="content device" :style="{ minHeight: 'calc(100vh - ' + navHeight + 'px)' }">
|
||||
<view v-show="navMenuActive == 0">
|
||||
<uni-card
|
||||
<!-- <uni-card
|
||||
:title="item.equipmentName"
|
||||
:sub-title="'创建时间:' + item.createTime"
|
||||
:extra="item.mac"
|
||||
@@ -31,31 +31,33 @@
|
||||
padding="0"
|
||||
:thumbnail="deviceIcon(item.runStatus)"
|
||||
>
|
||||
</uni-card>
|
||||
</uni-card> -->
|
||||
<Cn-device-card v-for="(item, index) in store.data" :device="item" :key="index">
|
||||
</Cn-device-card>
|
||||
<Cn-empty v-if="store.empty"></Cn-empty>
|
||||
<uni-load-more
|
||||
v-if="store.data && store.data.length > 0"
|
||||
:status="store.status"
|
||||
></uni-load-more>
|
||||
</view>
|
||||
<!-- <view style="padding: 0 20rpx" v-show="navMenuActive == 1">-->
|
||||
<!-- <uni-list>-->
|
||||
<!-- <uni-list-item-->
|
||||
<!-- title="张三"-->
|
||||
<!-- note="2023-02-10 14:55"-->
|
||||
<!-- thumb="/static/head.png"-->
|
||||
<!-- thumb-size="lg"-->
|
||||
<!-- >-->
|
||||
<!-- </uni-list-item>-->
|
||||
<!-- <uni-list-item-->
|
||||
<!-- title="李四"-->
|
||||
<!-- note="2023-02-10 14:55"-->
|
||||
<!-- thumb="/static/head.png"-->
|
||||
<!-- thumb-size="lg"-->
|
||||
<!-- >-->
|
||||
<!-- </uni-list-item>-->
|
||||
<!-- </uni-list>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view style="padding: 0 20rpx" v-show="navMenuActive == 1">-->
|
||||
<!-- <uni-list>-->
|
||||
<!-- <uni-list-item-->
|
||||
<!-- title="张三"-->
|
||||
<!-- note="2023-02-10 14:55"-->
|
||||
<!-- thumb="/static/head.png"-->
|
||||
<!-- thumb-size="lg"-->
|
||||
<!-- >-->
|
||||
<!-- </uni-list-item>-->
|
||||
<!-- <uni-list-item-->
|
||||
<!-- title="李四"-->
|
||||
<!-- note="2023-02-10 14:55"-->
|
||||
<!-- thumb="/static/head.png"-->
|
||||
<!-- thumb-size="lg"-->
|
||||
<!-- >-->
|
||||
<!-- </uni-list-item>-->
|
||||
<!-- </uni-list>-->
|
||||
<!-- </view>-->
|
||||
<view style="padding: 0 20rpx" v-show="navMenuActive == 1">
|
||||
<!-- <image
|
||||
class="gplot gplot-box"
|
||||
@@ -249,7 +251,7 @@ export default {
|
||||
return {
|
||||
name: item.name,
|
||||
extname: 'img',
|
||||
url: this.$config.static + item.filePath,
|
||||
url: this.$config.static + item.filePath,
|
||||
...item,
|
||||
}
|
||||
})
|
||||
@@ -297,7 +299,7 @@ export default {
|
||||
}, 1000)
|
||||
console.log(option.project)
|
||||
this.project = JSON.parse(decodeURIComponent(option.project))
|
||||
this.project.topologyDiagramPaths.forEach(item=>{
|
||||
this.project.topologyDiagramPaths.forEach((item) => {
|
||||
item.filePath = this.$config.static + item.filePath
|
||||
})
|
||||
this.init()
|
||||
|
||||
Reference in New Issue
Block a user