"use strict";const e=require("../../common/vendor.js"),t=require("../../common/assets.js"),i=require("../../store/index.js");if(!Array){e.resolveComponent("wd-navbar")()}Math;const s=e.defineComponent({__name:"equity",setup(s){const u=i.Store(),r=e.computed((()=>u.userInfo||{inviteCode:"",nickname:"",mobile:"",avatar:"",paywallet:{balance:0}}));e.onShow((async()=>{await u.usersGetInfo()}));const a=[{name:"加盟",info:"购买、批发商品享5折折扣",text:"赠送货值抵扣券10000元",icon:"/static/equity/icon1.png",bei:"/static/equity/bei1.png",img:"/static/equity/img1.png",qy:"/static/equity/iconY1.png",discount:.5,debitVoucher:1e4},{name:"总代",info:"购买、批发商品享3.5折折扣",text:"赠送货值抵扣券40000元",icon:"/static/equity/icon2.png",bei:"/static/equity/bei2.png",img:"/static/equity/img2.png",qy:"/static/equity/iconY2.png",discount:.35,debitVoucher:4e4},{name:"官方",info:"购买、批发商品享2.5折折扣",text:"赠送货值抵扣券100000元",icon:"/static/equity/icon3.png",bei:"/static/equity/bei3.png",img:"/static/equity/img3.png",qy:"/static/equity/iconY3.png",discount:.25,debitVoucher:1e5}],n=e.ref(0),o=()=>{e.index.navigateBack()},g=()=>{e.index.showModal({title:"提示",content:"请联系客服开通权益包",showCancel:!1})};return(i,s)=>e.e({a:t._imports_0$7,b:e.o(o),c:e.p({title:"权益包",bordered:!1,"left-arrow":!0,"custom-style":"background-color: transparent !important;",safeAreaInsetTop:!0}),d:!r.value.userRights},r.value.userRights?{}:{e:t._imports_1$5},{f:r.value.userRights&&1==r.value.userRights.rightsLevel},r.value.userRights&&1==r.value.userRights.rightsLevel?{g:t._imports_2$2}:{},{h:r.value.userRights&&2==r.value.userRights.rightsLevel},r.value.userRights&&2==r.value.userRights.rightsLevel?{i:t._imports_3$1}:{},{j:r.value.userRights&&3==r.value.userRights.rightsLevel},r.value.userRights&&3==r.value.userRights.rightsLevel?{k:t._imports_4$2}:{},{l:r.value.userRights},r.value.userRights?{m:e.t(r.value.userRights.rightsDiscount/10),n:1==r.value.userRights.rightsLevel?"#754023":2==r.value.userRights.rightsLevel?"#3874AF":3==r.value.userRights.rightsLevel?"#AF3838":""}:{},{o:r.value.userRights},r.value.userRights?{p:e.t(r.value.userRights.pice),q:1==r.value.userRights.rightsLevel?"#754023":2==r.value.userRights.rightsLevel?"#3874AF":3==r.value.userRights.rightsLevel?"#AF3838":""}:{},{r:t._imports_5$1,s:e.f(a,((i,s,u)=>e.e({a:i.qy,b:n.value==s},n.value==s?{c:t._imports_6$1}:{},{d:i.bei,e:i.icon,f:e.t(i.info),g:e.t(i.text),h:e.t(i.name),i:i.img,j:s,k:e.o((e=>n.value=s),s)}))),t:e.o(g)})}}),u=e._export_sfc(s,[["__scopeId","data-v-0e2d3100"]]);wx.createPage(u);
