forked from yanw/App_win_iot_V2.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
8.0 KiB
2 lines
8.0 KiB
"use strict";(self["webpackChunkvue_cli_ts"]=self["webpackChunkvue_cli_ts"]||[]).push([[750],{4010:function(e,t,a){a.d(t,{Z:function(){return u}});var n=a(3396),s=a(7139),l=a(4870),i=a(1020),c=a(7110),r=(0,n.aZ)({__name:"Language",setup(e){const t=(0,c.Y)(),{language:a}=(0,i.Jk)(t);function r(e){e!==a.value&&t.SET_LANGUAGE(e)}return(e,t)=>((0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",{class:(0,s.C_)(["language-common text-black/50 rounded-[54px] bg-[rgba(0, 0, 0, 0.06)] mr-1",{active:"zh"===(0,l.SU)(a)}]),onClick:t[0]||(t[0]=e=>r("zh"))}," 中 ",2),(0,n._)("div",{class:(0,s.C_)(["language-common text-black/50 rounded-[54px] bg-[rgba(0, 0, 0, 0.06)]",{active:"en"===(0,l.SU)(a)}]),onClick:t[1]||(t[1]=e=>r("en"))}," EN ",2)],64))}});const o=r;var u=o},3619:function(e,t,a){a.d(t,{Z:function(){return d}});var n=a(3396),s=a(542),l=a(4870),i=a(7110);const c=(0,n.uE)('<div class="self-stretch justify-start items-center gap-4 inline-flex"><img src="'+s+'" class="w-10 h-10" alt=""><div class="flex-col justify-center items-start gap-1 inline-flex"><div class="text-black/90 text-20 font-bold uppercase leading-28">搜索</div><div class="text-center text-black/40 text-12 leading-[14px]">SEARCH</div></div></div>',1),r=[c];var o=(0,n.aZ)({__name:"SearchEnter",setup(e){const t=(0,i.Y)(),{showSearch:a}=(0,l.BK)(t);function s(){a.value||t.SET_SHOW_SEARCH(!0)}return(e,t)=>((0,n.wg)(),(0,n.iD)("div",{class:"h-[100px] pl-10 pr-[190px] py-[29px] bg-white rounded-[200px] justify-start items-center flex",onClick:s},r))}});const u=o;var d=u},3299:function(e,t,a){a.d(t,{Z:function(){return b}});var n=a(3396),s=a(7139),l=a.p+"img/tab_orange.27ed7575.svg",i=a(4870);const c=e=>((0,n.dD)("data-v-de43e3ba"),e=e(),(0,n.Cn)(),e),r={class:"flex items-center space-x-[72px]"},o=["onClick"],u={class:"relative tab-img w-[60px] h-[60px] rounded-full border border-solid p-[14px] border-black/5 mr-[10px]"},d=c((()=>(0,n._)("img",{src:l,class:"orange-icon",alt:""},null,-1))),p=["src"],v={class:"space-y-[6px]"},m={class:"text-floor text-black/50 text-20 font-black leading-normal"},x={class:"text-en text-black/30 text-12 uppercase leading-12 whitespace-nowrap"};var f=(0,n.aZ)({__name:"Tabs",props:{list:{default:()=>[]}},emits:["click"],setup(e,{emit:t}){const a=(0,i.iH)(0);function l(e){a.value=e,t("click",e)}return(t,i)=>((0,n.wg)(),(0,n.iD)("div",r,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.list,((e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:e,class:(0,s.C_)([{active:a.value===t},"tab-item relative flex flex-center pb-[26px]"]),onClick:e=>l(t)},[(0,n._)("div",u,[d,(0,n._)("img",{src:a.value===t?e.iconSelected:e.icon,class:"cover",alt:""},null,8,p)]),(0,n._)("div",v,[(0,n._)("div",m,(0,s.zw)(e.title),1),(0,n._)("div",x,(0,s.zw)(e.titleEn),1)])],10,o)))),128))]))}}),g=a(89);const _=(0,g.Z)(f,[["__scopeId","data-v-de43e3ba"]]);var b=_},5335:function(e,t,a){a.d(t,{Z:function(){return S}});var n=a(3396),s=a(4870),l=a(7139),i=a(3513),c=a(7110);const r=()=>{const e=(0,c.Y)(),{weather:t}=(0,s.BK)(e),a=(0,s.iH)({}),n=[{type:"sunny",status:"晴"},{type:"cloudy",status:"云"},{type:"rain",status:"雨"},{type:"snow",status:"雪"},{type:"shade",status:"阴"}];return a.value=n.find((e=>t.value.weather?.includes(e.status)))??n[0],{weather:t,icon:a}},o=()=>{const e={zh:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],en:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],tw:["星期日","星期壹","星期二","星期三","星期四","星期五","星期六"]},t=new Date,a=(0,c.Y)(),{language:l}=(0,s.BK)(a),i=(0,n.Fl)((()=>e[l.value][t.getDay()]));return{whichWeek:i}},u=()=>{const e=(0,s.XI)(new Date),t=(0,s.XI)(),a=(0,n.Fl)((()=>`${e.value.getHours().toString().padStart(2,"0")}:${e.value.getMinutes().toString().padStart(2,"0")}`)),l=()=>{t.value=setInterval((()=>{e.value=new Date}),6e4)};return(0,n.bv)(l),(0,n.Jd)((()=>clearInterval(t.value))),{currentTime:a}};var d=a(5406);const p={class:"gap-6 flex flex-center"},v={class:"justify-start items-center gap-4 flex"},m={class:"w-8 h-8"},x={class:"text-black/90 text-28 font-bolder leading-40"},f=(0,n._)("div",{class:"w-px h-[18px] bg-black/20"},null,-1),g={class:"justify-start items-center gap-4 flex font-bolder"},_={class:"text-black/90 text-28 leading-40"},b={class:"flex-col justify-start items-start flex"},w={class:"text-black/60 text-[10px]"},h={class:"text-black/60 text-[10px]"};var y=(0,n.aZ)({__name:"WeatherAndTime",setup(e){const{weather:t,icon:a}=r(),{currentTime:c}=u(),{whichWeek:y}=o();return(e,r)=>((0,n.wg)(),(0,n.iD)("div",p,[(0,n._)("div",v,[(0,n._)("div",m,[(0,n.Wm)(d.Z,{type:(0,s.SU)(a).type,size:32,color:"rgba(0, 0, 0, 0.6)"},null,8,["type"])]),(0,n._)("div",x,(0,l.zw)((0,s.SU)(t).temperatureNow)+"°",1)]),f,(0,n._)("div",g,[(0,n._)("div",_,(0,l.zw)((0,s.SU)(c)),1),(0,n._)("div",b,[(0,n._)("div",w,(0,l.zw)((0,s.SU)(i.fG)()),1),(0,n._)("div",h,(0,l.zw)((0,s.SU)(y)),1)])])]))}});const k=y;var S=k},826:function(e,t,a){a.d(t,{Z:function(){return U}});var n=a(3396),s=a.p+"img/common_logo.f7f5629f.svg",l=(a(7658),a(4870)),i=a(7139),c=a(2483),r=a(1020),o=a(7110),u=a(5599);const d={class:"menu absolute top-[290px] left-6 space-y-[10px] z-[2]"},p=["onClick"],v=["src"],m={class:"title mb-0.5 text-16 text-[#000000]/[0.9] font-bolder"},x={class:"relative z-[1] en text-12 text-[#000000]/[0.3]"};var f=(0,n.aZ)({__name:"Sidebar",setup(e){const t=(0,c.tv)(),a=(0,o.Y)(),{menuList:s}=(0,r.Jk)(a),{moduleStatistics:f}=(0,u.T)();function g(e){t.push(e.routePath),f({moduleName:e.moduleName,recordType:"1"})}return(e,t)=>((0,n.wg)(),(0,n.iD)("div",d,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,l.SU)(s),(t=>((0,n.wg)(),(0,n.iD)("div",{key:t.id,class:(0,i.C_)(["aside animate__animated animate__fadeInLeft",{active:e.$route.fullPath===t.routePath}]),onClick:e=>g(t)},[(0,n._)("img",{src:e.$route.fullPath===t.routePath?t.moduleActivateLogo:t.moduleLogo,class:"w-10 h-10 mb-2",alt:""},null,8,v),(0,n._)("p",m,(0,i.zw)(t.moduleName),1),(0,n._)("p",x,(0,i.zw)(t.moduleNameEn),1)],10,p)))),128))]))}});const g=f;var _=g,b=a(5335),w=a(3619),h=a(4010);const y={class:"w-[1080px] h-[1920px]"},k={class:"relative z-[1] flex justify-between items-start pl-[46px] pt-14 pr-10 mb-[17px] h-[166px]"},S=(0,n._)("img",{src:s,class:"w-[74px] h-[110px]",alt:""},null,-1),C={class:"enter relative z-[2] flex justify-end pr-10"},D={class:"fixed flex flex-col space-y-1 left-[65px] top-[1609px] z-[2]"};var Z=(0,n.aZ)({__name:"BaseLayout",setup(e){return(e,t)=>((0,n.wg)(),(0,n.iD)("div",y,[(0,n._)("header",k,[S,(0,n.Wm)(b.Z)]),(0,n._)("div",C,[(0,n.Wm)(w.Z)]),(0,n.Wm)(_),(0,n._)("div",D,[(0,n.Wm)(h.Z)]),(0,n.WI)(e.$slots,"default")]))}});const z=Z;var U=z},2434:function(e,t,a){a.r(t),a.d(t,{default:function(){return x}});var n=a(3396),s=a(4870);const l=[{icon:a(9786),iconSelected:a(4139),title:"会员权益",titleEn:"Member Benefits"},{icon:a(8633),iconSelected:a(472),title:"会员活动",titleEn:"Member activities"}];var i=a(9351),c=a(3299),r=a(826);const o={class:"inset-x-0 inset-y-0 overflow-hidden"},u={class:"mx-auto ml-[384px] pt-[50px]"},d=(0,n._)("div",{class:"w-[852px] h-px bg-[#D9D9D9] -mt-px ml-[188px]"},null,-1),p={key:0,class:"ml-[211px] pt-10"};var v=(0,n.aZ)({__name:"Member",setup(e){const t=(0,n.RC)((()=>a.e(619).then(a.bind(a,593)))),v=(0,n.RC)((()=>a.e(337).then(a.bind(a,7337)))),m=(0,s.iH)(0);function x(e){m.value=e}const f=(0,s.XI)("");return(0,i.qU)().then((({data:e})=>{f.value=e.map((e=>e.content)).map((e=>e.fileUrl)).flat(1)?.[0]})),(e,a)=>((0,n.wg)(),(0,n.j4)(r.Z,null,{default:(0,n.w5)((()=>[(0,n._)("div",o,[(0,n._)("div",u,[(0,n.Wm)(c.Z,{list:(0,s.SU)(l),onClick:x},null,8,["list"])]),d,0===m.value?((0,n.wg)(),(0,n.iD)("div",p,[(0,n.Wm)((0,s.SU)(t),{banner:(0,s.SU)(f)},null,8,["banner"])])):((0,n.wg)(),(0,n.j4)((0,s.SU)(v),{key:1}))])])),_:1}))}});const m=v;var x=m},8633:function(e,t,a){e.exports=a.p+"img/member_activity.073bf358.svg"},472:function(e,t,a){e.exports=a.p+"img/member_activity_active.01364c9d.svg"},9786:function(e,t,a){e.exports=a.p+"img/member_benefits.0e2d4c5d.svg"},4139:function(e,t,a){e.exports=a.p+"img/member_benefits_active.64bcbe57.svg"},542:function(e,t,a){e.exports=a.p+"img/zoom.6d6cfe7f.svg"}}]);
|
|
//# sourceMappingURL=750.fceeaca0.js.map
|