...
|
...
|
@@ -26,8 +26,10 @@ let categoryObj = { |
|
|
let _this = this;
|
|
|
|
|
|
this.domInit();
|
|
|
_this.el.$tabItem.on('click', function () {
|
|
|
$(this).toggleClass('active').siblings('.tab-item').removeClass('active');
|
|
|
_this.el.$tabItem.find('.city-name').on('click', function () {
|
|
|
let $this = $(this).parents('.tab-item');
|
|
|
|
|
|
$this.toggleClass('active').siblings('.tab-item').removeClass('active');
|
|
|
});
|
|
|
|
|
|
_this.el.$tabItem.find('.right-part:first').show();
|
...
|
...
|
|