shop-php/public/static/js/pages-nongKe-supply_chain-maps.4532da98.js

1 line
7.7 KiB
JavaScript
Raw Normal View History

2023-09-25 11:25:54 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-nongKe-supply_chain-maps"],{"202b":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{},[e("v-uni-map",{staticStyle:{width:"100vw",height:"100vh"},attrs:{id:"map","enable-zoom":!0,markers:this.markers,scale:19,latitude:28.908447,"enable-scroll":!0,longitude:105.439304}})],1)},u=[]},"7d36":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("d3b7"),n("159b"),n("14d9");var r=n("b149"),u={data:function(){return{markers:[{id:1,latitude:28.908447,longitude:105.439304,title:"测试商家名称",iconPath:"/static/images/GXSC/SJicon.png"},{id:2,latitude:28.909447,longitude:105.439304,title:"测试商家名称",iconPath:"/static/images/GXSC/SJicon.png"},{id:3,latitude:28.908447,longitude:105.459304,title:"测试商家名称",iconPath:"/static/images/GXSC/SJicon.png"}]}},onLoad:function(t){var e=this,n=this;(0,r.vicinityStoreApi)(t.street_id).then((function(t){t.data.list.forEach((function(t){t.lat&&(e.markers=[],n.markers.push({id:t.mer_id,latitude:t.lat,longitude:t.long,title:t.mer_name,iconPath:"/static/images/GXSC/SJicon.png"}))}))}))}};e.default=u},b149:function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addCartApi=function(t){return o.default.post("v2/micropay/addCart",t)},e.agreeiness=function(){return o.default.get("business/agree?type=sys_intention_agree",{},{noAuth:!0})},e.arrivalNoticeApi=function(t){return o.default.post("store/product/increase_take",t)},e.bagExplain=function(){return o.default.get("store/product/bag/explain")},e.bagRecommend=function(){return o.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return o.default.post("user/relation/create",t)},e.collectAll=function(t){return o.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return o.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return o.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return o.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return o.default.post("intention/create",t)},e.createtApi=function(t){return o.default.post("v2/micropay/create",t)},e.discountsCartAdd=function(t){return o.default.post("user/cart/batchCreate",t)},e.express=function(t){return o.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return o.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return o.default.get("intention/lst",t)},e.getBrandlist=function(t){return o.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return o.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return o.default.get("captcha")},e.getCategoryList=function(){return o.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return o.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,u.default)({},t),t.brand_id=t.brand_id.toString());return o.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return o.default.get("discounts/lst",t,{noAuth:!0})},e.getGeocoder=function(t){return o.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getGoodsDetails=function(t){return o.default.get("intention/detail/"+t,{})},e.getGroomList=function(t,e){return o.default.get("product/spu/hot/"+t,e,{noAuth:!0})},e.getHotBanner=function(t){return o.default.get("common/hot_banner/"+t,{},{noAuth:!0})},e.getLiveList=function(t){return o.default.get("broadcast/hot",t,{noAuth:!0})},e.getMerProductHot=function(t,e){return o.default.get("product/spu/recommend",{page:void 0===e.page?1:e.page,limit:void 0===e.limit?10:e.limit,mer_id:t||""},{noAuth:!0})},e.getMerchantLst=function(t){retur