From ce877834cda61d1ba66a7ec2e3512e8db917064e Mon Sep 17 00:00:00 2001 From: Hide_D Date: Wed, 27 Apr 2022 00:09:25 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=9E=A5=EC=88=98=20=EC=B6=94=EA=B0=80?= =?UTF-8?q?=EC=A0=95=EB=B3=B4=20=EC=B9=B4=EB=93=9C=20-=20=EB=A7=89?= =?UTF-8?q?=EB=8C=80=20=EA=B5=AC=ED=98=84=20-=20=EA=B8=B0=EC=A1=B4?= =?UTF-8?q?=EC=9D=98=20=EC=B6=94=EA=B0=80=EC=A0=95=EB=B3=B4=EC=97=90=205?= =?UTF-8?q?=ED=84=B4=EB=B6=84=EB=9F=89=20=EC=98=88=ED=84=B4=20=ED=91=9C?= =?UTF-8?q?=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/ts/components/GeneralBasicCard.vue | 44 ++++-- hwe/ts/components/GeneralSupplementCard.vue | 148 ++++++++++++++++++++ hwe/ts/components/SammoBar.vue | 35 +++++ 3 files changed, 214 insertions(+), 13 deletions(-) create mode 100644 hwe/ts/components/GeneralSupplementCard.vue create mode 100644 hwe/ts/components/SammoBar.vue diff --git a/hwe/ts/components/GeneralBasicCard.vue b/hwe/ts/components/GeneralBasicCard.vue index 68ba3922..64f8dedd 100644 --- a/hwe/ts/components/GeneralBasicCard.vue +++ b/hwe/ts/components/GeneralBasicCard.vue @@ -21,21 +21,38 @@
통솔
- {{ general.leadership }} - - +{{ general.lbonus }} +
+
+ {{ general.leadership }} + + +{{ general.lbonus }} +
+
+ +
+
무력
- - {{ general.strength }} - +
+
+ {{ general.strength }} +
+
+ +
+
지력
- - {{ general.intel }} - +
+
+ {{ general.intel }} +
+
+ +
+
명마
@@ -126,6 +143,7 @@ import type { GameConstStore } from "@/GameConstStore"; import { formatGeneralTypeCall } from "@/utilGame/formatGeneralTypeCall"; import { nextExpLevelRemain } from "@/utilGame/nextExpLevelRemain"; import { formatConnectScore } from "@/utilGame/formatConnectScore"; +import SammoBar from "@/components/SammoBar.vue"; import { parseTime } from "@/util/parseTime"; import { clamp } from "lodash"; const imagePath = window.pathConfig.gameImage; @@ -219,8 +237,8 @@ onMounted(() => { .general-icon { width: 64px; height: 64px; - background-size: "64px 64px"; - background-position: center; + background-size: contain; + background-repeat: no-repeat; grid-row: 1 / 4; } @@ -233,8 +251,8 @@ onMounted(() => { .general-crew-type-icon { width: 64px; height: 64px; - background-size: "64px 64px"; - background-position: center; + background-size: contain; + background-repeat: no-repeat; grid-row: 4 / 7; } diff --git a/hwe/ts/components/GeneralSupplementCard.vue b/hwe/ts/components/GeneralSupplementCard.vue new file mode 100644 index 00000000..44220ff4 --- /dev/null +++ b/hwe/ts/components/GeneralSupplementCard.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/hwe/ts/components/SammoBar.vue b/hwe/ts/components/SammoBar.vue new file mode 100644 index 00000000..83584947 --- /dev/null +++ b/hwe/ts/components/SammoBar.vue @@ -0,0 +1,35 @@ + + +