<div class="block-calculations__panel" v-for=" (i, index) in arr ">
<span :data-col="index" @click="isActive =i" v-bind:class="isActive==i?'active':''"></span>
</div>
$(document).ready(function(){
var isActive=localStorage.getItem('id_shipping_address_daneu');
var action=isActive==true?'addClass':'removeClass';
$('.gor')[action]('active');
})
$(function(){
$('#shipping_address_daneu').click(function(){
$('.gor').addClass('active');
localStorage.setItem('id_shipping_address_daneu','true');
});
$('#shipping_address_danet').click(function(){
$('.gor').removeClass('active');
localStorage.setItem('id_shipping_address_daneu','false');
});
});