zx/public/static/js/pages-activity-lifeService-...

1 line
25 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-lifeService-index"],{"3c98":function(t,e,n){var a=n("64e9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("967d").default;o("882a94ae",a,!0,{sourceMap:!1,shadowMode:!1})},"4a82":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.goShopDetail=function(t,e){return new Promise((function(e){1===t.product_type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.product_id,"&time=").concat(t.stop_time)}):2===t.product_type?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(t.activity_id)}):0===t.product_type||10===t.product_type?uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id)}):4===t.product_type?uni.navigateTo({url:"/pages/activity/combination_details/index?id=".concat(t.activity_id)}):40===t.product_type?uni.navigateTo({url:"/pages/activity/combination_status/index?id=".concat(t.activity_id)}):e(t)}))},n("bf0f"),n("c223")},"64e9":function(t,e,n){var a=n("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.productList .search[data-v-601ad60a]{width:100%;height:%?86?%;padding:0 %?20?%;box-sizing:border-box;position:fixed;left:0;top:0;z-index:9;display:flex;flex-wrap:nowrap;background:var(--view-theme)}.productList .search .search-right[data-v-601ad60a]{display:flex;align-items:center;justify-content:space-between;max-width:-webkit-max-content;max-width:max-content;flex:1;padding-left:%?20?%}.productList .search .right-text[data-v-601ad60a]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:%?28?%;width:-webkit-max-content;width:max-content;color:#fff;padding:0 %?10?%}.productList .search .icon-xiangyou[data-v-601ad60a],\n.productList .search .icon-dingwei[data-v-601ad60a]{font-size:%?30?%;color:#fff}.productList .search .back[data-v-601ad60a]{display:flex;align-items:center;width:%?40?%;height:%?60?%}.productList .search .back .iconfont[data-v-601ad60a]{color:#fff;font-size:%?36?%}.productList .search .input[data-v-601ad60a]{flex:1;height:%?60?%;background-color:#fff;border-radius:%?50?%;padding:0 %?20?%;box-sizing:border-box}.productList .search .input uni-input[data-v-601ad60a]{flex:1;height:100%;font-size:%?26?%;margin-left:%?10?%}.productList .search .input .placeholder[data-v-601ad60a]{color:#999}.productList .search .input .iconfont[data-v-601ad60a]{font-size:%?35?%;color:#555}.productList .search .icon-pailie[data-v-601ad60a],\n.productList .search .icon-tupianpailie[data-v-601ad60a]{color:#fff;width:%?62?%;font-size:%?40?%;height:%?86?%;line-height:%?86?%}.productList .nav-wrapper[data-v-601ad60a]{z-index:9;position:fixed;left:0;top:0;width:100%;margin-top:%?86?%;background-color:#e93323}.productList .nav-wrapper .tab-bar[data-v-601ad60a]{display:flex;align-items:center}.productList .nav-wrapper .tab-bar .tab-item[data-v-601ad60a]{position:relative;flex:1;display:flex;justify-content:center;align-items:center;padding:%?8?% 0 %?20?%;color:#fff;font-size:%?28?%;font-weight:700}.productList .nav-wrapper .tab-bar .tab-item[data-v-601ad60a]::after{content:" ";position:absolute;left:50%;bottom:%?18?%;width:%?30?%;height:%?3?%;background:transparent;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.productList .nav-wrapper .tab-bar .tab-item.on[data-v-601ad60a]::after{background:#fff}.productList .nav[data-v-601ad60a]{height:%?86?%;color:#454545;font-size:%?28?%;background-color:var(--view-theme);display:flex;justify-content:space-between;padding:0 %?28?%}.productList .nav .item[data-v-601ad60a]{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff;flex:1}.productList .nav .item.font-colors[data-v-601ad60a]{font-weight:500;color:#fff}.productList .nav .item .font-line[data-v-601ad60a]{height:%?4?%;background-color:#fff;margin-top:%?3?%;width:%?28?%;animation:line-data-v-601ad60a .3s;-moz-animation:line-data-v-601ad60a .3s;\n /* Firefox */-webkit-animation:line-data-v-601ad60a .3s;\n /* Safari 和 Chrome */-o-animation:line-data-v-601ad60a .3s\n /* Opera */}@-webkit-keyframes line-data-v-601ad60a{from{width:%?0?%}to{width:%?28?%}}@keyframes line-data-v-601ad60a{from{width:%?0?%}to{width:%?28?%}}.productList .nav .item uni-image[data-v-601ad60a]{width:%?15?%;height:%?19?%;margin-left:%?10?%}.mer-box[data-v-601ad60a]{padding:%?20?% %?20?%;margin-top:%?168?%}.mer-box .mer-item[data-v-601ad60a]{margin-bottom:%?20?%;background-color:#fff;border-radius:%?16?%}.mer-box .mer-item .mer-hd[data-v-601ad60a]{position:relative;width:100%;height:%?134?%;border-radius:%?16?% %?16?% 0 0;overflow:hidden;display:flex}.mer-box .mer-item .mer-hd uni-image[data-v-601ad60a]{width:100%;height:100%}.mer-box .mer-item .mer-hd .mer-name[data-v-601ad60a]{position:absolute;left:%?20?%;top:%?30?%;display:flex;align-items:center;padding:0 %?10?%}.mer-box .mer-item .mer-hd .mer-name uni-image[data-v-601ad60a]{width:%?79?%;height:%?79?%;border:1px solid #fff;border-radius:50%;margin-right:%?10?%}.mer-box .mer-item .mer-hd .mer-name .mer-top[data-v-601ad60a]{display:flex;align-items:center;color:#fff;font-size:%?28?%;font-weight:700;margin-bottom:%?6?%}.mer-box .mer-item .mer-hd .mer-name .mer-top .font-bg-red[data-v-601ad60a]{margin-left:%?20?%;font-size:%?18?%;padding:%?2?% %?10?%;border-color:var(--view-theme);background:var(--view-theme);border-radius:%?30?%;width:auto}.mer-box .mer-item .mer-hd .mer-name .mer-btn[data-v-601ad60a]{color:hsla(0,0%,100%,.7);font-size:%?24?%;display:flex;align-items:center}.mer-box .mer-item .mer-hd .mer-name .mer-btn .line[data-v-601ad60a]{width:%?2?%;height:%?18?%;color:hsla(0,0%,100%,.7);margin:0 %?12?%}.mer-box .mer-item .mer-hd .mer-name .mer-btn .distance[data-v-601ad60a]{display:flex;align-items:center;font-size:%?24?%;color:hsla(0,0%,100%,.7)}.mer-box .mer-item .mer-hd .mer-name .mer-btn .distance .iconfont[data-v-601ad60a]{font-size:%?24?%;line-height:%?24?%}.mer-box .mer-item .mer-hd .mer-name .txt[data-v-601ad60a]{flex:1}.mer-box .mer-item .pro-box[data-v-601ad60a]{display:flex;align-items:center;padding:%?20?% %?20?% %?30?%}.mer-box .mer-item .pro-box .pro-item[data-v-601ad60a]{width:%?218?%;margin-right:%?14?%}.mer-box .mer-item .pro-box .pro-item uni-image[data-v-601ad60a]{width:100%;height:%?214?%;border-radius:%?8?%}.mer-box .mer-item .pro-box .pro-item .price[data-v-601ad60a]{margin-top:%?5?%;font-size:%?28?%;color:var(--view-priceColor);font-weight:700}.mer-box .mer-item .pro-box .pro-item .price uni-text[data-v-601ad60a]{font-size:%?28?%}.mer-box .mer-item .pro-box .pro-item[data-v-601ad60a]:last-child{margin-right:0}.mer-box .more-shop[data-v-601ad60a]{display:flex;align-items:center;justify-content:center;background-color:#fff;padding:%?27?% 0;color:#999;font-size:%?26?%}.mer-box .more-shop .icon-xiangyou[data-v-601ad60a]{font-size:%?22?%}.no-shop[data-v-601ad60a]{background-color:#fff;padding-bottom:calc(100% - %?40?%);padding-top:%?200?%}.no-shop .pictrue[data-v-601ad60a]{display:flex;flex-direction:column;align-items:center;color:#999}.no-shop .pictrue uni-image[data-v-601ad60a]{width:%?414?%;height:%?380?%}',""]),t.exports=e},"6f16":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{style:t.viewColor},[n("v-uni-view",{staticClass:"productList"},[n("v-uni-view",{staticClass:"search acea-row row-between-wrapper"},[t.$wechat.isWeixin()?t._e():n("v-uni-view",{staticClass:"back",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.backjJump()}}},[n("v-uni-view",{staticClass:"iconfont icon-xiangzuo"})],1),n("v-uni-view",{staticClass:"input acea-row row-between-wrapper"},[n("v-uni-text",{staticClass:"iconfont icon-sousuo"}),n("v-uni-input",{attrs:{placeholder:"搜索店铺名称","placeholder-class":"placeholder","confirm-type":"search",name:"search",value:t.sotreParam.keyword},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.searchSubmit.apply(void 0,arguments)}}})],1),1==t.mer_location?n("v-uni-view",{staticClass:"iconfont search-right",staticStyle:{"text-align":"right"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showMaoLocation(t.latitude,t.longitude)}}},[n("v-uni-view",{staticClass:"iconfont icon-dingwei"}),t.recommend_address?n("v-uni-view",{staticClass:"right-text"},[t._v(t._s(t.recommend_address))]):t._e(),t.recommend_address?n("v-uni-view",{staticClass:"iconfont icon-xiangyou"}):t._e()],1):t._e()],1),n("v-uni-view",{staticClass:"nav-wrapper"},[n("v-uni-view",{staticClass:"nav acea-row row-middle"},t._l(t.downMenus,(function(e){return n("v-uni-view",{key:e.key,staticClass:"item",class:{"font-colors":t.firstKey==e.key},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.set_where(e.key)}}},[n("v-uni-view",[t._v(t._s(e.title))]),n("v-uni-view",{staticClass:"line",class:{"font-line":t.firstKey==e.key}})],1)})),1)],1),[t.storeList.length>0?n("v-uni-view",{staticClass:"mer-box"},[t._l(t.storeList,(function(e,a){return n("v-uni-view",{key:a,staticClass:"mer-item"},[n("v-uni-view",{staticClass:"mer-hd",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goStore(e.mer_id)}}},[n("v-uni-image",{attrs:{src:e.mini_banner?e.mini_banner:e.mer_banner}}),n("v-uni-view",{staticClass:"mer-name"},[n("v-uni-image",{attrs:{src:e.mer_avatar}}),n("v-uni-view",{},[n("v-uni-view",{staticClass:"mer-top"},[n("v-uni-view",{staticClass:"txt line1"},[t._v(t._s(e.mer_name))]),e.type_name?n("v-uni-text",{staticClass:"font-bg-red ml8"},[t._v(t._s(e.type_name))]):e.is_trader?n("v-uni-text",{staticClass:"font-bg-red ml8"},[t._v("自营")]):t._e()],1),n("v-uni-view",{staticClass:"mer-btn"},[n("v-uni-view",{},[t._v(t._s(e.care_count<1e4?e.care_count:(e.care_count/1e4).toFixed(2)+"万")+"人关注")]),e.distance?n("v-uni-view",{staticClass:"line"}):t._e(),e.distance?n("v-uni-view",{staticClass:"distance",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.showStoreLocation(e)}}},[n("v-uni-view",{},[t._v(t._s(e.distance))]),n("v-uni-view",{staticClass:"iconfont icon-xiangyou"})],1):t._e()],1)],1)],1)],1),n("v-uni-view",{staticClass:"pro-box"},t._l(e.recommend,(function(a,o){return e.recommend.length<=3?n("v-uni-navigator",{key:o,staticClass:"pro-item",attrs:{url:"/pages/goods_details/index?id="+a.product_id,"hover-class":"none"}},[n("v-uni-image",{attrs:{src:a.image,mode:""}}),n("v-uni-view",{staticClass:"price"},[n("v-uni-text",[t._v("¥")]),t._v(t._s(a.price))],1)],1):t._e()})),1)],1)})),t.loading?n("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[n("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e()],2):t._e(),t.storeList.length||t.loading||t.loadingIcon?t._e():n("v-uni-view",{staticClass:"no-shop"},[n("v-uni-view",{staticClass:"pictrue",staticStyle:{margin:"0 auto"}},[n("v-uni-image",{attrs:{src:t.domain+"/static/images/noCart.png"}}),n("v-uni-text",[t._v("暂无店铺,快去搜索其他店铺吧")])],1)],1)]],2)],1)},o=[]},"7e00":function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.arrivalNoticeApi=function(t){return i.default.post("store/product/increase_take",t)},e.bagExplain=function(){return i.default.get("store/product/bag/explain")},e.bagRecommend=function(){return i.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return i.default.post("user/relation/create",t)},e.collectAll=function(t){return i.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return i.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return i.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return i.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return i.default.post("intention/create",t)},e.discountsCartAdd=function(t){return i.default.post("user/cart/batchCreate",t)},e.express=function(t){return i.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return i.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return i.default.get("intention/lst",t)},e.getBrandlist=function(t){return i.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return i.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return i.default.get("captcha")},e.getCategoryList=function(){return i.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return i.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,o.default)({},t),t.brand_id=t.brand_id.toString());return i.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return i.default.get("discounts/lst",t,{noAuth:!0})},e.getGeocoder=function(t){return i.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getGoodsDetails=function(t){return i.default.get("intention/detail/"+t,{})},e.getGroomList=function(t,e){return i.default.get("product/spu/hot/"+t,e,{noAuth:!0})},e.getHotBanner=function(t){return i.default.get("common/hot_banner/"+t,{},{noAuth:!0})},e.getHotRanking=function(){return i.default.get("product/spu/hot_top",{},{noAuth:!0})},e.getLiveList=function(t){return i.default.get("broadcast/hot",t,{noAuth:!0})},e.getMerProductHot=function(t,e){return i.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){return i.default.get("user/relation/merchant/lst",t,{noAuth:!0})},e.getParmasList=function(t){return i.default.get("product/spu/params",t,{noAuth:!0})},e.getParmasValue=function(t){return i.default.get("product/spu/params_value/".concat(t),{},{noAuth:!0})},e.getPresellProductDetail=function(t){return i.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})},e.getPreviewProDetail=function(t){return i.default.get("store/product/preview",t,{noAuth:!0})},e.getProductCode=function(t,e){return i.default.get("store/product/qrcode/"+t,e,{noAuth:!0})},e.getProductDetail=function(t){return i.default.get("store/product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return i.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})},e.getProductParmas=function(t){return i.default.get("store/product/show/"+t,{},{noAuth:!0})},e.getProductslist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,o.default)({},t),t.brand_id=t.brand_id.toString());return i.default.get("product/spu/lst",t,{noAuth:!0})},e.getReplyConfig=function(t){return i.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return i.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})},e.getSearchKeyword=function(){return i.default.get("common/hot_keyword",{},{noAuth:!0})},e.getSeckillProductDetail=function(t,e){return i.default.get("store/product/seckill/detail/"+t,e,{noAuth:!0})},e.getStoreCategory=function(t,e){return i.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})},e.getStoreCoupon=function(t){return i.default.get("coupon/store/"+t,{noAuth:!0})},e.getStoreDetail=function(t,e){return i.default.get("store/merchant/detail/"+t,e,{noAuth:!0})},e.getStoreGoods=function(t,e){return i.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.getStoreRecommend=function(t){return i.default.get("store/product/good_list/"+t,{},{noAuth:!0})},e.getStoreTypeApi=function(t){return i.default.get("intention/type",t,{noAuth:!0})},e.getTodayHotSearch=function(){return i.default.get("product/spu/hot_lst",{},{noAuth:!0})},e.merClassifly=function(){return i.default.get("intention/cate",{},{noAuth:!0})},e.merchantProduct=function(t,e){e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,o.default)({},e),e.brand_id=e.brand_id.toString());return i.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.merchantQrcode=function(t,e){return i.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})},e.postCartAdd=function(t){return i.default.post("user/cart/create",t)},e.priceRuleApi=function(t){return i.default.get("store/product/price_rule/".concat(t),{},{noAuth:!0})},e.productBag=function(t){return i.default.get("product/spu/bag",t,{noAuth:!0})},e.storeCategory=function(t){return i.default.get("store/product/category",t,{noAuth:!0})},e.storeCertificate=function(t){return i.default.post("store/certificate/".concat(t.merId),t)},e.storeMerchantList=function(t){return i.default.get("store/merchant/lst",t,{noAuth:!0})},e.storeServiceList=function(t,e){return i.default.get("product/spu/local/".concat(t),e,{noAuth:!0})},e.unfollowStore=function(t){return i.default.post("user/relation/delete",{type:10,type_id:t})},e.updateGoodsRecord=function(t,e){return i.default.post("intention/update/"+t,e)},e.userCollectDel=function(t){return i.default.post("user/relation/batch/delete",t)},e.verify=function(t){return i.default.post("auth/verify",t)},n("c9b5"),n("bf0f"),n("ab80"),n("c223");var o=a(n("9b1b")),i=a(n("fea3"))},9809:function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("8f71"),n("bf0f"),n("64aa"),n("e838"),n("c9b5"),n("ab80"),n("f7a5"),n("c223");var o=a(n("9b1b")),i=n("7e00"),r=n("d727"),u=n("8f59"),s=(n("4a82"),n("aa10")),d=(getApp(),{data:function(){return{domain:s.HTTP_REQUEST_URL,price:0,stock:0,nows:!1,loading:!1,loadingIcon:!0,loadTitle:"加载更多",title:"",hotPage:1,hotLimit:10,hotScroll:!1,rightBox:!1,brandList:[],downKey:0,downStatus:!1,downMenu:[{title:"默认",key:0,order:""},{title:"销量",key:1,order:"sales"},{title:"好评",key:2,order:"rate"},{title:"距离",key:3,order:"location"}],firstKey:0,storeList:[],sotreParam:{keyword:"",page:1,limit:10,order:""},storeKey:0,storeScroll:!0,mer_id:"",sortId:"",hide_mer_status:"",price_on:"",price_off:"",detaile_address:"",recommend_address:"",latitude:"",longitude:"",count:0,mer_location:""}},created:function(){},computed:(0,o.default)({downMenus:function(){var t=this;return this.downMenu.filter((function(e){return t.mer_location?e:e.key<3}))}},(0,u.mapGetters)(["viewColor"])),onLoad:function(t){var e=this;this.mer_id=t.mer_id,uni.getStorage({key:"GLOBAL_DATA",success:function(t){e.hide_mer_status=t.data.hide_mer_status,e.storeList=[],1==t.data.mer_location?(e.mer_location=t.data.mer_location,e.selfLocation()):e.getServiceList()}})},methods:{showMaoLocation:function(t,e){if(!t||!e)return this.$util.Tips({title:"请设置允许商城访问您的位置!"});!0===this.$wechat.isWeixin()?this.$wechat.seeLocation({latitude:Number(t),longitude:Number(e),name:"当前位置",address:this.recommend_address}).then((function(t){})):uni.openLocation({latitude:parseFloat(t),longitude:parseFloat(e),scale:8,geocode:!0,name:"当前位置",address:this.recommend_address,success:function(t){}})},showStoreLocation:function(t){if(!t.lat||!t.long)return this.$util.Tips({title:"请设置允许商城访问您的位置!"});!0===this.$wechat.isWeixin()?this.$wechat.seeLocation({latitude:Number(t.lat),longitude:Number(t.long),name:t.mer_name,address:t.mer_address?t.mer_address:""}).then((function(t){})):uni.openLocation({latitude:parseFloat(t.lat),longitude:parseFloat(t.long),scale:8,name:t.mer_name,address:t.mer_address?t.mer_address:"",success:function(t){}})},selfLocation:function(){var t=this;uni.getLocation({type:"gcj02",success:function(e){var n,a;n=e.latitude.toString(),a=e.longitude.toString(),t.latitude=e.latitude,t.longitude=e.longitude,(0,i.getGeocoder)({lat:n,long:a}).then((function(e){t.detaile_address=e.data.address,t.recommend_address=e.data.address.length>4?e.data.address.slice(0,4)+"...":e.data.address}))},fail:function(t){uni.showToast({title:t,icon:"none",duration:1e3})},complete:function(e){t.getServiceList()}})},getServiceList:function(){var t=this;if(!this.loading){this.loading=!0;var e={keyword:this.sotreParam.keyword,page:this.sotreParam.page,limit:10,order:this.sotreParam.order};this.latitude&&(e.location=this.latitude+","+this.longitude),(0,r.getMerchantServiceLst)(e).then((function(e){t.count=e.data.count,t.storeList=t.storeList.concat(e.data.list),t.loading=!1,t.loadingIcon=!1}))}},goStore:function(t){1!=this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id=".concat(t)})},searchSubmit:function(t){this.$set(this.sotreParam,"keyword",t.detail.value),this.set_where(this.firstKey)},set_where:function(t){this.loading||(this.storeList=[],this.firstKey=t,this.sotreParam.page=1,this.sotreParam.order=this.downMenu[t].order,this.getServiceList())},backjJump:function(){uni.navigateBack({delta:1})}},onPullDownRefresh:function(){},onReachBottom:function(){if(this.count===this.storeList.length){if(0===this.count)return;uni.showToast({title:"已加载全部",icon:"none",duration:1e3})}else this.sotreParam.page+=1,this.getServiceList()}});e.default=d},b614:function(t,e,n){"use strict";n.r(e);var a=n("6f16"),o=n("ec09");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("ca1d");var r=n("828b"),u=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"601ad60a",null,!1,a["a"],void 0);e["default"]=u.exports},ca1d:function(t,e,n){"use strict";var a=n("3c98"),o=n.n(a);o.a},d727:function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return o.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(t){return o.default.get("store/product/assist/count",t,{noAuth:!0})},e.getActivitycategory=function(t){return o.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t,e){return o.default.get("store/product/assist/detail/"+t,e)},e.getAssistList=function(t){return o.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return o.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return o.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return o.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return o.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return o.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return o.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return o.default.post("combination/poster",t)},e.getCombinationUser=function(t){return o.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return o.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return o.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return o.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return o.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return o.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return o.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return o.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return o.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return o.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return o.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return o.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return o.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return o.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return o.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return o.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return o.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return o.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return o.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return o.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var o=a(n("fea3"))},ec09:function(t,e,n){"use strict";n.r(e);var a=n("9809"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=o.a}}]);