chore: 更新应用版本至2.0.51并调整依赖配置
- 将应用版本从2.0.49提升至2.0.51 - 修改edu-core依赖为本地文件引用 - 更新多个页面的下拉刷新和底部加载逻辑 - 优化VIP权限描述,明确不包含论坛权益 - 调整部分页面样式以提升用户体验
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view
|
||||
class="container commonPageBox commonDetailPage"
|
||||
class="container commonPageBox commonDetailPage order-list-page"
|
||||
style="background-color: #f6f7fb"
|
||||
>
|
||||
<!-- 公共组件-每个页面必须引入 -->
|
||||
@@ -25,7 +25,6 @@
|
||||
<!-- <view v-if="ordersListTab == 1"> -->
|
||||
<view
|
||||
class="order_box"
|
||||
:style="`height: calc(100% - ${(80 + statusBarHeight) * 2}rpx);`"
|
||||
style="background-color: #f2f2f2"
|
||||
>
|
||||
<common-list
|
||||
@@ -721,14 +720,14 @@ export default {
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
uni.stopPullDownRefresh();
|
||||
|
||||
this.pagination.page = 1;
|
||||
this.newestpage = 1;
|
||||
this.newList = [];
|
||||
this.getBookList(this.ordersListTab, false);
|
||||
},
|
||||
onReachBottom() {
|
||||
this.newestpage++;
|
||||
this.getBookList(this.ordersListTab, false);
|
||||
// App 端由页面滚动触底加载;与 scroll-view 的 @lower 共用同一套分页逻辑
|
||||
this.onReachBottom1();
|
||||
},
|
||||
onLoad(e) {
|
||||
this.windowWidth = uni.getSystemInfoSync().windowWidth;
|
||||
@@ -791,8 +790,7 @@ export default {
|
||||
this.$commonJS.handleCopy(value, title);
|
||||
},
|
||||
onReachBottom1() {
|
||||
// 上拉加载
|
||||
// 当列表数量不大于或等于总数量,则再次调用接口请求数据
|
||||
// 上拉加载(H5 走 scroll-view @lower,App 走页面 onReachBottom)
|
||||
if (this.newList.length >= this.pagination.total) return;
|
||||
this.pagination.page++;
|
||||
this.getBookList(this.ordersListTab, false);
|
||||
@@ -1706,13 +1704,16 @@ export default {
|
||||
// padding: 0 !important;
|
||||
}
|
||||
|
||||
.commonDetailPage {
|
||||
.order-list-page.commonDetailPage {
|
||||
background-color: $themeBgColor;
|
||||
height: calc(100vh);
|
||||
height: auto !important;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.order_box {
|
||||
height: auto;
|
||||
padding: 20rpx;
|
||||
padding-bottom: 40rpx;
|
||||
}
|
||||
|
||||
/deep/.order_box .list_item {
|
||||
|
||||
Reference in New Issue
Block a user