(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/store-lists"],{2446:function(t,e,a){"use strict";(function(t){var o=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=o(a("7ca3")),i=a("8f59");function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,o)}return a}function r(t){for(var e=1;e=t.total?e.setData({flag:!1,ispage:!1,Info:e.Info.concat(t.items)}):e.setData({flag:!0,ispage:!0,Info:e.Info.concat(t.items)})}else e.setData({flag:!1,ispage:!1,loadComplete:!0})},fail:function(t){e.setData({loadComplete:!0}),e.$.alert("网络异常请重试!")}})},setTab:function(t){this.setData({tapindex:t.target.dataset.index});var e=this.post;e.store_category_id=t.target.dataset.id,this.setData({Info:[],page:1,ispage:!0,post:e}),this.getNearbylist()},gotomap:function(t){this.options.issub?this.backCheckout(t.currentTarget.dataset):this.$.openLocation({latitude:parseFloat(t.currentTarget.dataset.lat),longitude:parseFloat(t.currentTarget.dataset.lng),name:t.currentTarget.dataset.name,address:t.currentTarget.dataset.address,scale:28})},backCheckout:function(e){var a=this,o=this.options;t.setStorageSync("distributor_id",e.id),t.setStorageSync("distributor_name",e.name);for(var s={},i=this.Info,n=0;n0,l=r?t.__map(e.products,(function(e,a){var o=t.__get_orig(e),s=t.__("¥");return{$orig:o,m4:s}})):null;return{$orig:o,m1:s,m2:i,m3:n,g0:r,l0:l}})):null,s=t.loadComplete&&t.isdata&&!t.issshow&&t.isShowLoading&&t.ispage?t.__("正在加载"):null,i=t.loadComplete&&t.isdata&&!t.issshow&&t.isShowLoading&&!t.ispage?t.__("没有更多数据啦!"):null,n=(t.loadComplete,null),r=(t.loadComplete,null),l=(t.loadComplete,null),c=t.loadComplete&&!t.isdata?t.__("亲~什么都没有"):null,u=t.loadComplete&&!t.isdata?t.__("附近没什么商家店铺!"):null,d=t.isdata&&t.issshow?t.__("无法获取到您的定位,请开启地理位置权限,将根据你的位置展示附近商家店铺。"):null,f=t.isdata&&t.issshow?t.__("去开启"):null;t.$mp.data=Object.assign({},{$root:{m0:a,l1:o,m5:s,m6:i,l2:n,m10:r,m11:l,m12:c,m13:u,m14:d,m15:f}})},s=[]}}]); ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'components/store-lists-create-component', { 'components/store-lists-create-component':(function(module, exports, __webpack_require__){ __webpack_require__('df3c')['createComponent'](__webpack_require__("b8b7")) }) }, [['components/store-lists-create-component']] ]);