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-MIG5aaAV.js";import{V as y}from"./vipPrivilege-yH3BL5kW.js";import{P as f}from"./index-hZck--Zd.js";/* empty css              */import{_ as x,a as h,u as k}from"./common-store-kFD1YPwN.js";import{i as _}from"./common-utils-RDWuRZ1M.js";import{S as g}from"./SvgIcon-a1Rg7hQY.js";import"./refresh-vUMpko_C.js";import"./loading-4EoYccBj.js";import"./noData-_8RtifU3.js";import"./index-wIxt3BP3.js";/* empty css              */import"./wallet.api-iEDbrB2H.js";import"./BtnClose-8jXpWY6_.js";import"./vendor-crypto-Vtl7-GZS.js";import"./vendor-mqtt-lYGapirz.js";import"./DailyPopup-kxIxLYr1.js";const C={class:"activityIndex"},I={class:"activityHeader"},w={key:0,class:"txtLeft"},P={key:1,class:"title"},T={key:1,class:"custom-navbar"},b={class:"title"},q={class:"cont"},A=x(Object.assign({name:"activityIndex"},{__name:"index",setup(x){const{t:A}=s(),S=t(!1),V=e(),B=h(),D=k(),{homeModel:O}=a(D),U=t(B.vipActive),F=s=>{_()?(U.value=s,B.setVipActive(s)):(U.value=0,S.value=!0)},H=()=>{S.value=!1},L=()=>{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(O)}])},["entertainment"===r(O)?(u(),i("div",w,[o("div",{class:v([0==+U.value?"activeTxt txt":"txt"]),onClick:t[0]||(t[0]=s=>F(0))},c(r(A)("优惠活动")),3),o("div",{class:v([1==+U.value?"activeTxt txt":"txt"]),onClick:t[1]||(t[1]=s=>F(1))},c(r(A)("VIP特权")),3)])):(u(),i("span",P,c(r(A)("优惠活动")),1)),l(g,{class:"service-svg",name:"service",onClick:L})],2)):n("",!0),r(_)()?n("",!0):(u(),i("div",T,[o("span",b,c(r(A)("优惠活动")),1),l(g,{class:"service-svg",name:"service",onClick:L})]))]),0==+U.value?(u(),m(j,{key:0})):n("",!0),1==+U.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:H,title:r(A)("友情提示")},{default:p((()=>[o("div",q,c(r(A)("您还没有登录请先登录")),1)])),_:1},8,["title"])):n("",!0)])),_:1},8,["show"])])}}}),[["__scopeId","data-v-88316777"],["__file","index.vue"]]);export{A as default};
