From 573ee75bb6c3482af4896d9d33ee512160acbe4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Tlust=C3=BD?= Date: Mon, 6 Dec 2021 12:24:01 +0100 Subject: [PATCH] hotovo --- public/index.html | 1 + public/style.css | 3 +++ src/App.vue | 45 ++++++++++++++++++++++++++++++++------------- 3 files changed, 36 insertions(+), 13 deletions(-) create mode 100644 public/style.css diff --git a/public/index.html b/public/index.html index 04d495b..4293792 100644 --- a/public/index.html +++ b/public/index.html @@ -7,6 +7,7 @@ <%= htmlWebpackPlugin.options.title %> + diff --git a/public/style.css b/public/style.css new file mode 100644 index 0000000..e0fbc6e --- /dev/null +++ b/public/style.css @@ -0,0 +1,3 @@ +img{ + width: 50%; +} \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 8cc5f45..fc483b7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,10 +4,16 @@

Knihy

-
- - {{ kniha.nazev }} - -

+

+

{{ kniha.format_volba }}

-

-
+

cena: {{ kniha.cena }},-

+

+
+
+ +

Košík

-
- {{kniha.nazev}}
- {{kniha.format_volba}} - - {{ kniha.pocet * kniha.cena }} Kč +
+
+
+ +
+
+
+
{{ kniha.nazev }}
+

Formát knihy: {{kniha.format_volba}}

+ +

{{ kniha.pocet * kniha.cena }} Kč

+
+
+

Celková cena: {{celkovaCena}} Kč