Commit 3c628534 authored by mengcuiguang's avatar mengcuiguang

loading添加参数

parent 33b8458f
......@@ -46,9 +46,7 @@
methods: {
wxlogin() {
var that = this;
var obj = wx.getLaunchOptionsSync()
var obj = wx.getLaunchOptionsSync()
var channel = 'mints' // 渠道
var clueToken = '' // 归因参数
......@@ -60,18 +58,24 @@
var tips2 = ''; // 投放测试标记
var product_type = ''; //自有产品
var zs_channel = ''; // 自有渠道
var vedio_id = ''; // 自有剧
var zs_os='';
var remark1='';
var remark2='';
var remark3='';
var vedio_index='';
var free_index='';
zs_os = wx.getSystemInfoSync().platform;
var vedio_id = ''; // 自有剧
var zs_os = ''; // 当前系统
var vedio_index = ''; // 自有剧
var free_index = '';// 自有剧
var remark1 = '';// 预留
var remark2 = '';// 预留
var remark3 = '';// 预留
var mid1 = "";
var mid2 = "";
var mid3 = "";
var mid4 = "";
var mid5 = "";
zs_os = wx.getSystemInfoSync().platform;
// 判断渠道来源
if (obj.query.clue_token ?? '' != '') {
if (obj.query.clue_token ?? '' != '') {
// 头条渠道参数
channel = 'tt'
clueToken = obj.query.clue_token ?? ''
......@@ -83,33 +87,38 @@
tips2 = obj.query.tips2 ?? ''
product_type = obj.query.product_type ?? ''
zs_channel = obj.query.zs_channel ?? ''
vedio_id = obj.query.vedio_id ?? ''
free_index = obj.query.free_index ?? ''
remark1 = obj.query.remark1 ?? ''
remark2 = obj.query.remark2 ?? ''
remark3 = obj.query.remark3 ?? ''
vedio_id = obj.query.vedio_id ?? ''
free_index = obj.query.free_index ?? ''
remark1 = obj.query.remark1 ?? ''
remark2 = obj.query.remark2 ?? ''
remark3 = obj.query.remark3 ?? ''
vedio_index = obj.query.vedio_index ?? ''
mid1 = obj.query.mid1 ?? ''
mid2 = obj.query.mid2 ?? ''
mid3 = obj.query.mid3 ?? ''
mid4 = obj.query.mid4 ?? ''
mid5 = obj.query.mid5 ?? ''
} else if (obj.query.ksChannel ?? '' != '') {
// 快手渠道参数
channel = 'kuaishou'
adId = obj.query.ksUnitId ?? '' //组id
advertiserId = obj.query.ksSiteAccountId ?? '' //账户id
clueToken = obj.query.callback ?? '' //快手归因参数
reqId = obj.query.ksCampaignId ?? '' //计划id
promotionId = obj.query.ksPageId ?? '' //落地页id
tips2 = obj.query.tips2 ?? ''
projectId = obj.query.ksCreativeId ?? '' //创意id
product_type = obj.query.product_type ?? ''
zs_channel = obj.query.zs_channel ?? ''
vedio_id = obj.query.vedio_id ?? ''
remark1 = obj.query.remark1 ?? ''
remark2 = obj.query.remark2 ?? ''
remark3 = obj.query.remark3 ?? ''
vedio_index = obj.query.vedio_index ?? ''
}else if(obj.query.ksChannel ?? '' != ''){
// 快手渠道参数
channel = 'kuaishou'
adId = obj.query.ksUnitId ?? '' //组id
advertiserId = obj.query.ksSiteAccountId ?? '' //账户id
clueToken = obj.query.callback ?? '' //快手归因参数
reqId = obj.query.ksCampaignId ?? '' //计划id
promotionId = obj.query.ksPageId ?? '' //落地页id
tips2 = obj.query.tips2 ?? ''
projectId = obj.query.ksCreativeId ?? '' //创意id
product_type = obj.query.product_type ?? ''
zs_channel = obj.query.zs_channel ?? ''
vedio_id = obj.query.vedio_id ?? ''
remark1 = obj.query.remark1 ?? ''
remark2 = obj.query.remark2 ?? ''
remark3 = obj.query.remark3 ?? ''
vedio_index = obj.query.vedio_index ?? ''
free_index = obj.query.free_index ?? ''
}else{
// 自有渠道
free_index = obj.query.free_index ?? ''
} else {
// 自有渠道
}
// 打印渠道参数
......@@ -134,13 +143,18 @@
promotionId: promotionId,
projectId: projectId,
productType: product_type,
vedioId: vedio_id,
remark1:remark1,
remark2:remark2,
remark3:remark3,
os:zs_os,
vedioIndex:vedio_index,
freeIndex:free_index,
vedioId: vedio_id,
remark1: remark1,
remark2: remark2,
remark3: remark3,
os: zs_os,
vedioIndex: vedio_index,
freeIndex: free_index,
mid1: mid1,
mid2: mid2,
mid3: mid3,
mid4: mid4,
mid5: mid5,
zsChannel: zs_channel
},
showLoading: false,
......@@ -178,10 +192,10 @@
}
.text-box {
word-break: break-all;
margin: 10rpx;
padding: 10rpx;
background-color: white;
word-break: break-all;
margin: 10rpx;
padding: 10rpx;
background-color: white;
color: black;
}
</style>
\ No newline at end of file
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