h5显示首页红包

This commit is contained in:
GYJ
2024-12-25 15:24:31 +08:00
parent fef62822c3
commit 2346929566
2 changed files with 22 additions and 14 deletions

View File

@@ -438,6 +438,7 @@
this.videoInfo = []
}
// #ifdef APP
httpsRequest.getT("app/common/type/919", {}).then(res => {
if (res.code == 0) {
const sysInfo = uni.getSystemInfoSync();
@@ -445,6 +446,8 @@
this.isShowMoneyPay = !(res.data.value == '1' && isIos)
}
});
// #endif
},
onReachBottom() {
if (this.page < this.pages) {

View File

@@ -184,7 +184,8 @@
观看历史
</view>
</view>
<view v-if="rate>0 && isShowMoneyPay" class="tool-box-content-item flex align-center justify-center flex-wrap"
<view v-if="rate>0 && isShowMoneyPay"
class="tool-box-content-item flex align-center justify-center flex-wrap"
@click="goNav('/me/invite/inviteDet')">
<view class="tool-box-content-item-img">
<image src="../../static/images/me/vtd.png" mode=""></image>
@@ -265,7 +266,8 @@
export default {
components: {
ttMsg,otherXuanfu
ttMsg,
otherXuanfu
},
data() {
return {
@@ -368,6 +370,7 @@
}
this.avatar = uni.getStorageSync('avatar') ? uni.getStorageSync('avatar') : '../../static/images/logo.png'
// #ifdef APP
httpsRequest.getT("app/common/type/919", {}).then(res => {
console.log(res);
if (res.code === 0) {
@@ -376,6 +379,8 @@
this.isShowMoneyPay = !(res.data.value === '1' && isIos)
}
});
// #endif
},
methods: {
//兑换卡密