1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-20 20:43:14 +08:00

Upd: Update server CN 2025-08-14 new shop UI

This commit is contained in:
weeswelai
2025-08-19 19:55:09 +08:00
parent ba2a07c256
commit 0f14b7693d
43 changed files with 382 additions and 47 deletions

View File

@@ -1,7 +1,7 @@
from module.base.decorator import cached_property
from module.logger import logger
from module.shop.assets import *
from module.shop.base import ShopItemGrid
from module.shop.base import ShopItemGrid, ShopItemGrid_250814
from module.shop.clerk import ShopClerk
from module.shop.shop_status import ShopStatus
from module.shop.ui import ShopUI
@@ -106,3 +106,19 @@ class GuildShop(ShopClerk, ShopUI, ShopStatus):
else:
logger.info('Guild coins < 110, skip refreshing')
break
class GuildShop_250814(GuildShop):
# New UI in 2025-08-14
@cached_property
def shop_guild_items(self):
"""
Returns:
ShopItemGrid:
"""
shop_grid = self.shop_grid
shop_guild_items = ShopItemGrid_250814(shop_grid, templates={}, template_area=(25, 20, 82, 72), amount_area=(42, 50, 65, 65), cost_area=(-12, 115, 60, 155), price_area=(18, 121, 85, 150))
self.shop_template_folder = './assets/shop/guild'
shop_guild_items.load_template_folder(self.shop_template_folder)
shop_guild_items.load_cost_template_folder('./assets/shop/cost')
return shop_guild_items