chore: 增加妇幼生殖VIP相关修改
- 将manifest.json中的版本号更新至1.0.63 - 调整baseUrl配置以使用本地开发环境 - 优化VIP权限描述,新增“妇幼生殖”分类 - 更新相关页面中的VIP课程描述,明确不包含论坛内容
This commit is contained in:
@@ -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') {
|
||||||
// 生产环境11
|
// 生产环境11
|
||||||
//baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
//baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||||
|
|||||||
@@ -352,7 +352,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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
"src" : "图片路径"
|
"src" : "图片路径"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versionName" : "1.0.61",
|
"versionName" : "1.0.63",
|
||||||
"versionCode" : 1061,
|
"versionCode" : 1063,
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"nvueCompiler" : "weex",
|
"nvueCompiler" : "weex",
|
||||||
"compatible" : {
|
"compatible" : {
|
||||||
|
|||||||
@@ -702,9 +702,11 @@ export default {
|
|||||||
role = "心理学";
|
role = "心理学";
|
||||||
} else if (type == 9) {
|
} else if (type == 9) {
|
||||||
role = "中西汇通学";
|
role = "中西汇通学";
|
||||||
|
} else if (type == 10) {
|
||||||
|
role = "妇幼生殖";
|
||||||
}
|
}
|
||||||
this.goBuyTitle =
|
this.goBuyTitle =
|
||||||
"尊贵的" + role + "VIP,您的有效期到" + res.userVip.endTime;
|
"尊贵的" + role + "VIP,您的有效期到" + res.userVip.endTime + '(不包含论坛)';
|
||||||
this.goBuyType = 1;
|
this.goBuyType = 1;
|
||||||
} else {
|
} else {
|
||||||
//否则没有开通vip
|
//否则没有开通vip
|
||||||
@@ -745,6 +747,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);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -763,6 +763,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") {
|
||||||
|
|||||||
@@ -88,21 +88,21 @@
|
|||||||
>
|
>
|
||||||
<text class="font_bold" style="display: block" v-else>VIP权限:</text>
|
<text class="font_bold" style="display: block" v-else>VIP权限:</text>
|
||||||
<view class="vip_qx_v" v-if="item.type == 1"
|
<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"
|
<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"
|
<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"
|
<view class="vip_qx_v" v-else-if="item.type == 8"
|
||||||
>无限制观看心灵空间APP任意课程;</view
|
>无限制观看心灵空间APP任意课程(不包含论坛);</view
|
||||||
>
|
>
|
||||||
<view class="vip_qx_v" v-else
|
<view class="vip_qx_v" v-else
|
||||||
>无限制观看吴门医述APP{{
|
>无限制观看吴门医述APP{{
|
||||||
item.title.replace(/VIP/g, "")
|
item.title.replace(/VIP/g, "")
|
||||||
}}板块任意课程;</view
|
}}板块任意课程(不包含论坛);</view
|
||||||
>
|
>
|
||||||
|
|
||||||
<view class="vip_qx_v">
|
<view class="vip_qx_v">
|
||||||
|
|||||||
Reference in New Issue
Block a user