成长礼包添加特效
							parent
							
								
									6556a240e4
								
							
						
					
					
						commit
						ec8c7ea645
					
				| 
						 | 
					@ -6,6 +6,7 @@ local this = MainPanel
 | 
				
			||||||
local endTime = 0
 | 
					local endTime = 0
 | 
				
			||||||
local GlobalActConfig = ConfigManager.GetConfig(ConfigName.GlobalActivity)
 | 
					local GlobalActConfig = ConfigManager.GetConfig(ConfigName.GlobalActivity)
 | 
				
			||||||
local ActGroupsConfig = ConfigManager.GetConfig(ConfigName.ActivityGroups)
 | 
					local ActGroupsConfig = ConfigManager.GetConfig(ConfigName.ActivityGroups)
 | 
				
			||||||
 | 
					local shopItemConfig = ConfigManager.GetConfig(ConfigName.StoreConfig)
 | 
				
			||||||
--示意图轮回放
 | 
					--示意图轮回放
 | 
				
			||||||
local imageList = {}
 | 
					local imageList = {}
 | 
				
			||||||
-- 主界面需要隐藏的功能
 | 
					-- 主界面需要隐藏的功能
 | 
				
			||||||
| 
						 | 
					@ -335,7 +336,18 @@ function this:BindEvent()
 | 
				
			||||||
     --六星前往
 | 
					     --六星前往
 | 
				
			||||||
     Util.AddClick(this.btnSixStarGo,function()
 | 
					     Util.AddClick(this.btnSixStarGo,function()
 | 
				
			||||||
        --PlayerManager.isSixStarJump=true
 | 
					        --PlayerManager.isSixStarJump=true
 | 
				
			||||||
        DynamicActivityManager.SetSelectIndex(DataType.Shop,{1107,1110,1111,1112})
 | 
					        local shopId = {}
 | 
				
			||||||
 | 
					        local shopData = ShopManager.GetShopDataByType(SHOP_TYPE.VIP_GIFT).storeItem
 | 
				
			||||||
 | 
					        for i = 1, #shopData do
 | 
				
			||||||
 | 
					            local shopItemData = shopItemConfig[shopData[i].id]
 | 
				
			||||||
 | 
					            local shows = shopItemData.Goods      
 | 
				
			||||||
 | 
					            for j = 1,#shows do
 | 
				
			||||||
 | 
					                if shows[j][1] == 11026 then
 | 
				
			||||||
 | 
					                    table.insert(shopId,shopItemData.Id)
 | 
				
			||||||
 | 
					                end
 | 
				
			||||||
 | 
					            end
 | 
				
			||||||
 | 
					        end
 | 
				
			||||||
 | 
					        DynamicActivityManager.SetSelectIndex(DataType.Shop,shopId)
 | 
				
			||||||
        JumpManager.GoJump(36011)
 | 
					        JumpManager.GoJump(36011)
 | 
				
			||||||
    end)
 | 
					    end)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue