修改vip规则
This commit is contained in:
@@ -2,12 +2,12 @@ let baseUrl = "";
|
|||||||
let socketUrl = "";
|
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/"; // 线上正式
|
||||||
} 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/"; // 张川川
|
||||||
// baseUrl = "https://api.nuttyreading.com/"; //1
|
baseUrl = "https://api.nuttyreading.com/"; //1
|
||||||
}
|
}
|
||||||
const courtConfig = {
|
const courtConfig = {
|
||||||
//微信公众号APPID
|
//微信公众号APPID
|
||||||
|
|||||||
BIN
node_modules/.DS_Store
generated
vendored
BIN
node_modules/.DS_Store
generated
vendored
Binary file not shown.
BIN
pages/.DS_Store
vendored
BIN
pages/.DS_Store
vendored
Binary file not shown.
@@ -38,16 +38,12 @@
|
|||||||
<view class="course_info_box">
|
<view class="course_info_box">
|
||||||
<view class="course_info">
|
<view class="course_info">
|
||||||
<view class="flexbox course_title" v-if="curriculumData.id">
|
<view class="flexbox course_title" v-if="curriculumData.id">
|
||||||
<text class="courseTitle title">{{
|
<text class="courseTitle title">{{curriculumData.title}}</text>
|
||||||
curriculumData.title
|
|
||||||
}}</text>
|
|
||||||
</view>
|
</view>
|
||||||
<view style="color: #b0b0b0; padding: 0 20rpx">
|
<view style="color: #b0b0b0; padding: 0 20rpx">
|
||||||
{{
|
{{
|
||||||
cateList && cateList.length > 0
|
cateList && cateList.length > 0
|
||||||
? `共${cateList.length}个目录`
|
? `共${cateList.length}个目录`}}
|
||||||
: ""
|
|
||||||
}}
|
|
||||||
</view>
|
</view>
|
||||||
<view class="containerBg" v-if="curriculumData.content && curriculumData.content != ''">
|
<view class="containerBg" v-if="curriculumData.content && curriculumData.content != ''">
|
||||||
<view class="prof">
|
<view class="prof">
|
||||||
@@ -68,9 +64,7 @@
|
|||||||
<view class="top">
|
<view class="top">
|
||||||
<view class="line"></view>
|
<view class="line"></view>
|
||||||
<view class="left">
|
<view class="left">
|
||||||
<text style="font-weight: blod" class="catalogue_title">{{
|
<text style="font-weight: blod" class="catalogue_title">{{slotProps.data.title}}</text>
|
||||||
slotProps.data.title
|
|
||||||
}}</text>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="not_purchased">
|
<view class="not_purchased">
|
||||||
<view class="spot"></view>
|
<view class="spot"></view>
|
||||||
@@ -384,7 +378,9 @@
|
|||||||
role = '国学';
|
role = '国学';
|
||||||
}else if(type==8){
|
}else if(type==8){
|
||||||
role = '心理学';
|
role = '心理学';
|
||||||
}
|
}else if(type==9){
|
||||||
|
role = '中西汇通学';
|
||||||
|
}
|
||||||
this.goBuyTitle = '尊贵的'+role+'VIP,您的有效期到'+res.userVip.endTime;
|
this.goBuyTitle = '尊贵的'+role+'VIP,您的有效期到'+res.userVip.endTime;
|
||||||
this.goBuyType = 1;
|
this.goBuyType = 1;
|
||||||
}else{ //否则没有开通vip
|
}else{ //否则没有开通vip
|
||||||
@@ -422,6 +418,8 @@
|
|||||||
text = '国学';
|
text = '国学';
|
||||||
}else if(item=='8'){
|
}else if(item=='8'){
|
||||||
text = '心理学';
|
text = '心理学';
|
||||||
|
}else if(item=='9'){
|
||||||
|
text = '中西汇通学';
|
||||||
}
|
}
|
||||||
this.textList.push(text);
|
this.textList.push(text);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -30,13 +30,13 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="userInfoBox" style="margin-left: 30rpx;">
|
<view class="userInfoBox" style="margin-left: 20rpx;">
|
||||||
<view class="name">昵称:{{ userMes.nickname ? userMes.nickname : "未设置" }}</view>
|
<view class="name">昵称:{{ userMes.nickname ? userMes.nickname : "未设置" }}</view>
|
||||||
<view class="name" style="color: #606266 !important;font-weight: normal;font-size: 28rpx;" v-if="userMes.tel">手机号:({{ userMes.tel }})</view>
|
<view class="name" style="color: #606266 !important;font-weight: normal;font-size: 28rpx;" v-if="userMes.tel">手机号:({{ userMes.tel }})</view>
|
||||||
|
|
||||||
<template v-if="isAndorid&&textList.length>0">
|
<template v-if="isAndorid&&textList.length>0">
|
||||||
<view class="vip_type">
|
<view class="vip_type">
|
||||||
<view class="vip_type_item" v-for="(item,index) in textList" :key="index">
|
<view class="vip_type_item" :class="textList.length>4?'vip_type_item_len':''" v-for="(item,index) in textList" :key="index">
|
||||||
{{item}}<image src="@/static/icon/chao_vip.png"></image>
|
{{item}}<image src="@/static/icon/chao_vip.png"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -97,9 +97,7 @@
|
|||||||
style="float: right; margin: 0 6rpx"></u-icon>
|
style="float: right; margin: 0 6rpx"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="text" style="line-height: 40rpx; display: flex">{{
|
<view class="text" style="line-height: 40rpx; display: flex">{{userMes.peanutCoin ? userMes.peanutCoin : 0}}</view>
|
||||||
userMes.peanutCoin ? userMes.peanutCoin : 0
|
|
||||||
}}</view>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="chong_list_item" style="
|
<view class="chong_list_item" style="
|
||||||
@@ -112,9 +110,7 @@
|
|||||||
积分
|
积分
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="text" style="line-height: 40rpx">{{
|
<view class="text" style="line-height: 40rpx">{{userMes.jf ? userMes.jf : 0}}</view>
|
||||||
userMes.jf ? userMes.jf : 0
|
|
||||||
}}</view>
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
@@ -130,9 +126,7 @@
|
|||||||
>
|
>
|
||||||
<view class="pay_item_img"> 优惠券 </view>
|
<view class="pay_item_img"> 优惠券 </view>
|
||||||
|
|
||||||
<view class="text" style="line-height: 40rpx">{{
|
<view class="text" style="line-height: 40rpx">{{userCouponNum}}</view>
|
||||||
userCouponNum
|
|
||||||
}}</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="chong_list_item" style="
|
<view class="chong_list_item" style="
|
||||||
@@ -629,6 +623,9 @@
|
|||||||
}else if(item.type=='8'){
|
}else if(item.type=='8'){
|
||||||
item.text = '心理学';
|
item.text = '心理学';
|
||||||
this.textList.push(item.text);
|
this.textList.push(item.text);
|
||||||
|
}else if(item.type=='9'){
|
||||||
|
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'){
|
||||||
@@ -652,7 +649,7 @@
|
|||||||
|
|
||||||
.per_mes {
|
.per_mes {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0rpx 20rpx 0rpx 20rpx;
|
margin: 0rpx 0rpx 0rpx 20rpx;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -1333,12 +1330,19 @@
|
|||||||
padding: 0 10rpx;
|
padding: 0 10rpx;
|
||||||
background: linear-gradient(90deg, #258feb 0%, #00e1ec 100%);
|
background: linear-gradient(90deg, #258feb 0%, #00e1ec 100%);
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
font-size: 20rpx;
|
font-size: 18rpx;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
height: 40rpx;
|
height: 40rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
margin-right: 10rpx;
|
margin-right: 8rpx;
|
||||||
|
}
|
||||||
|
.vip_type_item_len{
|
||||||
|
padding: 0 7rpx;
|
||||||
|
font-size: 13rpx;
|
||||||
|
line-height: 34rpx;
|
||||||
|
height: 34rpx;
|
||||||
|
margin-right: 4rpx;
|
||||||
}
|
}
|
||||||
.vip_type_item:last-child{
|
.vip_type_item:last-child{
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
</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==1">无限制观看吴门医述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==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{{item.title.replace(/VIP/g, '')}}板块任意课程;</view>
|
<view class="vip_qx_v" v-else>无限制观看吴门医述APP{{item.title.replace(/VIP/g, '')}}板块任意课程;</view>
|
||||||
|
|||||||
BIN
static/.DS_Store
vendored
BIN
static/.DS_Store
vendored
Binary file not shown.
Reference in New Issue
Block a user