Commit fd3fa185 authored by mengcuiguang's avatar mengcuiguang

添加获取设备系统

parent 451b4511
...@@ -48,6 +48,8 @@ ...@@ -48,6 +48,8 @@
var that = this; var that = this;
var obj = wx.getLaunchOptionsSync() var obj = wx.getLaunchOptionsSync()
var channel = 'mints' // 渠道 var channel = 'mints' // 渠道
var clueToken = '' // 归因参数 var clueToken = '' // 归因参数
var adId = '' // 计划id var adId = '' // 计划id
...@@ -60,6 +62,12 @@ ...@@ -60,6 +62,12 @@
var zs_channel = ''; // 自有渠道 var zs_channel = ''; // 自有渠道
var vedio_id = ''; // 自有剧 var vedio_id = ''; // 自有剧
var zs_os='android';
let isIOS = uni.getSystemInfoSync().platform == "ios" && false
if (isIOS) {
zs_os='ios';
}
// 判断渠道来源 // 判断渠道来源
if (obj.query.clue_token ?? '' != '') { if (obj.query.clue_token ?? '' != '') {
// 头条渠道参数 // 头条渠道参数
...@@ -112,6 +120,7 @@ ...@@ -112,6 +120,7 @@
projectId: projectId, projectId: projectId,
productType: product_type, productType: product_type,
vedioId: vedio_id, vedioId: vedio_id,
os:zs_os,
zsChannel: zs_channel zsChannel: zs_channel
}, },
showLoading: false, showLoading: false,
......
...@@ -36,8 +36,7 @@ ...@@ -36,8 +36,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 v-if="userBean.expireTime<=0" <view style="display: flex;height: 200rpx;margin: 20rpx;background: #f5ca86;border-radius: 20rpx;">
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;">
......
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