import{U as s,r as t,a4 as e,a,b as i,h as o,u as r,n as v,t as c,q as l,f as n,y as m,I as p,af as d,o as u}from"./vendor-jA_NIjzi.js";import{A as j}from"./activity-wp2Kxdqm.js";import{V as y}from"./vipPrivilege-cir4RmyY.js";import{P as f}from"./index-9y7jTCn-.js";/* empty css              */import{_ as x,a as h,u as k}from"./common-store-e_1WBubm.js";import{i as _}from"./common-utils-8H8K2JPG.js";import{S as g}from"./SvgIcon-unOD6nfS.js";import"./refresh-vUMpko_C.js";import"./loading-4EoYccBj.js";import"./noData-4a9O8hjw.js";import"./index-NJKDril_.js";/* empty css              */import"./wallet.api-yxf2pnsN.js";import"./BtnClose-9Q8xqZiI.js";import"./vendor-crypto-Vtl7-GZS.js";import"./vendor-mqtt-lYGapirz.js";import"./DailyPopup-JL3zzZaA.js";const C={class:"activityIndex"},I={class:"activityHeader"},w={key:0,class:"txtLeft"},A={key:1,class:"title"},P={key:1,class:"custom-navbar"},T={class:"title"},b={class:"cont"},q=x(Object.assign({name:"activityIndex"},{__name:"index",setup(x){const{t:q}=s(),S=t(!1),V=e(),D=h(),U=k(),{homeModel:B}=a(U),E=t(D.vipActive),H=s=>{_()?(E.value=s,D.setVipActive(s)):(E.value=0,S.value=!0)},L=()=>{S.value=!1},M=()=>{V.push({path:"/customerService"})};return(s,t)=>{const e=d;return u(),i("div",C,[o("header",I,[r(_)()?(u(),i("div",{key:0,class:v(["activityTop",{"activityTop-center":"type1"===r(B)}])},["entertainment"===r(B)?(u(),i("div",w,[o("div",{class:v([0==+E.value?"activeTxt txt":"txt"]),onClick:t[0]||(t[0]=s=>H(0))},c(r(q)("优惠活动")),3),o("div",{class:v([1==+E.value?"activeTxt txt":"txt"]),onClick:t[1]||(t[1]=s=>H(1))},c(r(q)("VIP特权")),3)])):(u(),i("span",A,c(r(q)("优惠活动")),1)),l(g,{class:"service-svg",name:"service",onClick:M})],2)):n("",!0),r(_)()?n("",!0):(u(),i("div",P,[o("span",T,c(r(q)("优惠活动")),1),l(g,{class:"service-svg",name:"service",onClick:M})]))]),0==+E.value?(u(),m(j,{key:0})):n("",!0),1==+E.value?(u(),m(y,{key:1})):n("",!0),l(e,{show:S.value,"onUpdate:show":t[2]||(t[2]=s=>S.value=s),round:""},{default:p((()=>[S.value?(u(),m(f,{key:0,onClose:L,title:r(q)("友情提示")},{default:p((()=>[o("div",b,c(r(q)("您还没有登录请先登录")),1)])),_:1},8,["title"])):n("",!0)])),_:1},8,["show"])])}}}),[["__scopeId","data-v-88316777"],["__file","index.vue"]]);export{q as default};
