(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7b0629a2"],{"0fe2":function(e,t,c){"use strict";c.r(t);var a=c("9a1c"),l=(c("89a0"),c("a410")),n=(c("14d9"),c("7a23")),o=c("ab21"),r=c.n(o),s=c("6605"),i=c("6c43"),d=c("2849"),b=c("a019"),j=c("9911"),O=c("0530"),m=(c("60fe"),c("2934")),u=c("c24f"),p=c("5d2d"),f=c("5a0c"),v=c.n(f),E=c("f286");const V=e=>(Object(n["pushScopeId"])("data-v-36c77c0b"),e=e(),Object(n["popScopeId"])(),e),g={class:"setting-wrap"},h={class:"content-card mt30"},k={class:"content-item flex-ac-jb"},N=V(()=>Object(n["createElementVNode"])("div",{class:"left"},"用户ID",-1)),y=V(()=>Object(n["createElementVNode"])("img",{class:"copy",src:r.a,alt:""},null,-1)),B=V(()=>Object(n["createElementVNode"])("div",{class:"left"},"绑定微信",-1)),w={class:"right flex-ac"},A={key:0},x={class:"content-item flex-ac-jb"},S=V(()=>Object(n["createElementVNode"])("div",{class:"left"},"注册时间",-1)),I={class:"right flex-ac"},C={class:"content-item flex-ac-jb"},_=V(()=>Object(n["createElementVNode"])("div",{class:"left"},"手机号码",-1)),D={class:"right flex-ac"},U={key:0},M=V(()=>Object(n["createElementVNode"])("span",{class:"text"},"去绑定",-1)),Y={key:0,class:"content-item flex-ac-jb"},z=V(()=>Object(n["createElementVNode"])("div",{class:"left"},"已完成任务组",-1)),F={class:"right flex-ac"},H={class:"content-card"},J={key:0,class:"content-item flex-ac-jb"},T=V(()=>Object(n["createElementVNode"])("div",{class:"left"},"我的渠道",-1)),L={class:"right flex-ac"},X=V(()=>Object(n["createElementVNode"])("div",{class:"left"},"我的师傅",-1)),P={class:"right flex-ac"},Q={key:0},W=V(()=>Object(n["createElementVNode"])("span",{class:"text"},"去填写",-1)),G=V(()=>Object(n["createElementVNode"])("div",{class:"left"},"收徒二维码",-1)),q={class:"right flex-ac"},K={class:"content-card"},R=V(()=>Object(n["createElementVNode"])("div",{class:"left"},"注销用户",-1)),Z={class:"right flex-ac"};var $={__name:"index",setup(e){c("129a");const{toClipboard:t}=Object(b["a"])(),o=Object(E["a"])(),r=Object(s["d"])(),f=Object(n["computed"])(()=>o.userInfo),V=Object(n["computed"])(()=>{const e=o.userInfo.mobile;return e?e.substr(0,3)+"****"+e.substr(7):"--"}),$=Object(n["ref"])(0),ee=()=>{if($.value++,$.value>=10)return Object(j["s"])(),void($.value=0);setTimeout(()=>{$.value<10&&($.value=0)},1e4)},te=async e=>{try{await t(e),Object(i["c"])("复制成功")}catch(c){console.log(c)}},ce=async()=>{var e;if(null!==(e=f.value.wechat_info)&&void 0!==e&&e.wechat_auth)return;const{data:t}=await O["a"].wechatAuth();await Object(m["a"])({unionid:t.unionid,openid:t.openid,avatar:t.headimgurl,nickname:t.nickname,bundle:o.deviceInfo.bundle}),Object(i["c"])("绑定成功"),o.setUserInfo()},ae=async()=>{await Object(d["a"])({title:"注销账户",message:"是否注销账户？",className:"gloal-confirm"});await Object(u["z"])();Object(i["c"])("注销成功"),setTimeout(async()=>{O["a"].setVipStatus(0),o.clearUserInfo(),le.value?O["a"].jumpHomeIndexTab(1):r.replace("/home"),le.value&&(O["a"].logout(),r.replace("/mine"))},300)},le=Object(n["ref"])(p["a"].getItem("tv-APP")),ne=async()=>{await Object(d["a"])({title:"退出登录",message:"是否退出登录？",className:"gloal-confirm"}),await Object(u["w"])(),Object(i["c"])("退出成功"),setTimeout(async()=>{O["a"].setVipStatus(0),o.clearUserInfo(),le.value?O["a"].jumpHomeIndexTab(1):r.replace("/home"),le.value&&(O["a"].logout(),r.replace("/mine"))},300)};return(e,t)=>{var c;const r=l["a"],s=a["a"];return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",g,[Object(n["createVNode"])(r,{title:"系统设置",dark:""}),Object(n["createElementVNode"])("div",h,[Object(n["createElementVNode"])("div",k,[N,Object(n["createElementVNode"])("div",{class:"right flex-ac",onClick:t[0]||(t[0]=e=>te(f.value.user_id))},[Object(n["createElementVNode"])("span",null,Object(n["toDisplayString"])(f.value.user_id),1),y])]),Object(n["createElementVNode"])("div",{class:"content-item flex-ac-jb",onClick:ce},[B,Object(n["createElementVNode"])("div",w,[null!==(c=f.value.wechat_info)&&void 0!==c&&c.wechat_auth?(Object(n["openBlock"])(),Object(n["createElementBlock"])("span",A,Object(n["toDisplayString"])(f.value.nickname),1)):(Object(n["openBlock"])(),Object(n["createBlock"])(s,{key:1,name:"arrow"}))])]),Object(n["createElementVNode"])("div",x,[S,Object(n["createElementVNode"])("div",I,[Object(n["createElementVNode"])("span",null,Object(n["toDisplayString"])(Object(n["unref"])(v.a)(1e3*f.value.reg_time).format("YYYY-MM-DD HH:mm:ss")),1)])]),Object(n["createElementVNode"])("div",C,[_,Object(n["createElementVNode"])("div",D,[f.value.mobile?(Object(n["openBlock"])(),Object(n["createElementBlock"])("span",U,Object(n["toDisplayString"])(V.value),1)):(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{key:1,onClick:t[1]||(t[1]=(...e)=>Object(n["unref"])(j["q"])&&Object(n["unref"])(j["q"])(...e))},[M,Object(n["createVNode"])(s,{name:"arrow"})]))])]),Object(n["unref"])(o).appConfig.not_ad_view_done?Object(n["createCommentVNode"])("",!0):(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",Y,[z,Object(n["createElementVNode"])("div",F,[Object(n["createElementVNode"])("span",null,Object(n["toDisplayString"])(f.value.ad_view_done),1)])]))]),Object(n["createElementVNode"])("div",H,[f.value.reg_channel?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",J,[T,Object(n["createElementVNode"])("div",L,[Object(n["createElementVNode"])("span",null,Object(n["toDisplayString"])(f.value.reg_channel),1)])])):Object(n["createCommentVNode"])("",!0),Object(n["createElementVNode"])("div",{class:"content-item flex-ac-jb",onClick:ee},[X,Object(n["createElementVNode"])("div",P,[f.value.share_uid?(Object(n["openBlock"])(),Object(n["createElementBlock"])("span",Q,Object(n["toDisplayString"])(f.value.share_uid),1)):(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{key:1,onClick:t[2]||(t[2]=(...e)=>Object(n["unref"])(j["s"])&&Object(n["unref"])(j["s"])(...e))},[W,Object(n["createVNode"])(s,{name:"arrow"})]))])]),Object(n["createElementVNode"])("div",{class:"content-item flex-ac-jb",onClick:t[3]||(t[3]=(...e)=>Object(n["unref"])(j["L"])&&Object(n["unref"])(j["L"])(...e))},[G,Object(n["createElementVNode"])("div",q,[Object(n["createVNode"])(s,{name:"arrow"})])])]),Object(n["createElementVNode"])("div",K,[Object(n["unref"])(o).channel.includes("she")?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{key:0,class:"content-item flex-ac-jb",onClick:Object(n["withModifiers"])(ae,["stop"])},[R,Object(n["createElementVNode"])("div",Z,[Object(n["createVNode"])(s,{name:"arrow"})])])):Object(n["createCommentVNode"])("",!0)]),Object(n["createElementVNode"])("div",{class:"login-out",onClick:ne},"退出登录")])}}},ee=(c("430d"),c("6b0d")),te=c.n(ee);const ce=te()($,[["__scopeId","data-v-36c77c0b"]]);t["default"]=ce},"430d":function(e,t,c){"use strict";c("ab99")},"7e57":function(e,t,c){"use strict";c("cae5")},a410:function(e,t,c){"use strict";var a=c("9a1c"),l=(c("89a0"),c("14d9"),c("7a23")),n=c("6605"),o=c("0530"),r=c("f286");const s={class:"header-left"},i={class:"header-middle"},d={class:"header-right"};var b={__name:"index",props:{title:{type:String,default:""},back:{type:Boolean,default:!0},border:{type:Boolean,default:!1},theme:{type:Boolean,default:!1},to:{type:String,default:""},fixed:{type:Boolean,default:!0},transparent:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},isType:{type:String,default:"1"},appFinish:{type:Boolean,default:!1}},emits:["confirm"],setup(e,{emit:t}){const c=t,b=Object(n["d"])(),j=Object(r["a"])(),O=e,m=Object(l["computed"])(()=>({paddingTop:j.getNavHeight()}));let u=!0;const p=()=>{if(!O.appFinish)return"surprised"==O.isType&&u?(c("confirm"),void(u=!1)):void(O.to?b.push(O.to):b.go(-1));o["a"].finish()};return(t,c)=>{const n=a["a"];return Object(l["openBlock"])(),Object(l["createElementBlock"])(l["Fragment"],null,[Object(l["createElementVNode"])("header",{class:Object(l["normalizeClass"])(["common-header",{theme:e.theme,"van-hairline--bottom":e.border,fixed:e.fixed,transparent:e.transparent,dark:e.dark}]),style:Object(l["normalizeStyle"])(m.value)},[Object(l["createElementVNode"])("div",s,[Object(l["renderSlot"])(t.$slots,"left",{},()=>[Object(l["withDirectives"])(Object(l["createElementVNode"])("div",{class:"back-wrapper",onClick:p},[Object(l["createVNode"])(n,{name:"arrow-left"})],512),[[l["vShow"],e.back]])])]),Object(l["createElementVNode"])("div",i,[Object(l["renderSlot"])(t.$slots,"default",{},()=>[Object(l["createTextVNode"])(Object(l["toDisplayString"])(e.title),1)])]),Object(l["createElementVNode"])("div",d,[Object(l["renderSlot"])(t.$slots,"right")])],6),e.fixed?(Object(l["openBlock"])(),Object(l["createElementBlock"])("div",{key:0,class:"header-placeholder",style:Object(l["normalizeStyle"])(m.value)},null,4)):Object(l["createCommentVNode"])("",!0)],64)}}},j=(c("7e57"),c("6b0d")),O=c.n(j);const m=O()(b,[["__scopeId","data-v-cb8e629e"]]);t["a"]=m},ab21:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAApRJREFUWEftWDFPFEEYfd/MSWWze5oQQmIhBWJlgkGjheEPKIYYoxb+AY6jE6MVRu1uuWspLEggGqKxtaAiSjCxEjFqYUNI5I7CAxNzM8/sLUch4M7KcReSnXbffO/tm9337beCBIvP+zrs6tpDkDchOE1CEmx3gopIleCShhqXfHkxEUEt8OdAXndiOiBIBEZBXXIWyKJ/wRi+PSBvsu2CeWeBZjI7QmuLIYMIPigldyBikzHGo43FAKx9FvFI1V1gITtO2Md1CsGrTH5jKJ4uOYKlbK+p2U+NnanApB6mDiZ17G/80XUwzDlLOQ+L4zt3JdhU6tiM5NZ+mHa9xWH7MqtrM/t3CFnIjFUut02gCfwJkg/2e3ZE5LPOV3rbJ7DgfSHQ0+gQBL7vhCSxqTI6kJH19+0TGHi28VWitZyVXGV5LzfbJrBW8NgQpDPqjIyUV1KB/wjLXTmYOpiwtaQOJjRsFzx1MHXw6Ab1pHePFk+2h6bXmfzG1YMe5177WfT7jOHH7W8DimtQs+gPG8MX0VAnvyh8A6DpY6cAp0ici3jw1V3gVLdvq5srJE4ehnN71RSRR84CwwIsZQetsbMtESkyp7s6byUSWBc51e1ja2vQkj2wynmudnZdoaqES5KrvKsfs+sz6EzQZGDLBLJ0ot8aO01iXeuOoXAQc7mXlgk0BW+awO0oPtSozpfrP6LiVssE1gLvJYhrUXyo+3qsHGVqzEoFNgz6bwdN4P8kGf1NUOquVliMsz3xdVJZy/AFiTqEUjk9Wi651JFa4M2DuOICbhZGa7nYyLm4msIgO2BhF0joOHBTrovMZfKVYdda9U4QijSwTwXSv3PcrhUccCIgiG8QmVVdnRNyY/m3w7Y65A9fhFLTnPvCXwAAAABJRU5ErkJggg=="},ab99:function(e,t,c){},cae5:function(e,t,c){}}]);