update
This commit is contained in:
@@ -18,6 +18,7 @@ const tabs = [
|
||||
|
||||
const po = reactive({
|
||||
type: 1,
|
||||
is_read: 99,
|
||||
keyword: null,
|
||||
});
|
||||
const vo = reactive({
|
||||
@@ -61,7 +62,11 @@ const changeTab = ({index}) => {
|
||||
</view>
|
||||
|
||||
<view class="!px-[20rpx] !py-[16rpx] box-border !h-[80rpx] !flex items-center">
|
||||
<checkbox>只看未读</checkbox>
|
||||
<checkbox @click="() => {
|
||||
po.is_read = po.is_read === 0 ? 99 : 0;
|
||||
initFetchData();
|
||||
}">只看未读
|
||||
</checkbox>
|
||||
</view>
|
||||
|
||||
<scroll-view
|
||||
@@ -74,6 +79,7 @@ const changeTab = ({index}) => {
|
||||
scroll-y>
|
||||
<view class="!flex flex-col !px-[20rpx]">
|
||||
<MessageCard
|
||||
@success="initFetchData"
|
||||
:context-row="po.type === 0 ? 'ellipsis-1': 'ellipsis-2'"
|
||||
:type="po.type"
|
||||
:data="item"
|
||||
|
||||
Reference in New Issue
Block a user