Files

38 lines
207 KiB
Plaintext
Raw Normal View History

2026-11-06 08:29:11 +08:00
0\r§mûü`£Õ\https://now.bdstatic.com/store/v2/e8a15f8/fe-cms/46416aa/js/shopWindowManage.1cde65d4028f71fa.js(self.webpackChunkFeReactApp=self.webpackChunkFeReactApp||[]).push([["6691"],{755887:function(module){var _0x49a1=["eval","name","native","product","productSub","vendorSub","cpuClass","hostname","host","orientation","innerWidth","innerHeight","cookie","navigator","getAudioContext","dopplerFactor","speedOfSound","currentTime","AudioContext","webkitAudioContext","createAnalyser","ac-","listener","hasPhantomJS","callPhantom","_phantom","phantom","hasNightmareJS","hasSelenium","webdriver","_Selenium_IDE_Recorder","callSelenium","__webdriver_script_fn","__webdriver_evaluate","__fxdriver_evaluate","__selenium_unwrapped","__fxdriver_unwrapped","__webdriver_script_func","getAttribute","driver","hasWebDriver","hasChrome","chrome","hasBatteryAPI","webkitBattery","getTouchSupport","maxTouchPoints","msMaxTouchPoints","tryCatchExecute","createEvent","div","innerHTML"," ","className","adsbox","getElementsByClassName","offsetHeight","removeChild","processCanPlayResult","canPlayType","ogg",'video/ogg; codecs="theora"','video/mp4; codecs="avc1.42E01E"',"webm","vp9",'application/x-mpegURL; codecs="avc1.42E01E"',"h264","hls","getDeviceDPI","deviceXDPI","deviceYDPI","getBuildID","buildID","getAudioCodecInfo","audio","m4a","audio/m4a","amr","audio/amr","audio/x-wav","mp3","gpp","xwav","getoutputMsg","outputMsg","exeSearchAndClick","OutSdk","StateManager","getCefSharp","CefSharp","getOnWkeResize","onWkeResize","getClickTarget","clickTarget","getChromePlus","____rtc_onicecandidate","getWebView","WebView","agentWeb","AgentWeb","getJSBehavior","JSBehavior","wb_js_object","msIsStaticHTML","msWriteProfilerMark","getPropsInfo","webkitStorageInfo","get","[native code]","clickCount","logicType","getBrowserID","floor","pow","monospace","sans-serif","serif","mmmmmmmmmmlli","72px","getElementsByTagName","span","fontSize","style","visibility","fontFamily","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","utf8Encode","charCodeAt","keyStr","utf8Decode","localStorage","setItem","testValue","currentScript","script","data-bdms-faccdee21b68","data-app","src","xaf.js","app","decode","ceil","random","getItem","20$","before","app_key","action_url","browser_url","app_view","send_interval","need_tls","face","number_reports","number_retries","Geckodriver","getOwnPropertyDescriptor","writable","configurable","zidZs","ver","BAIDUID","appKey","000","https://sfp.safe.baidu.com/sfp/v1/rd","CODED--v20","onreadystatechange","readyState","POST","withCredentials","Content-Type","send","Token","resolution","cpu","getColorDepth","getUserAgent","ios","getHardwareConcurrency","getPixelRatio","getOrientation","getInnerSize","webkit","messageHandlers","_TieBa_Native_Invoke_","invokeCallBack_","log","ios callback error","postMessage","wkweview error:","getZid","prompt","android prompt error","isAndroid","isBox","getVersion","android","androidInvokeApp","iosInvokeApp","bind","invoke","isArray","isFunction","execCaller","BdboxApp:","getId","version_compare","__from","4.7.1","4.7","app4.7","parseParams","_bdbox_js_","callback=","baiduboxapp://","sendBrage","version","9.0","useAndroidJsBridge","Bdbox_android_jsbridge","dispatch","baiduboxapp_version","reverse","6.5","invokeApp","Bdbox_android_utils","mbaby://","?data=","&__callback__=","__callback_","bdapi://getNativeInfo?callback=","JSBridge","_handleMessageFromNative","responseId","responseData","cb_","callbackId","handlerName","getClientInfo","code","result","baiduboxlite://v14/account/getZid?callback=","iterator","next","done","value","data","zidBox","cuidZs","wgzCnt","zidBoxTestData","zidBoxV1TestData","timeStamps","isSelfCall","getZidByCookie","hgz","aid","getZidUseXswWgz","checkReturnZid","messageCallBack","hgzAs","Xsw","zs0","isMbaby","isBaiduMap","isNetDisk","isLiteBox","isTomas","getZidByBox","isInSwan","swan","getCommonSysInfo","getZidBox","zidReturnTime","hasBox","getCuid","cuidBox","v14/account/getZid","isBoxZidReturn","formatParamsBox","newInvoke","hasBoxZidReturn","getZidFree","
sImJyb3dzZXJfdXJsIjoiaHR0cHM6Ly9zb2ZpcmUuYmFpZHUuY29tL2RhdGE
vdWEvYWIuanNvbiIsImZvcm1fZGVzYyI6IiIsInNlbmRfaW50ZXJ2YWwiOjUw
LCJzZW5kX21ldGhvZCI6M30=`});let n0=new(c=nI((s=class{constructor(){nD(this,"host",c,this),nD(this,"version",u,this),nD(this,"uk",l,this),nD(this,"subentry",d,this),nD(this,"subentryConfig",h,this),nD(this,"shopView",x,this),nD(this,"authorName",p,this),nD(this,"authorHeadImg",f,this),nD(this,"authorSign",m,this),nD(this,"homeGoodsListLoading",b,this),nD(this,"homeGoodsList",g,this),nD(this,"homePagination",v,this),nD(this,"homeGoodsKeyword",y,this),nD(this,"homeGoodsOffShelfToggle",w,this),nD(this,"isSearch",_,this),nD(this,"searchDeleteList",S,this),nD(this,"mountOptions",k,this)}saveKeyword(e){this.homeGoodsKeyword=e}async homeGoodsRemove(e){let t={from:this.subentryConfig.scheme,version:this.version},n=[].concat(e).map(e=>e.goods_id).join(","),r=await nV({goods_id:n,...t});return 0===Number(r.status)&&r.data||nX.message.error(`\u{79FB}\u{9664}\u{5931}\u{8D25}\u{FF1A}${r.msg}`),0===Number(r.status)&&r.data}async homeGoodsAddStatus(e){let t={from:this.subentryConfig.scheme,version:this.version};return await Promise.all(e.map(async e=>(await nF({thirdPlatform:e.thirdPlatform,originalGoodsId:e.originalGoodsId,...t})).data))}destCompatibleOriginType(e,t){return e instanceof Array?t:t[0]}async homeGoodsAdd(e){let t,n=[].concat(e),r=await this.homeGoodsAddStatus(n),o=r.map((e,t)=>{if(!e)return n[t]}).filter(e=>e),i={aid:"5767",biz:{baiduid:n$("BAIDUID")}};try{t=await new Promise(e=>{nQ().report({...i,complete:t=>{t&&t.jt?e(t.jt):e("")}})})}catch(e){}let a=await Promise.all(o.map(async e=>(await nJ({goods_id:e.goods_id||"",goods_ori_id:e.originalGoodsId||"",goods_platform:e.platform||"",from:this.subentryConfig.scheme||"",title:e.newTitle||e.originalTitle,cover_image:(0,nq.A)(e,"imageList[0].src",""),fromPC:1,jt:t})).data)),s=a.map((e,t)=>{if("true"!==e+"")return o[t]}).filter(e=>e),c=this.destCompatibleOriginType(e,a);if(await this.homeGoodsListFetch(),s.length)return{data:this.destCompatibleOriginType(e,s),errmsg:"\u5546\u54C1\u6DFB\u52A0\u5931\u8D25",errno:1002};let u=r.map((e,t)=>{if(e)return n[t]}).filter(e=>e);return u.length?{data:this.destCompatibleOriginType(e,u),errmsg:"\u6A71\u7A97\u4E2D\u5DF2\u6709\u8BE5\u5546\u54C1",errno:1001}:{data:c,errmsg:"success",errno:0}}async homeGoodsUpdate(e){let t=[].concat(e),n=await Promise.all(t.map(async e=>await nK({...e,from:this.subentryConfig.scheme,version:this.version,goods_id:e.goods_id||"",cover_image:(0,nq.A)(e,"imageList[0].src","")}))),r=n.map((e,n)=>{if("true"!==e.data+"")return t[n]}).filter(e=>e);return r.length?{data:e instanceof Array?r:r[0],errmsg:"\u6709\u66F4\u65B0\u5931\u8D25\u7684\u5546\u54C1",errno:1003}:{data:e instanceof Array?n:n[0],errmsg:"success",errno:0}}async homeGoodsListFetch(e){this.homeGoodsListLoading=!0;let t=Object.assign({},e);"string"==typeof t.keyword&&(this.homeGoodsKeyword=t.keyword.trim()),"number"==typeof t.shelf&&(this.homeGoodsOffShelfToggle=t.shelf),this.homeGoodsKeyword.length>0?this.isSearch=!0:(this.isSearch=!1,this.searchDeleteList=[]);let n=t.pageIndex||1,r=t.pageSize||this.homePagination.pageSize||20,o="news"===t.type?"ce_1_0":"";try{let e=await nU({uk:this.uk,pageIndex:n,pageSize:r,pid:o,keyword:this.homeGoodsKeyword,shelf:this.homeGoodsOffShelfToggle,from:this.subentryConfig.scheme,version:this.version,ver:2});if("object"==typeof e&&0!==Number(e.errno))throw e;this.shopView=e.data.shopView,this.authorName=e.data.authorName,this.authorHeadImg=e.data.authorHeadImg,this.authorSign=e.data.authorSign,this.homeGoodsList=e.data.goodsList||[],this.homePagination.total=e.data.totalNum||0,this.homePagination.current=n}catch(e){throw e}return this.homeGoodsListLoading=!1,{rowKey:"goodsId",dataSource:this.homeGoodsList,pagination:this.homePagination}}setSearchDeleteList(e){this.searchDeleteList=e||[]}async homeGoodsListForBaijiahao(e){try{let t=await this.homeGoodsListFetch(e);return{errno:0,errmsg:"success",data:{rowKey:t.rowKey,list:t.dataSource,page:t.pagination}}}catch(e){return{errno:e.status,errmsg:e.msg,data:e.data}}}async dhBindingGoods(e){return await nW(e)}async dhUnBindingGoods(e){return await nZ(e)}async homeGoodsListFetch
fill: ${t.style.color}
}`)),C().createElement("path",{d:"M464 784.352a1.5 1.5 0 1 0 96 0 1.5 1.5 0 1 0-96 0z","p-id":"1160"}),C().createElement("path",{d:"M512 960C264.96 960 64 759.04 64 512S264.96 64 512 64s448 200.96 448 448-200.96 448-448 448z m0-831.712c-211.584 0-383.712 172.128-383.712 383.712 0 211.552 172.128 383.712 383.712 383.712 211.552 0 383.712-172.16 383.712-383.712 0-211.584-172.16-383.712-383.712-383.712z","p-id":"1161"}),C().createElement("path",{d:"M512 673.696c-17.664 0-32-14.336-32-32v-54.112c0-52.352 40-92.352 75.328-127.648C581.216 434.016 608 407.264 608 385.92c0-53.344-43.072-96.736-96-96.736-53.824 0-96 41.536-96 94.56 0 17.664-14.336 32-32 32s-32-14.336-32-32c0-87.424 71.776-158.56 160-158.56S672 297.28 672 385.92c0 47.904-36.32 84.192-71.424 119.296C572.736 532.992 544 561.728 544 587.552v54.112c0 17.664-14.336 32.032-32 32.032z","p-id":"1162"})))};var ry='.eshop-search-input-wrapper{height:32px;position:relative;width:224px}.eshop-search-input-wrapper .eshop-search-input{border:1px solid #e9ecf3;border-radius:5px;height:100%;padding:9px 70px 9px 12px;width:100%}.eshop-search-input-wrapper .eshop-search-input::-webkit-input-placeholder{color:#999!important;font-family:PingFangSC-Regular!important;font-size:14px!important;line-height:14px!important}.eshop-search-input-wrapper .eshop-search-input::-moz-placeholder{color:#999!important;font-family:PingFangSC-Regular!important;font-size:14px!important;line-height:14px!important}.eshop-search-input-wrapper .eshop-search-input:-ms-input-placeholder{color:#999!important;font-family:PingFangSC-Regular!important;font-size:14px!important;line-height:14px!important}.eshop-search-input-wrapper .eshop-search-input::-ms-input-placeholder{color:#999!important;font-family:PingFangSC-Regular!important;font-size:14px!important;line-height:14px!important}.eshop-search-input-wrapper .eshop-search-input::placeholder{color:#999!important;font-family:PingFangSC-Regular!important;font-size:14px!important;line-height:14px!important}.eshop-search-input-wrapper .eshop-search-input:focus{border:1px solid #3855d5;border-radius:5px;outline:none}.eshop-search-input-wrapper .eshop-search-input-active:focus{border:1px solid #e9ecf3!important;border-radius:5px;outline:none}.eshop-search-input-wrapper .eshop-clear-icon{background:url(http://pic.rmb.bdstatic.com/ddc307f89aa3f11a81ce17da689f4eb6.svg+xml) 50%/contain no-repeat;display:inline-block;right:53px}.eshop-search-input-wrapper .eshop-clear-icon,.eshop-search-input-wrapper .eshop-search-icon{cursor:pointer;height:16px;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:16px}.eshop-search-input-wrapper .eshop-search-icon{background:url(http://pic.rmb.bdstatic.com/1d517d128343f0a9d235369c87dec4e5.svg+xml);right:12px}.eshop-search-input-wrapper .eshop-search-icon:before{background-color:#e9ecf3;content:"";height:14px;left:-14px;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:1px}.eshop-search-input-wrapper .eshop-search-icon-active{background:url(http://pic.rmb.bdstatic.com/580b7fa5e18ebf9deda905c89d6eaf9b.svg+xml)}';rh()(ry);let rw=rr(e=>{let{onSearch:t,placeholder:n}=e,r=n2(),o=(0,A.useRef)(null),[i,a]=(0,A.useState)(!1),s=e=>{let t=e.target.value;r.saveKeyword(t)},c=()=>{r.saveKeyword(""),o.current.focus(),t&&t("")},u=e=>{"Enter"===e.key&&t&&t(r.homeGoodsKeyword)},l=()=>{t&&t(r.homeGoodsKeyword)},d=()=>{a(!0)},h=()=>{a(!1)};return C().createElement("div",{className:"eshop-search-input-wrapper"},C().createElement("input",{value:r.homeGoodsKeyword,placeholder:n,className:rl()("eshop-search-input",r.homeGoodsKeyword.length>0?"eshop-search-input-active":""),onChange:s,onBlur:d,onFocus:h,onKeyUp:u,ref:o}),r.homeGoodsKeyword.length>0?C().createElement("div",{className:"eshop-clear-icon",onClick:c}):null,C().createElement("div",{className:rl()("eshop-search-icon",r.homeGoodsKeyword.length>0&&!i?"eshop-search-icon-active":""),onClick:l}))});var r_='.eshop-action{-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center
//# sourceMappingURL=shopWindowManage.1cde65d4028f71fa.js.mapØA
—Eoúôìà
GET (í È"
accept-rangesbytes"(
access-control-allow-credentialstrue"
access-control-allow-origin*"
age3638"G
cache-control6public, max-age=31536000, s-maxage=31536000, immutable"
content-encodingbr"'
content-md5zVfvoIr1zburMBwO44TbxA=="5
content-type%application/javascript; charset=utf-8"%
dateThu, 05 Nov 2026 09:11:41 GMT"*
etag""cd57efa08af5cdbbab301c0ee384dbc4""(
expiresSun, 08 Nov 2026 07:56:23 GMT".
last-modifiedThu, 05 Nov 2026 06:18:39 GMT"-
ohc-cache-hitcz7cm55 [2], xiangyix108 [2]"
ohc-file-size59794"6
ohc-global-saved-timeThu, 05 Nov 2026 07:56:23 GMT"
server JSP3/2.0.14"+
strict-transport-securitymax-age=259200"
timing-allow-origin*"!
x-bce-content-crc32
3773563908""
x-bce-content-crc32c
1130349417".
x-bce-content-crc64ecma3790627937753997491"j