|
|
@@ -78,59 +78,67 @@ export default {
|
|
|
console.log(val);
|
|
|
//节日游戏
|
|
|
if(val.type=='1'){
|
|
|
- this.$router.push({
|
|
|
- path: '/home/festiveEvents/game',
|
|
|
- query: {
|
|
|
- url: val.activityUrl,
|
|
|
- actId:val.actId
|
|
|
- }
|
|
|
- });
|
|
|
+ //元宵节答题
|
|
|
+ if(val.actId==13){
|
|
|
+ this.$router.push({
|
|
|
+ path: '/home/festiveEvents/lanternFestival',
|
|
|
+ query: {
|
|
|
+ actId:val.actId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ //七夕节答题
|
|
|
+ else if(val.actId==20){
|
|
|
+ this.$router.push({
|
|
|
+ path: '/home/festiveEvents/qiXiGame',
|
|
|
+ query: {
|
|
|
+ actId:val.actId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ //每周竞技
|
|
|
+ else{
|
|
|
+ this.$router.push({
|
|
|
+ path: '/home/festiveEvents/game',
|
|
|
+ query: {
|
|
|
+ url: val.activityUrl,
|
|
|
+ actId:val.actId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
//答题
|
|
|
if(val.type=='2'){
|
|
|
+ //每日答题
|
|
|
this.$router.push({
|
|
|
path: '/home/festiveEvents/answerGame',
|
|
|
query: {
|
|
|
actId:val.actId
|
|
|
}
|
|
|
});
|
|
|
- }
|
|
|
- //元宵节答题
|
|
|
- if(val.actId==13){
|
|
|
- this.$router.push({
|
|
|
- path: '/home/festiveEvents/lanternFestival',
|
|
|
- query: {
|
|
|
- actId:val.actId
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
- //七夕节答题
|
|
|
- if(val.actId==20){
|
|
|
- this.$router.push({
|
|
|
- path: '/home/festiveEvents/qiXiGame',
|
|
|
- query: {
|
|
|
- actId:val.actId
|
|
|
- }
|
|
|
- });
|
|
|
}
|
|
|
//抽奖
|
|
|
- if(val.type=='3'&&val.actId!=12){
|
|
|
- this.$router.push({
|
|
|
- path: '/home/festiveEvents/drawCarouselGame',
|
|
|
- query: {
|
|
|
- actId:val.actId
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
- //春节抽签
|
|
|
- if(val.actId==12){
|
|
|
- this.$router.push({
|
|
|
- path: '/home/festiveEvents/game',
|
|
|
- query: {
|
|
|
- url: val.activityUrl,
|
|
|
- actId:val.actId
|
|
|
- }
|
|
|
- });
|
|
|
+ if(val.type=='3'){
|
|
|
+ //春节抽签
|
|
|
+ if(val.actId==12){
|
|
|
+ this.$router.push({
|
|
|
+ path: '/home/festiveEvents/game',
|
|
|
+ query: {
|
|
|
+ url: val.activityUrl,
|
|
|
+ actId:val.actId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ //每月抽奖
|
|
|
+ else{
|
|
|
+ this.$router.push({
|
|
|
+ path: '/home/festiveEvents/drawCarouselGame',
|
|
|
+ query: {
|
|
|
+ actId:val.actId
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|