(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/storeLis/index"],{"038e":function(t,e,i){"use strict";var n=i("491c"),a=i.n(n);a.a},"491c":function(t,e,i){},"67a1":function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("f8b7"),a=(i("328e"),i("26cb")),o={name:"storeList",props:{num:{type:Number,default:1},ids:{type:Number,default:0},type:{type:String,default:""},storeList:{typeof:Object,default:{}}},data:function(){return{page:1,limit:20,loaded:!1,loading:!1,system_store:{},user_latitude:0,user_longitude:0}},computed:(0,a.mapState)({nearbyStore:function(t){return t.app.nearbyStore}}),created:function(){},mounted:function(){},methods:{call:function(e){t.makePhoneCall({phoneNumber:e})},selfLocation:function(){var e=this,i=this;t.getLocation({type:"wgs84",success:function(n){try{e.user_latitude=n.latitude,e.user_longitude=n.longitude,t.setStorageSync("user_latitude",n.latitude),t.setStorageSync("user_longitude",n.longitude)}catch(a){}i.getList()},complete:function(){i.getList()}})},showMaoLocation:function(e){t.openLocation({latitude:Number(e.latitude),longitude:Number(e.longitude),name:e.name,address:"".concat(e.address,"-").concat(e.detailed_address),success:function(){}})},getList:function(){var t=this;if(!this.loading&&!this.loaded){this.loading=!0;var e={latitude:this.user_latitude||"",longitude:this.user_longitude||"",page:this.page,limit:this.limit,product_id:this.ids,type:"seckill"==this.type?1:0,store_id:this.storeId?this.storeId:this.nearbyStore};(0,n.storeListApi)(e).then((function(e){t.loading=!1,t.loaded=e.data.list.length