diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-11-16 22:32:15 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-11-16 22:32:15 -0500 |
commit | 1ec0fd99cdf48fa3db61c7580d4e80a2c5216ed8 (patch) | |
tree | 5681ea769324bc0ff4fb9d479cb28f7917a50960 /iridescence/src/components/ProductCard.vue | |
parent | f92fe9e965d903f4ef5520fff0075928ece3a443 (diff) | |
download | theglassyladies-1ec0fd99cdf48fa3db61c7580d4e80a2c5216ed8.tar.xz theglassyladies-1ec0fd99cdf48fa3db61c7580d4e80a2c5216ed8.zip |
basic image details, base and fullsize image displays
Diffstat (limited to 'iridescence/src/components/ProductCard.vue')
-rw-r--r-- | iridescence/src/components/ProductCard.vue | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/iridescence/src/components/ProductCard.vue b/iridescence/src/components/ProductCard.vue index cfea0fd..67fbfbd 100644 --- a/iridescence/src/components/ProductCard.vue +++ b/iridescence/src/components/ProductCard.vue @@ -26,12 +26,27 @@ </div> </div> </div> + <ProductDetail + v-if="id == 6" + v-bind="{ + id: id, + name: name, + quantity: quantity, + cents: cents, + photo_base: photo_base, + photo_fullsize: photo_fullsize, + description: description + }" + ></ProductDetail> </div> </template> <script> +import ProductDetail from "@/components/ProductDetail.vue"; + export default { name: "ProductCard", + components: { ProductDetail }, props: { id: Number, name: String, |