Component({data:{isLessTab:!1,pageSkin:"",showQa:!0,realShowList:[]},properties:{menuList:{type:Array,value:[],observer(e){e.length<=0||(this.setData({isLessTab:!1}),wx.nextTick((()=>{const e=wx.createSelectorQuery().in(this);e.selectAll(".plv-mp-menubar-item").boundingClientRect(),e.exec((e=>{const t=e[0];let a=0;t.forEach((e=>{a+=e.width})),this.setData({isLessTab:a<=this.data.wrapWidth})}))})))}},skin:{type:String,value:"black",observer(e){"black"!==e&&"white"!==e&&this.setData({skin:"black"})}},activeIndex:{type:Number,value:0},wrapWidth:{type:Number,value:0},hasNewQuiz:{type:Boolean,value:!1},plvInsideUse:{type:Boolean,value:!1,observer(e){e||this.setData({showQa:!1})}}},lifetimes:{ready(){}},methods:{changeMenu(e){let t=e.target.dataset.index;void 0!==t&&(t=parseInt(t,10),this.triggerEvent("changeMenu",{activeIndex:t}))}}});