(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/storage-point-detail/storage-point-detail"],{214:function(e,t,n){"use strict";(function(e,t){var o=n(4);n(30);o(n(25));var r=o(n(215));e.__webpack_require_UNI_MP_PLUGIN__=n,t(r.default)}).call(this,n(1)["default"],n(2)["createPage"])},215:function(e,t,n){"use strict";n.r(t);var o=n(216),r=n(218);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n(220);var a,c=n(41),u=Object(c["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"f870f9f4",null,!1,o["components"],a);u.options.__file="pages/storage-point-detail/storage-point-detail.vue",t["default"]=u.exports},216:function(e,t,n){"use strict";n.r(t);var o=n(217);n.d(t,"render",(function(){return o["render"]})),n.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),n.d(t,"components",(function(){return o["components"]}))},217:function(e,t,n){"use strict";var o;n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return a})),n.d(t,"recyclableRender",(function(){return i})),n.d(t,"components",(function(){return o}));try{o={authLogin:function(){return Promise.all([n.e("common/vendor"),n.e("components/auth-login/auth-login")]).then(n.bind(null,506))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.showLogin=!1})},i=!1,a=[];r._withStripped=!0},218:function(e,t,n){"use strict";n.r(t);var o=n(219),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=r.a},219:function(e,t,n){"use strict";(function(e){var o=n(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(34)),i=o(n(36)),a=o(n(11)),c=n(37);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={data:function(){return{id:null,activeStore:{},showLogin:!1}},computed:s({},(0,c.mapState)(["latitude","longitude","token"])),onLoad:function(e){var t=this;return(0,i.default)(r.default.mark((function n(){return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:console.log(e),t.id=e.id,t.getShopInfo();case 3:case"end":return n.stop()}}),n)})))()},methods:{openNavigation:function(){this.activeStore&&this.activeStore.id&&e.openLocation({latitude:this.activeStore.latitude,longitude:this.activeStore.longitude,name:this.activeStore.name,address:this.activeStore.address,scale:18,infoUrl:""})},positioning:function(){var t=this;e.getLocation({type:"gcj02",highAccuracyExpireTime:3e3,isHighAccuracy:!0,success:function(e){e&&(t.latitude=e.latitude,t.longitude=e.longitude)}})},getShopInfo:function(){var e=this;return(0,i.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$u.api.getShopDetail({id:e.id,latitude:e.latitude,longitude:e.longitude}).then((function(t){200===t.code&&(e.activeStore=t.data)}));case 1:case"end":return t.stop()}}),t)})))()},contactStore:function(){e.makePhoneCall({phoneNumber:this.activeStore.linkPhone})},storeLuggage:function(){this.token?(e.setStorageSync("selectedStore",this.activeStore),e.navigateTo({url:"/pages/luggage-storage/luggage-storage"})):this.showLogin=!0}}};t.default=d}).call(this,n(2)["default"])},220:function(e,t,n){"use strict";n.r(t);var o=n(221),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=r.a},221:function(e,t,n){}},[[214,"common/runtime","common/vendor"]]]);
|