调整vip规则
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
</view>
|
||||
<view class="tag-view">
|
||||
<uni-tag @click="goBuy()" text="购买课程" type="warning" size="normal" />
|
||||
<uni-tag v-if="isAndorid" @click="onPageJump('/pages/mine/vip/index')" size="normal" style="margin-left: 20rpx;" text="开通VIP" type="success" />
|
||||
<uni-tag @click="onPageJump('/pages/mine/vip/index')" size="normal" style="margin-left: 20rpx;" text="开通VIP" type="success" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -114,7 +114,6 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
isAndorid: true,
|
||||
playData: {},
|
||||
catalogueId: null,
|
||||
// fixed: false,
|
||||
@@ -176,13 +175,8 @@
|
||||
// 隐藏原生的tabbar
|
||||
uni.hideTabBar();
|
||||
this.windowWidth = uni.getSystemInfoSync().windowWidth;
|
||||
// this.pageTitle = e.title
|
||||
console.log(e, '传入分类id')
|
||||
this.getUserInfo()
|
||||
this.courseId = e.id
|
||||
// this.getCateList(this.courseId)
|
||||
|
||||
// this.getSayList()
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
uni.stopPullDownRefresh()
|
||||
@@ -190,7 +184,6 @@
|
||||
onPageScroll(e) {
|
||||
this.scrollTop = e.scrollTop;
|
||||
if (this.scrollTop > 100) {
|
||||
// console.log('高度符合');
|
||||
this.fixed = true
|
||||
} else {
|
||||
this.fixed = false
|
||||
@@ -207,35 +200,14 @@
|
||||
plus.screen.unlockOrientation();
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
this.getData(this.courseId)
|
||||
this.getOS()
|
||||
},
|
||||
onReachBottom() {
|
||||
console.log('触底');
|
||||
// if (this.status != 2) {
|
||||
// this.pPage++
|
||||
// this.getSayList()
|
||||
// }
|
||||
this.getData(this.courseId)
|
||||
},
|
||||
components: {
|
||||
// musicPlay
|
||||
emotion,
|
||||
buyPup
|
||||
|
||||
},
|
||||
//方法
|
||||
methods: {
|
||||
// 获得操作系统
|
||||
getOS() {
|
||||
let oprateOs = "";
|
||||
oprateOs = uni.getSystemInfoSync().platform;
|
||||
// console.log(oprateOs)
|
||||
if (oprateOs == "android") {
|
||||
this.isAndorid = true;
|
||||
} else {
|
||||
this.isAndorid = false;
|
||||
}
|
||||
},
|
||||
getUserInfo() {
|
||||
// 用户详情
|
||||
// if (this.userInfo.id != undefined) {
|
||||
|
||||
Reference in New Issue
Block a user