(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d283004"],{"0790":function(a,t,i){"use strict";var e=function(){var a=this,t=a.$createElement,i=a._self._c||t;return i("van-nav-bar",{attrs:{title:a.title,"left-text":"","left-arrow":""},on:{"click-left":a.back}},[i("van-icon",{attrs:{slot:"left",name:a.backHome?"wap-home":"arrow-left"},slot:"left"})],1)},s=[],n={name:"NavBar",data:function(){return{backHome:!1}},props:{title:{type:String,required:!0,default:""}},created:function(){this.$util.sessionStorage.fetch("backHome")&&(this.backHome=!0)},mounted:function(){},methods:{back:function(){this.backHome?(this.$util.sessionStorage.remove("backHome"),this.$router.push("/")):window.history.length>1?window.history.go(-1):this.$router.push("/")}}},o=n,r=(i("ba46"),i("2877")),c=Object(r["a"])(o,e,s,!1,null,"530892b0",null);c.options.__file="NavBar.vue";t["a"]=c.exports},"0da6":function(a,t,i){},6837:function(a,t,i){a.exports=i.p+"img/avatar.12882358.png"},7430:function(a,t,i){"use strict";var e=i("0da6"),s=i.n(e);s.a},"8d1f":function(a,t,i){},ba46:function(a,t,i){"use strict";var e=i("8d1f"),s=i.n(e);s.a},fc2f:function(a,t,i){"use strict";i.r(t);var e=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"agent-wrap"},[a.flag?a._e():e("nav-bar",{attrs:{title:"我的经纪人"}}),e("div",{staticClass:"wrap"},[e("div",{staticClass:"info"},[a.data.avatar?e("img",{attrs:{src:a.data.avatar,alt:""}}):e("img",{attrs:{src:i("6837"),alt:""}}),e("h4",[a._v(a._s(a.data.userName))]),e("p",[a._v(a._s(a.data.introduction))])]),a.data.email?e("div",{staticClass:"line flex_sb align-c"},[e("div",{staticClass:"flex align-c"},[e("i",{staticClass:"icon icon-jingjirenyouxiang"}),e("span",{staticClass:"lineHidden"},[a._v(a._s(a.data.email||"无"))])]),e("p",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:a.data.email,expression:"data.email",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:a.onCopy,expression:"onCopy",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:a.onError,expression:"onError",arg:"error"}]},[a._v("复制")])]):a._e(),a.data.mobile?e("div",{staticClass:"line flex_sb align-c"},[e("div",{staticClass:"flex align-c"},[e("i",{staticClass:"icon icon-jingjirenshouji"}),e("span",{staticClass:"lineHidden"},[a._v(a._s(a.data.mobile))])]),e("p",[e("a",{attrs:{href:"tel:"+a.data.mobile}},[a._v("拨打")])])]):a._e(),a.data.wechat?e("div",{staticClass:"line flex_sb align-c"},[e("div",{staticClass:"flex align-c"},[e("i",{staticClass:"icon icon-jingjirenweixin"}),e("span",{staticClass:"lineHidden"},[a._v(a._s(a.data.wechat))])]),e("p",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:a.data.wechat,expression:"data.wechat",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:a.onCopy,expression:"onCopy",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:a.onError,expression:"onError",arg:"error"}]},[a._v("复制")])]):a._e()])],1)},s=[],n=i("0790"),o={name:"Agent",components:{NavBar:n["a"]},data:function(){return{flag:!1,data:{}}},created:function(){(this.$util.checkIsHooliAndroid()||this.$util.checkIsHooliIos())&&(this.flag=!0),this.getData()},methods:{getData:function(){var a=this,t={};t.url=this.$apis.api_agent_info,t.data={agentId:this.$route.params.id},this.$net.req(t,this).then(function(t){a.data=t.data},function(t){a.$Toast(t.msg)})},onCopy:function(){this.$Toast("复制成功")},onError:function(){this.$Toast("复制失败，请手动选择复制。")}}},r=o,c=(i("7430"),i("2877")),l=Object(c["a"])(r,e,s,!1,null,"a7189788",null);l.options.__file="agent.vue";t["default"]=l.exports}}]);
//# sourceMappingURL=chunk-1d283004.5cdda7ac.js.map