PageSourceSearch

https://fe-resource.yeelight.com/yeelight-website-china-fe/production/pc/v0.1.1/js/CaseDetail.2ca3d04c.js

js yeelight.com collected 2026-09-24 09:24:21 UTC 5,610 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkyeelight_website_china_fe"]=self["webpackChunkyeelight_website_china_fe"]||[]).push([[4048],{96722:function(e,t,i){i.d(t,{xV:function(){return r},Ep:function(){return a},zT:function(){return o},EF:function(){return s},M_:function(){return n}});var s={};i.r(s),i.d(s,{getDetail:function(){return p},getFilters:function(){return l},getProductionList:function(){return u},getRecommend:function(){return d}});var a={};i.r(a),i.d(a,{getJson:function(){return v}});var n={};i.r(n),i.d(n,{getProvinceList:function(){return _}});var r={};i.r(r),i.d(r,{getDetail:function(){return m},getIndex:function(){return f},getTagList:function(){return h},getTenantDetail:function(){return y}});var o={};i.r(o),i.d(o,{appointment:function(){return C},merchants:function(){return A}});var c=i(3167);const l=()=>c.A.get("/apis/c/product/line/r/list"),u=e=>c.A.get("/apis/c/product/series/r/page",{params:{showPlatformList:"0,2,5",...e}}),d=()=>c.A.get("/apis/c/product/recommend/r/list"),p=async e=>c.A.get(`/apis/c/product/series/r/detail/${e}`);var g=i(73819);const v=()=>c.A.get((0,g.k)("index.json"),{withCredentials:!1,isJson:!0}),_=()=>c.A.get("/apis/c/v1/retail/tenant/r/list"),f=(e={positionCode:""})=>c.A.post("/apis/c/wireless/common/adv/r/listByPosition",e),h=(e="")=>{const t=[];return e&&t.push({id:e}),c.A.post("/apis/c/wireless/common/adv/r/listAdv",{tagInfos:t})},m=e=>c.A.get(`/apis/c/salesguide/case/r/detail/${e}`),y=e=>c.A.get(`/apis/c/salesguide/case/r/tenantdetail/${e}`),C=e=>c.A.post("/apis/c/v1/crm/business/w/website/appointment",e),A=e=>c.A.post("/apis/c/commerciallight/participate/w/add",e)},5667:function(e,t,i){const s={retrofit:"website_index_lighting_ad",life:"website_index_living_ad",solution:"website_index_plan_ad"},a={HouseArea:"HouseArea",BudgetRange:"BudgetRange",Province:"Province",City:"City",HouseTypeRoom:"HouseTypeRoom",CaseSeries:"CaseSeries"};i.d(t,["G",0,s,"h",0,a])},73819:function(e,t,i){const s=e=>`//fe-resource.yeelight.com/website-china/consumerGradeConfig/${e}`;i.d(t,["k",0,s])},77889:function(e,t,i){var s=i(65942),a=i(72140),n=i(44074),r=i(61703);s({target:"Iterator",proto:!0,real:!0},{find:function(e){return r(this),n(e),a(this,function(t){if(e(t))return a.stop(t)},void 0,!1,!0).result}})},73132:function(e,t,i){i.r(t),i.d(t,{default:function(){return p}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"case_detail"},[t("div",{staticClass:"case_wrapper"},[e.detail?t("div",{staticClass:"content"},[t("h3",{staticClass:"title"},[t("span",[e._v(e._s(e.detail.title))]),e.getTagInfoByKey(e.INFO_TAGS.CaseSeries)?t("i",[e._v(e._s(e.getTagInfoByKey(e.INFO_TAGS.CaseSeries)))]):e._e()]),t("ul",{staticClass:"desc"},[t("li",[t("div",{staticClass:"label"},[e._v("预算")]),t("p",[e._v(e._s(e.getTagInfoByKey(e.INFO_TAGS.BudgetRange)))])]),t("li",[t("div",{staticClass:"label"},[e._v("户型")]),t("p",[e._v(" "+e._s(e.detail.extendDataObject.houseType.houseTypeRoom)+"室"+e._s(e.detail.extendDataObject.houseType.houseTypeHall)+"厅"+e._s(e.detail.extendDataObject.houseType.houseTypeKitchen)+"厨"+e._s(e.detail.extendDataObject.houseType.houseTypeToilet)+"卫 ")])]),t("li",[t("div",{staticClass:"label"},[e._v("面积")]),t("p",[e._v(e._s(e.detail.extendDataObject.estateArea)+"㎡")])]),t("li",[t("div",{staticClass:"label"},[e._v("地区")]),t("p",[e._v(e._s(e.detail.extendDataObject.city))])])]),e.videoSrc?t("video",{staticClass:"cover_video",attrs:{src:e.videoSrc,muted:"",controls:"",loop:"",autoplay:""},domProps:{muted:!0}}):e._e(),!e.videoSrc&&e.imgSrc?t("img",{staticClass:"cover_img",attrs:{src:e.imgSrc}}):e._e(),Array.isArray(e.detail.contentList)?t("div",{staticClass:"text"},e._l(e.detail.contentList,function(i){return t("div",{key:i.id},[t("h5",[e._v(e._s(i.title))]),Array.isArray(i.infos)?e._l(i.infos,function(i){return t("div",{key:i.id},["图片"===i.attrName?t("img",{staticClass:"info_img",attrs:{src:i.url}}):e._e(),"视频"===i.attrName?t("video",{staticClass:"info_video",attrs:{src:i.url,muted:"",controls:"",loop:"",autoplay:""},domProps:{muted:!0}}):e._e(),t("p",{domProps:{innerHTML:e._s(e.formatHtml(i.content))}})])}
1):e._e()],2)}),0):e._e()]):e._e()]),t("div",{staticClass:"close",on:{click:e.onClose}},[t("i",{staticClass:"iconfont icon-close"})]),t("div",{staticClass:"pagination"},["number"===typeof e.previousPage?t("div",{staticClass:"prev",on:{click:function(t){return e.changeId(e.previousPage)}}},[e._v("上一项")]):e._e(),"number"===typeof e.nextPage?t("div",{staticClass:"next",on:{click:function(t){return e.changeId(e.nextPage)}}},[e._v("下一项")]):e._e()])])},a=[],n=(i(49424),i(77889),i(96722)),r=i(5667),o=i(78433),c={name:"CaseDetail",props:{id:{type:String,default:null}},data(){return{INFO_TAGS:r.h,detail:null,nextPage:null,previousPage:null}},computed:{videoSrc(){return this.detail&&Array.isArray(this.detail.videosList)?(this.detail.videosList[0]||{}).url:""},imgSrc(){return this.detail&&Array.isArray(this.detail.slidesList)?(this.detail.slidesList[0]||{}).url:""}},watch:{id:{immediate:!0,handler(e,t){e&&e!==t&&this.fetchDetail()}}},methods:{formatHtml:o.dV,async fetchDetail(){const{isTenant:e}=this.$route.query,t="true"===e?"getTenantDetail":"getDetail",{salesGuideCaseVo:i,nextPage:s,previousPage:a}=await n.xV[t](this.id);this.detail=i,this.nextPage=s,this.previousPage=a},changeId(e){this.$router.replace({path:`/case/${e}`})},onClose(){this.$router.back()},getTagInfoByKey(e){if(!this.detail)return"";const t=this.detail.tagInfos.find(t=>t.key===e)||{};return t.value}}},l=c,u=i(73080),d=(0,u.A)(l,s,a,!1,null,"099979e3",null),p=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.