优化首页公告排序规则
This commit is contained in:
parent
e539c5da61
commit
4831a30c45
@ -42,7 +42,7 @@
|
|||||||
<view class="backlog" :class="!ApproveList.length>0?'backlog_no_data':''">
|
<view class="backlog" :class="!ApproveList.length>0?'backlog_no_data':''">
|
||||||
<view class="head_title flex_a_c_j_sb">
|
<view class="head_title flex_a_c_j_sb">
|
||||||
<view class="title">公告列表</view>
|
<view class="title">公告列表</view>
|
||||||
<view class="flex_a_c" @click="navTo('')">更多 <view class="iconfont icon-you">
|
<view class="flex_a_c" @click="navTo('/subpkg/noticeList/noticeList')">更多 <view class="iconfont icon-you">
|
||||||
<uni-icons type="forward"></uni-icons>
|
<uni-icons type="forward"></uni-icons>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -201,8 +201,9 @@
|
|||||||
},
|
},
|
||||||
async getApproveList() {
|
async getApproveList() {
|
||||||
const res = await noticeList({
|
const res = await noticeList({
|
||||||
sort: 'new',
|
|
||||||
keyword: '',
|
keyword: '',
|
||||||
|
page_no: 1,
|
||||||
|
page_size: 2
|
||||||
})
|
})
|
||||||
this.ApproveList = res.data.lists
|
this.ApproveList = res.data.lists
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user