diff --git a/apps/telegram-game/components.d.ts b/apps/telegram-game/components.d.ts index 68cf1027..071b71ac 100644 --- a/apps/telegram-game/components.d.ts +++ b/apps/telegram-game/components.d.ts @@ -24,6 +24,7 @@ declare module 'vue' { Image: typeof import('./src/components/Image.vue')['default'] InventoryItemActivationBlock: typeof import('./src/components/InventoryItemActivationBlock.vue')['default'] InventoryItemCard: typeof import('./src/components/InventoryItemCard.vue')['default'] + ItemCard: typeof import('./src/components/ItemCard.vue')['default'] Modal: typeof import('./src/components/Modal.vue')['default'] Navigation: typeof import('./src/components/Navigation.vue')['default'] PageContainer: typeof import('./src/components/PageContainer.vue')['default'] diff --git a/apps/telegram-game/src/components/Game.vue b/apps/telegram-game/src/components/Game.vue index 254a9c53..ef121a80 100644 --- a/apps/telegram-game/src/components/Game.vue +++ b/apps/telegram-game/src/components/Game.vue @@ -19,6 +19,8 @@ + + diff --git a/apps/telegram-game/src/components/GameCharacterProgression.vue b/apps/telegram-game/src/components/GameCharacterProgression.vue index b462539f..5e5e1e96 100644 --- a/apps/telegram-game/src/components/GameCharacterProgression.vue +++ b/apps/telegram-game/src/components/GameCharacterProgression.vue @@ -22,8 +22,23 @@ diff --git a/apps/telegram-game/src/components/InventoryItemActivationBlock.vue b/apps/telegram-game/src/components/InventoryItemActivationBlock.vue index 26c26442..b0b66538 100644 --- a/apps/telegram-game/src/components/InventoryItemActivationBlock.vue +++ b/apps/telegram-game/src/components/InventoryItemActivationBlock.vue @@ -1,14 +1,8 @@ - - - - +100 WP - - - +1 Монета - - + + + diff --git a/apps/telegram-game/src/components/ItemCard.vue b/apps/telegram-game/src/components/ItemCard.vue new file mode 100644 index 00000000..14644aab --- /dev/null +++ b/apps/telegram-game/src/components/ItemCard.vue @@ -0,0 +1,55 @@ + + + + + {{ item.amount > 1 ? `+${item.amount}` : getItemLabelByType(item.type) }} + + + + + diff --git a/apps/telegram-game/src/components/ProductActivationBlock.vue b/apps/telegram-game/src/components/ProductActivationBlock.vue index 9ef06478..3f5ce379 100644 --- a/apps/telegram-game/src/components/ProductActivationBlock.vue +++ b/apps/telegram-game/src/components/ProductActivationBlock.vue @@ -1,11 +1,6 @@ - - - - {{ item.amount > 0 ? item.amount : getItemLabelByType(item.type) }} - - + @@ -15,7 +10,6 @@
+ {{ item.amount > 1 ? `+${item.amount}` : getItemLabelByType(item.type) }} +
- {{ item.amount > 0 ? item.amount : getItemLabelByType(item.type) }} -