text: webpackJsonp([13],{424:function(e,t,n){function o(e){this.$style=n(811),n(778),n(779)}var r=n(56)(n(590),n(742),o,"data-v-bfdb8524",null);e.exports=r.exports},452:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{cname:{type:String,default:""},title:{type:String,default:""},fanhui:{type:String,default:""},shezhi:{type:String,default:""},txt:{type:String,default:""}},data:function(){return{panelClass:"panel",iconfont:"iconfont"}},methods:{txtClick:function(){this.$emit("tranfer","跳转")},sheClick:function(){this.$emit("tranferset","跳转")}}}},453:function(e,t,n){t=e.exports=n(30)(!1),t.push([e.i,"\n.panel[data-v-5e65eab6] {\n  background: #89e0be;\n  padding: 0;\n}\n.panel > div[data-v-5e65eab6]:first-child {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-orient: horizontal;\n  -webkit-box-direction: normal;\n      -ms-flex-direction: row;\n          flex-direction: row;\n  -ms-flex-wrap: wrap;\n      flex-wrap: wrap;\n  -ms-flex-wrap: nowrap;\n      flex-wrap: nowrap;\n  -webkit-box-pack: justify;\n      -ms-flex-pack: justify;\n          justify-content: space-between;\n  padding: 0.5rem 0.25rem;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  background: #89e0be;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n  line-height: 1rem;\n}\n.panel > div:first-child > h4[data-v-5e65eab6] {\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  overflow: hidden;\n  text-align: center;\n  color: #fff;\n  font-size: 0.8rem;\n}\n.iconfont[data-v-5e65eab6] {\n  font-size: 0.75rem;\n  color: #ffffff;\n}",""])},454:function(e,t,n){function o(e){n(456)}var r=n(56)(n(452),n(455),o,"data-v-5e65eab6",null);e.exports=r.exports},455:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{class:[e.panelClass,e.cname]},[n("div",[n("i",{class:[e.iconfont,e.fanhui],on:{click:function(t){return e.$router.back()}}}),e._v(" "),n("h4",[e._v(e._s(e.title))]),e._v(" "),e.shezhi?n("i",{class:[e.iconfont,e.shezhi],on:{click:e.sheClick}}):n("span",{on:{click:e.txtClick}},[e._v(e._s(e.txt))])]),e._v(" "),e._t("default")],2)},staticRenderFns:[]}},456:function(e,t,n){var o=n(453);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);n(31)("13e25ca1",o,!0,{})},590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(454),r=n.n(o),s=n(100);n.n(s);t.default={name:"customer",components:{Panel:r.a},data:function(){return{indexData:1,page:1,pageNum:"",lists:[],r_code:"",bottomStatus:"",wrapperHeight:0,allLoaded:!1}},created:function(){var e=this;this.$nextTick(function(){e._custimer(1,1),setTimeout(function(){e.wrapperHeight=document.documentElement.clientHeight-e.$refs.wrapper.getBoundingClientRect().top},100)})},methods:{tag:function(e){this.indexData=e,1==e?(this.lists=[],this._custimer(1,1),this.$refs.loadmore.onBottomLoaded()):2==e?(this.lists=[],this._custimer(1,2)):3==e&&(this.lists=[],this._custimer(1,3))},_custimer:function(e,t){var n=this;this.$axios({method:"post",url:this.$URL+"/app/index.php?i=143&c=entry&do=ws_orchard&m=sz_yi&p=ws_invitation",params:{page:e,status:t}}).then(function(e){console.log(e),1==e.data.status?(n.r_code=e.data.result.r_code,n.pageNum=e.data.result.page_num,n.lists=n.lists.concat(e.data.result.list)):alert(e.data.result.list)}).catch(function(e){console.log(e)})},onCopy:function(e){console.log(e.text),alert("复制成功")},onError:function(e){alert("失败")},qrcode:function(){this.$router.push({path:"/qrCode",query:{rCode:this.r_code}})},handleBottomChange:function(e){this.bottomStatus=e},loadBottom:function(){console.log(222),this.page<this.pageNum?(this.page++,this._custimer(this.page,this.indexData)):this.allLoaded=!0,this.$refs.loadmore.onBottomLoaded()}}}},656:function(e,t,n){t=e.exports=n(30)(!1),t.push([e.i,"\n.is-placebottom {\n  padding: 0.5rem !important;\n}\n.mint-toast-text {\n  font-size: 0.7rem;\n}",""])},657:function(e,t,n){t=e.exports=n(30)(!1),t.push([e.i,'\n.icon-jiludanzilishijilu[data-v-bfdb8524] {\n  font-size: 0.7rem !important;\n  color: #3ED39C;\n}\n.one[data-v-bfdb8524] {\n  position: relative;\n}\n.one[data-v-bfdb8524]::after {\n  content: "";\n  width: 2.5rem;\n  height: 0;\n  border: 0.025rem solid #37D59B;\n  position: absolute;\n  bottom: 0;\n  left: -0.625rem;\n}\n.two[data-v-bfdb8524] {\n  position: relative;\n}\n.two[data-v-bfdb8524]::after {\n  content: "";\n  width: 2.5rem;\n  height: 0;\n  border: 0.025rem solid #37D59B;\n  position: absolute;\n  bottom: 0;\n  left: 0;\n}',""])},689:function(e,t,n){t=e.exports=n(30)(!1),t.push([e.i,"\n.src-components-customer-customer---content---3yeY5_0 {\n  background: #F5F5F5;\n  padding-bottom: 2.5rem;\n  color: #000;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---customer---1hiOD_0 .src-components-customer-customer---invitatCode---32mh4_0 {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-orient: vertical;\n  -webkit-box-direction: normal;\n      -ms-flex-direction: column;\n          flex-direction: column;\n  -ms-flex-wrap: wrap;\n      flex-wrap: wrap;\n  -webkit-box-pack: center;\n      -ms-flex-pack: center;\n          justify-content: center;\n  background: #3ED39C;\n  height: 5.5rem;\n  text-align: center;\n  color: #ffffff;\n  margin: 0.5rem 0.5rem 0 0.5rem;\n  border-radius: 0.25rem;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---customer---1hiOD_0 .src-components-customer-customer---invitatCode---32mh4_0 h1 {\n  font-size: 1.5rem;\n  font-weight: 15rem;\n  line-height: 2rem;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---customer---1hiOD_0 .src-components-customer-customer---invitatCode---32mh4_0 > p {\n  font-size: 0.7rem;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---customer---1hiOD_0 .src-components-customer-customer---poster---3f8f8_0 {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-orient: vertical;\n  -webkit-box-direction: normal;\n      -ms-flex-direction: column;\n          flex-direction: column;\n  -ms-flex-wrap: wrap;\n      flex-wrap: wrap;\n  -webkit-box-pack: center;\n      -ms-flex-pack: center;\n          justify-content: center;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n  background: #ffffff;\n  height: 6rem;\n  text-align: center;\n  color: #000;\n  margin: 0 0.5rem 0.5rem 0.5rem;\n  border-radius: 0.25rem;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---customer---1hiOD_0 .src-components-customer-customer---poster---3f8f8_0 > p {\n  font-size: 0.7rem;\n  background: #3ED39C;\n  border-radius: 0.25rem;\n  text-align: center;\n  height: 2rem;\n  line-height: 2rem;\n  color: #ffffff;\n  width: 13.5rem;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---customer---1hiOD_0 .src-components-customer-customer---poster---3f8f8_0 > p:nth-child(2) {\n  margin-top: 0.5rem;\n  background: #FDBA29;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---invitedRecord---3vISz_0 {\n  background: #ffffff;\n  color: #000;\n  margin: 0.5rem 0.5rem 0.5rem 0.5rem;\n  border-radius: 0.25rem;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---invitedRecord---3vISz_0 .src-components-customer-customer---record---2UNBd_0 {\n  font-size: 0.7rem;\n  padding: 0.5rem 0.5rem;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---invitedRecord---3vISz_0 .src-components-customer-customer---navigation---38wPa_0 {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-orient: horizontal;\n  -webkit-box-direction: normal;\n      -ms-flex-direction: row;\n          flex-direction: row;\n  -ms-flex-wrap: wrap;\n      flex-wrap: wrap;\n  -webkit-box-pack: justify;\n      -ms-flex-pack: justify;\n          justify-content: space-between;\n  font-size: 0.65rem;\n  height: 2rem;\n  line-height: 2rem;\n  border-bottom: 0.025rem solid #999;\n  padding: 0 1.25rem;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---invitedRecord---3vISz_0 .src-components-customer-customer---recodeAll---1rQh4_0 {\n  overflow-y: scroll;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---invitedRecord---3vISz_0 .src-components-customer-customer---recodeAll---1rQh4_0 .src-components-customer-customer---recodeNnm---1ozRl_0 {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-orient: horizontal;\n  -webkit-box-direction: normal;\n      -ms-flex-direction: row;\n          flex-direction: row;\n  -ms-flex-wrap: wrap;\n      flex-wrap: wrap;\n  -webkit-box-pack: justify;\n      -ms-flex-pack: justify;\n          justify-content: space-between;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n  padding: 1rem 0.5rem;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  border-bottom: 0.025rem solid #cac3c3;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---invitedRecord---3vISz_0 .src-components-customer-customer---recodeAll---1rQh4_0 .src-components-customer-customer---recodeNnm---1ozRl_0 > p:nth-child(1) {\n  color: #000;\n  font-size: 0.7rem;\n}\n.src-components-customer-customer---content---3yeY5_0 .src-components-customer-customer---invitedRecord---3vISz_0 .src-components-customer-customer---recodeAll---1rQh4_0 .src-components-customer-customer---recodeNnm---1ozRl_0 > p:nth-child(2) {\n  color: #999;\n  font-size: 0.65rem;\n}",""]),t.locals={content:"src-components-customer-customer---content---3yeY5_0",customer:"src-components-customer-customer---customer---1hiOD_0",invitatCode:"src-components-customer-customer---invitatCode---32mh4_0",poster:"src-components-customer-customer---poster---3f8f8_0",invitedRecord:"src-components-customer-customer---invitedRecord---3vISz_0",record:"src-components-customer-customer---record---2UNBd_0",navigation:"src-components-customer-customer---navigation---38wPa_0",recodeAll:"src-components-customer-customer---recodeAll---1rQh4_0",recodeNnm:"src-components-customer-customer---recodeNnm---1ozRl_0"}},742:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"customer",class:e.$style.content},[n("Panel",{attrs:{fanhui:"icon-huise",title:"邀请好友"}}),e._v(" "),n("div",{class:e.$style.customer},[n("div",{class:e.$style.invitatCode},[n("h1",[e._v(e._s(e.r_code))]),e._v(" "),n("p",[e._v("我的邀请码")])]),e._v(" "),n("div",{class:e.$style.poster},[n("p",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.r_code,expression:"r_code",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.onCopy,expression:"onCopy",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:e.onError,expression:"onError",arg:"error"}]},[e._v("复制邀请码")]),e._v(" "),n("p",{on:{click:e.qrcode}},[e._v("生成二维码海报")])])]),e._v(" "),n("div",{class:e.$style.invitedRecord},[n("div",{class:e.$style.record},[n("i",{staticClass:"iconfont icon-jiludanzilishijilu"}),e._v("  邀请记录")]),e._v(" "),n("div",{class:e.$style.navigation},[n("div",{class:{one:1==e.indexData},on:{click:function(t){return e.tag(1)}}},[e._v("全部")]),e._v(" "),n("div",{class:{two:2==e.indexData},on:{click:function(t){return e.tag(2)}}},[e._v("激活用户")]),e._v(" "),n("div",{class:{two:3==e.indexData},on:{click:function(t){return e.tag(3)}}},[e._v("未激活用户")])]),e._v(" "),n("div",{ref:"wrapper",class:e.$style.recodeAll,style:{height:e.wrapperHeight+"px"}},[n("mt-loadmore",{ref:"loadmore",attrs:{"bottom-method":e.loadBottom,"bottom-all-loaded":e.allLoaded},on:{"bottom-status-change":e.handleBottomChange}},[e._l(e.lists,function(t,o){return n("div",{key:o,class:e.$style.recodeNnm},[n("p",[e._v(e._s(t.username))]),n("p",[e._v(e._s(t.createtime))])])}),e._v(" "),n("div",{staticClass:"mint-loadmore-bottom",attrs:{slot:"bottom"},slot:"bottom"},[n("span",{directives:[{name:"show",rawName:"v-show",value:"loading"!==e.bottomStatus,expression:"bottomStatus !== 'loading'"}],class:{"is-rotate":"drop"===e.bottomStatus}},[e._v("↑")]),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:"loading"===e.bottomStatus,expression:"bottomStatus === 'loading'"}]},[n("mt-spinner",{attrs:{type:"snake"}})],1)])],2)],1)])],1)},staticRenderFns:[]}},778:function(e,t,n){var o=n(656);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);n(31)("7dbead24",o,!0,{})},779:function(e,t,n){var o=n(657);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);n(31)("ce0d4268",o,!0,{})},811:function(e,t,n){var o=n(689);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);n(31)("5afeec2e",o,!0,{})}});