修改获取红包次数代码
This commit is contained in:
@@ -143,10 +143,10 @@
|
||||
<image class="list-title-rsczg" src="../../static/images/me/closeIconss.png" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <text class=""
|
||||
<text class="" v-if="isShowMoneyPay"
|
||||
style="font-size: 24rpx;color: #999;padding: 0 34rpx;margin: 20rpx 0; auto;text-align: left;width: 100%;">
|
||||
{{getRedEnvelopeTips}}
|
||||
</text> -->
|
||||
</text>
|
||||
<view class="pay-content">
|
||||
<view class="pay-content-itemczg" @click="payVideo(1)">
|
||||
<image class="pay-content-item-iconczg" src="../../static/images/me/rmIcon.png" mode=""></image>
|
||||
@@ -393,11 +393,6 @@
|
||||
// #ifdef APP-PLUS
|
||||
if (plus.os.name.toLowerCase() === 'android') {
|
||||
this.openLists = [
|
||||
// {
|
||||
// image: '/static/images/pay/weixin.png',
|
||||
// text: '微信',
|
||||
// id: 2
|
||||
// },
|
||||
{
|
||||
image: '/static/images/pay/zhifubao.png',
|
||||
text: '支付宝',
|
||||
@@ -406,30 +401,10 @@
|
||||
];
|
||||
this.openWay = 1;
|
||||
let syPaySel = uni.getStorageSync('syPaySel')
|
||||
// if (syPaySel === '是') {
|
||||
// let openListsItem = {
|
||||
// image: '/static/images/pay/shouyi.png',
|
||||
// text: '收益余额',
|
||||
// id: 4
|
||||
// };
|
||||
// this.openLists.push(openListsItem)
|
||||
// }
|
||||
|
||||
} else {
|
||||
let checkIosPay = uni.getStorageSync('checkIosPay');
|
||||
// if (checkIosPay === '是') {
|
||||
// this.openLists = [{
|
||||
// image: '/static/images/pay/weixin.png',
|
||||
// text: '苹果',
|
||||
// id: 3
|
||||
// }];
|
||||
// this.openWay = 3;
|
||||
// } else {
|
||||
this.openLists = [
|
||||
// {
|
||||
// image: '/static/images/pay/weixin.png',
|
||||
// text: '微信',
|
||||
// id: 2
|
||||
// },
|
||||
{
|
||||
image: '/static/images/pay/zhifubao.png',
|
||||
text: '支付宝',
|
||||
@@ -438,15 +413,6 @@
|
||||
];
|
||||
this.openWay = 1;
|
||||
let syPaySel = uni.getStorageSync('syPaySel')
|
||||
// if (syPaySel === '是') {
|
||||
// let openListsItem = {
|
||||
// image: '/static/images/pay/shouyi.png',
|
||||
// text: '收益余额',
|
||||
// id: 4
|
||||
// };
|
||||
// this.openLists.push(openListsItem)
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
// #endif
|
||||
@@ -457,8 +423,10 @@
|
||||
this.getDataList(this.courseId, this.courseDetailsId);
|
||||
|
||||
}
|
||||
|
||||
|
||||
if (uni.getStorageSync('token')) {
|
||||
this.$Request.getT('/app/course/getRedEnvelopeTips').then((res) => {
|
||||
httpsRequest.getT('/app/course/getRedEnvelopeTips').then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.getRedEnvelopeTips = res.data;
|
||||
}
|
||||
@@ -467,19 +435,18 @@
|
||||
|
||||
this.getScale()
|
||||
|
||||
const sysInfo = uni.getSystemInfoSync()
|
||||
console.log(sysInfo);
|
||||
const padB = sysInfo.safeAreaInsets.bottom;
|
||||
console.log('win height == ' + padB);
|
||||
if (padB && padB > 0) {
|
||||
this.paddingBottom = padB + 'px'
|
||||
} else {
|
||||
this.paddingBottom = '0'
|
||||
}
|
||||
// const sysInfo = uni.getSystemInfoSync()
|
||||
// console.log(sysInfo);
|
||||
// const padB = sysInfo.safeAreaInsets.bottom;
|
||||
// console.log('win height == ' + padB);
|
||||
// if (padB && padB > 0) {
|
||||
// this.paddingBottom = padB + 'px'
|
||||
// } else {
|
||||
// this.paddingBottom = '0'
|
||||
// }
|
||||
|
||||
console.log('this bottom padding = ' + this.paddingBottom);
|
||||
|
||||
|
||||
},
|
||||
onLoad(e) {
|
||||
//在苹果系统微信小程序是否开启支付
|
||||
|
||||
Reference in New Issue
Block a user