File tree Expand file tree Collapse file tree
campaign/event_20260417_cn Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,14 +15,17 @@ def ui_goto_event(self):
1515 return True
1616 self .ui_ensure (page_campaign_menu )
1717 if self .is_event_entrance_available ():
18- self .ui_goto_main ()
19- if self .ui_page_appear (page_main_white ):
20- self .ui_click (EVENT_20260417_DETAIL_WHITE , check_button = EVENT_20260417_DETAIL_CHECK )
18+ if self .config .SERVER == 'tw' :
19+ self .ui_goto (page_event )
2120 else :
22- self .ui_click (EVENT_20260417_DETAIL , check_button = EVENT_20260417_DETAIL_CHECK )
23- self .ui_click (EVENT_20260417_ENTRANCE , check_button = EVENT_20260417_PT_ICON ,
24- appear_button = EVENT_20260417_DETAIL_CHECK , offset = (40 , 20 ))
25- return True
21+ self .ui_goto_main ()
22+ if self .ui_page_appear (page_main_white ):
23+ self .ui_click (EVENT_20260417_DETAIL_WHITE , check_button = EVENT_20260417_DETAIL_CHECK )
24+ else :
25+ self .ui_click (EVENT_20260417_DETAIL , check_button = EVENT_20260417_DETAIL_CHECK )
26+ self .ui_click (EVENT_20260417_ENTRANCE , check_button = EVENT_20260417_PT_ICON ,
27+ appear_button = EVENT_20260417_DETAIL_CHECK , offset = (40 , 20 ))
28+ return True
2629
2730 @staticmethod
2831 def _campaign_ocr_result_process (result ):
You can’t perform that action at this time.
0 commit comments