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
5.4 KiB
2 lines
5.4 KiB
"use strict";(self["webpackChunkvue_cli_ts"]=self["webpackChunkvue_cli_ts"]||[]).push([[631],{9013:function(e,t,a){a.d(t,{Z:function(){return D}});var n=a(3396),l=a(4870),i=a(7139),c=a(389),s=a(8733),o=a(7807),r=a(5032),u=a(4191),v=a(600);const d={key:0,class:"picture-container"},g=["src"],_={key:1,class:"empty",src:c,alt:""},m={class:"info"},f={class:"marquee-wrapper"},p={class:"intro"},w={key:0,class:"hr"},y={key:1,class:"qr-container"},h={class:"item"},k=["src"],S={class:"names"},L={key:1,class:"empty_big",src:c,alt:""};var q=(0,n.aZ)({__name:"PictureText",props:{acList:null,qrList:null},setup(e){const{switchLanguage:t}=(0,o.K)();return(a,c)=>e.acList.length?((0,n.wg)(),(0,n.iD)("div",d,[(0,n._)("div",null,[e.acList.length&&e.acList[0].content.file_code.length?((0,n.wg)(),(0,n.j4)((0,l.SU)(r.tq),{key:0,modules:[(0,l.SU)(u.pt),(0,l.SU)(u.tl)],observer:!0,pagination:!0,loop:e.acList[0].content.file_code.length>1,autoplay:1!==e.acList[0].content.file_code.length&&{delay:5e3,disableOnInteraction:!1},class:"myswiper"},{default:(0,n.w5)((()=>[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.acList[0].content.file_code,(e=>((0,n.wg)(),(0,n.j4)((0,l.SU)(r.o5),{key:e},{default:(0,n.w5)((()=>[(0,n._)("img",{src:e},null,8,g)])),_:2},1024)))),128))])),_:1},8,["modules","loop","autoplay"])):((0,n.wg)(),(0,n.iD)("img",_))]),(0,n._)("div",m,[(0,n._)("div",f,[(0,n.Wm)(s.Z,{class:"name",speed:40,delay:.8,content:(0,l.SU)(t)(e.acList[0].content,"name")},{default:(0,n.w5)((()=>[(0,n.Uk)((0,i.zw)((0,l.SU)(t)(e.acList[0].content,"name")),1)])),_:1},8,["delay","content"])]),(0,n.Wm)(v.Z,{list:(0,l.SU)(t)(e.acList[0].content,"content"),class:"myscroll",scrollbar:"","refresh-delay":200},{default:(0,n.w5)((()=>[(0,n._)("div",p,(0,i.zw)((0,l.SU)(t)(e.acList[0].content,"content")),1)])),_:1},8,["list"]),e.qrList.length?((0,n.wg)(),(0,n.iD)("div",w)):(0,n.kq)("",!0),e.qrList.length&&e.qrList[0].content?.name?((0,n.wg)(),(0,n.iD)("div",y,[(0,n._)("div",h,[(0,n._)("img",{src:e.qrList[0].content.file_code[0],alt:""},null,8,k),(0,n._)("span",S,(0,i.zw)((0,l.SU)(t)(e.qrList[0].content,"name")),1)])])):(0,n.kq)("",!0)])])):((0,n.wg)(),(0,n.iD)("img",L))}}),U=a(89);const C=(0,U.Z)(q,[["__scopeId","data-v-7b8fed8e"]]);var D=C},37:function(e,t,a){a.r(t),a.d(t,{default:function(){return U}});a(7658);var n=a(3396),l=a(9242),i=a(389),c=a(2078),s=a(600),o=a(6830),r=a(3537),u=a(2201);const v=()=>(0,r.WY)({url:`${u.Bq.STATIC_URL}/JSON/getServeList.json`}),d=()=>(0,r.WY)({url:`${u.Bq.STATIC_URL}/JSON/getMallIntroduce.json`}),g=()=>(0,r.WY)({url:`${u.Bq.STATIC_URL}/JSON/getTraffic.json`});var _=a(4870),m=a(5703),f=a(9013);const p={class:"service-container"},w={style:{display:"inline-block"}},y={class:"act-list"},h=["src"],k={key:0,class:"jqqd",src:i,alt:""};var S=(0,n.aZ)({__name:"Service",setup(e){const t=[{name:"商场服务",en:"INTIMATE SERVICE",icon:a(7225),iconSel:a(4566)},{name:"商场介绍",en:"INTRODUCE",icon:a(2384),iconSel:a(4750)},{name:"周边交通",en:"SURROUNDING",icon:a(9864),iconSel:a(7147)}],i=(0,_.iH)([]),r=(0,_.iH)([]),u=(0,_.iH)(""),S=(0,_.iH)(0),L=(0,_.iH)(),q=(0,_.iH)(!1),U=(0,_.iH)();function C(e){L.value=e,q.value=!0}function D(e){S.value!==e&&(S.value=e,0===S.value?(0===i.value.length&&(I.value=!0),(0,n.Y3)((()=>{U.value.refresh()}))):0===u.value.length&&(I.value=!0))}const I=(0,_.iH)(!1);function b(){v().then((e=>{e.data.length||(I.value=!0);for(let t=0;t<e.data.length;t++){const{name:a,nameEn:n,content:l,point:c,contentEn:s,file_code:o,logo_code:r,facilityCode:u}=e.data[t].content;i.value.push({entryCode:e.data[t].entryCode,activityContent:l,activityContentEn:s,activityName:a,activityNameEn:n,point:c??"",facilityCode:u,logo_code:r,fileUrl:o??[],shopCode:""})}})),d().then((e=>{e.data&&(r.value=e.data)})),g().then((e=>{e.data&&e.data.length&&(u.value=e.data.length?e.data[0].content.photo_h[0]:"")}))}return b(),(e,a)=>((0,n.wg)(),(0,n.iD)("div",p,[(0,n.Wm)(m.Z,{class:"btn-group",width:230,height:96,"wrapper-width":706,"wrapper-height":160,list:t,onClick:D}),(0,n.Wm)(l.uT,{"enter-active-class":"animate__faster animate__animated animate__fadeInUp","leave-active-class":"animate__animated animate__fadeOutDown"},{default:(0,n.w5)((()=>[0===S.value?((0,n.wg)(),(0,n.j4)(s.Z,{key:0,ref_key:"actScroll",ref:U,list:i.value,"refresh-delay":200,scrollbar:!0,class:"service-scroll","scroll-x":""},{default:(0,n.w5)((()=>[(0,n._)("div",w,[(0,n._)("ul",y,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(i.value,((e,t)=>((0,n.wg)(),(0,n.j4)(o.Z,{key:t,"service-item":e,onClick:C},null,8,["service-item"])))),128))])])])),_:1},8,["list"])):1===S.value?((0,n.wg)(),(0,n.j4)(f.Z,{key:1,"ac-list":r.value,"qr-list":[]},null,8,["ac-list"])):2===S.value&&u.value?((0,n.wg)(),(0,n.iD)("img",{key:2,src:u.value,class:"traffic-img",alt:""},null,8,h)):(0,n.kq)("",!0)])),_:1}),1!==S.value&&I.value?((0,n.wg)(),(0,n.iD)("img",k)):(0,n.kq)("",!0),q.value?((0,n.wg)(),(0,n.j4)(c.Z,{key:1,"act-info":L.value,onClose:a[0]||(a[0]=e=>q.value=!1)},null,8,["act-info"])):(0,n.kq)("",!0)]))}}),L=a(89);const q=(0,L.Z)(S,[["__scopeId","data-v-0e6c123c"]]);var U=q},9864:function(e,t,a){e.exports=a.p+"img/icon_arround.5a4e797e.svg"},7147:function(e,t,a){e.exports=a.p+"img/icon_arroundSel.670aaf2b.svg"},2384:function(e,t,a){e.exports=a.p+"img/icon_mall.e3564761.svg"},4750:function(e,t,a){e.exports=a.p+"img/icon_mallSel.0b239e1d.svg"},7225:function(e,t,a){e.exports=a.p+"img/icon_service.783d356a.svg"},4566:function(e,t,a){e.exports=a.p+"img/icon_serviceSel.fa374092.svg"}}]);
|
|
//# sourceMappingURL=service.571c3cbe.js.map
|