iOS 适配
This commit is contained in:
@@ -185,8 +185,8 @@
|
||||
<!-- 追剧悬浮 -->
|
||||
<!-- <drag-button v-if="shodrag && shodrags" @clickClose="clickClose" :videoInfo="videoInfo" :isDock="true"
|
||||
:existTabBar="true" @btnClick="btnClick" /> -->
|
||||
<u-image @click="goMsg('/me/choujiang/choujiang')" :src="`../../static/red-pack-new.gif`"
|
||||
style="width: 200rpx;height: 200rpx;position: fixed;right: 30rpx;bottom: 180rpx;"></u-image>
|
||||
<u-image v-if="isShowMoneyPay" @click="goMsg('/me/choujiang/choujiang')" :src="`../../static/red-pack-new.gif`"
|
||||
style="width: 200rpx;height: 200rpx;position: fixed;right: 10rpx;bottom: 180rpx;"></u-image>
|
||||
<!-- #ifdef H5 -->
|
||||
<div v-if="isWeixin"
|
||||
style="width: 100%;height: 100%;position: fixed;top: 0;z-index: 999;background: url('../../static/images/open_guide.png') no-repeat center bottom / cover;">
|
||||
@@ -209,6 +209,7 @@
|
||||
import recommendVideo from '../../components/recommendVideo/recommendVideo.vue'
|
||||
import activityComp from '../../components/activityComp/activityComp.vue'
|
||||
import dragButton from "@/components/drag-button/drag-button.vue";
|
||||
import httpsRequest from '../../common/httpRequest.js'
|
||||
export default {
|
||||
components: {
|
||||
videoList,
|
||||
@@ -260,6 +261,7 @@
|
||||
isWeixin: false,
|
||||
isIos: true,
|
||||
scrollTop: 0,
|
||||
isShowMoneyPay: true,
|
||||
};
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
@@ -279,7 +281,6 @@
|
||||
}
|
||||
},
|
||||
onPageScroll(e) {
|
||||
console.log(e);
|
||||
this.scrollTop = e.scrollTop
|
||||
},
|
||||
onLoad(options) {
|
||||
@@ -293,6 +294,7 @@
|
||||
|
||||
// #endif
|
||||
|
||||
console.log(options, '22222222222222222')
|
||||
if (uni.getStorageSync('qdCode')) {
|
||||
this.qdCode = uni.getStorageSync('qdCode')
|
||||
}
|
||||
@@ -435,6 +437,14 @@
|
||||
this.shodrag = false
|
||||
this.videoInfo = []
|
||||
}
|
||||
|
||||
httpsRequest.getT("app/common/type/919", {}).then(res => {
|
||||
if (res.code == 0) {
|
||||
const sysInfo = uni.getSystemInfoSync();
|
||||
let isIos = sysInfo.platform == 'ios'
|
||||
this.isShowMoneyPay = !(res.data.value == '1' && isIos)
|
||||
}
|
||||
});
|
||||
},
|
||||
onReachBottom() {
|
||||
if (this.page < this.pages) {
|
||||
|
||||
Reference in New Issue
Block a user