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