diff --git a/fk101/lua_probject/base_project/Game/View/ResultView.lua b/fk101/lua_probject/base_project/Game/View/ResultView.lua index e7cf58eb..d4911ad5 100644 --- a/fk101/lua_probject/base_project/Game/View/ResultView.lua +++ b/fk101/lua_probject/base_project/Game/View/ResultView.lua @@ -141,27 +141,35 @@ function M:init(url, isBigFull) local btn_share_link = big_result:GetChild('btn_share_link') - btn_share_link.onClick:Set( - function() - big_result:GetController('share').selectedIndex = 0 - self:__ShareResultInfo() - end - ) + if btn_share_link then + btn_share_link.onClick:Set( + function() + big_result:GetController('share').selectedIndex = 0 + self:__ShareResultInfo() + end + ) + end + local btn_share_photo = big_result:GetChild('btn_share_photo') - btn_share_photo.onClick:Set( - function() - big_result:GetController('share').selectedIndex = 0 - ShareScreenShotWithOption() - end - ) + if btn_share_photo then + btn_share_photo.onClick:Set( + function() + big_result:GetController('share').selectedIndex = 0 + ShareScreenShotWithOption() + end + ) + end local btn_result_share = big_result:GetChild('btn_result_share') - btn_result_share.onClick:Set( - function() - big_result:GetController('share').selectedIndex = 1 - end - ) + if btn_result_share then + btn_result_share.onClick:Set( + function() + big_result:GetController('share').selectedIndex = 1 + end + ) + end + local btn_result_confirm = big_result:GetChild('btn_result_confirm') btn_result_confirm.onClick:Set( @@ -393,7 +401,7 @@ function M:InitBigResult(room, fontsize) end if item:GetChild('head') and item:GetChild('head')._iconObject then - ImageLoad.Load(player_info.head_url,item:GetChild('head')._iconObject) + ImageLoad.Load(player_info.head_url, item:GetChild('head')._iconObject) end end diff --git a/fk101/wb_new_ui/assets/Extend_Poker_YueYangWHZ/component/clearing/clearing.xml b/fk101/wb_new_ui/assets/Extend_Poker_YueYangWHZ/component/clearing/clearing.xml index f7d29e7d..23bd0617 100644 --- a/fk101/wb_new_ui/assets/Extend_Poker_YueYangWHZ/component/clearing/clearing.xml +++ b/fk101/wb_new_ui/assets/Extend_Poker_YueYangWHZ/component/clearing/clearing.xml @@ -6,7 +6,7 @@ - + @@ -23,20 +23,20 @@