unnamed.patch
1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Index: src/pages/luckyWheel/luckyWheel.vue
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/pages/luckyWheel/luckyWheel.vue (revision d479abe4293991a385e94294b21a819306733fc1)
+++ src/pages/luckyWheel/luckyWheel.vue (revision )
@@ -100,7 +100,8 @@
rotate_transition_pointer: "transform 12s ease-in-out", //初始化指针过度属性控制
click_flag: true, //是否可以旋转抽奖
index: 0,
- resultsInfo:null// 中奖信息
+ resultsInfo:null,// 中奖信息
+ activeId:0 // 活动Id
};
},
created() {
@@ -349,6 +350,7 @@
path:'/drawRecord',
query:{
uid: this.getStore("uid") || 0,
+ activeId:this.activeId
}
})
}
Index: src/pages/drawRecord/drawRecord.vue
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/pages/drawRecord/drawRecord.vue (revision d479abe4293991a385e94294b21a819306733fc1)
+++ src/pages/drawRecord/drawRecord.vue (revision )
@@ -48,6 +48,10 @@
created(){
this.getmyLuckDraw(this.page)
},
+ mounted(){
+ let activeId = this.$route.query.activeId
+ this.getShareData(activeId)
+ },
methods: {
// 抽奖记录
/**
@@ -115,6 +119,14 @@
this.loading = true;
this.page++
this.getmyLuckDraw(this.page)
+ },
+ // 获取并设置分享参数
+ getShareData(activeId){
+ this.$parent.getShareData({
+ type: 14,
+ id: activeId,
+ url: ""
+ });
}
}
}