vip功能发布

This commit is contained in:
liuyuan
2025-02-20 10:01:41 +08:00
parent b262de009e
commit 6605abadf7
3 changed files with 8 additions and 10 deletions

View File

@@ -2,14 +2,12 @@ let baseUrl = "";
let socketUrl = "";
if (process.env.NODE_ENV === 'development') {
// 开发环境
// baseUrl = "https://testapi.nuttyreading.com/"; //线上测试环境
//baseUrl = "https://api.nuttyreading.com/"; //线上正式
baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
baseUrl = "https://api.nuttyreading.com/"; //线上正式
//baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
} else if (process.env.NODE_ENV === 'production') {
// 生产环境11
// baseUrl = "https://testapi.nuttyreading.com/";
//baseUrl = "https://api.nuttyreading.com/";
baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
baseUrl = "https://api.nuttyreading.com/";
//baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
}
const courtConfig = {
//微信公众号APPID1

View File

@@ -12,8 +12,8 @@
"src" : "图片路径"
}
],
"versionName" : "1.0.51",
"versionCode" : 1051,
"versionName" : "1.0.52",
"versionCode" : 1052,
"app-plus" : {
"nvueCompiler" : "uni-app",
"compatible" : {

View File

@@ -248,7 +248,7 @@
</view>
<view class="shitingTag">
<u-icon
v-if="librayList[curIndex].isBuy == 0 && userVip==null && item.isAudition == 0"
v-if="librayList[curIndex].type!=0 &&librayList[curIndex].isBuy == 0 && userVip==null && item.isAudition == 0"
name="lock" color="#258feb" size="26"></u-icon>
</view>
@@ -986,7 +986,7 @@
this.currentCateIndex = courseIndex;
let _myurl = ''
_myurl = '/pages/course/chapterDetailAndorid'
if (this.librayList[this.curIndex].isBuy == 1 || v.isAudition == 1 || this.userVip!=null) {
if (this.librayList[this.curIndex].type == 0 ||this.librayList[this.curIndex].isBuy == 1 || v.isAudition == 1 || this.userVip!=null) {
let noRecored = false
v.isAudition == 1 && this.userVip==null && this.librayList[this.curIndex].isBuy == 0 ?
noRecored = true : ''