mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Fix: [EN] shop and supply pack tasks
This commit is contained in:
@@ -99,6 +99,29 @@ class ShopUI(UI):
|
||||
)
|
||||
|
||||
@cached_property
|
||||
@Config.when(SERVER='en')
|
||||
def shop_tab_250814(self):
|
||||
"""
|
||||
Set with `self.shop_tab.set(main=self, upper={index})`
|
||||
- index
|
||||
1: General supply shops
|
||||
2: Monthly shops
|
||||
3: Event shops
|
||||
"""
|
||||
grids = ButtonGrid(
|
||||
origin=(29, 519), delta=(0, 50),
|
||||
button_shape=(60, 15), grid_shape=(1, 3),
|
||||
name='SHOP_TAB')
|
||||
return Navbar(
|
||||
grids=grids,
|
||||
# blue text active
|
||||
active_color=(0, 131, 255), active_threshold=221, active_count=100,
|
||||
# white text inactive
|
||||
inactive_color=(249, 252, 253), inactive_threshold=221, inactive_count=100,
|
||||
)
|
||||
|
||||
@cached_property
|
||||
@Config.when(SERVER=None)
|
||||
def shop_tab_250814(self):
|
||||
"""
|
||||
Set with `self.shop_tab.set(main=self, upper={index})`
|
||||
|
||||
Reference in New Issue
Block a user