import{_ as de,W as le,z as ce,a as _,B as re,X as ae,V as ue,r as g,Y as he,Z as _e,$ as ve,a0 as ge,a1 as me,a2 as pe,y as V,o,g as n,d as e,F as u,n as h,u as a,e as S,w as P,t as l,c as U,m as v,a3 as A,x as z,f as q,K as xe,L as fe}from"./index.53390226.js";import{i as ke}from"./CountDate.vue_vue_type_style_index_0_scoped_true_lang.704f48eb.js";import{R as be}from"./RightSliderBar.19152efb.js";import{C as we}from"./CountDate.2939f5b9.js";import{F as ye}from"./Footer.3e0b7198.js";import{A as Se,P as Ce,N as Ie,S as je,a as ze,b as $e}from"./swiper-slide.4122d4a9.js";import"./scrollbar.min.a47747f3.js";import{d as G}from"./index.d49c0a44.js";const c=f=>(xe("data-v-b56e1978"),f=f(),fe(),f),Te={class:"login-wrapper"},De={class:"leftSlider"},Ee=["onClick"],Ne={key:0},Le={class:"sliderName"},Be=c(()=>e("div",{class:"slider-bottom"},[e("img",{src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/line-s.png"})],-1)),Oe={class:"index-center",ref:"scrollRef"},Re={class:"index-top-center",id:"div1"},Fe=["onMouseenter"],Me={class:"index-sort-name overflow2"},He=["onClick"],Ve={class:"index-sort-img"},Pe=["src"],Ue={class:"index-sort-name overflow2",style:{color:"#333"}},Ae={class:"index-swiper-center"},qe={class:"banner"},Ge=["src"],Ye={class:"index-rights"},Je={key:0,class:"index-right-user",style:{padding:"20px 0"}},Ke={class:"index-userInfo"},We={class:"user-avatar"},Xe=["src"],Ze={style:{color:"#999999","font-size":"22px",margin:"30px 0 0 20px"},class:"overflow1"},Qe={key:1,class:"index-right-user"},es=c(()=>e("div",{class:"index-userInfo"},[e("div",{class:"user-avatar"},[e("img",{src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-user-login.png"})]),e("div",{class:"index-user-text"},"\u6B22\u8FCE\u5149\u4E34\u5C4F\u9177\uFF01")],-1)),ss={class:"index-buttons"},ts={class:"index-right-nav"},os=["onClick"],is={class:"nav-icon"},ns=["src"],ds={class:"nav-name"},ls={class:"index-right-gg"},cs=c(()=>e("div",{class:"index-gg-img"},[e("img",{src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-user-gg.png"})],-1)),rs=c(()=>e("div",{class:"index-gg-more"}," \u66F4\u591A ",-1)),as=[cs,rs],us={class:"index-notice"},hs=["onClick"],_s={key:0},vs={class:"index-seckill",id:"div2"},gs={class:"seckill-bg"},ms=c(()=>e("div",{class:"seckill-text"},[e("p",null,"\u9650\u65F6"),e("p",null,"\u79D2\u6740")],-1)),ps=c(()=>e("div",{class:"time-color"},"\u8DDD\u7ED3\u675F\uFF1A",-1)),xs=["onClick"],fs={class:"seckill-img"},ks=["src"],bs={class:"seckillName overflow1"},ws={class:"seckillDesc overflow1"},ys={class:"seckill-price"},Ss={class:"index-hot-sell",id:"div3"},Cs=c(()=>e("div",{class:"index-hot-bg"},[e("div",{class:"title"},"IPS\u5168\u9762\u5C4F"),e("div",{class:"text"},"IPS\u5168\u9762\u5C4F\uFF0C\u53EF\u89C6\u89D2\u5EA6\u9AD8\uFF0C\u54CD\u5E94\u901F\u5EA6\u5FEB\uFF0C\u8272\u5F69\u51C6\u786E")],-1)),Is={class:"index-hot-content"},js=c(()=>e("div",{class:"index-hot-title"},[e("img",{src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/hot-sell-text.png"})],-1)),zs={class:"index-hot-bottom"},$s=c(()=>e("div",{class:"index-hot-img",style:{color:"#fff","text-align":"center","padding-top":"50px"}}," \u70ED\u9500\u7206\u6B3E ",-1)),Ts=["onClick"],Ds={class:"hot-img"},Es=["src"],Ns={class:"hotNames overflow1"},Ls={class:"hotDesc overflow2"},Bs={class:"hot-price"},Os=["id"],Rs={key:0},Fs={class:"index-goods-content"},Ms={class:"index-goods-gg"},Hs={class:"flex-s"},Vs=["onClick"],Ps={class:"hot-img"},Us=["src"],As={class:"hotNames overflow2"},qs={class:"hotDesc overflow2"},Gs={class:"hot-price"},Ys={class:"index-product index-design"},Js=c(()=>e("div",{class:"titles"},"\xB7\u4EA7\u54C1\u5B9A\u5236\xB7",-1)),Ks=c(()=>e("div",{class:"titles-eng"},"Product customizatio",-1)),Ws={class:"index-design"},Xs=c(()=>e("div",{class:"titles"},"\xB7\u65B9\u6848\u8BBE\u8BA1\xB7",-1)),Zs=c(()=>e("div",{class:"titles-eng"},"conceptual design",-1)),Qs={class:"design-content"},et=["onClick"],st={class:"design-img"},tt=["src"],ot=c(()=>e("img",{src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/dev-cloud.png"},null,-1)),it=[ot],nt={__name:"index",setup(f){const Y=t=>{window.location.href=t};localStorage.getItem("USER__INFO__")&&le().then(t=>{});const $=ce(),C=$.getUserInfo;let I=_("");re(()=>{window.addEventListener("scroll",L),Z()}),ae(()=>{window.removeEventListener("scroll",L)}),ue().then(t=>{I.value=t.data,localStorage.setItem("config",JSON.stringify(t.data))});const J=[Se,Ce,Ie,je],K=_(0),T=g({time:null}),W={nextElRef:".swiper-button-next",prevElRef:".swiper-button-prev"};_(""),_("");const D=_(null),m=_(null);_(null);const E=_(!1);let N=_(!1);console.error("111");const X=(t,i)=>{if(t===5){D.value.navTaps();return}t!==1&&(V(),A.push(i.url))},k=t=>{A.push(t)};he().then(t=>{x.arr=t.data});async function Z(){setTimeout(()=>{_e().then(t=>{if(t.code==1){O.arr=t.data.goods;let i=G(t.time),s=G(t.data.endtime);const d=new Date(i).getTime(),w=new Date(s).getTime()-d;T.time=w/1e3,N.value=!0}})},300)}ve().then(t=>{R.arr=t.data.goods});const Q={delay:5e4,disableOnInteraction:!1,loop:!1,pauseOnMouseEnter:!0,reverseDirection:!0};localStorage.getItem("USER__INFO__")&&$.setShoppingStore("1");const L=t=>{let i=document.querySelectorAll(".scroll-item"),s=document.getElementById("div1").offsetHeight,d=document.getElementById("div2").offsetHeight,r=document.getElementById("div3").offsetHeight;const w=s+d+r;let H=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;for(let y=i.length-1;y>=0;y--)if(H-w>=i[y].offsetTop-i[0].offsetTop){b.value=y;break}else b.value=null},j=(t,i)=>{t&&(m.value=i),E.value=!0},B=()=>{E.value=!1,m.value=null},ee=t=>{},se=t=>{console.log("slide change",t.activeIndex),K.value=t.activeIndex},te=[{id:"1",src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-design-yl.png",url:"/medical"},{id:"2",src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-design-cy.png",url:"/repast"},{id:"3",src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-design-jr.png",url:"/financial"},{id:"4",src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-design-ls.png",url:"/resale"}],O=g({arr:[]}),R=g({arr:[]});ge("").then(t=>{});const oe=[{name:"\u6211\u7684\u8BA2\u5355",id:"1",src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-user-order.png",url:"/user/order/list"},{name:"\u67E5\u7269\u6D41",id:"2",src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-user-logi.png"},{name:"\u67E5\u53D1\u7968",id:"3",src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-user-invoice.png",url:"/user/invoice"},{name:"\u4F18\u60E0\u5238",id:"4",src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-user-coupon.png",url:"user/coupon"},{name:"\u6536\u8D27\u5730\u5740",id:"5",src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-user-address.png",url:"/user/address"},{name:"\u610F\u89C1\u53CD\u9988",id:"6",src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-user-idea.png"}],F=g({arr:[]});me({pos:0}).then(t=>{F.arr=t.data});const b=_(null),ie=(t,i)=>{console.error(t),b.value=i;const s="#"+t;console.error(s),document.querySelector(s).scrollIntoView({behavior:"smooth"})};let x=g({arr:[]}),M=g({arr:[]});pe().then(t=>{M.arr=t.data.data}),g([{name:"\u5E7F\u544A\u673A\u7CFB\u5217",id:"anchor1",children:[{name:"\u58C1\u6302\u4E00\u4F53\u673A1",id:"anchor2"}]},{name:"\u62FC\u63A5\u5C4F\u7CFB\u5217",id:"anchor2",children:[{name:"\u58C1\u6302\u4E00\u4F53\u673A2",id:"anchor2"}]},{name:"\u4F1A\u8BAE\u5E73\u677F\u7CFB\u5217",id:"anchor3",children:[{name:"\u58C1\u6302\u4E00\u4F53\u673A3",id:"anchor2"}]},{name:"\u89E6\u6478\u4E00\u4F53\u673A",id:"anchor4",children:[{name:"\u58C1\u6302\u4E00\u4F53\u673A4",id:"anchor2"}]},{name:"\u53CC\u9762\u5C4F\u7CFB\u5217",id:"anchor5",children:[{name:"\u58C1\u6302\u4E00\u4F53\u673A5",id:"anchor2"}]},{name:"OLED\u7CFB\u5217",id:"anchor6",children:[{name:"\u58C1\u6302\u4E00\u4F53\u673A6",id:"anchor2"}]},{name:"\u900F\u660E\u5C55\u793A\u67DC",id:"anchor7",children:[{name:"\u58C1\u6302\u4E00\u4F53\u673A7",id:"anchor2"}]},{name:"LED\u5C4F\u7CFB\u5217",id:"anchor8",children:[{name:"\u58C1\u6302\u4E00\u4F53\u673A8",id:"anchor2"}]},{name:"\u914D\u4EF6\u4E2D\u5FC3",id:"anchor9",children:[{name:"\u58C1\u6302\u4E00\u4F53\u673A9",id:"anchor2"}]},{name:"\u5468\u8FB9\u4EA7\u54C1\u53CA\u670D\u52A1",id:"anchor10",children:[{name:"\u58C1\u6302\u4E00\u4F53\u673A10",id:"anchor2"}]}]);const ne=V(),p=(t,i)=>{ne.push({path:t,query:{id:i}})};return(t,i)=>(o(),n(u,null,[e("div",Te,[e("div",De,[(o(!0),n(u,null,h(a(x).arr,(s,d)=>(o(),n("a",{href:"javascript:void(0)",class:z([b.value===d?"sliderStyle":"","slider"]),onClick:r=>ie("anchor"+s.id,d)},[s.goods!=""?(o(),n("div",Ne,[e("div",Le,l(s.name),1),Be])):v("v-if",!0)],10,Ee))),256))]),e("div",null,[S(ke,{ref_key:"ChildsDom",ref:D},null,512)]),e("div",Oe,[e("div",Re,[e("div",{class:"index-center-left",onMouseenter:i[1]||(i[1]=s=>j()),onMouseleave:B},[(o(!0),n(u,null,h(a(x).arr,(s,d)=>(o(),n("div",null,[s.goods!=""?(o(),n("div",{key:0,class:z(["index-sort-list",m.value==d?"colorStyles":""]),onMouseenter:r=>j(s,d)},[e("div",Me,l(s.name),1),e("div",{class:z(["right-icon",m.value==d?"bgRight":""])},null,2)],42,Fe)):v("v-if",!0),m.value!=null?(o(),n("div",{key:1,class:"index-sort-content",onMouseenter:i[0]||(i[0]=r=>j()),onMouseleave:B},[(o(!0),n(u,null,h(a(x).arr[m.value].goods,(r,w)=>(o(),n("div",{class:"index-sort-lists",onClick:H=>p("/goodsDetail",r.id)},[e("div",Ve,[e("img",{src:r.logo[0],alt:""},null,8,Pe)]),e("div",Ue,l(r.name),1)],8,He))),256))],32)):v("v-if",!0)]))),256))],32),e("div",Ae,[S(a($e),{modules:J,pagination:{clickable:!0},autoplay:Q,onSwiper:ee,onSlideChange:se,navigation:W},{default:P(()=>[(o(!0),n(u,null,h(F.arr,s=>(o(),U(a(ze),null,{default:P(()=>[e("div",qe,[e("img",{src:s.img,alt:""},null,8,Ge)])]),_:2},1024))),256))]),_:1})]),e("div",Ye,[a(C)?(o(),n("div",Je,[e("div",Ke,[e("div",We,[e("img",{src:a(C).avatar,style:{width:"80px",height:"80px","border-radius":"50%"}},null,8,Xe)]),e("div",Ze," Hi\uFF01"+l(a(C).nickname),1)])])):(o(),n("div",Qe,[es,e("div",ss,[e("div",{onClick:i[2]||(i[2]=s=>k("/login"))},"\u767B\u5F55"),e("div",{class:"buttonStyle",onClick:i[3]||(i[3]=s=>k("/register"))},"\u6CE8\u518C")])])),e("div",ts,[(o(),n(u,null,h(oe,(s,d)=>e("div",{class:"nav-view",onClick:r=>X(d,s)},[e("div",is,[e("img",{src:s.src},null,8,ns)]),e("div",ds,l(s.name),1)],8,os)),64))]),e("div",ls,[e("div",{class:"index-gg-top",onClick:i[4]||(i[4]=s=>k("/news/list"))},as),e("div",us,[(o(!0),n(u,null,h(a(M).arr,(s,d)=>(o(),n("div",{class:"index-notice-list",onClick:r=>p("/news/detail",s.id)},[d<5?(o(),n("div",_s,l(s.title),1)):v("v-if",!0)],8,hs))),256))])])])]),e("div",vs,[e("div",gs,[ms,ps,a(N)?(o(),U(we,{key:0,"remain-time":T.time},null,8,["remain-time"])):v("v-if",!0)]),(o(!0),n(u,null,h(O.arr,(s,d)=>(o(),n("div",{class:"seckill-lists",onClick:r=>p("/goodsDetail",s.id)},[e("div",fs,[e("img",{src:s.logo[0],alt:""},null,8,ks)]),e("div",bs,l(s.name),1),e("div",ws,l(s.describe),1),e("div",ys,[q(" \u79D2\u6740\u4EF7:"),e("span",null,"\xA5"+l(s.amount_kill),1),q(),e("a",null,"\xA5"+l(s.amount),1)])],8,xs))),256))]),e("div",Ss,[Cs,e("div",Is,[js,e("div",zs,[$s,(o(!0),n(u,null,h(R.arr,s=>(o(),n("div",{class:"index-hot-lists",onClick:d=>p("/goodsDetail",s.id)},[e("div",Ds,[e("img",{src:s.logo[0],alt:""},null,8,Es)]),e("div",Ns,l(s.name),1),e("div",Ls,l(s.describe),1),e("div",Bs,l(s.amount),1)],8,Ts))),256))])])]),(o(!0),n(u,null,h(a(x).arr,s=>(o(),n("div",{class:"index-hot-sell scroll-item",id:`anchor${s.id}`},[s.goods!=""?(o(),n("div",Rs,[e("div",Fs,[e("div",Ms,l(s.name)+"\u7CFB\u5217 ",1),e("div",Hs,[s.goods?(o(!0),n(u,{key:0},h(s.goods,d=>(o(),n("div",{class:"index-goods-list",onClick:r=>p("/goodsDetail",d.id)},[e("div",Ps,[e("img",{src:d.logo[0],alt:""},null,8,Us)]),e("div",As,l(d.name),1),e("div",qs,l(d.describe),1),e("div",Gs," \xA5"+l(d.amount),1)],8,Vs))),256)):v("v-if",!0)])])])):v("v-if",!0)],8,Os))),256))],512)]),v(" "),S(be,{url:a(I)},null,8,["url"]),e("div",Ys,[Js,Ks,e("img",{onClick:i[5]||(i[5]=s=>k("/product")),src:"http://screen-test.zhousi.hdlkeji.com/aksdbn/img/index/index-design.png"})]),e("div",Ws,[Xs,Zs,e("div",Qs,[(o(),n(u,null,h(te,s=>e("div",{class:"designs",onClick:d=>p(s.url)},[e("div",st,[e("img",{src:s.src},null,8,tt)])],8,et)),64))])]),e("div",{class:"dev-cloud",onClick:i[6]||(i[6]=s=>Y(a(I).cloud_link))},it),S(ye)],64))}};var gt=de(nt,[["__scopeId","data-v-b56e1978"]]);export{gt as default};