define("/Assets/enp/2022/js/module/e-module-202209191501.js", function (require, factory) { if ($('.e-module-202209191501').length > 0) { function module202209191501Fun($target) { var module202209191501Obj = { init: function () { this.win = $(window); this.moduleObj = $target; this.tabItemObj = this.moduleObj.find(".ebg-tab-head-item"); this.tabConObj = this.moduleObj.find(".con"); this.tabItemObj.eq(0).addClass("active"); this.tabConObj.eq(0).addClass("active2"); this.clickEvent(); }, clickEvent: function () { var _this = this; _this.tabItemObj.on('click', function () { var This = $(this); This.toggleClass('active').siblings().removeClass('active'); _this.tabConObj.eq(This.index()).addClass('active2').siblings().removeClass('active2'); }) } }; module202209191501Obj.init(); } // 初始化 $('.e-module-202209191501').each(function () { // 防止js文件被执行2次。 var _this = $(this); if (_this.data('init')) { return; } _this.data('init', true); module202209191501Fun($(this)); }) } });