PageSourceSearch

https://www.yun88.com/_nuxt/BcuhJc_I.js

js yun88.com collected 2026-10-04 02:39:10 UTC 8,435 bytes, 1 lines download raw bytes

1import{a as K,S as R}from"./Bu057QU8.js";import{_ as W}from"./COAy-9cC.js";import{f as A,h as k,e as v,c as E}from"./CA_JGx2V.js";import{a as J,_ as L}from"./CSsPFtx2.js";import{_ as O}from"./C37fA3Ve.js";import{b as I,a as q}from"./u4YWgA0h.js";import{aV as G,r as p,u as N,aC as z,c as a,b as t,k as B,l as T,F as f,a as l,f as m,e as h,aB as Q,p as i,t as n,g as U,n as S}from"./BzjA89fn.js";import{b as X}from"./ek7MomWx.js";import{g as Z}from"./BRgxvnZd.js";import{_ as tt}from"./DlAUqK2U.js";import"./DsdbL6m_.js";import"./4-9qf9FP.js";import"./yFV-bXpL.js";import"./BNNJJaiO.js";import"./C8WvnNqy.js";const et={class:"flex",style:{"margin-top":"140px"}},st={key:0,class:"relative",style:{width:"700px",height:"350px"}},ot=["src"],lt={class:"overlay"},at={class:"carousel-title"},it={key:1,class:"flex flex-col",style:{width:"480px","margin-left":"20px",padding:"30px","align-items":"center","justify-content":"space-between",background:"rgba(255, 255, 255, 0.6)","box-shadow":"0px 0px 28px 0px rgba(68, 119, 183, 0.08)","border-radius":"8px",border:"1px solid #ffffff"}},nt={class:"flex"},rt=["src","onClick"],dt={style:{"margin-left":"10px",flex:"1"}},ct=["href"],pt={class:"text-ellipsis-2",style:{color:"#5b5454","font-size":"14px"}},ft={style:{"margin-top":"50px","margin-bottom":"60px"}},ut={class:"page-nav",style:{display:"flex"}},gt=["href"],mt={key:1,href:"",style:{color:"#0f6bff !important"},target:"_blank"},ht={key:0,class:"flex",style:{"margin-top":"40px"}},_t={style:{width:"820px"}},wt={class:"flex flex-wrap"},xt=["href"],vt={class:"flex flex-wrap justify-between",style:{"margin-top":"40px"}},yt={class:"flex flex-col",style:{width:"800px"}},bt={class:"flex"},kt=["src","onClick"],Nt={style:{"margin-left":"15px",display:"flex","align-items":"start","justify-content":"space-between","flex-direction":"column",padding:"10px 0",width:"550px"}},Tt=["href"],Ct={class:"text-ellipsis-2",style:{color:"#5b5454","font-size":"14px"}},Dt={class:"flex items-center",style:{"margin-top":"5px"}},Lt={style:{width:"14px",height:"14px"},viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},It={style:{"font-weight":"400","font-size":"12px",color:"#a0aabe","line-height":"20px","margin-left":"5px"}},zt={style:{"margin-left":"80px",width:"300px"}},Bt={class:"flex justify-between items-end"},St=["src"],$t=["href"],Mt=["href"],jt={class:"text-ellipsis-2 hot-desc"},Ht={__name:"newList",async setup(Pt){let u,_;const r=G().params.param,g=p(0),w=p([]),y=p([]),x=p([]),d=p([]),C=p(1),b=p([]);if(N({script:[{type:"application/ld+json",innerHTML:JSON.stringify({upDate:A(new Date().getTime()/1e3)})}]}),!r){const{data:e}=([u,_]=z(()=>Z({pageKey:"news"})),u=await u,_(),u);if(e){let o="-云巴巴";e.title.endsWith("-云巴巴")&&(o=""),N({title:e.title+o,meta:[{name:"description",content:e.description},{name:"keywords",content:e.keywords}]})}}const $=async()=>{try{const{data:e}=await q({});d.value=e,r&&(g.value=d.value.filter(o=>o.route==r)[0].id),console.log("文章分类列表",d.value,g.value)}catch(e){console.error("获取文章分类列表失败",e)}},D=async e=>{try{const{data:o}=await I({categoryId:e,pageNum:C.value,pageSize:30});x.value=[...x.value,...o.value.data.list],console.log("文章列表",x),C.value+=1}catch(o){console.error("获取文章列表失败",o)}},M=async()=>{await D(g.value)},j=async()=>{try{const{data:e}=await I({pageNum:1,pageSize:6});w.value=e.value.data.list.slice(0,3),y.value=e.value.data.list.slice(-3),console.log("商品列表2",w.value)}catch(e){console.error("获取商品列表失败",e)}},H=async()=>{const e=await X({pageKey:"news",random:1,pageNum:1,pageSize:5});e.code===1&&(b.value=e.data.list,console.log("热门产品",b))};return[u,_]=z(()=>$()),await u,_(),r&&d.value.find(e=>{if(e.id===g.value&&e.title!=null&&e.title!==""){let o="-云巴巴";e.title.endsWith("-云巴巴")&&(o=""),N({title:e.title+o,meta:[{name:"description",content:e.description},{name:"keywords",content:e.keywords}]})}}),D(g.value),H(),j(),(e,o)=>{const P=R,V=K,F=W;return l(),a(f,null,[o[7]||(o[7]=t("div",{class:"top-bg"},null,-1)),B(F,null,{default:T(()=>[t("div",et,[w.value.length>0?(l(),a("div",st,[B(V,{navigation:{showSlideBtn:"never",type:"dots-bar"},class:"tdesign-demo-block--swiper"},{default:T(()=>[(l(!0),a(f,null,h(w.value,(s,c)=>(l(),Q(P,{key:c,onClick:Y=>("goToNewsDetail"in e?e.goToNewsDetail:i(k))(s.id)},{default:T(()=>[t("img",{src:i(v)(s.newsLogo),class:"carousel-img",draggable:"false"},null,8,ot),t("div",lt,[t("label",at,n(s.newsName),1)])]),_:2},1032,["onClick"]))),128))]),_:1})])):m("",!0),y.value.length?(l(),a("div",it,[(l(!0),a(f,null,h(y.value,s=>(l(),a("div",null,[t("div",nt,[t("img",{src:i(v)(s.newsLogo),alt:"",style:{width:"140px",height:"84px","border-radius":"8px"},onClick:c=>("goToNewsDetail"in e?e.goToNewsDetail:i(k))(s.id)},null,8,rt),t("div",dt,[t("a",{href:`/news/${s.id}.html`,class:"text-ellipsis-1 news-title",style:{"font-weight":"500","font-size":"16px","margin-bottom":"10px",color:"black",width:"270px"}},n(s.newsName),9,ct),t("p",pt,n(s.newsDesc),1)])])]))),256))])):m("",!0)]),t("div",ft,[t("div",ut,[o[0]||(o[0]=t("div",{style:{display:"flex","align-items":"center"}},[t("a",{href:"/",style:{display:"flex","align-items":"center"},target:"_blank"},[t("img",{src:J,style:{width:"12px",height:"11px",margin:"0 5px 0 0 !important"}}),U("首页")])],-1)),o[1]||(o[1]=t("img",{src:L},null,-1)),o[2]||(o[2]=t("a",{href:"/news",target:"_blank"},"数字化社区",-1)),o[3]||(o[3]=t("img",{src:L},null,-1)),d.value.length>0&&i(r)?(l(),a("a",{key:0,href:`/news/${i(r)}`,style:{color:"#0f6bff !important"},target:"_blank"},n(d.value.filter(s=>s.route===i(r))[0].name),9,gt)):(l(),a("a",mt,"全部"))])]),d.value.length>0?(l(),a("div",ht,[t("div",_t,[t("div",null,[t("div",wt,[t("a",{class:S(i(r)==""?"active":"defaultButton"),href:"/news",style:{"margin-right":"10px","margin-bottom":"10px",cursor:"pointer",background:"#f1f5fe","border-radius":"4px"}},"全部",2),(l(!0),a(f,null,h(d.value,(s,c)=>(l(),a("h2",{key:c,class:S(i(r)===s.route?"active":"defaultButton"),style:{"margin-right":"10px","margin-bottom":"10px",cursor:"pointer",background:"#f1f5fe","border-radius":"4px"}},[t("a",{href:`/news/${s.route}`,target:"_blank"},n(s.name),9,xt)],2))),128))]),o[4]||(o[4]=t("div",null,null,-1))]),t("div",vt,[(l(!0),a(f,null,h(x.value,(s,c)=>(l(),a("div",{key:c,style:{width:"820px","margin-bottom":"40px"}},[t("div",yt,[t("div",bt,[t("img",{src:i(v)(s.newsLogo),alt:"",style:{width:"250px",height:"150px","border-radius":"8px","object-fit":"cover"},onClick:Y=>("goToNewsDetail"in e?e.goToNewsDetail:i(k))(s.id)},null,8,kt),t("div",Nt,[t("a",{href:`/news/${s.id}.html`,class:"news-title",style:{"font-weight":"500","font-size":"16px","margin-bottom":"10px",color:"black","white-space":"nowrap",overflow:"hidden","text-overflow":"ellipsis",width:"100%"},target:"_blank"},n(s.newsName),9,Tt),t("p",Ct,n(s.newsDesc),1),t("div",Dt,[(l(),a("svg",Lt,o[5]||(o[5]=[t("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8s8 3.58 8 8s-3.58 8-8 8z",fill:"#a0aabe"},null,-1),t("path",{d:"M12.5 7H11v6l5.25 3.15l.75-1.23l-4.5-2.67z",fill:"#a0aabe"},null,-1)]))),t("span",It,n(("timestampToYMD"in e?e.timestampToYMD:i(E))(s.createTime)),1)])])])])]))),128))])]),t("div",zt,[o[6]||(o[6]=t("div",{class:"flex items-center"},[t("img",{alt:"",src:O,style:{width:"11px",height:"15px"}}),t("h2",{style:{"font-weight":"500","font-size":"16px",color:"#020814","margin-left":"2px"}}," 热门数字化产品 ")],-1)),(l(!0),a(f,null,h(b.value,(s,c)=>(l(),a("div",{key:c,class:"hot-product-view"},[s.productInfo?(l(),a(f,{key:0},[t("div",Bt,[t("div",null,[s.productInfo.brandInfo?(l(),a("img",{key:0,src:i(v)(s.productInfo.brandInfo.logo),alt:"item.productInfo.name",class:"hot-img"},null,8,St)):m("",!0)]),t("a",{href:`/product/${s.productInfo.id}.html`,class:"hot-btn",target:"_blank",rel:"nofollow"}," 查看详情 ",8,$t)]),t("a",{href:`/product/${s.productInfo.id}.html`,class:"hot-title",target:"_blank"},n(s.productInfo.name),9,Mt),t("span",jt,n(s.productInfo.productDesc),1)],64)):m("",!0)]))),128))])])):m("",!0),t("div",{class:"flex",style:{"margin-top":"140px"}},[t("div",{style:{width:"820px"}},[t("div",{class:"flex flex-wrap justify-between"},[t("div",{class:"more",onClick:M},"查看更多")])])])]),_:1})],64)}}}
1,te=tt(Ht,[["__scopeId","data-v-89a7bcbe"]]);export{te as default};

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.