0
我尝试的TabBar +旋转木马结合起来,与温泉UI药效果温泉UI的TabBar +旋转木马结合
我有一个小问题;
当我在与传送带相同的页面中添加Tabbar时,传送带刷卡不起作用。
当我把的TabBar在刷卡效果很好,但我不能检索当前指数(OnPostChange)
有人有解决方案,请转盘的一个不同的页面?
谢谢
我把不低于
第一个作品的两个代码: https://codepen.io/yohann3396/pen/brppxY
二: https://codepen.io/yohann3396/pen/jLqqdK
ons.bootstrap();
ons.ready(function() {
alert('test');
carousel.on('postchange', function(event) {
var test = carousel.getActiveIndex();
alert(test);
});
});
Swiper.js解决了所有问题。 :-)伟大的图书馆。 – TrumpPaiPence