111
This commit is contained in:
@@ -35,13 +35,13 @@
|
||||
<up-dropdown-item
|
||||
v-model="order.push_date"
|
||||
title="发布时间"
|
||||
@change="change"
|
||||
@change="changeDate"
|
||||
:options="options"
|
||||
></up-dropdown-item>
|
||||
<up-dropdown-item
|
||||
v-model="order.article_num"
|
||||
title="文章数量"
|
||||
@change="change"
|
||||
@change="changeRead"
|
||||
:options="options"
|
||||
></up-dropdown-item>
|
||||
<!-- <up-dropdown-item
|
||||
@@ -132,7 +132,14 @@ onLoad((options) => {
|
||||
order.article_num='desc'
|
||||
};
|
||||
});
|
||||
const change=(e)=>{
|
||||
const changeDate=(e)=>{
|
||||
console.log(e);
|
||||
order.read_num='';
|
||||
paging.value.reload();
|
||||
}
|
||||
const changeRead=(e)=>{
|
||||
console.log(e);
|
||||
order.push_date=''
|
||||
paging.value.reload();
|
||||
}
|
||||
const formatdate=(date)=>{
|
||||
@@ -364,7 +371,7 @@ const changeWord=(value)=>{
|
||||
|
||||
background: #fff;
|
||||
z-index:1;
|
||||
margin-left:30rpx;
|
||||
margin-left:0rpx;
|
||||
|
||||
}
|
||||
:deep(.u-dropdown__menu__item){
|
||||
|
||||
@@ -40,13 +40,13 @@
|
||||
<up-dropdown-item
|
||||
v-model="order.push_date"
|
||||
title="发布时间"
|
||||
@change="change"
|
||||
@change="changeDate"
|
||||
:options="options"
|
||||
></up-dropdown-item>
|
||||
<up-dropdown-item
|
||||
v-model="order.read_num"
|
||||
title="阅读量"
|
||||
@change="change"
|
||||
@change="changeRead"
|
||||
:options="options"
|
||||
></up-dropdown-item>
|
||||
</up-dropdown>
|
||||
@@ -152,7 +152,14 @@ onLoad((options) => {
|
||||
|
||||
}
|
||||
});
|
||||
const change=(e)=>{
|
||||
const changeDate=(e)=>{
|
||||
console.log(e);
|
||||
order.read_num='';
|
||||
paging.value.reload();
|
||||
}
|
||||
const changeRead=(e)=>{
|
||||
console.log(e);
|
||||
order.push_date=''
|
||||
paging.value.reload();
|
||||
}
|
||||
const formatdate=(date)=>{
|
||||
@@ -311,7 +318,7 @@ const queryList = (pageNo, pageSize) => {
|
||||
|
||||
background: #fff;
|
||||
z-index:1;
|
||||
margin-left: 30rpx;
|
||||
margin-left: 0rpx;
|
||||
|
||||
}
|
||||
:deep(.u-dropdown__menu__item){
|
||||
|
||||
Reference in New Issue
Block a user