function clickHandler(){
$('.relative .glav_tour').addClass('tour_hide');
alert('Смена блока!');
}
$( '.relative .mapsvg-marker' )
.on('click', clickHandler)
.on('touchstart', clickHandler);
object-fit: cover;
object-position: center;
<div style="background-image: url(./img/1.JPG)" class="article__image"></div>
.article__image {
background-position: 50% 50%;
background-size: cover;
}
resolve: {
extensions: ['.js', 'ts', 'tsx', '.vue', '.json'],
alias: {
'vue$': 'vue/dist/vue.esm.js',
'@': resolve('src'),
}
},