测试
This commit is contained in:
parent
1f1a6cb282
commit
37a68998ad
@ -421,6 +421,8 @@ const luckyWheelFn = () => {
|
|||||||
// 活动点击
|
// 活动点击
|
||||||
const activityBtn = (item) => {
|
const activityBtn = (item) => {
|
||||||
console.log(item.id);
|
console.log(item.id);
|
||||||
|
console.log(wx);
|
||||||
|
|
||||||
|
|
||||||
if (item.id == 1) {
|
if (item.id == 1) {
|
||||||
|
|
||||||
@ -451,11 +453,21 @@ const activityBtn = (item) => {
|
|||||||
|
|
||||||
if (item.id == 4) {
|
if (item.id == 4) {
|
||||||
console.log("牛牛杯");
|
console.log("牛牛杯");
|
||||||
window.location.href =
|
let urlTarget = "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_uD5KUL2d";
|
||||||
"https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_uD5KUL2d";
|
|
||||||
setTimeout(()=>{
|
var targeturl = JSON.stringify(e.currentTarget.dataset.targeturl);
|
||||||
location.replace(location.href)
|
|
||||||
},1000)
|
targeturl = encodeURIComponent(targeturl)
|
||||||
|
|
||||||
|
url = './webview/webview?url=' + targeturl
|
||||||
|
|
||||||
|
wx.miniProgram.navigateTo({url:url,});
|
||||||
|
|
||||||
|
// window.location.href =
|
||||||
|
// "https://appstatic.cmschina.com/activity/cmszhyxpt/bees/index.html?id=INT_SMKTC_uD5KUL2d";
|
||||||
|
// setTimeout(()=>{
|
||||||
|
// location.replace(location.href)
|
||||||
|
// },1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.id == 5) {
|
if (item.id == 5) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user