You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/public/assets/pages-dealer-index.575f6e8b.js

1 lines
9.1 KiB

import{o as e,c as a,w as l,e as t,i as s,a as i,f as d,t as o,g as r,r as n,k as f}from"./index-ae8bbb19.js";import{A as c}from"./index.0c0be40a.js";import{c as u}from"./index.035f5770.js";import{_ as p}from"./_plugin-vue_export-helper.1b428a4d.js";const y=p({components:{AvatarImage:c},data:()=>({isLoading:!0,user:void 0,isDealer:!1,dealer:void 0,refereeName:void 0,setting:{background:void 0,words:void 0}}),onLoad(e){this.getCenter()},methods:{getCenter(){const e=this;e.isLoading=!0,u().then((a=>{const l=a.data;e.isDealer=l.isDealer,e.user=l.user,e.dealer=l.dealer,e.refereeName=l.refereeName,e.setting=l.setting,e.setPageTitle(),e.isLoading=!1}))},setPageTitle(){uni.setNavigationBarTitle({title:this.setting.words.index.title.value})}}},[["render",function(c,u,p,y,g,S){const k=r,I=s,w=n("avatar-image"),m=f;return g.isLoading?t("",!0):(e(),a(I,{key:0,class:"container b-f"},{default:l((()=>[g.isDealer?(e(),a(I,{key:0,class:"center"},{default:l((()=>[i(I,{class:"dealer-bg"},{default:l((()=>[i(k,{class:"image",mode:"widthFix",src:g.setting.background},null,8,["src"])])),_:1}),i(I,{class:"widget-body b-f dis-flex flex-dir-column flex-y-center"},{default:l((()=>[i(I,{class:"widget widget__base m-top20 b-f dis-flex flex-dir-column"},{default:l((()=>[i(I,{class:"base__user f-30"},{default:l((()=>[i(I,{class:"user-avatar"},{default:l((()=>[i(w,{url:g.user.avatar_url,width:150,borderWidth:4,borderColor:"#fff"},null,8,["url"])])),_:1}),i(I,{class:"user-nickName f-32"},{default:l((()=>[d(o(g.user.nick_name),1)])),_:1}),i(I,{class:"user-referee f-24 col-9"},{default:l((()=>[d(o(g.setting.words.index.words.referee.value)+":"+o(g.refereeName),1)])),_:1})])),_:1}),i(I,{class:"base__capital dis-flex flex-dir-column"},{default:l((()=>[i(I,{class:"capital-card dis-flex"},{default:l((()=>[i(I,{class:"card-left"},{default:l((()=>[i(I,{class:"f-28 col-f"},{default:l((()=>[i(m,{space:"ensp"},{default:l((()=>[d(o(g.setting.words.index.words.money.value)+" "+o(g.dealer.money),1)])),_:1}),i(m,{class:"m-l-10"},{default:l((()=>[d("元")])),_:1})])),_:1}),i(I,{class:"f-28 col-f"},{default:l((()=>[i(m,{space:"ensp"},{default:l((()=>[d(o(g.setting.words.index.words.freeze_money.value)+" "+o(g.dealer.freeze_money),1)])),_:1}),i(m,{class:"m-l-10"},{default:l((()=>[d("元")])),_:1})])),_:1})])),_:1}),i(I,{class:"card-right flex-box dis-flex flex-x-end flex-y-center"},{default:l((()=>[i(I,{class:"withdraw-btn f-26",onClick:u[0]||(u[0]=e=>c.$navTo("pages/dealer/withdraw/apply"))},{default:l((()=>[d(o(g.setting.words.index.words.withdraw.value),1)])),_:1})])),_:1})])),_:1}),i(I,{class:"capital-already clear"},{default:l((()=>[i(I,{class:"already-left f-26 fl"},{default:l((()=>[d(o(g.setting.words.index.words.total_money.value),1)])),_:1}),i(I,{class:"already-right f-26 fr"},{default:l((()=>[d(o(g.dealer.total_money)+"元",1)])),_:1})])),_:1})])),_:1})])),_:1}),i(I,{class:"widget widget__operat clear b-f"},{default:l((()=>[i(I,{class:"operat__item",onClick:u[1]||(u[1]=e=>c.$navTo("pages/dealer/withdraw/list"))},{default:l((()=>[i(I,{class:"item__icon"},{default:l((()=>[i(m,{class:"iconfont icon-zhangben",style:{color:"#F9BA21"}})])),_:1}),i(I,{class:"item__text f-26"},{default:l((()=>[d(o(g.setting.words.withdraw_list.title.value),1)])),_:1})])),_:1}),i(I,{class:"operat__item",onClick:u[2]||(u[2]=e=>c.$navTo("pages/dealer/order"))},{default:l((()=>[i(I,{class:"item__icon"},{default:l((()=>[i(m,{class:"iconfont icon-dingdan",style:{color:"#FF7575"}})])),_:1}),i(I,{class:"item__text f-26"},{default:l((()=>[d(o(g.setting.words.order.title.value),1)])),_:1})])),_:1}),i(I,{class:"operat__item",onClick:u[3]||(u[3]=e=>c.$navTo("pages/dealer/team"))},{default:l((()=>[i(I,{class:"item__icon"},{default:l((()=>[i(m,{class:"iconfont icon-tuandui",style:{color:"#59C78E"}})])),_:1}),i(I,{class:"item__text f-26"},{default:l((()=>[d(o(g.setting.words.team.title.value),1)])),_:1})])),_:1}),i(I,{class:"operat__item",onClick:u[4]||(u[4]=e=>c.$navTo("pages/dealer/poster"))},{default:l((()=>[i(I,{class:"item__icon"},{default:l((()=>[i(m,{class:"iconfont icon-erweima",style:{color:"#5fa5ff"}})])),_:1}),i(I,{class:"item__text f-26"},{default:l((()=>[d(o(g.setting.words.poster.title.value),1)])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})):t("",!0),g.isDealer?t("",!0):(e(),a(I,{key:1,class:"container b-f"},{default:l((()=>[i(I,{class:"no-dealer"},{default:l((()=>[i(I,{class:"no-icon dis-flex flex-x-center"},{default:l((()=>[i(k,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaQAAADwCAMAAAB4+uBSAAAAqFBMVEUAAADIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj29vbIyMj09PTU1NTJycnz8/PQ0NDf39/s7Ozc3NzLy8vZ2dnr6+vj4+PW1tbNzc3u7u7n5+fl5eXS0tLw8PCiKWhBAAAAI3RSTlMAgHoEXRJGZHQKU35K8k8wJD/NWJnXAfdsHI+56w48xkKHoIN2hH0AAAunSURBVHja7NnRbtpAEIXhcdzFjkgQmCBik0aRvAQjrEiJxfu/WtkxgbRqbxCBPdPzvcKv3VmPhYiIiIiIiIj+P4kSihkjAWAkAIwEgJEAMBIARgLASBFL/sBYEWIkAIwEgJEAMBIARgLCOAAYCQAjAWAkAIwEgJEAMBKAC0Zyz1k+zLNn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aanX8e89PQ8GHZGqHa+u15sxrGQas163ygZ/XqzRlSjO1ZiRECtYkDfSkU5Tc2eAsM2mtXS/1Tz/4kE83r7/SVIxtZ0K6UwlfwXt1DKbdkHQIEjQI0yFdBqyD1KrXkMRa0aqbWOwUm1Ha8u9VDCGrNSfyGMlzpzplr2YNw+3vMHyZvHwMkfAvws+TwSteia8g7KZQvpfD3XlVxK5b/SjpxuMiEhcSpGJdI1ZR3eXoetLbQF5h4thdP9QRmOm/CKJSTXIPR9H61wwup/2CfqUW9IeaFIsLO9kHNe/A8VGVkePpSU8Wqekk85HGNLPkRFyq89emC6unbJ1WpKD/ReEYSjIq6kT1rD0HVx2701sez9NnRd3BDJMipcTGLU2zSWNo5oVLzs7kT3cUy5jJ8wJHVFfE46o2mOaAQjE9uvXpyKQ5hyZdChF3QGFSzpwkXt7qfytburPFSqJuvF6I06Q7NaQfreRLgKXlO0Ci43xThPkp0inMxKTwF6HFSgaZwpMvRehxHF++5UQeUOVo1Go9FoNBqNJgf+AYhBD9fD0Q/yAAAAAElFTkSuQmCC"})])),_:1}),i(I,{class:"no-msg dis-flex flex-x-center f-30"},{default:l((()=>[d(o(g.setting.words.index.words.not_dealer.value),1)])),_:1}),i(I,{class:"no-submit form-submit"},{default:l((()=>[i(I,{class:"button",onClick:u[5]||(u[5]=e=>c.$navTo("pages/dealer/apply"))},{default:l((()=>[d(o(g.setting.words.index.words.apply_now.value),1)])),_:1})])),_:1})])),_:1})])),_:1}))])),_:1}))}],["__scopeId","data-v-8590738e"]]);export{y as default};