feat: 端点登录
This commit is contained in:
@@ -94,6 +94,10 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="todoList.length > 2" class="todo-more" @click="openToDoPage">
|
||||
更多
|
||||
<u-icon name="arrow-down" class="u-p-r-10"color="#666"></u-icon>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="empty-container" v-else>
|
||||
<view>
|
||||
@@ -398,7 +402,7 @@
|
||||
getDonePage() {
|
||||
const params = {
|
||||
pageNo:1,
|
||||
pageSize: 3
|
||||
pageSize: 2000
|
||||
}
|
||||
getDonePage(params).then(res=>{
|
||||
const {code,data} = res
|
||||
@@ -408,7 +412,7 @@
|
||||
index: 1, // 待办任务的tab索引
|
||||
text: res.data.total.toString() // 角标数字
|
||||
});
|
||||
this.todoList = data.list || []
|
||||
this.todoList = data.list.slice(0,3) || []
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -585,7 +589,7 @@
|
||||
/* 滚动容器样式 */
|
||||
.todo-scroll-container {
|
||||
width: 100%;
|
||||
max-height: 680rpx !important;
|
||||
max-height: 780rpx !important;
|
||||
::-webkit-scrollbar {
|
||||
width: 4rpx;
|
||||
}
|
||||
@@ -594,6 +598,12 @@
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
}
|
||||
.todo-more {
|
||||
text-align: center;
|
||||
color: #666;
|
||||
font-size: 28rpx;
|
||||
margin-top: 5rpx;
|
||||
}
|
||||
.todo-item {
|
||||
// display: flex;
|
||||
align-items: flex-start;
|
||||
@@ -652,7 +662,7 @@
|
||||
}
|
||||
.title-right {
|
||||
align-items: center;
|
||||
font-size: 24rpx;
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
}
|
||||
/* 滚动容器 */
|
||||
|
||||
Reference in New Issue
Block a user