PageSourceSearch

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

js yeelight.com collected 2026-09-24 09:24:00 UTC 3,938 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkyeelight_website_china_fe"]=self["webpackChunkyeelight_website_china_fe"]||[]).push([[543],{25296:function(t,e,n){n.r(e),n.d(e,{default:function(){return B}});var a=function(){var t=this,e=t._self._c;return e("header",{staticClass:"pro-header",class:{hide:t.hide,no_opacity:t.isScrolled}},[e("top-tip"),e("div",{staticClass:"content"},[e("router-link",{staticClass:"logo",attrs:{to:"/"}},[t._v("易来")]),e("ul",{staticClass:"nav"},t._l(t.navs,function(a){return e("li",{key:a.label,class:t.genNavClassName(a)},[a.menu?e("DropDown",{attrs:{list:a.childPath},on:{change:t.onMenuChange}},[e("div",[e("span",[t._v(t._s(a.label))]),e("img",{staticClass:"ic-arrow",attrs:{src:n(43473)}})])]):e("link-item",{attrs:{link:a}})],1)}),0),e("DropDown",{staticStyle:{"margin-left":"60px"},attrs:{list:t.LANGUAGE_LIST},on:{change:t.onLanguageChange}},[e("div",{staticClass:"lang-btn"},[t._v("简体中文")])])],1)],1)},s=[],i=(n(40919),function(){var t=this,e=t._self._c;return t.showTopTip?e("div",{staticClass:"top_tip"},[e("router-link",{attrs:{to:"/information/93"}},[e("span",[t._v("全球前0.1%!易来斩获2025德国红点至尊奖")]),e("img",{attrs:{src:n(76128)}})])],1):t._e()}),l=[],r={name:"TopTip",computed:{showTopTip(){return"/"===this.$route.path}}},o=r,A=n(73080),u=(0,A.A)(o,i,l,!1,null,"78e8cad9",null),c=u.exports,h=n(43595),d=n(14761),p={props:{autoHide:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1}},data(){return{isScrolled:!1,navs:h.R7}},computed:{hide(){return this.hidden||this.isScrolled&&this.autoHide}},mounted(){window.addEventListener("scroll",this.handleScroll,!0)},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll,!0)},methods:{handleScroll(){this.isScrolled=(0,d.K)(window)>50}}},g=n(39758),f=function(){var t=this,e=t._self._c;return e("div",{staticClass:"drop-down"},[t._t("default"),e("div",{staticClass:"item-container"},[e("div",{staticClass:"item-list"},t._l(t.list,function(n){return e("div",{key:n.label,class:{active:n.active},on:{click:function(e){return t.onChange(n)}}},[t._v(" "+t._s(n.label)+" ")])}),0)])],2)},v=[],C={name:"DropDown",props:{list:{type:Array,default:()=>[]}},data(){return{}},methods:{onChange(t){this.$emit("change",t)}}},m=C,w=(0,A.A)(m,f,v,!1,null,"40440eac",null),_=w.exports,k={name:"HeaderNav",components:{LinkItem:g.A,DropDown:_,TopTip:c},mixins:[p],data(){return{LANGUAGE_LIST:h.wX}},methods:{genNavClassName(t){const{path:e}=this.$route||{},n=e===t.path||(t.childPath||[]).includes(e);return{active:n}},onLanguageChange(t){const{active:e,href:n}=t;e&&!n||(window.location.href=n)},onMenuChange(t){this.$router.push({path:t.path})}}},S=k,b=(0,A.A)(S,a,s,!1,null,"3d4ec6e1",null),B=b.exports},39758:function(t,e,n){n.d(e,{A:function(){return A}});var a,s,i={name:"LinkItem",functional:!0,props:{link:{type:Object,default:null}},render(t,e){const n=arguments[0],{link:a}=e.props;if(!a||a.menu)return null;const s=()=>e.slots().default?e.slots().default:a.label;return a.path?n("router-link",{attrs:{to:a.path},directives:[{name:"sup",value:!0}]},[s()]):n("a",{attrs:{href:a.href,target:"_blank"}},[s()])}},l=i,r=n(73080),o=(0,r.A)(l,a,s,!1,null,null,null),A=o.exports},43473:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABySURBVHgB7ZLBCcAgDEWTe13AAVyty7hA5+gA3aYT9G6/4MFLJKlQL3nwKZTHQ0Eix1lLKSVgSeGl6pIWyBm7RvEWrU4mLZAjdkrxLlqdSBak+FRUiluirInjc2Bb+/VgOzPfNEt38u/XH8SD6Wk5zn+8a3mMsv8FpHAAAAAASUVORK5CYII="},76128:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAALNJREFUWEftlsENwjAMRb+HotfCNLAFZQuYhp5hqBa3ssQhaXLx98WRohz/y4vjRBA8JDgfCZAG3AzcBkxa4M/PvtaGG8D1hDeA82/Ory8udAAN7IFwM2A7bkG4A7RMUACOIGgANQgqQAlC9L4uC+5Bj9JsACMZQPsDRPAIOwIN1y5JBbCeYOGbBZb6UjgNoBZOATgKdwdohbsCWH/5L7hSvbkVYfiHpPd2uRlIgDSQBnoNrAUCSJpY+D/4AAAAAElFTkSuQmCC"}}]);

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.