"use strict";const e=require("../../common/vendor.js"),m=require("../../request/api.js"),r=require("../../common/assets.js"),t={data:()=>({navH:e.inject("navHeight"),memberInfo:null,privilegeList:["事件关联股票深度分析","历史事件智能对比复盘","事件概念关联与挖掘","概念板块个股追踪","概念深深度研报与解读","个股异动实时预警","事件传导链路智能分析","概念演变时间轴追溯","个股全方位深度研究","价小前投研助手无限使用","新功能优先体验权","专属客服一对一服务"]}),onLoad(){this.getMemberStatus()},methods:{clickJoinVip(){this.memberInfo.is_member||e.index.showModal({content:"请点击下方按钮复制链接并在浏览器中打开以完成会员购买流程",showCancel:!1,confirmText:"复制",success(m){m.confirm&&e.index.setClipboardData({data:"https://valuefrontier.cn/home/pages/account/subscription"})}})},getMemberStatus(){m.membershipStatus().then((m=>{200==m.code?this.memberInfo=m.data:e.index.showToast({title:m.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const i=e._export_sfc(t,[["render",function(m,t,i,o,s,n){return e.e({a:e.p({leftText:"会员中心"}),b:r._imports_0,c:s.memberInfo},s.memberInfo?e.e({d:s.memberInfo.is_member},s.memberInfo.is_member?{e:r._imports_1$9}:{f:r._imports_2$8},{g:s.memberInfo.is_member},s.memberInfo.is_member?{h:e.t(s.memberInfo.subscription_type),i:e.t(s.memberInfo.member_expire_date)}:{},{j:s.memberInfo.is_member},s.memberInfo.is_member?{k:r._imports_3$8}:{l:r._imports_4$8},{m:s.memberInfo.is_member},s.memberInfo.is_member?{n:r._imports_5$5}:{o:r._imports_6},{p:e.f(s.privilegeList,((m,t,i)=>e.e({a:e.t(m),b:t>5},t>5?{c:r._imports_7$1}:{d:r._imports_8$2},{e:t}))),q:r._imports_8$2,r:e.n("privilegeList "+(s.memberInfo.is_member?"vip":"")),s:e.s("margin-top:"+s.navH+"px;")}):{},{t:s.memberInfo},s.memberInfo?{v:e.t(s.memberInfo.is_member?"您已是年度VIP":"立即加入年度VIP"),w:e.o((e=>n.clickJoinVip()))}:{})}]]);wx.createPage(i);
