Commit 364ba785 authored by mengcuiguang's avatar mengcuiguang

过滤ios

parent d90277db
...@@ -61,12 +61,9 @@ ...@@ -61,12 +61,9 @@
var product_type = ''; //自有产品 var product_type = ''; //自有产品
var zs_channel = ''; // 自有渠道 var zs_channel = ''; // 自有渠道
var vedio_id = ''; // 自有剧 var vedio_id = ''; // 自有剧
var zs_os='';
var zs_os='android'; zs_os = wx.getSystemInfoSync().platform;
let isIOS = uni.getSystemInfoSync().platform == "ios" && false
if (isIOS) {
zs_os='ios';
}
// 判断渠道来源 // 判断渠道来源
if (obj.query.clue_token ?? '' != '') { if (obj.query.clue_token ?? '' != '') {
...@@ -85,10 +82,13 @@ ...@@ -85,10 +82,13 @@
}else if(obj.query.ksChannel ?? '' != ''){ }else if(obj.query.ksChannel ?? '' != ''){
// 快手渠道参数 // 快手渠道参数
channel = 'kuaishou' channel = 'kuaishou'
advertiserId = obj.query.accountid ?? '' adId = obj.query.ksUnitId ?? '' //组id
clueToken = obj.query.callback ?? '' advertiserId = obj.query.ksSiteAccountId ?? '' //账户id
adId = obj.query.aid ?? '' clueToken = obj.query.callback ?? '' //快手归因参数
reqId = obj.query.ksCampaignId ?? '' //计划id
promotionId = obj.query.ksPageId ?? '' //落地页id
tips2 = obj.query.tips2 ?? '' tips2 = obj.query.tips2 ?? ''
projectId = obj.query.ksCreativeId ?? '' //创意id
product_type = obj.query.product_type ?? '' product_type = obj.query.product_type ?? ''
zs_channel = obj.query.zs_channel ?? '' zs_channel = obj.query.zs_channel ?? ''
vedio_id = obj.query.vedio_id ?? '' vedio_id = obj.query.vedio_id ?? ''
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</view> </view>
<view v-if="userBean.showVipInner" <view v-if="userBean.showVipInner && os === 'android' "
style="display: flex;flex-direction: row;background: #f5ca86;margin: 20rpx;padding: 40rpx;border-radius:20rpx;align-items: center;justify-content:space-between;"> style="display: flex;flex-direction: row;background: #f5ca86;margin: 20rpx;padding: 40rpx;border-radius:20rpx;align-items: center;justify-content:space-between;">
<view style="display: flex;flex-direction: column;justify-content: center;"> <view style="display: flex;flex-direction: column;justify-content: center;">
<view style="font-size: 36rpx;color: #5b1500;font-weight: 777;"> <view style="font-size: 36rpx;color: #5b1500;font-weight: 777;">
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/bg_my_vip.png" mode="scaleToFill"></image> src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/bg_my_vip.png" mode="scaleToFill"></image>
</view> </view>
<view style="display: flex;height: 200rpx;margin: 20rpx;background: #f5ca86;border-radius: 20rpx;"> <view v-if="os === 'android' " style="display: flex;height: 200rpx;margin: 20rpx;background: #f5ca86;border-radius: 20rpx;">
<view style="flex-grow: 2; margin-left: 20rpx;"> <view style="flex-grow: 2; margin-left: 20rpx;">
<view <view
style="width: 100%;height: 100%;display: flex;flex-direction: column;justify-content: center;"> style="width: 100%;height: 100%;display: flex;flex-direction: column;justify-content: center;">
...@@ -126,12 +126,14 @@ ...@@ -126,12 +126,14 @@
statusBarHeight: app.globalData.statusBarHeight, statusBarHeight: app.globalData.statusBarHeight,
userBean: {}, userBean: {},
showAnimate: false, showAnimate: false,
windowHeight: 0, windowHeight: 0,
os:'android',
versionName: app.globalData.versionName versionName: app.globalData.versionName
}; };
}, },
methods: { methods: {
show() { show() {
this.os=wx.getSystemInfoSync().platform;
this.windowHeight = uni.getSystemInfoSync().windowHeight this.windowHeight = uni.getSystemInfoSync().windowHeight
// loadData() { // loadData() {
this.post({ this.post({
......
...@@ -197,8 +197,8 @@ ...@@ -197,8 +197,8 @@
this.getData() this.getData()
}, },
showPayDialog() { showPayDialog() {
let isIOS = uni.getSystemInfoSync().platform == "ios" && false let isIOS = wx.getSystemInfoSync().platform;
if (isIOS) { if (isIOS==='ios') {
uni.showToast({ uni.showToast({
title: '暂不支持IOS系统', title: '暂不支持IOS系统',
icon: 'none' icon: 'none'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment