PageSourceSearch

https://fe-resource.yeelight.com/yeelight-website-china-fe/production/pc/v0.1.1/js/9351.33b11f3d.js

js yeelight.com collected 2026-09-24 09:25:03 UTC 1,877 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkyeelight_website_china_fe"]=self["webpackChunkyeelight_website_china_fe"]||[]).push([[9351],{42989:function(e,t,n){var i=n(14761);t.A={props:{navs:{type:Array,required:!0},activeIndex:{type:Number,default:null},selector:{type:String,default:null}},data(){return{hide:!0}},mounted(){window.addEventListener("scroll",this.handleScroll,!0)},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll,!0)},methods:{scrollTo(e){const t=document.querySelector(`${this.selector}:nth-child(${e+1})`).offsetTop;(0,i.V)(t)},handleScroll(){this.hide=(0,i.K)(window)<=50}}}},29164:function(e,t,n){var i=n(14761);t.A={props:{autoHide:{type:Boolean,default:!0},show:{type:Boolean,default:!1}},data(){return{hide:!0}},computed:{hidden(){return this.autoHide?this.hide:!this.show}},mounted(){this.autoHide&&window.addEventListener("scroll",this.handleScroll,!0)},beforeDestroy(){this.autoHide&&window.removeEventListener("scroll",this.handleScroll,!0)},methods:{handleScroll(){this.hide=(0,i.K)(window)<=50}}}},99351:function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var i=function(){var e=this,t=e._self._c;return t("page-header",{attrs:{hide:e.hide}},[e.navs?t("ul",{staticClass:"nav"},e._l(e.navs,function(n,i){return t("li",{key:n.text,class:{active:e.activeIndex===i},on:{click:function(t){return e.scrollTo(i)}}},[e._v(" "+e._s(n.text)+" ")])}),0):e._e()])},l=[],r=n(42989),o=n(59257),s={name:"MDetailTopNav",components:{PageHeader:o.A},mixins:[r.A]},a=s,d=n(73080),c=(0,d.A)(a,i,l,!1,null,"0603ca15",null),u=c.exports},59257:function(e,t,n){n.d(t,{A:function(){return c}});var i=function(){var e=this,t=e._self._c;return t("header",{staticClass:"mobile_page_header",class:{hide:e.hide}},[e._t("default")],2)},l=[],r=n(29164),o={name:"PageHeader",mixins:[r.A]},s=o,a=n(73080),d=(0,a.A)(s,i,l,!1,null,"730dac00",null),c=d.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.