template
svg
path d=1232,32,12,121
template
svg
path d=1232,32,12,121
import IconHome from './IconHome';
import IconEmail from './IconEmail';
export default {
components: {
IconHome,
IconEmail,
}
}
<template>
<div>
<IconHome class=green>
<IconEmail class=red>
</div>
</template>
<style>
.green { fill: green }
.red { fill: red }
</style>
push()
самого объекта $router
this.$router.push({path: `/movie/uid/${chosenMovie.uid}`});
.active
..slide:not(.active) {
transform: scale(0.8); opacity: 0.5;
}
.slide
.slide.active + .active +.active {
transform: scale(0.8); opacity: 0.5;
}
.slide.active + .active {
transform: scale(1); opacity: 1;
}
<! -- оставил только один товар, остальные удалил -->
<div id="category-product-block" class="item item-good" data-bal="element-bal">
target.getAttribute('[data-action="lumos"]');
const elements = document.querySelectorAll('[data-action="lumos"]');
Бегаем по списку картинок, нужные собираем куда-нибудь в массив, потом этот массив отправляем на сервер.