vip功能发布
This commit is contained in:
@@ -2,14 +2,12 @@ let baseUrl = "";
|
|||||||
let socketUrl = "";
|
let socketUrl = "";
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
// 开发环境
|
// 开发环境
|
||||||
// baseUrl = "https://testapi.nuttyreading.com/"; //线上测试环境
|
baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
||||||
//baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
//baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
||||||
baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
|
||||||
} else if (process.env.NODE_ENV === 'production') {
|
} else if (process.env.NODE_ENV === 'production') {
|
||||||
// 生产环境11
|
// 生产环境11
|
||||||
// baseUrl = "https://testapi.nuttyreading.com/";
|
baseUrl = "https://api.nuttyreading.com/";
|
||||||
//baseUrl = "https://api.nuttyreading.com/";
|
//baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
||||||
baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
|
||||||
}
|
}
|
||||||
const courtConfig = {
|
const courtConfig = {
|
||||||
//微信公众号APPID1
|
//微信公众号APPID1
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
"src" : "图片路径"
|
"src" : "图片路径"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versionName" : "1.0.51",
|
"versionName" : "1.0.52",
|
||||||
"versionCode" : 1051,
|
"versionCode" : 1052,
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"nvueCompiler" : "uni-app",
|
"nvueCompiler" : "uni-app",
|
||||||
"compatible" : {
|
"compatible" : {
|
||||||
|
|||||||
@@ -248,7 +248,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="shitingTag">
|
<view class="shitingTag">
|
||||||
<u-icon
|
<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>
|
name="lock" color="#258feb" size="26"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@@ -986,7 +986,7 @@
|
|||||||
this.currentCateIndex = courseIndex;
|
this.currentCateIndex = courseIndex;
|
||||||
let _myurl = ''
|
let _myurl = ''
|
||||||
_myurl = '/pages/course/chapterDetailAndorid'
|
_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
|
let noRecored = false
|
||||||
v.isAudition == 1 && this.userVip==null && this.librayList[this.curIndex].isBuy == 0 ?
|
v.isAudition == 1 && this.userVip==null && this.librayList[this.curIndex].isBuy == 0 ?
|
||||||
noRecored = true : ''
|
noRecored = true : ''
|
||||||
|
|||||||
Reference in New Issue
Block a user