update
This commit is contained in:
@@ -57,6 +57,10 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
|
||||
<view class="px-[24rpx] py-[16rpx] bg-[#fff] rounded-[8rpx] test-24r text-[#4E5969]" v-else
|
||||
v-html="v.content">
|
||||
</view>
|
||||
<view
|
||||
:class="[v.status===0?'text_warn':'',v.status===1?'text_success':'',v.status===-1?'text_error':'', 'text_info']">
|
||||
{{ v.status_text }}
|
||||
</view>
|
||||
<view :class="['status', v.is_read === 1 ? 'read' : 'unread']">
|
||||
{{ v.is_read === 1 ? '已读' : '未读' }}
|
||||
</view>
|
||||
@@ -200,4 +204,21 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
|
||||
box-sizing: border-box;
|
||||
padding: 24rpx;
|
||||
}
|
||||
|
||||
.text_info {
|
||||
font-size: 20rpx;
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
|
||||
.text_success {
|
||||
color: rgba(0, 180, 42, 1);
|
||||
}
|
||||
|
||||
.text_warn {
|
||||
color: rgba(255, 125, 0, 1);
|
||||
}
|
||||
|
||||
.text_error {
|
||||
color: rgba(245, 63, 63, 1);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user