页面切图
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<uni-list :border="false">
|
||||
<uni-list-item :show-badge="item<0" badgeType="error" isDot badge-text="未读" title="机器不稳定"
|
||||
note="2023-02-01 15:10:29" v-for="item in 5" />
|
||||
<uni-list-item :show-badge="index < 1" badgeType="error" isDot badge-text="未读" :title="item.title"
|
||||
note="2023-02-01 15:10:29" v-for="(item, index) in list" :key="index"></uni-list-item>
|
||||
</uni-list>
|
||||
<uni-load-more status="nomore"></uni-load-more>
|
||||
</view>
|
||||
@@ -12,7 +12,15 @@
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
title: '灿能'
|
||||
title: '灿能',
|
||||
list: [
|
||||
{
|
||||
title: '机器不稳定',
|
||||
},
|
||||
{
|
||||
title: '死机'
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
onLoad () {
|
||||
|
||||
Reference in New Issue
Block a user