remove irrelevant code
This commit is contained in:
parent
9eb14326c4
commit
1dace6e5cf
|
|
@ -234,8 +234,6 @@
|
|||
},
|
||||
|
||||
mounted: function () {
|
||||
// this.open360View();
|
||||
|
||||
let currentProductId = '{{ $product->url_key }}';
|
||||
let existingViewed = window.localStorage.getItem('recentlyViewed');
|
||||
|
||||
|
|
@ -284,44 +282,6 @@
|
|||
}
|
||||
});
|
||||
},
|
||||
|
||||
open360View: function () {
|
||||
this.slot = false;
|
||||
|
||||
setTimeout(() => {
|
||||
$('.spritespin').spritespin({
|
||||
source: SpriteSpin.sourceArray('http://shubham.webkul.com/3d-image/sample-{lane}-{frame}.jpg', {
|
||||
lane: [0,5],
|
||||
frame: [0,5],
|
||||
digits: 2
|
||||
}),
|
||||
// width and height of the display
|
||||
width: 400,
|
||||
height: 225,
|
||||
// the number of lanes (vertical angles)
|
||||
lanes: 12,
|
||||
// the number of frames per lane (per vertical angle)
|
||||
frames: 24,
|
||||
// interaction sensitivity (and direction) modifier for horizontal movement
|
||||
sense: 1,
|
||||
// interaction sensitivity (and direction) modifier for vertical movement
|
||||
senseLane: -2,
|
||||
|
||||
// the initial lane number
|
||||
lane: 6,
|
||||
// the initial frame number (within the lane)
|
||||
frame: 0,
|
||||
// disable autostart of the animation
|
||||
animate: false,
|
||||
|
||||
plugins: [
|
||||
'progress',
|
||||
'360',
|
||||
'drag'
|
||||
]
|
||||
});
|
||||
}, 0);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue