|
|
|
@@ -18,13 +18,12 @@ Page({ |
|
|
|
onLoad: function (options) { |
|
|
|
console.log(options); |
|
|
|
this.setData({ |
|
|
|
allurl: options.url||'https://cktest.2weisou.com/dance/', |
|
|
|
web:options.web, |
|
|
|
index:options.index, |
|
|
|
userid: options.userid, |
|
|
|
gameid: options.gameid, |
|
|
|
type: options.type, |
|
|
|
allurl: this.data.allurl +`?userid=${options.userid||0}&gameid=${options.gameid||0}&type=${options.type==2?2:1}` |
|
|
|
allurl: options.url +`?userid=${options.userid||0}&gameid=${options.gameid||0}&type=${options.type==2?2:1}` |
|
|
|
}) |
|
|
|
console.log(this.data.allurl) |
|
|
|
}, |
|
|
|
|