This commit is contained in:
仲么了
2023-03-13 10:15:16 +08:00
parent b5892b275f
commit a5b8139b88
3 changed files with 76 additions and 40 deletions

View File

@@ -1,8 +1,8 @@
<template>
<view class="content">
<uni-list :border="false">
<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-item show-badge badgeType="error" isDot badge-text="新消息" title="机器死机" note="2023-02-03" clickable @click="jump" />
<uni-list-item title="机器开不了机" note="2023-01-31" clickable @click="jump" />
</uni-list>
<uni-load-more status="nomore"></uni-load-more>
</view>
@@ -12,22 +12,16 @@
export default {
data () {
return {
title: '灿能',
list: [
{
title: '机器不稳定',
},
{
title: '死机'
},
]
title: '灿能'
}
},
onLoad () {
},
methods: {
jump(){
uni.navigateTo({ url: '/pages/message/feedbackDetail' })
}
}
}
</script>
@@ -41,4 +35,10 @@ export default {
/deep/ .uni-list-item {
background-color: $uni-theme-white !important;
}
/deep/ .uni-badge {
background-color: unset !important;
color: #dd524d !important;
font-size: 28rpx !important;
}
</style>