chore: 增加妇幼生殖vip相关修改

- 将应用版本号更新至1.0.60
- 修改开发环境baseUrl配置,切换至本地测试地址
- 在多个页面中新增"妇幼生殖"角色及相关VIP权限说明
- 优化VIP权限文案,明确不包含论坛权益
This commit is contained in:
2026-05-20 13:28:10 +08:00
parent de92a851b7
commit aaca2f938c
6 changed files with 17 additions and 9 deletions

View File

@@ -3,8 +3,8 @@ let socketUrl = "";
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
// 开发环境 // 开发环境
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
baseUrl = "https://api.nuttyreading.com/"; //线上正式 // baseUrl = "https://api.nuttyreading.com/"; //线上正式
// baseUrl = "http://192.168.110.131:9200/pb/"; // 王亚男 baseUrl = "http://192.168.110.131:9200/pb/"; // 王亚男
} else if (process.env.NODE_ENV === 'production') { } else if (process.env.NODE_ENV === 'production') {
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
baseUrl = "https://api.nuttyreading.com/"; //线上正式 baseUrl = "https://api.nuttyreading.com/"; //线上正式

View File

@@ -265,7 +265,8 @@ $http.dataFactory = async function (res) {
// 返回错误的结果(catch接受数据) // 返回错误的结果(catch接受数据)
return Promise.reject({ return Promise.reject({
statusCode: 0, statusCode: 0,
errMsg: "【request】" + (httpData.info || httpData.msg), // errMsg: "【request】" + (httpData.info || httpData.msg),
errMsg: (httpData.info || httpData.msg),
data: res.data data: res.data
}); });
} }

View File

@@ -2,9 +2,9 @@
"name" : "心灵空间", "name" : "心灵空间",
"appid" : "__UNI__BBBDFD2", "appid" : "__UNI__BBBDFD2",
"description" : "心灵空间", "description" : "心灵空间",
"versionName" : "1.0.58", "versionName" : "1.0.60",
"sassImplementationName" : "node-sass", "sassImplementationName" : "node-sass",
"versionCode" : 1058, "versionCode" : 1060,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

@@ -631,6 +631,8 @@ export default {
role = '心理学'; role = '心理学';
} else if (type == 9) { } else if (type == 9) {
role = '中西汇通学'; role = '中西汇通学';
} else if (type == 10) {
role = '妇幼生殖';
} }
if (res.userVip.endTime) { if (res.userVip.endTime) {
var time = res.userVip.endTime ? res.userVip.endTime.split(' ')[0] : '' var time = res.userVip.endTime ? res.userVip.endTime.split(' ')[0] : ''
@@ -638,7 +640,7 @@ export default {
var time = '' var time = ''
} }
this.goBuyTitle = '尊贵的' + role + 'VIP您的有效期到' + time; this.goBuyTitle = '尊贵的' + role + 'VIP您的有效期到' + time + '(不包含论坛)';
this.goBuyType = 1; this.goBuyType = 1;
} else { //否则没有开通vip } else { //否则没有开通vip
this.goBuyTitle = ''; this.goBuyTitle = '';
@@ -677,6 +679,8 @@ export default {
text = '心理学'; text = '心理学';
} else if (item == '9') { } else if (item == '9') {
text = '中西汇通学'; text = '中西汇通学';
} else if (item == '10') {
text = '妇幼生殖';
} }
this.textList.push(text); this.textList.push(text);
}); });

View File

@@ -393,6 +393,9 @@ export default {
}else if(item.type=='9'){ }else if(item.type=='9'){
item.text = '中西汇通学'; item.text = '中西汇通学';
this.textList.push(item.text); this.textList.push(item.text);
}else if(item.type=='10'){
item.text = '妇幼生殖';
this.textList.push(item.text);
}else if(item.type=='1'){ }else if(item.type=='1'){
item.text = '医学S'; item.text = '医学S';
}else if(item.type=='2'){ }else if(item.type=='2'){

View File

@@ -39,9 +39,9 @@
</view> </view>
<view class="vip_qx"> <view class="vip_qx">
<text class="font_bold" style=" display: block;">VIP权限</text> <text class="font_bold" style=" display: block;">VIP权限</text>
<view class="vip_qx_v" v-if="item.type==2">无限制观看众妙之门APP与心灵空间APP任意课程</view> <view class="vip_qx_v" v-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==7">无限制观看众妙之门APP任意课程不包含论坛</view>
<view class="vip_qx_v" v-else>无限制观看心灵空间APP任意课程</view> <view class="vip_qx_v" v-else>无限制观看心灵空间APP任意课程不包含论坛</view>
<view class="vip_qx_v"> <view class="vip_qx_v">
<text v-if="item.type==1||item.type==2">{{item.title.replace(/超级VIP/g, '')}}</text> <text v-if="item.type==1||item.type==2">{{item.title.replace(/超级VIP/g, '')}}</text>