|
@@ -38,13 +38,16 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- getRow(activityId){
|
|
|
|
|
|
|
+ getRow(res){
|
|
|
|
|
+ let activityUrl = res?.activityUrl.split('/#/')[1] || '';
|
|
|
|
|
+ let activityId = res?.activityId;
|
|
|
let currentPlatform = 'gyy-aB4cD6eF8gH0iJ2kL4';
|
|
let currentPlatform = 'gyy-aB4cD6eF8gH0iJ2kL4';
|
|
|
let currentUser = uni.getStorageSync('userId');
|
|
let currentUser = uni.getStorageSync('userId');
|
|
|
- let url = '/packageF/pages/activity/lottery/turntable?activityId='+ activityId + '¤tPlatform='+currentPlatform+'¤tUser='+currentUser;
|
|
|
|
|
|
|
+ let url = `/${activityUrl}?activityId=${activityId}¤tPlatform=${currentPlatform}¤tUser=${currentUser}`;
|
|
|
this.initLaunchButton(url)
|
|
this.initLaunchButton(url)
|
|
|
},
|
|
},
|
|
|
async initLaunchButton(url) {
|
|
async initLaunchButton(url) {
|
|
|
|
|
+ console.log(url)
|
|
|
try {
|
|
try {
|
|
|
await handleServiceAdjustMiniProgram();
|
|
await handleServiceAdjustMiniProgram();
|
|
|
this.show = true;
|
|
this.show = true;
|