Commit fd3fa185 authored by mengcuiguang's avatar mengcuiguang

添加获取设备系统

parent 451b4511
...@@ -46,7 +46,9 @@ ...@@ -46,7 +46,9 @@
methods: { methods: {
wxlogin() { wxlogin() {
var that = this; var that = this;
var obj = wx.getLaunchOptionsSync() var obj = wx.getLaunchOptionsSync()
var channel = 'mints' // 渠道 var channel = 'mints' // 渠道
var clueToken = '' // 归因参数 var clueToken = '' // 归因参数
...@@ -58,7 +60,13 @@ ...@@ -58,7 +60,13 @@
var tips2 = ''; // 投放测试标记 var tips2 = ''; // 投放测试标记
var product_type = ''; //自有产品 var product_type = ''; //自有产品
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 ?? '' != '') {
...@@ -111,7 +119,8 @@ ...@@ -111,7 +119,8 @@
promotionId: promotionId, promotionId: promotionId,
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