chore: 更新应用版本至2.0.51并调整依赖配置

- 将应用版本从2.0.49提升至2.0.51
- 修改edu-core依赖为本地文件引用
- 更新多个页面的下拉刷新和底部加载逻辑
- 优化VIP权限描述,明确不包含论坛权益
- 调整部分页面样式以提升用户体验
This commit is contained in:
2026-05-20 13:27:06 +08:00
parent 6274ac6cd6
commit 7eed35542b
13 changed files with 57 additions and 51 deletions

View File

@@ -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 @lowerApp 走页面 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 {

View File

@@ -412,7 +412,7 @@
},
getMyQuestAnswer(chapterId) {
$http.request({
url: "/common/class/getQuesReplyInfo",
url: "common/class/getQuesReplyInfo",
method: "POST",
data: {
"relationId": chapterId,

View File

@@ -1263,8 +1263,10 @@
role = '心理学';
}else if(type==9){
role = '中西汇通学';
}else if(type==10){
role = '妇幼生殖';
}
this.goBuyTitle = '尊贵的'+role+'VIP您的有效期到'+res.userVip.endTime;
this.goBuyTitle = '尊贵的'+role+'VIP您的有效期到'+res.userVip.endTime+'(不包含论坛)';
this.goBuyType = 1;
}else{ //否则没有开通vip
this.goBuyTitle = '';
@@ -1303,7 +1305,10 @@
text = '心理学';
}else if(item=='9'){
text = '中西汇通学';
}else if(item=='10'){
text = '妇幼生殖';
}
this.textList.push(text);
});

View File

@@ -91,10 +91,7 @@
// 隐藏原生的tabbar
uni.hideTabBar();
},
onPullDownRefresh() {
uni.stopPullDownRefresh()
},
components: {
components: {
// musicPlay
},
//方法

View File

@@ -35,13 +35,13 @@
<view class="vip_qx">
<text class="font_bold" style=" display: block;" v-if="item.type==1||item.type==2">超级VIP权限</text>
<text class="font_bold" style=" display: block;" v-else>VIP权限</text>
<view class="vip_qx_v" v-if="item.type==1">无限制观看吴门医述APP中医学中西汇通学针灸学肿瘤学四个板块任意课程</view>
<view class="vip_qx_v" v-else-if="item.type==2">无限制观看众妙之门APP与心灵空间APP任意课程</view>
<view class="vip_qx_v" v-else-if="item.type==7">无限制观看众妙之门APP任意课程</view>
<view class="vip_qx_v" v-if="item.type==1">无限制观看吴门医述APP中医学中西汇通学针灸学肿瘤学妇幼生殖五个板块任意课程不包含论坛;</view>
<view class="vip_qx_v" v-else-if="item.type==2">无限制观看众妙之门APP与心灵空间APP任意课程不包含论坛</view>
<view class="vip_qx_v" v-else-if="item.type==7">无限制观看众妙之门APP任意课程不包含论坛</view>
<view class="vip_qx_v" v-else-if="item.type == 8"
>无限制观看心灵空间APP任意课程</view
>无限制观看心灵空间APP任意课程不包含论坛</view
>
<view class="vip_qx_v" v-else>无限制观看吴门医述APP{{item.title.replace(/VIP/g, '')}}板块任意课程</view>
<view class="vip_qx_v" v-else>无限制观看吴门医述APP{{item.title.replace(/VIP/g, '')}}板块任意课程不包含论坛</view>
<view class="vip_qx_v">
<text v-if="item.type==1||item.type==2">{{item.title.replace(/超级VIP/g, '')}}</text>

View File

@@ -614,9 +614,12 @@
}else if(item.type=='9'){
item.text = '中西汇通学';
this.textList.push(item.text);
}else if(item.type=='1'){
} else if (item.type == "10") {
item.text = "妇幼生殖";
this.textList.push(item.text);
} else if(item.type=='1'){
item.text = '医学S';
}else if(item.type=='2'){
} else if(item.type=='2'){
item.text = '国学心理学S';
}
});

View File

@@ -88,21 +88,21 @@
>
<text class="font_bold" style="display: block" v-else>VIP权限</text>
<view class="vip_qx_v" v-if="item.type == 1"
>无限制观看吴门医述APP中医学中西汇通学针灸学肿瘤学四个板块任意课程</view
>无限制观看吴门医述APP中医学中西汇通学针灸学肿瘤学妇幼生殖五个板块任意课程不包含论坛</view
>
<view class="vip_qx_v" v-else-if="item.type == 2"
>无限制观看众妙之门APP与心灵空间APP任意课程</view
>无限制观看众妙之门APP与心灵空间APP任意课程不包含论坛</view
>
<view class="vip_qx_v" v-else-if="item.type == 7"
>无限制观看众妙之门APP任意课程</view
>无限制观看众妙之门APP任意课程不包含论坛</view
>
<view class="vip_qx_v" v-else-if="item.type == 8"
>无限制观看心灵空间APP任意课程</view
>无限制观看心灵空间APP任意课程不包含论坛</view
>
<view class="vip_qx_v" v-else
>无限制观看吴门医述APP{{
item.title.replace(/VIP/g, "")
}}板块任意课程</view
}}板块任意课程不包含论坛</view
>
<view class="vip_qx_v">