Sfoglia il codice sorgente

fix: Pop-ups appear slowly when goto the mall

runhey 3 anni fa
parent
commit
7eff1cd730
3 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 2 2
      tasks/DailyTrifles/script_task.py
  2. 1 1
      tasks/GameUi/page.py
  3. 1 1
      tasks/RichMan/mall/mall.py

+ 2 - 2
tasks/DailyTrifles/script_task.py

@@ -63,7 +63,7 @@ class ScriptTask(GameUi, Summon, DailyTriflesAssets):
 
     def run_store_sign(self):
         self.ui_get_current_page()
-        self.ui_goto(page_mall)
+        self.ui_goto(page_mall, confirm_wait=3)
 
         while 1:
             self.screenshot()
@@ -103,5 +103,5 @@ if __name__ == '__main__':
     d = Device(c)
     t = ScriptTask(c, d)
 
-    t.run_friend_love()
+    t.run_store_sign()
 

+ 1 - 1
tasks/GameUi/page.py

@@ -133,7 +133,7 @@ page_friends.link(button=G.I_BACK_Y, destination=page_main)
 page_main.link(button=G.I_MAIN_GOTO_FRIENDS, destination=page_friends)
 # 花合战 daily
 page_daily = Page(G.I_CHECK_DAILY)
-page_daily.additional = [G.O_CLICK_CLOSE_1, G.O_CLICK_CLOSE_2]
+# page_daily.additional = [G.O_CLICK_CLOSE_1, G.O_CLICK_CLOSE_2]
 page_daily.link(button=G.I_BACK_Y, destination=page_main)
 page_main.link(button=G.I_MAIN_GOTO_DAILY, destination=page_daily)
 # 商店 mall

+ 1 - 1
tasks/RichMan/mall/mall.py

@@ -19,7 +19,7 @@ class Mall(Special, Honor, FriendshipPoints, Medal, Charisma, Consignment, Scale
     def execute_mall(self):
         logger.hr('Mall', 1)
         self.ui_get_current_page()
-        self.ui_goto(page_mall)
+        self.ui_goto(page_mall, confirm_wait=4)
 
         # 寄售屋
         self.execute_consignment()