1 line
36 KiB
JavaScript
1 line
36 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-nongKe-cloud_entrepot-index"],{"0cc1":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").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(){return o.default.get("store/product/assist/count",{},{noAuth:!0})},e.getActivitycategory=function(t){return o.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t){return o.default.get("store/product/assist/detail/"+t)},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=i(n("095d"))},"145d":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={"u-Image":n("6aa0").default,uSearch:n("813f").default,uLoadingIcon:n("3f45").default,uLoadmore:n("2093").default,uPopup:n("8de3").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{},[t.cloudList.length>0?n("v-uni-view",{},[n("v-uni-view",{},[n("transition",{attrs:{name:"fade"}},[t.showtit?n("v-uni-view",{staticClass:"head",staticStyle:{"padding-top":"var(--status-bar-height)"}},[n("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/FH.png",width:"50.82rpx",height:"50.82rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"head_tit"},[t._v(t._s(t.town)+"里海云仓")])],1),n("v-uni-view",{staticClass:"head_r",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!0}}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/QB.png",width:"50.82rpx",height:"50.82rpx"}}),n("v-uni-text",[t._v("全部")])],1)],1):t._e()],1),n("transition",{attrs:{name:"fade"}},[t.showtit?t._e():n("v-uni-view",{staticClass:"heads",staticStyle:{"padding-top":"var(--status-bar-height)"}},[n("v-uni-view",{staticStyle:{"align-items":"center",display:"flex","justify-content":"space-between"}},[n("v-uni-view",{staticStyle:{display:"flex","align-items":"center"}},[n("v-uni-view",{staticClass:"back",staticStyle:{"margin-right":"17rpx"}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/FH.png",width:"50.82rpx",height:"50.82rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack.apply(void 0,arguments)}}})],1),n("v-uni-view",{staticStyle:{"font-size":"40rpx",transform:"skewX(-10deg)"}},[t._v("供销综合云市场")])],1),n("v-uni-view",{staticStyle:{position:"relative",width:"289.14rpx"}},[n("u-search",{staticClass:"serch_cls",attrs:{borderColor:"#FF6D20",bgColor:"white",showAction:!1,placeholder:"请输入..."},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),n("u--image",{staticClass:"img_cls",attrs:{showLoading:!0,src:"/static/images/GXSC/SS.png",width:"115.65rpx",height:"56.82rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.serch.apply(void 0,arguments)}}})],1),n("v-uni-view",{staticClass:"head_r",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!0}}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/QB.png",width:"50.82rpx",height:"50.82rpx"}}),n("v-uni-text",{},[t._v("全部")]),n("v-uni-view",{staticClass:"flag"})],1)],1)],1)],1),n("v-uni-view",{staticClass:"box"},[n("v-uni-view",{class:t.act_swiper},[n("v-uni-swiper",{staticClass:"swipers",attrs:{autoplay:!1,"active-class":t.activeClass,interval:3e3,circular:!0,"previous-margin":"0rpx","next-margin":"0rpx",current:t.current,"disable-touch":!0}},t._l(t.cloudList,(function(t,e){return n("v-uni-swiper-item",[n("u--image",{attrs:{showLoading:!0,src:t.cover,width:"750rpx",height:"998.83rpx"}})],1)})),1)],1),t.act_swiper?n("v-uni-view",{staticStyle:{height:"998.83rpx"}}):t._e(),t.showtit?n("v-uni-view",{staticClass:"menu",staticStyle:{"z-index":"999"}},[n("v-uni-swiper",{staticClass:"swiper",attrs:{autoplay:!1,"active-class":t.activeClass,interval:3e3,circular:!0,"previous-margin":"280rpx","next-margin":"280rpx",current:t.current},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.test.apply(void 0,arguments)}}},t._l(t.cloudList,(function(e,i){return n("v-uni-swiper-item",{class:{active_swiper:i==t.current}},[n("u--image",{attrs:{showLoading:!0,src:e.background,width:"175.23rpx",height:"175.23rpx"}})],1)})),1)],1):t._e(),n("transition",{attrs:{name:"fade"}},[n("v-uni-view",{staticClass:"content"},[t.showtit?t._e():n("v-uni-view",{staticClass:"content_sift",style:{position:t.pocls,top:t.headtop+"px"}},t._l(t.actList,(function(e,i){return n("v-uni-view",{key:i,class:{act:e.act},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.screenGoods(e.screen,i)}}},[t._v(t._s(e.tit))])})),1),t.goodsList.length>0?n("v-uni-view",{staticClass:"goods_list"},[t.showLoading?n("v-uni-view",{staticClass:"empty"},[t.showLoading?n("u-loading-icon",{attrs:{text:"加载中",textSize:"18"}}):t._e()],1):t._l(t.goodsList,(function(e,i){return n("v-uni-view",{staticClass:"goods",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.godDetail(e)}}},[n("v-uni-view",{staticClass:"left"},[n("u--image",{attrs:{showLoading:!0,src:e.image,width:"192.76rpx",height:"192.76rpx"}})],1),n("v-uni-view",{staticClass:"right"},[n("v-uni-view",{staticClass:"tit"},[t._v(t._s(e.store_info))]),n("v-uni-view",{},[n("v-uni-view",{staticClass:"good_score"},[n("v-uni-text",{staticStyle:{"margin-right":"10rpx",color:"#F84221"}},[t._v(t._s(e.rate))]),n("v-uni-text",[t._v(t._s(e.reply_count)+"评论")])],1),n("v-uni-view",{staticClass:"good_price"},[n("v-uni-view",{staticClass:"good_price_l"},[n("v-uni-view",{staticStyle:{color:"#F84221","font-size":"22.78rpx","font-weight":"bold"}},[t._v("¥"),n("v-uni-text",{staticStyle:{"font-size":"30rpx"}},[t._v(t._s(e.price))])],1),n("v-uni-view",{staticClass:"old_price"},[t._v("¥30.00")])],1),n("v-uni-view",{staticClass:"good_price_r",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.addcart(e.price)}}},[n("u--image",{staticClass:"act_class",attrs:{showLoading:!0,src:"/static/images/LHYC/J.png",width:"49.07rpx",height:"49.07rpx"}})],1)],1)],1)],1)],1)})),n("v-uni-view",{staticStyle:{height:"100rpx"}},[n("u-loadmore",{attrs:{status:t.status}})],1)],2):n("v-uni-view",[n("v-uni-view",{staticClass:"empty"},[n("v-uni-view",{staticClass:"info"},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/noCart.png",width:"400.09rpx",height:"400.09rpx"}})],1)],1)],1),n("v-uni-view",{staticClass:"card",style:"bottom:"+t.appInfo.bottom+"px"},[n("v-uni-view",{staticClass:"left"},[n("v-uni-view",{staticStyle:{position:"relative"}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/GWC.png",width:"63.09rpx",height:"63.09rpx"}}),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.goodsNum,expression:"goodsNum"}],staticClass:"badge"},[t._v(t._s(t.goodsNum))])],1),n("v-uni-view",{staticClass:"tot_price"},[n("v-uni-view",{},[t._v("¥"+t._s(t.totalMoney))]),n("v-uni-view",{},[t._v("支持配送 售后无忧")])],1)],1),n("v-uni-view",{staticClass:"right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navgo("/pages/order_addcart/order_addcart")}}},[t._v("去结算")])],1)],1)],1)],1)],1),n("u-popup",{attrs:{mode:"right",show:t.showPop},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!1},open:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!0}}},[n("v-uni-view",{staticClass:"pop"},[n("v-uni-view",{staticStyle:{height:"var(--status-bar-height)"}}),n("v-uni-view",{staticClass:"pop_head",staticStyle:{display:"flex"}},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/LHYC/PFH.png",width:"50.82rpx",height:"50.82rpx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPop=!1}}}),n("v-uni-view",{staticClass:"head_tit"},[t._v("里海云仓")])],1),n("v-uni-view",{staticClass:"pop_content"},t._l(t.cloudList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"pop_li",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.all(i)}}},[n("u--image",{attrs:{showLoading:!0,src:e.background,width:"84.11rpx",height:"84.11rpx"}}),n("v-uni-view",{staticStyle:{"margin-left":"20rpx"}},[n("v-uni-view",{staticStyle:{"font-size":"33.29rpx",color:"black"}},[t._v(t._s(e.category_name)+"云仓服务")]),n("v-uni-view",{staticStyle:{"font-size":"22.78rpx"}},[t._v(t._s(e.description))])],1)],1)})),1)],1)],1)],1):n("v-uni-view",{staticClass:"empty"},[n("v-uni-view",{staticStyle:{height:"var(--status-bar-height)"}}),n("v-uni-view",{staticClass:"info"},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/noCart.png",width:"400.09rpx",height:"400.09rpx"}})],1)],1)],1)},r=[]},3172:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.box[data-v-50db008c]{position:relative}.box .content[data-v-50db008c]{width:100vw;z-index:99;background-color:#f4f4f4;padding:0 %?10?%}.box .active_swiper[data-v-50db008c]{-webkit-transform:scale(1.3);transform:scale(1.3)}.box .pictrue[data-v-50db008c]{position:relative;width:100%;height:%?345?%}.box .act[data-v-50db008c]{color:#ff6d20}.box .act_content[data-v-50db008c]{width:100vw;z-index:99;background-color:#f4f4f4;padding:0 %?10?%;padding-top:%?200?%}.box .act_class[data-v-50db008c]{transition:1s}.box .act_class[data-v-50db008c]:active{-webkit-transform:scale(2);transform:scale(2)}.box .content_act[data-v-50db008c]{width:100vw;position:absolute;top:%?165?%;z-index:99;background-color:#f4f4f4;padding:0 %?10?%}.fade-enter-active[data-v-50db008c],\r\n.fade-leave-active[data-v-50db008c]{transition:opacity .5s}.fade-enter[data-v-50db008c],\r\n.fade-leave-to[data-v-50db008c]{opacity:0}.head_tits[data-v-50db008c]{display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:0 %?20?%;color:#fff}.img_cls[data-v-50db008c]{position:absolute;top:50%;right:%?7?%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pop[data-v-50db008c]{width:%?615.07?%;padding:%?30?% %?28?%}.pop .pop_content[data-v-50db008c]{width:%?559?%;height:80vh;background-color:#f4f4f4;padding:%?28?%;border-radius:%?21.03?% %?21.03?% %?0?% %?0?%;margin-top:%?47?%}.pop .pop_content .pop_li[data-v-50db008c]{display:flex;margin-bottom:%?52?%}.head_tit[data-v-50db008c]{margin-left:%?20?%;font-size:%?40?%;-webkit-transform:skewX(-10deg);transform:skewX(-10deg)}.act[data-v-50db008c]{color:red}.head[data-v-50db008c]{position:absolute;z-index:100;color:#fff;display:flex;justify-content:space-between;width:100%;padding:0 %?20?%;align-items:center}.heads[data-v-50db008c]{position:fixed;z-index:100;color:#fff;width:100%;padding:0 %?20?%}.menu[data-v-50db008c]{position:absolute;top:%?748?%;width:%?750?%;background-color:hsla(0,0%,100%,.5);box-shadow:0 0 %?100?% %?30?% hsla(0,0%,100%,.9)}.goods_list .goods[data-v-50db008c]{display:flex;padding:%?21?%;background-color:#fff;border-radius:%?21.03?% %?21.03?% %?21.03?% %?21.03?%;margin-bottom:%?20?%}.goods_list .goods .left[data-v-50db008c]{width:%?192.76?%;height:%?192.76?%;border-radius:%?10.51?% %?10.51?% %?10.51?% %?10.51?%;margin-right:%?21?%}.goods_list .goods .right[data-v-50db008c]{display:flex;justify-content:space-between;flex-direction:column}.goods_list .goods .right .tit[data-v-50db008c]{font-size:%?29.79?%;color:#000;font-weight:700}.goods_list .goods .right .good_score[data-v-50db008c]{font-size:%?26?%;color:#b3b3b3;margin-bottom:%?15?%}.goods_list .goods .right .good_price[data-v-50db008c]{display:flex;justify-content:space-between;align-items:center;width:60vw}.goods_list .goods .right .good_price .good_price_l[data-v-50db008c]{display:flex}.goods_list .goods .right .good_price .good_price_l .old_price[data-v-50db008c]{color:#b3b3b3;text-decoration:line-through;font-size:%?26.29?%;margin-left:%?15?%}.activeClass[data-v-50db008c]{width:%?400?%;height:%?400?%}.act_swiper[data-v-50db008c]{height:%?150?%;position:fixed;z-index:99;overflow:hidden}.content_sift[data-v-50db008c]{width:%?730?%;padding:%?22?% 0;display:flex;justify-content:space-around;background-color:#fff;z-index:99;box-sizing:border-box}.swipers[data-v-50db008c]{width:%?750?%;height:%?998.83?%}.card[data-v-50db008c]{width:%?720?%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);position:fixed;background-color:#333;height:%?101.64?%;border-radius:%?50.82?%;overflow:hidden;color:#fff;display:flex;justify-content:space-between;box-sizing:border-box}.card .left[data-v-50db008c]{display:flex;align-items:center;padding:%?10?% %?35?%}.card .left .tot_price[data-v-50db008c]{display:flex;margin-left:%?42?%;flex-direction:column;justify-content:space-between}.card .right[data-v-50db008c]{font-size:%?33.29?%;line-height:50px;background:linear-gradient(90deg,#f84221,#ff6d20);width:%?175.23?%;text-align:center}.badge[data-v-50db008c]{position:absolute;top:0;right:0;background-color:red;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);padding:0 %?10?%;border-radius:%?30?%}.cloud_entrepot[data-v-50db008c]{background:url(https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/ycbg.png) no-repeat;background-size:cover;padding-bottom:%?92.98?%}.head-wrapper[data-v-50db008c]{height:%?485.96?%;width:100%;background:url(https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/top.png) no-repeat;background-size:cover;margin-bottom:%?49.12?%}.town-title[data-v-50db008c]{margin:0 auto;width:100%;text-align:center;font-size:%?50.88?%;color:#fff;margin-bottom:%?28.07?%}.town-title[data-v-50db008c]::after{content:"";display:inline-block;width:%?66.67?%;height:%?31.58?%;background:url(https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/you.png) no-repeat;background-size:cover;margin-left:%?24.56?%}.town-title[data-v-50db008c]::before{content:"";display:inline-block;width:%?66.67?%;height:%?31.58?%;background:url(https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/13/zuo.png) no-repeat;background-size:cover;margin-right:%?24.56?%}.body-wrapper[data-v-50db008c]{width:%?694.74?%;display:flex;justify-content:space-between;flex-wrap:wrap;margin:0 auto}.body-wrapper .item[data-v-50db008c]{width:%?336.84?%;height:100%;padding:%?24.56?% %?28.07?%;margin-bottom:%?21.05?%;background-repeat:no-repeat;background-size:100% 100%;box-sizing:border-box}.body-wrapper .item uni-text[data-v-50db008c]{display:block;font-size:%?24.56?%;color:#999;margin-bottom:%?14.04?%}.body-wrapper .item .item-title[data-v-50db008c]{font-size:%?31.58?%;color:#333}.body-wrapper .item .chakan-btn[data-v-50db008c]{width:%?114.04?%;height:%?49.12?%;font-size:%?28.07?%;text-align:center;line-height:%?49.12?%;color:#fff;margin-top:auto;background:linear-gradient(90deg,#fe5300,#f84221);border-radius:50px}.empty[data-v-50db008c]{position:relative;height:85vh}.empty .info[data-v-50db008c]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.head_r[data-v-50db008c]{display:flex;flex-direction:column;align-items:center}',""]),t.exports=e},"3d53":function(t,e,n){"use strict";n.r(e);var i=n("145d"),o=n("bebf");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("eb76");var a=n("f0c5"),s=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"50db008c",null,!1,i["a"],void 0);e["default"]=s.exports},"7f7e":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ajcaptchaCheck=function(t){return o.default.post("ajcheck",t,{noAuth:!0})},e.appleAppAuth=function(t){return o.default.post("auth/apple",t,{noAuth:!0})},e.appletsDecrypt=function(t){return o.default.post("user/mp/binding",t)},e.bindingPhone=function(t){return o.default.post("user/binding",t)},e.brigade=function(t){return o.default.get("v2/system/brigade",t,{noAuth:!0})},e.cloudWarehouse=function(t){return o.default.get("store/product/cloudWarehouse",t)},e.getAjcaptcha=function(t){return o.default.get("ajcaptcha",t,{noAuth:!0})},e.getAppVersion=function(){return o.default.get("appVersion",{},{noAuth:!0})},e.getArticleBannerList=function(){return o.default.get("article/banner/list",{},{noAuth:!0})},e.getArticleCategoryList=function(){return o.default.get("article/category/lst",{},{noAuth:!0})},e.getArticleCategoryLists=function(){return o.default.get("article/category/lst?is_home=1",{},{noAuth:!0})},e.getArticleDetails=function(t){return o.default.get("article/detail/"+t,{},{noAuth:!0})},e.getArticleHotList=function(){return o.default.get("article/hot/list",{},{noAuth:!0})},e.getArticleList=function(t,e){return o.default.get("article/lst/"+t,e,{noAuth:!0})},e.getCity=function(){return o.default.get("system/city/lst",{},{noAuth:!0})},e.getCityCloundShop=function(t){return o.default.get("city/get_cloud_shop",t)},e.getCityList=function(t){return o.default.get("v2/system/city",{address:t},{noAuth:!0})},e.getCityV2=function(t){return o.default.get("v2/system/city/lst/"+t,{},{noAuth:!0})},e.getCoupons=function(t){return o.default.get("coupon/product",t,{noAuth:!0})},e.getDiy=function(t){return o.default.get("diy",t,{noAuth:!0})},e.getIndexData=function(){return o.default.get("common/home",{},{noAuth:!0})},e.getLiveList=function(t,e){return o.default.get("wechat/live",{page:t,limit:e},{noAuth:!0})},e.getLogo=function(){return o.default.get("wechat/get_logo",{},{noAuth:!0})},e.getPageDiy=function(t){return o.default.get("micro",t,{noAuth:!0})},e.getProductSpuAPI=function(t,e){return o.default.get("product/spu/cloud_merchant/".concat(t),e,{noAuth:!0})},e.getShopCoupons=function(t){return o.default.get("coupon/store/"+t,{},{noAuth:!0})},e.getTemlIds=function(){return o.default.get("wechat/teml_ids",{},{noAuth:!0})},e.getUserCoupons=function(t){return o.default.get("coupon/list",t)},e.get_cloud_shop=function(t){return o.default.get("city/get_cloud_shop?street_code=".concat(t),{},{noAuth:!0})},e.loginMobile=function(t){return o.default.post("login/mobile",t,{noAuth:!0})},e.logout=function(){return o.default.get("logout")},e.modifyPassword=function(t){return o.default.post("user/change/password",t)},e.modifyPhone=function(t){return o.default.post("user/change/phone",t)},e.phoneLogin=function(t){return o.default.post("login",t,{noAuth:!0})},e.phoneRegister=function(t){return o.default.post("register",t,{noAuth:!0})},e.phoneRegisterReset=function(t){return o.default.post("register/reset",t,{noAuth:!0})},e.pink=function(){return o.default.get("pink",{},{noAuth:!0})},e.post_product_import=function(t){return o.default.post("micro/product_import",{id:t},{noAuth:!0})},e.registerVerify=function(t,e,n,i){return o.default.post("register/verify",{phone:t,type:void 0===e?"reset":e,key:n,code:i},{noAuth:!0})},e.seachBarCodeAPI=function(t){return o.default.get("micro/seach_bar_code",t)},e.setCouponReceive=function(t){return o.default.post("coupon/receive/"+t)},e.setFormId=function(t){return o.default.post("wechat/set_form_id",{formId:t})},e.switchH5Login=function(t){return o.default.post("user/switch",t)},e.verifyCode=function(){return o.default.get("verify_code",{},{noAuth:!0})},e.village=function(t){return o.default.get("v2/system/geo/lst",t,{noAuth:!0})},e.wechatAppAuth=function(t){return o.default.post("auth/app",t,{noAuth:!0})};var o=i(n("095d"))},"995e":function(t,e,n){"use strict";(function(t){n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("c7eb")),r=i(n("1da1"));n("ac1f"),n("d3b7"),n("159b"),n("a9e3");var a=n("7f7e"),s=n("d67f"),u=n("0cc1"),c=n("ea4c"),d=n("c211"),l={data:function(){return{appInfo:{},pocls:"",type:"",act_swiper:"",current:1,goodsNum:0,goodsList:[],winHeight:0,cloudList:[],street_code:"",totalMoney:0,town:"",list:[1,1,1,1,1],showPop:!1,keyword:"",showLoading:!1,tot_price:1,showtit:!0,cartList:[],activeClass:"activeClass",headtop:"",page_num:1,actList:[{tit:"综合",act:"",screen:""},{tit:"销量",act:"",screen:"sales"},{tit:"价格",act:"",screen:"price_asc"}],status:"loadmore",flag:!1}},onLoad:function(t){var e=this;this.cartFn(),uni.getSystemInfo({success:function(t){e.winHeight=t.windowHeight,e.appInfo=t.safeAreaInsets}}),this.street_code=t.street,this.town=t.town,this.getCloundShop()},onPageScroll:function(e){var n=this;this.showtit=!Boolean(e.scrollTop),uni.createSelectorQuery().in(this).select(".content").boundingClientRect((function(e){t("log",e," at pages/nongKe/cloud_entrepot/index.vue:337"),e.top<=n.headtop?(n.pocls="fixed",n.act_swiper="act_swiper"):(n.pocls="",n.act_swiper="")})).exec(),this.headtop||uni.createSelectorQuery().in(this).select(".flag").boundingClientRect((function(t){n.headtop=t.top})).exec()},onPullDownRefresh:function(){uni.stopPullDownRefresh(),this.getCloundShop(),this.getList()},methods:{cartFn:function(){var t=this;(0,c.getCartList)().then((function(e){t.cartList=e.data.list,t.cartList[0].list.forEach((function(e){t.totalMoney=t.totalMoney+Number(e.productAttr.price)*e.cart_num}))})),(0,c.getCartCounts)().then((function(e){t.goodsNum=e.data[0].count}))},godDetail:function(t){var e=this;(0,d.goShopDetail)(t,this.uid).then((function(n){e.isLogin?(0,u.initiateAssistApi)(t.activity_id).then((function(t){var e=t.data.product_assist_set_id;uni.hideLoading(),uni.navigateTo({url:"/pages/activity/assist_detail/index?id="+e})})).catch((function(t){uni.showToast({title:t,icon:"none"})})):(e.isAuto=!0,e.isShowAuth=!0)}))},serch:function(){this.getList()},goBack:function(){uni.navigateBack()},screenGoods:function(t,e){this.actList.forEach((function(t){t.act=""})),this.actList[e].act=!0,this.type=t,this.getList()},navgo:function(t){uni.navigateTo({url:t})},getList:function(){var t=this;this.showLoading=!0,(0,a.cloudWarehouse)({street_code:this.street_code,category_id:this.cloudList[this.current].category_id,order:this.type,keyword:this.keyword}).then((function(e){t.goodsList=e.data.list,t.showLoading=!1}))},addcart:function(t){this.tot_price+=Number(t)},all:function(t){this.showPop=!1,this.current=t,this.getList()},test:function(t){this.current=t.target.current,this.getList()},getCloundShop:function(){var t=this;return(0,r.default)((0,o.default)().mark((function e(){var n,i;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,a.getCityCloundShop)({street_code:t.street_code});case 2:n=e.sent,i=n.data,t.cloudList=i,(0,a.cloudWarehouse)({street_code:t.street_code,category_id:t.cloudList[t.current].category_id}).then((function(e){t.goodsList=e.data.list})),i.length<1&&(0,s.Toast)("暂无云仓");case 7:case"end":return e.stop()}}),e)})))()}}};e.default=l}).call(this,n("0de9")["log"])},a06a:function(t,e,n){var i=n("3172");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("60511e1f",i,!0,{sourceMap:!1,shadowMode:!1})},bebf:function(t,e,n){"use strict";n.r(e);var i=n("995e"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},c211:function(t,e,n){"use strict";n("7a82"),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,"&referer=").concat(t.referer)}):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("d3b7"),n("99af")},d67f:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ActionSheet=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000000";return new Promise((function(n,i){uni.showActionSheet({itemList:t,itemColor:e,success:function(t){n(t.tapIndex)},fail:function(t){i(t.errMsg)}})}))},e.Authorize=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scope.userInfo";return new Promise((function(e,n){uni.authorize({scope:t,success:function(t){e(t)},fail:function(t){n(t)}})}))},e.GetUserInfo=function(){return new Promise((function(t,e){uni.getUserInfo({success:function(e){t(e)},fail:function(t){e(t)}})}))},e.Loading=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"正在加载...",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};uni.showLoading((0,r.default)({title:t,mask:!0},e))},e.Modal=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"提示",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"这是一个模态弹窗!";return new Promise((function(n,i){uni.showModal({title:t,content:e,success:function(t){t.confirm&&n(),t.cancel&&i()}})}))},e.ScrollTo=function(t){uni.pageScrollTo({scrollTop:t,duration:300})},e.Toast=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,o=(0,r.default)({title:t,duration:i,position:"center",mask:!0,icon:e||"none"},n);uni.showToast(o)},e.chooseImage=function(t){return new Promise((function(e,n){uni.chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){e(t)},fail:function(t){n(t)}})}))},e.clearStorage=function(){try{uni.clearStorageSync()}catch(t){throw new Error("处理失败")}},e.convertObj=a,e.formatDate=s,e.getQuarterStartDate=function(){var t=new Date(d,function(){var t=0;c<3&&(t=0);2<c&&c<6&&(t=3);5<c&&c<9&&(t=6);c>8&&(t=9);return t}(),1);return s(t,"yyyy-MM-dd")},e.getStorage=function(t){var e=uni.getStorageSync(t);try{"number"!=typeof JSON.parse(e)&&(e=JSON.parse(e))}catch(n){}return e},e.hideLoading=function(){try{uni.hideLoading()}catch(t){throw new Error("处理失败")}},e.navigateBack=function(t){uni.navigateBack({delta:t})},e.navigateTo=function(t,e,n){var i=e,o="navigateTo";switch(i=n?i+"?"+a(n):i,t){case 1:o="navigateTo";break;case 2:o="redirectTo";break;case 3:o="reLaunch";break;case 4:o="switchTab";break;default:o="navigateTo";break}uni[o]({url:i,animationType:"slide-in-right",animationDuration:200})},e.pathToBase64=function(t){return new Promise((function(e,n){if("object"===("undefined"===typeof window?"undefined":(0,o.default)(window))&&"document"in window){if("function"===typeof FileReader){var i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="blob",i.onload=function(){if(200===this.status){var t=new FileReader;t.onload=function(t){e(t.target.result)},t.onerror=n,t.readAsDataURL(this.response)}},i.onerror=n,void i.send()}var r=document.createElement("canvas"),a=r.getContext("2d"),s=new Image;return s.onload=function(){r.width=s.width,r.height=s.height,a.drawImage(s,0,0),e(r.toDataURL()),r.height=r.width=0},s.onerror=n,void(s.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,o.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,o.default)(wx))&&wx.canIUse("getFileSystemManager")?wx.getFileSystemManager().readFile({filePath:t,encoding:"base64",success:function(t){e("data:image/png;base64,"+t.data)},fail:function(t){n(t)}}):n(new Error("not support")):plus.io.resolveLocalFileSystemURL(getLocalFilePath(t),(function(t){t.file((function(t){var i=new plus.io.FileReader;i.onload=function(t){e(t.target.result)},i.onerror=function(t){n(t)},i.readAsDataURL(t)}),(function(t){n(t)}))}),(function(t){n(t)}))}))},e.removeStorage=function(t){t&&uni.removeStorageSync(t)},e.serialize=function(t){if(null!=t&&""!=t)try{return JSON.parse(JSON.stringify(t))}catch(e){return t instanceof Array?[]:{}}return t},e.setStorage=function(t,e){if("string"==typeof e)return uni.setStorageSync(t,e),e;uni.setStorageSync(t,JSON.stringify(e))},e.showMonthFirstDay=function(){var t=(new Date).setDate(1);return s(new Date(t).getTime(),"yyyy-MM-dd")},e.showWeekFirstDay=function(){var t=new Date,e=t.getDay()||7;return t.setDate(t.getDate()-e+1),s(t,"yyyy-MM-dd")},e.throttle=function(t,e){var n,i;e=e||200;return function(){for(var o=this,r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];n=a,i||(i=setTimeout((function(){i=null,t.apply(o,n)}),e))}},e.unique=function(t){t=t||[];for(var e={},n=0;n<t.length;n++){var i=JSON.stringify(t[n]);"undefined"==typeof i&&(e[i]=1)}for(var n in t.length=0,e)t[t.length]=n;return t};var o=i(n("53ca")),r=i(n("5530"));function a(t){var e,n=[];return Object.keys(t).forEach((function(e){n.push("".concat(e,"=").concat(t[e]))})),e=n.join("&"),e}function s(t,e){return t?(e=e||"yyyy-MM-dd hh:mm:ss",new Date(t).format(e)):""}n("e9c4"),n("d9e2"),n("d401"),n("d3b7"),n("159b"),n("b64b"),n("14d9"),n("99af"),n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),Date.prototype.format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var n in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,String(this.getFullYear()).substr(4-RegExp.$1.length))),e)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[n]:("00"+e[n]).substr(String(e[n]).length)));return t};var u=new Date,c=u.getMonth(),d=u.getYear();d+=d<2e3?1900:0},ea4c:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.applyInvoiceApi=function(t,e){return o.default.post("order/receipt/".concat(t),e)},e.cartDel=function(t){return o.default.post("user/cart/delete",t)},e.changeCartNum=function(t,e){return o.default.post("user/cart/change/"+t,e)},e.createOrder=function(t){return o.default.post("v2/order/create",t,{noAuth:!0})},e.develiveryDetail=function(t){return o.default.get("order/delivery/".concat(t))},e.express=function(t){return o.default.post("order/express/"+t)},e.expressList=function(){return o.default.get("common/express")},e.getCallBackUrlApi=function(t){return o.default.get("common/pay_key/"+t,{},{noAuth:!0})},e.getCartCounts=function(t){return o.default.get("user/cart/count",t)},e.getCartList=function(t){return o.default.get("user/cart/lst",t)},e.getCouponsOrderPrice=function(t,e){return o.default.get("coupons/order/"+t,e)},e.getOrderConfirm=function(t){return o.default.post("v2/order/check",t)},e.getOrderDetail=function(t){return o.default.get("order/detail/"+t)},e.getOrderList=function(t){return o.default.get("order/list",t)},e.getPayOrder=function(t){return o.default.get("order/status/"+t)},e.getReceiptOrder=function(t){return o.default.get("user/receipt/order/"+t)},e.groupOrderDetail=function(t,e){return o.default.get("order/group_order_detail/"+t+"?product_type="+e)},e.groupOrderList=function(t){return o.default.get("order/group_order_list",t,{noAuth:!0})},e.ordeRefundReason=function(){return o.default.get("order/refund/reason")},e.orderAgain=function(t){return o.default.post("user/cart/again",t)},e.orderComment=function(t,e){return o.default.post("reply/"+t,e)},e.orderConfirm=function(t){return o.default.post("order/check",t)},e.orderCreate=function(t){return o.default.post("order/create",t,{noAuth:!0})},e.orderData=function(t){return o.default.get("order/number",t)},e.orderDel=function(t){return o.default.post("order/del/"+t)},e.orderPay=function(t,e){return o.default.post("order/pay/"+t,e)},e.orderProduct=function(t){return o.default.get("reply/product/"+t)},e.orderRefundVerify=function(t){return o.default.post("order/refund/verify",t)},e.orderTake=function(t){return o.default.post("order/take/"+t)},e.postOrderComputed=function(t,e){return o.default.post("/order/computed/"+t,e)},e.presellOrderPay=function(t,e){return o.default.post("presell/pay/"+t,e)},e.receiptOrder=function(t){return o.default.get("user/receipt/order",t)},e.refundApply=function(t,e){return o.default.post("refund/apply/"+t,e,{noAuth:!0})},e.refundBackGoods=function(t,e){return o.default.post("refund/back_goods/"+t,e,{noAuth:!0})},e.refundBatch=function(t){return o.default.get("refund/batch_product/"+t,{noAuth:!0})},e.refundCancelApi=function(t){return o.default.post("refund/cancel/".concat(t))},e.refundDel=function(t){return o.default.post("refund/del/"+t,{noAuth:!0})},e.refundDetail=function(t){return o.default.get("refund/detail/"+t,{noAuth:!0})},e.refundExpress=function(t){return o.default.get("refund/express/"+t,{noAuth:!0})},e.refundList=function(t){return o.default.get("refund/list",t,{noAuth:!0})},e.refundMessage=function(){return o.default.get("common/refund_message",{noAuth:!0})},e.refundOrderExpress=function(t,e){return o.default.get("server/".concat(t,"/refund/express/").concat(e))},e.refundProduct=function(t,e){return o.default.get("refund/product/"+t,e,{noAuth:!0})},e.refundlist=function(t){return o.default.get("refund/list",t)},e.unOrderCancel=function(t){return o.default.post("order/cancel/"+t)},e.verifyCode=function(t){return o.default.get("order/verify_code/"+t)},n("99af");var o=i(n("095d"))},eb76:function(t,e,n){"use strict";var i=n("a06a"),o=n.n(i);o.a}}]); |