shop-php/public/static/js/pages-nongKe-cloud_entrepot-index.ce8d64c7.js
2023-09-18 12:52:51 +08:00

1 line
58 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-nongKe-cloud_entrepot-index"],{"077a":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.cloudWarehouse=function(t){return a.default.get("store/product/cloudWarehouse",t)},e.getCityCloundShop=function(t){return a.default.get("city/get_cloud_shop",t)},e.supMenuApi=function(t){return a.default.get("intention/v2/cate",t)};var a=i(n("343f"))},"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 a.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(){return a.default.get("store/product/assist/count",{},{noAuth:!0})},e.getActivitycategory=function(t){return a.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t){return a.default.get("store/product/assist/detail/"+t)},e.getAssistList=function(t){return a.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return a.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return a.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return a.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return a.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return a.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return a.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return a.default.post("combination/poster",t)},e.getCombinationUser=function(t){return a.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return a.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return a.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return a.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return a.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return a.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return a.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return a.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return a.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return a.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return a.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return a.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return a.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return a.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return a.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return a.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return a.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return a.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return a.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return a.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var a=i(n("095d"))},"0cf8":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("5530")),o=(i(n("bc32")),n("c6da"),n("cf53"),n("26cb")),r=(i(n("e92e")),n("0cdc")),s=(i(n("80a6")),n("42d4")),u=(getApp(),{name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,a.default)((0,a.default)({},(0,o.mapGetters)(["isLogin","userInfo","viewColor"])),(0,r.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,s.toLogin)(!0)},getUserProfile:function(){(0,s.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});e.default=u},"0de2":function(t,e,n){"use strict";n.r(e);var i=n("21da"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"188a":function(t,e,n){"use strict";n.r(e);var i=n("9657"),a=n("0de2");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("363e");var r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"44254ce5",null,!1,i["a"],void 0);e["default"]=s.exports},"1c63":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(){return i}));var i={"u-Image":n("6aa0").default,uSearch:n("813f").default,uIcon:n("e63e").default,uLoadingIcon:n("3f45").default,uLoadmore:n("2093").default,uPopup:n("8de3").default,uNumberBox:n("188a").default},a=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",{},[t.showtit?n("v-uni-view",{class:{head:!0,show:t.showtit},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(),n("v-uni-view",{class:{heads:!0,show:!t.showtit},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:"flags"})],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(e,i){return n("v-uni-swiper-item",[n("u--image",{class:t.act_img,attrs:{showLoading:!0,src:e.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:{transition:"1s"}},[n("v-uni-swiper",{staticClass:"swiper",attrs:{autoplay:!1,"active-class":t.activeClass,interval:3e3,circular:!0,"previous-margin":"270rpx","next-margin":"270rpx",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",{key:i,on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickSwiperFn(i)}}},[n("v-uni-view",{staticClass:"swiper_item",class:{swiper_item_act:i==t.current}},[n("u--image",{staticClass:"swiper_b",attrs:{showLoading:!0,src:e.background,width:"175.23rpx",height:"175.23rpx"}})],1)],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,price_sift:!0},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.screenGoods(e.screen,i)}}},[t._v(t._s(e.tit)),2==i?n("v-uni-view",{staticStyle:{"margin-left":"10rpx"}},[n("u-icon",{attrs:{name:"arrow-up",color:e.price&&e.act?"#FF6D20":"black",size:"10"}}),n("u-icon",{attrs:{name:"arrow-down",color:!e.price&&e.act?"#FF6D20":"black",size:"10"}})],1):t._e()],1)})),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"},[n("v-uni-view",{class:{x_tra:t.trnList[i].bottom},style:"transform:translateY("+t.trnList[i].bottom+"px);transition:"+(t.trnList[i].bottom?1:0)+"s cubic-bezier(0.4, -0.9, 0.75, 1);",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.addcart(e,i)}}},[n("u--image",{class:"act_class"+i,style:"transform:translateX("+t.trnList[i].left+"px);transition:"+(t.trnList[i].bottom?1:0)+"s ",attrs:{src:"/static/images/LHYC/J.png",width:"49.07rpx",height:"49.07rpx"}})],1)],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"}}),n("v-uni-view",{staticStyle:{"text-align":"center"}},[t._v("暂无商品")])],1)],1)],1),n("v-uni-view",{staticClass:"card",style:"bottom:"+t.appInfo.bottom+"px",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navgo("/pages/order_addcart/order_addcart")}}},[n("v-uni-view",{staticClass:"left"},[n("v-uni-view",{staticClass:"cart",class:{act_cart:t.act_cart},staticStyle:{position:"relative","z-index":"9999999"}},[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"},[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",{staticStyle:{padding:"10rpx"}},[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.goBack.apply(void 0,arguments)}}})],1),n("v-uni-view",{staticClass:"info"},[n("u--image",{attrs:{showLoading:!0,src:"/static/images/noCart.png",width:"400.09rpx",height:"400.09rpx"}}),n("v-uni-view",{staticStyle:{"text-align":"center"}},[t._v("当前区域暂无云仓")])],1)],1),n("v-uni-view",{staticStyle:{"z-index":"9999"}},[n("u-popup",{attrs:{show:t.showcartpop},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.closecartpop.apply(void 0,arguments)},open:function(e){arguments[0]=e=t.$handleEvent(e),t.opencartpop.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"sku"},[n("v-uni-view",{staticClass:"sku_head"},[n("v-uni-view",{staticClass:"sku_head_l"},[n("u--image",{attrs:{showLoading:!0,src:t.skuform.image,width:"200.09rpx",height:"200.09rpx"}})],1),n("v-uni-view",{staticClass:"sku_head_r"},[n("v-uni-view",{staticClass:"sku_goods_tit"},[t._v(t._s(t.skuform.store_info))]),n("v-uni-view",{},[n("v-uni-view",{staticClass:"sku_goods_price"},[t._v("¥ "+t._s(t.skuform.price))]),this.skusize?n("v-uni-view",{staticClass:"sku_goods_num"},[t._v("库存:"+t._s(t.skuform.sku[this.skusize].stock))]):t._e()],1)],1)],1),n("v-uni-view",{staticClass:"sku_size"},[n("v-uni-view",{staticStyle:{"margin-bottom":"10rpx"}},[t._v("尺码")]),n("v-uni-view",{},t._l(t.skuform.sku,(function(e,i){return n("v-uni-text",{staticClass:"size_li",class:{act_size_li:e.sku==t.skusize},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.skusizechange(e.sku)}}},[t._v(t._s(e.sku))])})),1)],1),n("v-uni-view",{staticClass:"sku_num"},[n("v-uni-view",{},[t._v("数量")]),n("v-uni-view",{},[n("u-number-box",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.valChange.apply(void 0,arguments)}},model:{value:t.skuNumber,callback:function(e){t.skuNumber=e},expression:"skuNumber"}})],1)],1),n("v-uni-view",{staticClass:"skuaddcart",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.skuaddcart.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1),n("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}}),n("v-uni-view",{style:"height:"+t.appInfo.bottom+"px;background-color:white"})],1)},o=[]},"21da":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("5530"));n("4de4"),n("d3b7"),n("ac1f"),n("5319"),n("c975"),n("99af"),n("fb6a"),n("d401"),n("25f0");var o=i(n("5ee9")),r={name:"u-number-box",mixins:[uni.$u.mpMixin,uni.$u.mixin,o.default],data:function(){return{currentValue:"",longPressTimer:null}},watch:{watchChange:function(t){this.check()},value:function(t){t!==this.currentValue&&(this.currentValue=this.format(this.value))}},computed:{getCursorSpacing:function(){return uni.$u.getPx(this.cursorSpacing)},buttonStyle:function(){var t=this;return function(e){var n={backgroundColor:t.bgColor,height:uni.$u.addUnit(t.buttonSize),color:t.color};return t.isDisabled(e)&&(n.backgroundColor="#f7f8fa"),n}},inputStyle:function(){this.disabled||this.disabledInput;var t={color:this.color,backgroundColor:this.bgColor,height:uni.$u.addUnit(this.buttonSize),width:uni.$u.addUnit(this.inputWidth)};return t},watchChange:function(){return[this.integer,this.decimalLength,this.min,this.max]},isDisabled:function(){var t=this;return function(e){return"plus"===e?t.disabled||t.disablePlus||t.currentValue>=t.max:t.disabled||t.disableMinus||t.currentValue<=t.min}}},mounted:function(){this.init()},methods:{init:function(){this.currentValue=this.format(this.value)},format:function(t){return t=this.filter(t),t=""===t?0:+t,t=Math.max(Math.min(this.max,t),this.min),null!==this.decimalLength&&(t=t.toFixed(this.decimalLength)),t},filter:function(t){return t=String(t).replace(/[^0-9.-]/g,""),this.integer&&-1!==t.indexOf(".")&&(t=t.split(".")[0]),t},check:function(){var t=this.format(this.currentValue);t!==this.currentValue&&(this.currentValue=t)},onFocus:function(t){this.$emit("focus",(0,a.default)((0,a.default)({},t.detail),{},{name:this.name}))},onBlur:function(t){this.format(t.detail.value);this.$emit("blur",(0,a.default)((0,a.default)({},t.detail),{},{name:this.name}))},onInput:function(t){var e=t.detail||{},n=e.value,i=void 0===n?"":n;if(""!==i){var a=this.filter(i);if(null!==this.decimalLength&&-1!==a.indexOf(".")){var o=a.split(".");a="".concat(o[0],".").concat(o[1].slice(0,this.decimalLength))}a=this.format(a),this.emitChange(a)}},emitChange:function(t){var e=this;this.asyncChange||this.$nextTick((function(){e.$emit("input",t),e.currentValue=t,e.$forceUpdate()})),this.$emit("change",{value:t,name:this.name})},onChange:function(){var t=this.type;if(this.isDisabled(t))return this.$emit("overlimit",t);var e="minus"===t?-this.step:+this.step,n=this.format(this.add(+this.currentValue,e));this.emitChange(n),this.$emit(t)},add:function(t,e){var n=Math.pow(10,10);return Math.round((t+e)*n)/n},clickHandler:function(t){this.type=t,this.onChange()},longPressStep:function(){var t=this;this.clearTimeout(),this.longPressTimer=setTimeout((function(){t.onChange(),t.longPressStep()}),250)},onTouchStart:function(t){var e=this;this.longPress&&(this.clearTimeout(),this.type=t,this.longPressTimer=setTimeout((function(){e.onChange(),e.longPressStep()}),600))},onTouchEnd:function(){this.longPress&&this.clearTimeout()},clearTimeout:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){clearTimeout(this.longPressTimer),this.longPressTimer=null}))}};e.default=r},"2ecc":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/* 文章场景相关 */.Popup[data-v-7457bcea]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000;border-radius:8px;overflow:hidden}.Popup .logo-auth[data-v-7457bcea]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-7457bcea]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-7457bcea]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-7457bcea]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-7457bcea]{width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-7457bcea]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-7457bcea]{width:%?500?%}.flex[data-v-7457bcea]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-7457bcea]{font-weight:700;background-color:#e93323;\r\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-7457bcea]{font-size:%?28?%;color:#fff}.mask[data-v-7457bcea]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},"343f":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("d3b7"),n("c975");var a=n("350b"),o=(n("42d4"),i(n("00b1")));var r={};["options","get","post","put","head","delete","trace","connect"].forEach((function(t){r[t]=function(e,n,i){return function(t,e,n,i){i.noAuth;var r=i.noVerify,s=void 0!==r&&r,u=a.HTTP_REQUEST_URL,c=a.HEADER;return o.default.state.app.token&&(c[a.TOKENNAME]="Bearer "+o.default.state.app.token),new Promise((function(i,a){uni.request({url:u+"/api/"+t,method:e||"GET",header:c,data:n||{},success:function(t){s||200==t.data.status?i(t.data,t):-1!==[41e4,410001,410002,4e4].indexOf(t.data.status)?a(t.data):501==t.data.status?(uni.reLaunch({url:"/pages/error/index"}),a(t.data)):a(t.data.message||"系统错误")},fail:function(t){a("请求失败")}})}))}(e,t,n,i||{})}}));var s=r;e.default=s},"363e":function(t,e,n){"use strict";var i=n("dcde"),a=n.n(i);a.a},"3d53":function(t,e,n){"use strict";n.r(e);var i=n("1c63"),a=n("bebf");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("71df");var r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"a82b75f6",null,!1,i["a"],void 0);e["default"]=s.exports},"5ee9":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3");var i={props:{name:{type:[String,Number],default:uni.$u.props.numberBox.name},value:{type:[String,Number],default:uni.$u.props.numberBox.value},min:{type:[String,Number],default:uni.$u.props.numberBox.min},max:{type:[String,Number],default:uni.$u.props.numberBox.max},step:{type:[String,Number],default:uni.$u.props.numberBox.step},integer:{type:Boolean,default:uni.$u.props.numberBox.integer},disabled:{type:Boolean,default:uni.$u.props.numberBox.disabled},disabledInput:{type:Boolean,default:uni.$u.props.numberBox.disabledInput},asyncChange:{type:Boolean,default:uni.$u.props.numberBox.asyncChange},inputWidth:{type:[String,Number],default:uni.$u.props.numberBox.inputWidth},showMinus:{type:Boolean,default:uni.$u.props.numberBox.showMinus},showPlus:{type:Boolean,default:uni.$u.props.numberBox.showPlus},decimalLength:{type:[String,Number,null],default:uni.$u.props.numberBox.decimalLength},longPress:{type:Boolean,default:uni.$u.props.numberBox.longPress},color:{type:String,default:uni.$u.props.numberBox.color},buttonSize:{type:[String,Number],default:uni.$u.props.numberBox.buttonSize},bgColor:{type:String,default:uni.$u.props.numberBox.bgColor},cursorSpacing:{type:[String,Number],default:uni.$u.props.numberBox.cursorSpacing},disablePlus:{type:Boolean,default:uni.$u.props.numberBox.disablePlus},disableMinus:{type:Boolean,default:uni.$u.props.numberBox.disableMinus},iconStyle:{type:[Object,String],default:uni.$u.props.numberBox.iconStyle}}};e.default=i},"63fb":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/* 文章场景相关 */uni-view[data-v-44254ce5], uni-scroll-view[data-v-44254ce5], uni-swiper-item[data-v-44254ce5]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-number-box[data-v-44254ce5]{display:flex;flex-direction:row;align-items:center}.u-number-box__slot[data-v-44254ce5]{touch-action:none}.u-number-box__plus[data-v-44254ce5], .u-number-box__minus[data-v-44254ce5]{width:35px;display:flex;flex-direction:row;justify-content:center;align-items:center;touch-action:none}.u-number-box__plus--hover[data-v-44254ce5], .u-number-box__minus--hover[data-v-44254ce5]{background-color:#e6e6e6!important}.u-number-box__plus--disabled[data-v-44254ce5], .u-number-box__minus--disabled[data-v-44254ce5]{color:#c8c9cc;background-color:#f7f8fa}.u-number-box__plus[data-v-44254ce5]{border-top-right-radius:4px;border-bottom-right-radius:4px}.u-number-box__minus[data-v-44254ce5]{border-top-left-radius:4px;border-bottom-left-radius:4px}.u-number-box__input[data-v-44254ce5]{position:relative;text-align:center;font-size:15px;padding:0;margin:0 2px;display:flex;flex-direction:row;align-items:center;justify-content:center}.u-number-box__input--disabled[data-v-44254ce5]{color:#c8c9cc;background-color:#f2f3f5}',""]),t.exports=e},"66cc":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/* 文章场景相关 */@-webkit-keyframes addcart-data-v-a82b75f6{from{opacity:1}to{opacity:0}}@keyframes addcart-data-v-a82b75f6{from{opacity:1}to{opacity:0}}.sku[data-v-a82b75f6]{padding:%?20?%}.sku .sku_head[data-v-a82b75f6]{display:flex}.sku .sku_head .sku_head_r[data-v-a82b75f6]{margin-left:%?20?%;display:flex;justify-content:space-between;flex-direction:column}.sku .sku_head .sku_head_r .sku_goods_tit[data-v-a82b75f6]{font-size:%?30?%;width:60vw;\r\n /* 容器的宽度 */overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sku .sku_head .sku_head_r .sku_goods_price[data-v-a82b75f6]{color:red;font-size:%?30?%;font-weight:700}.sku .sku_size[data-v-a82b75f6]{margin:%?40?% 0}.sku .sku_size .size_li[data-v-a82b75f6]{display:inline-block;padding:%?5?% %?20?%;margin-right:%?20?%;text-align:center;color:#000;border:1px solid #ebecee}.sku .sku_size .act_size_li[data-v-a82b75f6]{background-color:#ff5c2d;color:#fff;border:#ff5c2d 1px solid}.sku .sku_num[data-v-a82b75f6]{display:flex;justify-content:space-between}.sku .skuaddcart[data-v-a82b75f6]{width:50vw;background-color:#feab00;margin:0 auto;height:%?80?%;line-height:%?80?%;text-align:center;color:#fff;border-radius:%?80?%;margin-top:%?20?%}.flags[data-v-a82b75f6]{background-color:red;z-index:99999999}.swiper_item[data-v-a82b75f6]{display:flex;justify-content:space-around;transition:.5s;padding:%?40?%}.swiper_item_act[data-v-a82b75f6]{-webkit-transform:scale(1.2);transform:scale(1.2)}.swiper_b[data-v-a82b75f6]{transition:1s}.act_cart[data-v-a82b75f6]{transition:.5s;-webkit-transform:scale(1.1);transform:scale(1.1)}.box[data-v-a82b75f6]{position:relative}.box .content[data-v-a82b75f6]{width:100vw;border-radius:%?50?% %?50?% 0 0;z-index:9999;background-color:#fff}.box .active_swiper[data-v-a82b75f6]{-webkit-transform:scale(1.3);transform:scale(1.3)}.box .pictrue[data-v-a82b75f6]{position:relative;width:100%;height:%?345?%}.box .act[data-v-a82b75f6]{color:#ff6d20}.box .act_content[data-v-a82b75f6]{width:100vw;z-index:99;background-color:#f4f4f4;padding:0 %?10?%;padding-top:%?200?%}.box .act_class[data-v-a82b75f6]{transition:.5s}.box .act_class[data-v-a82b75f6]:active{-webkit-transform:scale(2);transform:scale(2)}.box .content_act[data-v-a82b75f6]{width:100vw;position:absolute;top:%?165?%;z-index:99;background-color:#f4f4f4;padding:0 %?10?%}.fade-enter-active[data-v-a82b75f6],\r\n.fade-leave-active[data-v-a82b75f6]{transition:opacity .5s}.fade-enter[data-v-a82b75f6],\r\n.fade-leave-to[data-v-a82b75f6]{opacity:0}.head_tits[data-v-a82b75f6]{display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;padding:0 %?20?%;color:#fff}.img_cls[data-v-a82b75f6]{position:absolute;top:50%;right:%?7?%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pop[data-v-a82b75f6]{width:%?615.07?%;padding:%?30?% %?28?%}.pop .pop_content[data-v-a82b75f6]{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-a82b75f6]{display:flex;margin-bottom:%?52?%}.head_tit[data-v-a82b75f6]{margin-left:%?20?%;font-size:%?40?%;-webkit-transform:skewX(-10deg);transform:skewX(-10deg)}.act[data-v-a82b75f6]{color:red}.head[data-v-a82b75f6]{position:fixed;z-index:100;color:#fff;display:flex;justify-content:space-between;width:100%;padding:0 %?20?%;align-items:center;transition:.5s}.heads[data-v-a82b75f6]{position:fixed;z-index:100;color:#fff;width:100%;padding:0 %?20?%;transition:1s;opacity:0}.show[data-v-a82b75f6]{opacity:1}.menu[data-v-a82b75f6]{position:absolute;top:%?748?%;width:%?750?%;height:%?250?%}.goods_list[data-v-a82b75f6]{min-height:95vh;padding:0 %?10?%}.goods_list .goods[data-v-a82b75f6]{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-a82b75f6]{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-a82b75f6]{display:flex;justify-content:space-between;flex-direction:column}.goods_list .goods .right .tit[data-v-a82b75f6]{font-size:%?29.79?%;color:#000;font-weight:700}.goods_list .goods .right .good_score[data-v-a82b75f6]{font-size:%?26?%;color:#b3b3b3;margin-bottom:%?15?%}.goods_list .goods .right .good_price[data-v-a82b75f6]{display:flex;justify-content:space-between;align-items:center;width:60vw}.goods_list .goods .right .good_price .good_price_r[data-v-a82b75f6]{z-index:9}.goods_list .goods .right .good_price .good_price_l[data-v-a82b75f6]{display:flex}.goods_list .goods .right .good_price .good_price_l .old_price[data-v-a82b75f6]{color:#b3b3b3;text-decoration:line-through;font-size:%?26.29?%;margin-left:%?15?%}.activeClass[data-v-a82b75f6]{width:%?400?%;height:%?400?%}.act_swiper[data-v-a82b75f6]{height:%?200?%;position:fixed;z-index:99;overflow:hidden}.act_img[data-v-a82b75f6]{-webkit-transform:translateY(%?-840?%);transform:translateY(%?-840?%)}.content_sift[data-v-a82b75f6]{width:%?750?%;padding:%?22?% 0;background-color:#fff;display:flex;justify-content:space-around;z-index:99;box-sizing:border-box;margin-bottom:%?20?%}.swipers[data-v-a82b75f6]{width:%?750?%;height:%?998.83?%}.card[data-v-a82b75f6]{width:%?720?%;z-index:99;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-a82b75f6]{display:flex;align-items:center;padding:%?10?% %?35?%}.card .left .tot_price[data-v-a82b75f6]{display:flex;margin-left:%?42?%;flex-direction:column;justify-content:space-between}.card .right[data-v-a82b75f6]{font-size:%?33.29?%;line-height:50px;background:linear-gradient(90deg,#f84221,#ff6d20);width:%?175.23?%;text-align:center}.badge[data-v-a82b75f6]{position:absolute;top:0;right:0;background-color:#f84221;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);border-radius:%?35?%;text-align:center;width:%?35?%;line-height:%?35?%;height:%?35?%}.cloud_entrepot[data-v-a82b75f6]{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-a82b75f6]{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-a82b75f6]{margin:0 auto;width:100%;text-align:center;font-size:%?50.88?%;color:#fff;margin-bottom:%?28.07?%}.town-title[data-v-a82b75f6]::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-a82b75f6]::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-a82b75f6]{width:%?694.74?%;display:flex;justify-content:space-between;flex-wrap:wrap;margin:0 auto}.body-wrapper .item[data-v-a82b75f6]{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-a82b75f6]{display:block;font-size:%?24.56?%;color:#999;margin-bottom:%?14.04?%}.body-wrapper .item .item-title[data-v-a82b75f6]{font-size:%?31.58?%;color:#333}.body-wrapper .item .chakan-btn[data-v-a82b75f6]{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-a82b75f6]{position:relative;height:100vh}.empty .info[data-v-a82b75f6]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.head_r[data-v-a82b75f6]{display:flex;flex-direction:column;align-items:center}.cart[data-v-a82b75f6]{z-index:999}.x_tra[data-v-a82b75f6]{z-index:999999;-webkit-animation-name:addcatr;animation-name:addcatr;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards\r\n /* 设置为1 */}.price_sift[data-v-a82b75f6]{display:flex;align-items:center}',""]),t.exports=e},"6a8e":function(t,e,n){var i=n("2ecc");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("51a8e398",i,!0,{sourceMap:!1,shadowMode:!1})},7075:function(t,e,n){"use strict";n.r(e);var i=n("0cf8"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"71df":function(t,e,n){"use strict";var i=n("77f6"),a=n.n(i);a.a},"77f6":function(t,e,n){var i=n("66cc");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("9878aca0",i,!0,{sourceMap:!1,shadowMode:!1})},9657: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(){return i}));var i={uIcon:n("e63e").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-number-box"},[t.showMinus&&t.$slots.minus?n("v-uni-view",{staticClass:"u-number-box__slot",on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchStart("minus")},touchend:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clearTimeout.apply(void 0,arguments)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clickHandler("minus")}}},[t._t("minus")],2):t.showMinus?n("v-uni-view",{staticClass:"u-number-box__minus",class:{"u-number-box__minus--disabled":t.isDisabled("minus")},style:[t.buttonStyle("minus")],attrs:{"hover-class":"u-number-box__minus--hover","hover-stay-time":"150"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchStart("minus")},touchend:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clearTimeout.apply(void 0,arguments)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clickHandler("minus")}}},[n("u-icon",{attrs:{name:"minus",color:t.isDisabled("minus")?"#c8c9cc":"#323233",size:"15",bold:!0,customStyle:t.iconStyle}})],1):t._e(),t._t("input",[n("v-uni-input",{staticClass:"u-number-box__input",class:{"u-number-box__input--disabled":t.disabled||t.disabledInput},style:[t.inputStyle],attrs:{disabled:t.disabledInput||t.disabled,"cursor-spacing":t.getCursorSpacing,type:"number"},on:{blur:function(e){arguments[0]=e=t.$handleEvent(e),t.onBlur.apply(void 0,arguments)},focus:function(e){arguments[0]=e=t.$handleEvent(e),t.onFocus.apply(void 0,arguments)},input:function(e){arguments[0]=e=t.$handleEvent(e),t.onInput.apply(void 0,arguments)}},model:{value:t.currentValue,callback:function(e){t.currentValue=e},expression:"currentValue"}})]),t.showPlus&&t.$slots.plus?n("v-uni-view",{staticClass:"u-number-box__slot",on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchStart("plus")},touchend:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clearTimeout.apply(void 0,arguments)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clickHandler("plus")}}},[t._t("plus")],2):t.showPlus?n("v-uni-view",{staticClass:"u-number-box__plus",class:{"u-number-box__minus--disabled":t.isDisabled("plus")},style:[t.buttonStyle("plus")],attrs:{"hover-class":"u-number-box__plus--hover","hover-stay-time":"150"},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchStart("plus")},touchend:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clearTimeout.apply(void 0,arguments)},click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clickHandler("plus")}}},[n("u-icon",{attrs:{name:"plus",color:t.isDisabled("plus")?"#c8c9cc":"#323233",size:"15",bold:!0,customStyle:t.iconStyle}})],1):t._e()],2)},o=[]},"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,n("99af"),n("ac1f"),n("d3b7"),n("159b"),n("14d9"),n("b64b");var a=i(n("c7eb")),o=i(n("1da1")),r=i(n("5530")),s=n("077a"),u=n("d67f"),c=n("0cc1"),d=n("ea4c"),l=n("c211"),f=n("94e5"),p=i(n("b68a")),h=n("26cb"),g={components:{authorize:p.default},data:function(){return{skuform:{},skusize:0,skuNumber:1,showcartpop:!1,trnList:[],act_cart:!1,appInfo:{},pocls:"",type:"",act_swiper:"",current:3,goodsNum:0,goodsList:[],isEmpty:!1,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:0,page_num:1,act_img:"",cartTagInfo:{},isAuto:!1,actList:[{tit:"综合",act:"",screen:""},{tit:"销量",act:"",screen:"sales"},{tit:"价格",act:"",screen:"price_asc",price:!0}],status:"loadmore",flag:!1,isShowAuth:!1}},computed:(0,r.default)({},(0,h.mapGetters)(["isLogin","viewColor","uid"])),onLoad:function(t){this.appInfo=this.$appInfo.safeAreaInsets,this.winHeight=this.$appInfo.windowHeight,this.street_code=t.street,this.town=t.town,this.getCloundShop()},onShow:function(){this.cartFn()},onReachBottom:function(){var t=this;!this.flag&&this.goodsList.length&&(this.status="loading",this.page_num+=1,this.flag=!0,(0,s.cloudWarehouse)({street_code:this.street_code,category_id:this.cloudList[this.current].category_id,order:this.type,keyword:this.keyword,page_num:this.page_num}).then((function(e){if(e.data.list[0].product_id==t.goodsList[0].product_id)t.status="nomore",t.flag=!1;else{if(0==e.data.list.length)return void(t.status="nomore");t.goodsList=t.goodsList.concat(e.data.list)}})))},onPageScroll:function(t){var e=this;this.showtit=!Boolean(t.scrollTop),uni.createSelectorQuery().in(this).select(".content").boundingClientRect((function(t){t.top<=e.headtop?(e.pocls="fixed",e.act_swiper="act_swiper",e.act_img="act_img"):(e.pocls="",e.act_swiper="",e.act_img="")})).exec(),this.headtop||(uni.createSelectorQuery().in(this).select(".flags").boundingClientRect((function(t){e.headtop=t.top})).exec(),uni.createSelectorQuery().in(this).select(".cart").boundingClientRect((function(t){e.cartTagInfo=t})).exec())},onPullDownRefresh:function(){this.getCloundShop(),this.getList(),this.cartFn(),uni.stopPullDownRefresh()},methods:{skusizechange:function(t){this.skusize=t},skuaddcart:function(){var t=this;this.showcartpop=!1;(0,f.postCartAdd)({cart_num:this.skuNumber,is_new:0,product_attr_unique:this.skuform.sku[this.skusize].unique,product_id:this.skuform.product_id,product_type:this.skuform.product_type,spread_id:""}).then((function(e,n){t.cartFn(),uni.showToast({title:"加入成功",duration:1e3})})).catch((function(t){uni.showToast({title:t,icon:"none",duration:1e3})}))},valChange:function(e){t("log",e.value," at pages/nongKe/cloud_entrepot/index.vue:557"),this.skuNumber=e.value},closecartpop:function(){this.showcartpop=!1},opencartpop:function(){this.showcartpop=!0},authColse:function(t){this.isShowAuth=t},onLoadFun:function(){this.isShowAuth=!1},clickSwiperFn:function(t){this.current=t},cartFn:function(){var e=this;(0,d.getCartList)().then((function(n){t("log",n," at pages/nongKe/cloud_entrepot/index.vue:581"),e.totalMoney=0,e.cartList=n.data.list,e.cartList.forEach((function(t){t.list.forEach((function(t){e.totalMoney+=t.cart_num*t.productAttr.price}))})),e.totalMoney=e.totalMoney.toFixed(2)})),(0,d.getCartCounts)().then((function(t){e.goodsNum=t.data[0].count}))},godDetail:function(t){var e=this;(0,l.goShopDetail)(t,this.uid).then((function(n){e.isLogin?(0,c.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,2==e&&(this.actList[e].price=!this.actList[e].price,this.type=this.actList[e].price?"price_asc":""),this.getList()},navgo:function(t){uni.navigateTo({url:t})},getList:function(){var t=this;this.showLoading=!0,this.status="loading",(0,s.cloudWarehouse)({street_code:this.street_code,category_id:this.cloudList[this.current].category_id,order:this.type,keyword:this.keyword,page_num:this.page_num}).then((function(e){t.goodsList=e.data.list,t.showLoading=!1,t.goodsList.forEach((function(e){t.trnList.push({left:0,bottom:0})}))}))},addcart:function(e,n){var i=this;if(!this.isLogin)return this.isAuto=!0,void(this.isShowAuth=!0);if(e.sku[""]){var a={cart_num:1,is_new:0,product_attr_unique:e.sku[""].unique,product_id:e.product_id,product_type:e.product_type,spread_id:""},o=this;uni.createSelectorQuery().in(this).select(".act_class".concat(n)).boundingClientRect((function(e){o.trnList[n].left=i.cartTagInfo.left-e.left,o.trnList[n].bottom=i.cartTagInfo.top-e.top,t("log",o.trnList[n]," at pages/nongKe/cloud_entrepot/index.vue:693");setTimeout((function(){o.trnList[n].left=0,o.trnList[n].bottom=0,o.act_cart=!0,setTimeout((function(){o.act_cart=!1}),500)}),1e3)})).exec();(0,f.postCartAdd)((0,r.default)({},a)).then((function(t,e){i.cartFn(),uni.showToast({title:"加入成功",duration:1e3})})).catch((function(t){uni.showToast({title:t,icon:"none",duration:1e3})}));setTimeout((function(){o.act_cart=!1}),500)}else{this.skuform=e,this.showcartpop=!0;var s=Object.keys(e.sku);s[0];this.skusize=s[0]}},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,o.default)((0,a.default)().mark((function e(){var n,i;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getCityCloundShop)({street_code:t.street_code});case 2:n=e.sent,i=n.data,t.cloudList=i,(0,s.cloudWarehouse)({street_code:t.street_code,category_id:t.cloudList[t.current].category_id}).then((function(e){t.goodsList=e.data.list,t.goodsList.forEach((function(e){t.trnList.push({left:0,bottom:0})}))})),i.length<1&&(0,u.Toast)("暂无云仓");case 7:case"end":return e.stop()}}),e)})))()}}};e.default=g}).call(this,n("0de9")["log"])},ac88:function(t,e,n){"use strict";var i=n("6a8e"),a=n.n(i);a.a},b68a:function(t,e,n){"use strict";n.r(e);var i=n("e6f9"),a=n("7075");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("ac88");var r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"7457bcea",null,!1,i["a"],void 0);e["default"]=s.exports},bebf:function(t,e,n){"use strict";n.r(e);var i=n("995e"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.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,o.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,a=(0,o.default)({title:t,duration:i,position:"center",mask:!0,icon:e||"none"},n);uni.showToast(a)},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=r,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,a="navigateTo";switch(i=n?i+"?"+r(n):i,t){case 1:a="navigateTo";break;case 2:a="redirectTo";break;case 3:a="reLaunch";break;case 4:a="switchTab";break;default:a="navigateTo";break}uni[a]({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,a.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 o=document.createElement("canvas"),r=o.getContext("2d"),s=new Image;return s.onload=function(){o.width=s.width,o.height=s.height,r.drawImage(s,0,0),e(o.toDataURL()),o.height=o.width=0},s.onerror=n,void(s.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,a.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,a.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 a=this,o=arguments.length,r=new Array(o),s=0;s<o;s++)r[s]=arguments[s];n=r,i||(i=setTimeout((function(){i=null,t.apply(a,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 a=i(n("53ca")),o=i(n("5530"));function r(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},dcde:function(t,e,n){var i=n("63fb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("cf4b9a4c",i,!0,{sourceMap:!1,shadowMode:!1})},e6f9:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[t.isShowAuth&&t.code?n("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?n("v-uni-view",{staticClass:"Popup",style:"top:"+t.top+"px;"},[t.isWeixin?n("v-uni-text",{staticClass:"title"},[t._v("授权提醒")]):n("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?n("v-uni-text",{staticClass:"tip"},[t._v("请授权头像等信息,以便为您提供更好的服务!")]):n("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),n("v-uni-view",{staticClass:"bottom flex"},[n("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),n("v-uni-button",{staticClass:"item grant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?n("v-uni-text",{staticClass:"text"},[t._v("去授权")]):n("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},a=[]},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 a.default.post("order/receipt/".concat(t),e)},e.cartDel=function(t){return a.default.post("user/cart/delete",t)},e.changeCartNum=function(t,e){return a.default.post("user/cart/change/"+t,e)},e.createOrder=function(t){return a.default.post("v2/order/create",t,{noAuth:!0})},e.develiveryDetail=function(t){return a.default.get("order/delivery/".concat(t))},e.express=function(t){return a.default.post("order/express/"+t)},e.expressList=function(){return a.default.get("common/express")},e.getCallBackUrlApi=function(t){return a.default.get("common/pay_key/"+t,{},{noAuth:!0})},e.getCartCounts=function(t){return a.default.get("user/cart/count",t)},e.getCartList=function(t){return a.default.get("user/cart/lst",t)},e.getCouponsOrderPrice=function(t,e){return a.default.get("coupons/order/"+t,e)},e.getOrderConfirm=function(t){return a.default.post("v2/order/check",t)},e.getOrderDetail=function(t){return a.default.get("order/detail/"+t)},e.getOrderList=function(t){return a.default.get("order/list",t)},e.getPayOrder=function(t){return a.default.get("order/status/"+t)},e.getReceiptOrder=function(t){return a.default.get("user/receipt/order/"+t)},e.groupOrderDetail=function(t,e){return a.default.get("order/group_order_detail/"+t+"?product_type="+e)},e.groupOrderList=function(t){return a.default.get("order/group_order_list",t,{noAuth:!0})},e.ordeRefundReason=function(){return a.default.get("order/refund/reason")},e.orderAgain=function(t){return a.default.post("user/cart/again",t)},e.orderComment=function(t,e){return a.default.post("reply/"+t,e)},e.orderConfirm=function(t){return a.default.post("order/check",t)},e.orderCreate=function(t){return a.default.post("order/create",t,{noAuth:!0})},e.orderData=function(t){return a.default.get("order/number",t)},e.orderDel=function(t){return a.default.post("order/del/"+t)},e.orderPay=function(t,e){return a.default.post("order/pay/"+t,e)},e.orderProduct=function(t){return a.default.get("reply/product/"+t)},e.orderRefundVerify=function(t){return a.default.post("order/refund/verify",t)},e.orderTake=function(t){return a.default.post("order/take/"+t)},e.postOrderComputed=function(t,e){return a.default.post("/order/computed/"+t,e)},e.presellOrderPay=function(t,e){return a.default.post("presell/pay/"+t,e)},e.receiptOrder=function(t){return a.default.get("user/receipt/order",t)},e.refundApply=function(t,e){return a.default.post("refund/apply/"+t,e,{noAuth:!0})},e.refundBackGoods=function(t,e){return a.default.post("refund/back_goods/"+t,e,{noAuth:!0})},e.refundBatch=function(t){return a.default.get("refund/batch_product/"+t,{noAuth:!0})},e.refundCancelApi=function(t){return a.default.post("refund/cancel/".concat(t))},e.refundDel=function(t){return a.default.post("refund/del/"+t,{noAuth:!0})},e.refundDetail=function(t){return a.default.get("refund/detail/"+t,{noAuth:!0})},e.refundExpress=function(t){return a.default.get("refund/express/"+t,{noAuth:!0})},e.refundList=function(t){return a.default.get("refund/list",t,{noAuth:!0})},e.refundMessage=function(){return a.default.get("common/refund_message",{noAuth:!0})},e.refundOrderExpress=function(t,e){return a.default.get("server/".concat(t,"/refund/express/").concat(e))},e.refundProduct=function(t,e){return a.default.get("refund/product/"+t,e,{noAuth:!0})},e.refundlist=function(t){return a.default.get("refund/list",t)},e.unOrderCancel=function(t){return a.default.post("order/cancel/"+t)},e.verifyCode=function(t){return a.default.get("order/verify_code/"+t)},n("99af");var a=i(n("095d"))}}]);