onPage('paymentItem', { itemId: 1 })} />
-
-
+
+
+ {slides.map((slide, idx) => (
+
+ ))}
+
+
+ {slides.map((slide, idx) => {
+ const cn = [ 'bullit', currentSlide == idx ? 'active' : '' ];
+
+ return
this.setState({ currentSlide: idx })} key={idx} />;
+ })}
+
-
+
+
+ {tiers.map((tier, idx) => (
+
+ ))}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
);
};
+ componentDidMount () {
+ this.slideWidth = $(this.node).width() + 16;
+
+ $(window).on('resize.membership', () => {
+ console.log('WIDTH: ', $(this.node).width() + 16)
+ this.slideWidth = $(this.node).width() + 16;
+ });
+ };
+
+ componentWillUnmount () {
+ $(window).off('resize.membership');
+ };
+
});
-export default PopupSettingsPagePaymentIndex;
\ No newline at end of file
+export default PopupSettingsPagePaymentIndex;