(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/member/industry"],{"322b":function(t,e,n){"use strict";var i=n("d583"),o=n.n(i);o.a},5323:function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("af34")),a={components:{memberItem:function(){Promise.all([n.e("common/vendor"),n.e("pages/component/member/index")]).then(function(){return resolve(n("624e"))}.bind(null,n)).catch(n.oe)}},data:function(){return{loadEnd:!1,industryId:"",industryName:"",page:1,limit:20,hasMore:!1,memberList:[],isLocation:!1}},onLoad:function(e){var n=this;this.industryId=e.id,this.industryName=decodeURIComponent(e.name),t.showLoading({title:"加载中"}),this.getAuthSetting((function(){t.hideLoading(),n.loadEnd=!0}))},onReachBottom:function(){this.hasMore&&(this.page++,this.getMemberList())},methods:{getAuthSetting:function(e){var n=this;t.getSetting({success:function(t){t.authSetting&&t.authSetting.hasOwnProperty("scope.userLocation")&&t.authSetting["scope.userLocation"]?(n.isLocation=!0,n.getMemberList(e)):(n.isLocation=!1,n.getMemberList(e))},fail:function(){n.isLocation=!1,n.getMemberList(e)}})},getMemberList:function(e){var n=this;this.getLocation((function(i){var a={page:n.page,limit:n.limit,industry_category_id:n.industryId};i&&i.latitude&&i.longitude&&(a.latitude=i.latitude,a.longitude=i.longitude),n.$util.request("member.list",a).then((function(i){if(e&&e(),1==i.code){var a=i.data.data;n.hasMore=n.page