zx/public/static/js/pages-order_addcart-order_a...

1 line
61 KiB
JavaScript
Raw Permalink 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-order_addcart-order_addcart"],{"02aa":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").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.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.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.getAssistData=function(t){return o.default.get("diy/assist",t,{noAuth:!0})},e.getCateData=function(t){return o.default.get("diy/category",t,{noAuth:!0})},e.getCity=function(){return o.default.get("system/city/lst",{},{noAuth:!0})},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.getCombinationData=function(t){return o.default.get("diy/group",t,{noAuth:!0})},e.getCouponData=function(t){return o.default.get("diy/coupon",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.getLiveData=function(t){return o.default.get("diy/broadcast",t,{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.getOpenAdv=function(){return o.default.get("open_screen",{},{noAuth:!0})},e.getPageDiy=function(t){return o.default.get("micro",t,{noAuth:!0})},e.getPresellData=function(t){return o.default.get("diy/presell",t,{noAuth:!0})},e.getProductData=function(t){return o.default.get("diy/spu",t,{noAuth:!0})},e.getSeckillData=function(t){return o.default.get("diy/seckill",t,{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.graphicLstData=function(t){return o.default.get("diy/community",t,{noAuth:!0})},e.hotRankingList=function(t){return o.default.get("diy/hot_top",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.registerVerify=function(t,e,i,n){return o.default.post("register/verify",{phone:t,type:void 0===e?"reset":e,key:i,code:n},{noAuth:!0})},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.storeList=function(t){return o.default.get("diy/store",t,{noAuth:!0})},e.switchH5Login=function(t){return o.default.post("user/switch",t)},e.verifyCode=function(){return o.default.get("verify_code",{},{noAuth:!0})},e.wechatAppAuth=function(t){return o.default.post("auth/app",t,{noAuth:!0})};var o=n(i("fea3"))},"1df8":function(t,e,i){var n=i("cf18");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("d7f1bbb8",n,!0,{sourceMap:!1,shadowMode:!1})},"1f71":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{newData:{type:Object,default:{}},activeRouter:{type:String,default:""}},data:function(){return{}},mounted:function(){},methods:{goRouter:function(t){var e=getCurrentPages(),i=e[e.length-1].$page.fullPath;t.link!=i&&uni.switchTab({url:t.link,fail:function(e){uni.redirectTo({url:t.link})}})}}};e.default=n},2866:function(t,e,i){"use strict";i.r(e);var n=i("5e26"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"31d8":function(t,e,i){"use strict";i.r(e);var n=i("8fda"),o=i("41a5");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("3a9c");var r=i("828b"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"601c480a",null,!1,n["a"],void 0);e["default"]=c.exports},"3a9c":function(t,e,i){"use strict";var n=i("85e1"),o=i.n(n);o.a},"3b41":function(t,e,i){"use strict";var n=i("1df8"),o=i.n(n);o.a},"3e95":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("5c47");var n=i("02aa"),o=i("8f59"),a=i("aa10"),r={props:{openType:{type:Number,default:0},coupon:{type:Object,default:function(){return{}}},showTitle:{type:Number,default:1},isShop:{type:Number,default:0}},filters:{timeYMD:function(t){if(t){var e=/\d{4}-\d{1,2}-\d{1,2}/g.exec(t);return e[0]}}},computed:(0,o.mapGetters)(["viewColor","keyColor"]),data:function(){return{domain:a.HTTP_REQUEST_URL,tabList:["商品券","店铺券"],tabIndex:this.isShop,couponArr:[]}},mounted:function(){this.$nextTick((function(){this.couponArr=this.coupon.list}))},methods:{close:function(){this.$emit("ChangCouponsClose")},getCouponUser:function(t,e){var i=this;if(e.issue)return!0;switch(this.openType){case 0:(0,n.setCouponReceive)(e.coupon_id).then((function(n){e.issue=!0,i.$emit("ChangCouponsUseState",t),i.$util.Tips({title:"领取成功"}),i.$emit("ChangCoupons",e)}));break;case 1:i.$emit("ChangCoupons",t);break}},bindTab:function(t,e){this.tabIndex=e,this.filterArray()}}};e.default=r},"41a5":function(t,e,i){"use strict";i.r(e);var n=i("b9db"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},5676:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").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.cartProductAttr=function(t){return o.default.get("store/product/get_attr_value/".concat(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(){return o.default.get("user/cart/count")},e.getCartList=function(){return o.default.get("user/cart/lst")},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){return o.default.get("order/group_order_detail/"+t)},e.groupOrderList=function(t){return o.default.get("order/group_order_list",t,{noAuth:!0})},e.integralOrderPay=function(t,e){return o.default.post("order/points/pay/"+t,e)},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(){return o.default.get("order/number")},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.unOrderCancel=function(t){return o.default.post("order/cancel/"+t)},e.verifyCode=function(t){return o.default.get("order/verify_code/"+t)},i("c223");var o=n(i("fea3"))},"5e26":function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("b7c7"));i("bf0f"),i("2797"),i("aa9c"),i("d4b5"),i("64aa"),i("5ef2"),i("dd2b"),i("08eb"),i("18f7"),i("f3f7"),i("de6c"),i("8f71"),i("c223"),i("fd3c");var a=n(i("7420")),r=n(i("31d8")),c=i("5999"),s=n(i("7ec6")),u=i("5676"),d=i("02aa"),l=i("7e00"),p=i("8f59"),f=n(i("d3e2")),h=i("96e0"),v=i("aa10"),g=i("e44d"),m=i("d838"),w=i("e242"),b=n(i("6a1b")),_=(getApp(),{props:{image:{type:String,default:""}},components:{customTab:s.default,recommend:f.default,couponListWindow:a.default,addcartWindow:r.default},data:function(){return{domain:v.HTTP_REQUEST_URL,loading:!1,loadend:!1,loadTitle:"加载更多",isFooter:!1,cartCount:0,goodsHidden:!0,footerswitch:!0,hostProduct:[],cartList:{valid:[],invalid:[]},isAllSelect:!1,selectValue:[],selectCountPrice:0,hotScroll:!1,hotPage:1,hotLimit:10,coupon:{coupon:!1,list:[]},cartTotalCount:0,recommend:!1,productValue:[],attr:{cartAttr:!1,productAttr:[],productSelect:{}},isOpen:!1,source:"",attrImage:"",isCart:!0,cart_id:"",attrValue:"",uniqueValue:"",newVal:{},goods:{},currSku:"",newData:{},activeRouter:"",selectedArr:[]}},computed:(0,h.configMap)({hide_mer_status:1,recommend_switch:0,navigation:{}},(0,p.mapGetters)(["isLogin","viewColor"])),onReady:function(){},mounted:function(){},onLoad:function(t){},onShow:function(){var t=getCurrentPages(),e=t[t.length-1].route;this.activeRouter="/"+e,this.getNav(),1==this.isLogin?(this.getCartList(),this.getCartNum(),this.goodsHidden=!0,this.footerswitch=!0,this.isAllSelect=!1,this.selectValue=[],uni.setStorage({key:"invoice_Data",data:{},success:function(){}})):setTimeout((function(){(0,g.toLogin)()}),300)},methods:{getNav:function(){var t=this;(0,c.getNavigation)().then((function(e){t.newData=e.data,t.newData.status&&t.newData.status.status?(uni.hideTabBar(),t.isFooter=!0):(uni.showTabBar(),t.isFooter=!1)}))},subDel:function(t){var e=this,i=this,n=[];if(this.cartList.valid.forEach((function(t){t.list.forEach((function(t){t.check&&n.push(t.cart_id)}))})),0==n.length)return i.$util.Tips({title:"请选择产品"});(0,u.cartDel)({cart_id:n}).then((function(t){return e.getCartList(),e.getCartNum(),i.$util.Tips({title:t.message,icon:"success"})})).catch((function(t){return i.$util.Tips({title:t})}))},subCollect:function(t){var e=this,i=[];if(this.cartList.valid.forEach((function(t){t.list.forEach((function(t){t.check&&i.push(t.spu.spu_id)}))})),0==i.length)return e.$util.Tips({title:"请选择产品"});(0,l.collectAll)({type_id:i,type:1}).then((function(t){return e.$util.Tips({title:t.message,icon:"success"})})).catch((function(t){return e.$util.Tips({title:t})}))},onMyEvent:function(){this.$set(this.attr,"cartAttr",!1),this.$set(this,"isOpen",!1)},changeCart:function(t,e){var i=this;i.goods!=t?(0,u.cartProductAttr)(e).then((function(e){t.attr=e.data.attr,t.attrValue=e.data.attrValue,i.attrValue=t.productAttr.sku,i.attrImage=t.product.image,i.goods=JSON.parse(JSON.stringify(t)),i.currSku=t.productAttr.sku.split(","),i.$set(i.attr,"productAttr",e.data.attr);var n={};e.data.attrValue.forEach((function(t){n[t.sku]=t})),i.$set(i,"productValue",n);n[i.attrValue];i.isOpen=i.attr.cartAttr=!0,i.DefaultSelect(t)})).catch((function(t){return i.$util.Tips({title:t})})):i.isOpen=i.attr.cartAttr=!0},DefaultSelect:function(t){var e=this.attr.productAttr,i=[];if(this.currSku)i=this.currSku;else for(var n in this.productValue)if(this.productValue[n].stock>0){i=this.attr.productAttr.length?n.split(","):[];break}for(var o=0;o<e.length;o++)this.$set(e[o],"index",i[o]);var a=this.productValue[i.join(",")];a&&e.length?(this.$set(this.attr.productSelect,"store_name",t.product.store_name),this.$set(this.attr.productSelect,"image",a.image?a.image:t.product.image),this.$set(this.attr.productSelect,"price",a.price),this.$set(this.attr.productSelect,"stock",a.stock),this.$set(this.attr.productSelect,"unique",a.unique),this.$set(this.attr.productSelect,"svip_price",a.svip_price),this.$set(this,"uniqueValue",a.unique),this.$set(this,"attrValue",i.join(",")),this.$set(this,"attrTxt","已选择"),0==a.stock?this.$set(this.attr.productSelect,"cart_num",0):this.$set(this.attr.productSelect,"cart_num",1)):!a&&e.length?(this.$set(this.attr.productSelect,"store_name",t.product.store_name),this.$set(this.attr.productSelect,"image",t.product.image),this.$set(this.attr.productSelect,"price",t.product.price),this.$set(this.attr.productSelect,"svip_price",a.svip_price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this,"uniqueValue",""),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this,"attrValue",""),this.$set(this,"attrTxt","请选择")):a||e.length?a&&!e.length&&(this.$set(this.attr.productSelect,"store_name",t.product.store_name),this.$set(this.attr.productSelect,"image",a.image),this.$set(this.attr.productSelect,"price",a.price),this.$set(this.attr.productSelect,"svip_price",a.svip_price),this.$set(this.attr.productSelect,"stock",a.stock),this.$set(this.attr.productSelect,"unique",a.unique),this.$set(this,"uniqueValue",a.unique),this.$set(this,"attrValue",i.join(",")),this.$set(this,"attrTxt","已选择"),0==a.stock?this.$set(this.attr.productSelect,"cart_num",0):this.$set(this.attr.productSelect,"cart_num",1)):(this.$set(this.attr.productSelect,"store_name",t.product.store_name),this.$set(this.attr.productSelect,"image",t.product.image),this.$set(this.attr.productSelect,"price",t.product.price),this.$set(this.attr.productSelect,"svip_price",a.svip_price),this.$set(this.attr.productSelect,"stock",t.product.stock),this.$set(this.attr.productSelect,"unique",t.product.unique||""),this.$set(this,"uniqueValue",t.product.unique||""),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"attrValue",""),this.$set(this,"attrTxt","请选择")),this.goCart(a)},goCart:function(t){return this.attr.productAttr.length&&!0===this.isOpen&&0==t.stock?this.$util.Tips({title:"产品库存不足,请选择其它"}):0==this.attr.productSelect.cart_num?this.$util.Tips({title:"购买个数不能为0"}):void 0},attrVal:function(t){this.$set(this.attr.productAttr[t.indexw],"index",this.attr.productAttr[t.indexw].attr_values[t.indexn])},ChangeAttr:function(t){var e=this.productValue[t];this.currSku=t,this.newVal=this.productValue[t],e&&this.$set(this,"uniqueValue",e.unique),e&&e.stock>0?(this.$set(this.attr.productSelect,"image",e.image?e.image:this.attrImage),this.$set(this.attr.productSelect,"price",e.price),this.$set(this.attr.productSelect,"stock",e.stock),this.$set(this.attr.productSelect,"unique",e.unique),this.$set(this,"uniqueValue",e.unique),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"attrValue",t)):(this.$set(this.attr.productSelect,"image",e.image?e.image:this.attrImage),this.$set(this.attr.productSelect,"price",e.price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this,"attrValue",""))},subOrder:function(t){var e=[];if(this.cartList.valid.forEach((function(t){t.list.forEach((function(t){t.check&&e.push(t.cart_id)}))})),!(e.length>0))return this.$util.Tips({title:"请选择产品"});uni.navigateTo({url:"/pages/users/order_confirm/index?cartId="+e.join(",")})},addCart:function(t,e){var i=this;if(t.hasOwnProperty("productAttr")&&t.cart_num>=t.productAttr.stock||t.product.once_max_count>0&&t.product.once_min_count>0&&t.cart_num>=t.product.once_max_count)return t.hasOwnProperty("productAttr")&&t.cart_num>=t.productAttr.stock&&(t.cart_num=t.productAttr.stock),t.numAdd=!0,void(t.numSub=!1);var n=this;(0,u.changeCartNum)(t.cart_id,{cart_num:t.cart_num+1}).then((function(e){t.cart_num=Number(t.cart_num)+1,n.cartTotalCount=Number(n.cartTotalCount)+1,t.numAdd=!1,t.numSub=!1,i.cartAllCheck("goodsCheck")})).catch((function(t){n.$util.Tips({title:t})}))},goCat:function(){var t=this;(0,u.changeCartNum)(t.goods.cart_id,{cart_num:t.goods.cart_num,product_attr_unique:t.newVal.unique}).then((function(e){if(t.goods.hasOwnProperty("productAttr")&&t.goods.cart_num>t.goods.productAttr.stock)return t.goods.cart_num=t.goods.productAttr.stock,t.goods.numAdd=!0,void(t.goods.numSub=!1);t.goods.numAdd=!1,t.goods.numSub=!1,t.onMyEvent(),t.getCartList(!0),t.isAllSelect=!1})).catch((function(e){t.$util.Tips({title:e})}))},subCart:function(t){var e=this,i=!1;(t.cart_num<1||t.product.once_max_count>0&&t.product.once_min_count>0&&t.cart_num<=t.product.once_min_count)&&(i=!0),t.cart_num<=1?(t.cart_num=1,t.numSub=!0,i=!0):0==i&&(0,u.changeCartNum)(t.cart_id,{cart_num:Number(t.cart_num)-1}).then((function(i){t.numSub=!1,t.numAdd=!1,t.cart_num<=1&&(t.numSub=!0),t.cart_num=Number(t.cart_num)-1,e.cartTotalCount=Number(e.cartTotalCount)-1,e.cartAllCheck("goodsCheck")})).catch((function(t){e.$util.Tips({title:t})}))},getCartNum:function(){var t=this;(0,u.getCartCounts)().then((function(e){t.cartTotalCount=e.data[0].count||0}))},getCartList:function(t){var e=this,i=this;(0,u.getCartList)().then((function(t){(0,w.checkCart)()?i.selectedArr=b.default.get(m.CART_ID)&&JSON.parse(b.default.get(m.CART_ID))||[]:i.selectedArr=[],t.data.list.forEach((function(t,e){t.allCheck=!1,t.list.forEach((function(t,e){t.check=-1!=i.selectedArr.indexOf(t.cart_id),1==t.cart_num?t.numSub=!0:t.numSub=!1,t.cart_num==t.productAttr.stock?t.numAdd=!0:t.numAdd=!1}))})),e.cartList.valid=t.data.list,e.cartList.invalid=t.data.fail,0==t.data.list.length&&0==t.data.list.length?(e.recommend=!0,e.hostProduct.length||e.getHostProduct()):e.recommend=!1;e.cartAllCheck("goodsCheck"),uni.stopPullDownRefresh()}))},storeAllCheck:function(t,e){var i=b.default.get(m.CART_ID)&&JSON.parse(b.default.get(m.CART_ID))||[];t.allCheck?(t.allCheck=!1,t.list.forEach((function(t,e){t.check=!1,i.forEach((function(e,n){e==t.cart_id&&i.splice(n,1)}))}))):(t.allCheck=!0,t.list.forEach((function(t,e){t.check=!0,-1==i.indexOf(t.cart_id)&&i.push(t.cart_id)}))),b.default.set(m.CART_ID,Array.from((0,o.default)(new Set(i))));var n=Date.now();b.default.set(m.CART_TIME,n),this.cartAllCheck("goodsCheck")},goodsCheck:function(t){t.check=!t.check;var e=b.default.get(m.CART_ID)&&JSON.parse(b.default.get(m.CART_ID))||[];if(t.check)e.push(t.cart_id),b.default.set(m.CART_ID,Array.from((0,o.default)(new Set(e))));else{var i=new Set(e);i.delete(t.cart_id),b.default.set(m.CART_ID,Array.from((0,o.default)(i)))}var n=Date.now();b.default.set(m.CART_TIME,n),this.cartAllCheck("goodsCheck")},cartAllCheck:function(t){var e=this,i=[],n=0,o=0;e.cartList.valid.forEach((function(a,r){if("goodsCheck"==t){var c=a.list.filter((function(t){return 1==t.check}));a.list.length==c.length?(a.allCheck=!0,i.push(a)):a.allCheck=!1}else a.list.forEach((function(t){t.check=e.isAllSelect})),a.allCheck=e.isAllSelect,a.allCheck&&i.push(a);a.list.forEach((function(t){t.check&&(n=e.$util.$h.Add(n,e.$util.$h.Mul(t.productAttr.price,t.cart_num)),o+=t.cart_num)}))})),e.cartCount=o,e.selectCountPrice=n,e.isAllSelect=i.length==e.cartList.valid.length},checkboxAllChange:function(){if(this.isAllSelect=!this.isAllSelect,this.isAllSelect){var t=b.default.get("CART_ID")&&JSON.parse(b.default.get("CART_ID"))||[];this.cartList.valid.forEach((function(e,i){e.list.forEach((function(e){t.push(e.cart_id)}))})),b.default.set(m.CART_ID,Array.from((0,o.default)(new Set(t))));var e=Date.now();b.default.set(m.CART_TIME,e)}else b.default.set(m.CART_ID,[]);this.cartAllCheck("cartCheck")},getHostProduct:function(){var t=this;t.loadend||t.hotScroll||(t.loading=!0,t.loadTitle="加载更多",(0,l.getProductHot)(t.hotPage,t.hotLimit).then((function(e){e.data.list;t.hotPage++,t.hotScroll=e.data.list.length<t.hotLimit,t.hostProduct=t.hostProduct.concat(e.data.list),t.loading=!1,t.loadTitle=t.hotScroll?"我也是有底线的":"加载更多"})))},goodsOpen:function(){this.goodsHidden=!this.goodsHidden},manage:function(){this.footerswitch=!this.footerswitch},unsetCart:function(){for(var t=this,e=[],i=0,n=t.cartList.invalid.length;i<n;i++)e.push(t.cartList.invalid[i].cart_id);(0,u.cartDel)({cart_id:e}).then((function(e){t.$util.Tips({title:"清除成功"}),t.getCartNum(),t.$set(t.cartList,"invalid",[])})).catch((function(t){}))},giveCoupon:function(t){var e=this,i=[],n=[],o=[];t.list.map((function(t){o.push(t.product_id)})),uni.showLoading({title:"加载中...",mask:!0}),(0,d.getCoupons)({ids:o.join(",")}).then((function(o){i=o.data,(0,d.getShopCoupons)(t.mer_id).then((function(t){var o=t.data;uni.hideLoading(),n=i.concat(o),e.$set(e.coupon,"list",n),e.$set(e.coupon,"coupon",!0)})).catch((function(t){}))}))},ChangCouponsClose:function(){this.$set(this.coupon,"coupon",!1)},ChangCouponsUseState:function(t){this.coupon.list[t].issue=!0}},onPullDownRefresh:function(){this.cartList={valid:[],invalid:[]},this.getCartNum(),this.getCartList()},onReachBottom:function(){this.recommend&&this.getHostProduct()},onPageScroll:function(t){uni.$emit("scroll")}});e.default=_},6428:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.product-window[data-v-601c480a]{position:fixed;bottom:0;width:100%;left:0;background-color:#fff;z-index:10000;border-radius:%?16?% %?16?% 0 0;padding-bottom:%?140?%;padding-bottom:calc(140rpx+ constant(safe-area-inset-bottom));padding-bottom:calc(%?140?% + env(safe-area-inset-bottom));-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.product-window.presell-window[data-v-601c480a]{padding-bottom:%?200?%}.product-window.on[data-v-601c480a]{-webkit-transform:translateZ(0);transform:translateZ(0)}.product-window.join[data-v-601c480a]{padding-bottom:%?30?%}.product-window .textpic[data-v-601c480a]{padding:0 %?80?% 0 %?30?%;margin-top:%?29?%;position:relative}.product-window .textpic .pictrue[data-v-601c480a]{width:%?150?%;height:%?150?%}.product-window .textpic .pictrue uni-image[data-v-601c480a]{width:100%;height:100%;border-radius:%?10?%}.product-window .textpic .text[data-v-601c480a]{width:%?460?%;font-size:%?32?%;color:#202020}.product-window .textpic .text .money[data-v-601c480a]{font-size:%?24?%;margin-top:%?40?%;color:var(--view-priceColor)}.product-window .textpic .text .money .num[data-v-601c480a]{font-size:%?36?%}.product-window .textpic .text .money .stock[data-v-601c480a]{color:#999;margin-left:%?18?%}.vip-money[data-v-601c480a]{color:#282828;font-size:%?22?%;margin-left:%?6?%}.vipImg[data-v-601c480a]{width:%?65?%;height:%?28?%;margin-left:%?4?%}.vipImg uni-image[data-v-601c480a]{width:100%;height:100%;display:block}.product-window .textpic .text .presell_price[data-v-601c480a]{color:#ff7f00}.product-window .textpic .text .presell_price .num[data-v-601c480a]{display:inline-block;margin-right:%?20?%}.product-window .textpic .text .presell_price .stock[data-v-601c480a]{margin-left:0}.product-window .textpic .iconfont[data-v-601c480a]{position:absolute;right:%?30?%;top:%?-5?%;font-size:%?35?%;color:#8a8a8a}.product-window .productWinList[data-v-601c480a]{max-height:%?395?%;overflow:auto;margin-top:%?36?%}.product-window .productWinList .item ~ .item[data-v-601c480a]{margin-top:%?36?%}.product-window .productWinList .item .title[data-v-601c480a]{font-size:%?30?%;color:#999;padding:0 %?30?%}.product-window .productWinList .item .listn[data-v-601c480a]{padding:0 %?30?% 0 %?16?%}.product-window .productWinList .item .listn .itemn[data-v-601c480a]{border:1px solid #bbb;font-size:%?26?%;color:#282828;padding:%?7?% %?33?%;border-radius:%?6?%;margin:%?14?% 0 0 %?14?%}.product-window .productWinList .item .listn .itemn.on[data-v-601c480a]{color:#fff;background-color:var(--view-theme);border-color:var(--view-theme)}.product-window .cart[data-v-601c480a]{margin-top:%?36?%;padding:0 %?30?%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.product-window .cart .title[data-v-601c480a]{font-size:%?30?%;color:#999;line-height:%?54?%}.product-window .cart .carnum[data-v-601c480a]{height:%?54?%}.product-window .cart .carnum uni-view[data-v-601c480a]{border:1px solid #a4a4a4;width:%?84?%;text-align:center;height:100%;line-height:%?54?%;color:#a4a4a4;font-size:%?45?%}.product-window .cart .carnum .reduce[data-v-601c480a]{border-right:0;border-radius:%?6?% 0 0 %?6?%;line-height:%?48?%}.product-window .cart .carnum .reduce.on[data-v-601c480a]{border-color:#e3e3e3;color:#dedede}.product-window .cart .carnum .plus[data-v-601c480a]{border-left:0;border-radius:0 %?6?% %?6?% 0;line-height:%?46?%}.product-window .cart .carnum .plus.on[data-v-601c480a]{border-color:#e3e3e3;color:#dedede}.product-window .cart .carnum .num[data-v-601c480a]{color:#282828;font-size:%?28?%}.product-window .joinBnt[data-v-601c480a]{font-size:%?30?%;width:%?620?%;height:%?86?%;border-radius:%?50?%;text-align:center;line-height:%?86?%;color:#fff;margin:%?100?% auto 0 auto}.product-window .joinBnt.b-color[data-v-601c480a]{background-color:var(--view-theme)}.product-window .joinBnt.on[data-v-601c480a]{background-color:#bbb;color:#fff;background-image:none}',""]),t.exports=e},"655c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"shoppingCart"},[i("v-uni-view",{staticClass:"labelNav acea-row row-around row-middle"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-text",{staticClass:"iconfont icon-xuanzhong"}),t._v("100%正品保证")],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-text",{staticClass:"iconfont icon-xuanzhong"}),t._v("所有商品精挑细选")],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-text",{staticClass:"iconfont icon-xuanzhong"}),t._v("售后无忧")],1)],1),i("v-uni-view",{staticClass:"nav acea-row row-between-wrapper"},[i("v-uni-view",[t._v("购物数量"),i("v-uni-text",{staticClass:"num t-color"},[t._v(t._s(t.cartTotalCount))])],1),t.cartList.valid.length>0||t.cartList.invalid.length>0?i("v-uni-view",{staticClass:"administrate acea-row row-center-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.manage.apply(void 0,arguments)}}},[t._v(t._s(t.footerswitch?"管理":"取消"))]):t._e()],1),t.cartList.valid.length>0||t.cartList.invalid.length>0?i("v-uni-view",[i("v-uni-view",{staticClass:"list"},[t._l(t.cartList.valid,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"store-title"},[i("v-uni-view",{staticClass:"checkbox",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.storeAllCheck(e,n)}}},[e.allCheck?i("v-uni-text",{staticClass:"iconfont icon-xuanzhong1"}):i("v-uni-text",{staticClass:"iconfont icon-weixuanzhong"})],1),i("v-uni-navigator",{staticClass:"info",attrs:{url:0==t.hide_mer_status?"/pages/store/home/index?id="+e.mer_id:"#"}},[i("v-uni-text",{staticClass:"iconfont icon-shangjiadingdan"}),i("v-uni-view",{staticClass:"name"},[t._v(t._s(e.mer_name))]),i("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1),e.hasCoupon>0?i("v-uni-view",{staticClass:"coupon-btn",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.giveCoupon(e)}}},[t._v("优惠券")]):t._e()],1),t._l(e.list,(function(e){return i("v-uni-navigator",{key:e.cart_id,staticClass:"picTxt acea-row",attrs:{url:"/pages/goods_details/index?id="+e.product.product_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"checkbox",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goodsCheck(e,n)}}},[e.check?i("v-uni-text",{staticClass:"iconfont icon-xuanzhong1"}):i("v-uni-text",{staticClass:"iconfont icon-weixuanzhong"})],1),i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e.productAttr&&e.productAttr.image||e.product.image}})],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"line1"},[t._v(t._s(e.product.store_name))]),e.productAttr.sku?i("v-uni-view",{staticClass:"infor line1",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.changeCart(e,e.product_id)}}},[t._v(t._s(e.productAttr.sku)),i("v-uni-text",{staticClass:"iconfont icon-xiala1"})],1):t._e(),e.product.once_max_count>0&&e.product.once_min_count>0?i("v-uni-view",{staticClass:"buy_limit"},[e.product.once_min_count>0?i("v-uni-text",[t._v(t._s(e.product.once_min_count)+"件起购,")]):t._e(),e.product.once_max_count>0?i("v-uni-text",[t._v("最多"+t._s(e.product.once_max_count)+"件")]):t._e()],1):t._e(),i("v-uni-view",{staticClass:"money acea-row row-middle"},[i("v-uni-text",[t._v("¥"+t._s(e.productAttr.price))]),e.productAttr.show_svip_price?i("v-uni-view",{staticClass:"vipImg"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/svip.png"}})],1):t._e()],1)],1),i("v-uni-view",{staticClass:"carnum acea-row row-center-wrapper"},[i("v-uni-view",{staticClass:"reduce",class:e.numSub||e.product.once_max_count>0&&e.product.once_min_count>0&&e.cart_num<=e.product.once_min_count?"on":"",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.subCart(e)}}},[t._v("-")]),i("v-uni-view",{staticClass:"num"},[t._v(t._s(e.cart_num))]),i("v-uni-view",{staticClass:"plus",class:e.numAdd||e.cart_num>=e.productAttr.stock||e.product.once_max_count>0&&e.product.once_min_count>0&&e.cart_num>=e.product.once_max_count?"on":"",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.addCart(e)}}},[t._v("+")])],1)],1)}))],2)]}))],2),t.cartList.invalid.length>0?i("v-uni-view",{staticClass:"invalidGoods"},[i("v-uni-view",{staticClass:"goodsNav acea-row row-between-wrapper"},[i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goodsOpen.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont",class:1==t.goodsHidden?"icon-xiangxia":"icon-xiangshang"}),t._v("失效商品")],1),i("v-uni-view",{staticClass:"del",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.unsetCart.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-shanchu1"}),t._v("清空")],1)],1),i("v-uni-view",{staticClass:"goodsList",attrs:{hidden:t.goodsHidden}},[t._l(t.cartList.invalid,(function(e,n){return[e.product?i("v-uni-navigator",{key:n+"_0",staticClass:"item acea-row row-between-wrapper",attrs:{url:"/pages/goods_details/index?id="+e.product_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"invalid"},[t._v("失效")]),i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e.productAttr&&e.productAttr.image||e.product&&e.product.image}})],1),i("v-uni-view",{staticClass:"text acea-row row-column-between"},[i("v-uni-view",{staticClass:"line1 name"},[t._v(t._s(e.product.store_name))]),i("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"end"},[t._v("该商品已失效")])],1)],1)],1):t._e()]}))],2)],1):t._e()],1):t._e(),t.recommend?i("v-uni-view",{staticClass:"noCart",style:{marginTop:0==t.cartList.invalid.length&&0==t.cartList.invalid.length?"170rpx":""}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/noCart.png"}}),i("v-uni-view",[t._v("暂无商品,去添加点什么吧")])],1),1==t.recommend_switch?i("recommend",{attrs:{hostProduct:t.hostProduct,isLogin:t.isLogin}}):t._e(),t.hostProduct.length>5&&1==t.recommend_switch?i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e()],1):t._e(),t.cartList.valid.length>0?i("v-uni-view",{staticClass:"footer acea-row row-between-wrapper",class:{on:t.isFooter}},[i("v-uni-view",[i("v-uni-view",{staticClass:"allcheckbox",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.checkboxAllChange.apply(void 0,arguments)}}},[t.isAllSelect?i("v-uni-text",{staticClass:"iconfont icon-xuanzhong1"}):i("v-uni-text",{staticClass:"iconfont icon-weixuanzhong"}),t._v("全选 ("+t._s(t.cartCount)+")")],1)],1),1==t.footerswitch?i("v-uni-view",{staticClass:"money acea-row row-middle"},[i("v-uni-text",{staticClass:"t-color"},[t._v("¥"+t._s(t.selectCountPrice))]),i("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.subOrder.apply(void 0,arguments)}}},[i("v-uni-button",{staticClass:"placeOrder",attrs:{formType:"submit"}},[t._v("去结算")])],1)],1):i("v-uni-view",{staticClass:"button acea-row row-middle"},[i("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.subCollect.apply(void 0,arguments)}}},[i("v-uni-button",{staticClass:"bnt bt-color",attrs:{formType:"submit"}},[t._v("收藏")])],1),i("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.subDel.apply(void 0,arguments)}}},[i("v-uni-button",{staticClass:"bnt",attrs:{formType:"submit"}},[t._v("删除")])],1)],1)],1):t._e()],1),t.coupon.coupon?[i("couponListWindow",{attrs:{coupon:t.coupon},on:{ChangCouponsClose:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangCouponsClose.apply(void 0,arguments)},ChangCouponsUseState:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangCouponsUseState.apply(void 0,arguments)}}})]:t._e(),i("addcartWindow",{attrs:{attr:t.attr,isShow:1,iSplus:1,destri:1,id:"product-window"},on:{myevent:function(e){arguments[0]=e=t.$handleEvent(e),t.onMyEvent.apply(void 0,arguments)},ChangeAttr:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangeAttr.apply(void 0,arguments)},goCat:function(e){arguments[0]=e=t.$handleEvent(e),t.goCat.apply(void 0,arguments)},attrVal:function(e){arguments[0]=e=t.$handleEvent(e),t.attrVal.apply(void 0,arguments)}}}),i("customTab",{attrs:{newData:t.newData,activeRouter:t.activeRouter}})],2)},o=[]},"6a668":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"coupon-list-window animated",class:1==t.coupon.coupon?"slideInUp":""},[i("v-uni-view",{staticClass:"title"},[i("v-uni-view",{staticClass:"item"},[t._v("优惠券"),i("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)],1),t.coupon.list.length?i("v-uni-view",{staticClass:"coupon-list"},t._l(t.coupon.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item acea-row row-center-wrapper",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getCouponUser(n,e)}}},[i("v-uni-view",{staticClass:"money acea-row row-column row-center-wrapper",style:{"background-image":"url("+t.domain+"/static/diy/couponBg"+t.keyColor+".png)"}},[i("v-uni-view",[t._v("¥"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(e.coupon_price))])],1),i("v-uni-view",{staticClass:"pic-num"},[t._v("满"+t._s(e.use_min_price)+"元可用")])],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"condition line1"},[0===e.type?i("span",{staticClass:"line-title"},[t._v("店铺券")]):1===e.type?i("span",{staticClass:"line-title"},[t._v("商品券")]):t._e(),i("span",[t._v(t._s(e.title))])]),i("v-uni-view",{staticClass:"data acea-row row-between-wrapper"},[1==e.coupon_type?[i("v-uni-view",[t._v(t._s(t._f("timeYMD")(e.use_start_time))+"-"+t._s(t._f("timeYMD")(e.use_end_time)))])]:t._e(),0==e.coupon_type?[i("v-uni-view",[t._v("领取后"+t._s(e.coupon_time)+"天内可用")])]:t._e(),e.issue?i("v-uni-view",{staticClass:"gray iconfont icon-yilingqu2"}):i("v-uni-view",{staticClass:"bnt b-color"},[t._v(t._s(t.coupon.statusTile||"立即领取"))])],2)],1)],1)})),1):i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/noCoupon.png"}})],1)],1),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.coupon.coupon},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)},o=[]},"71fe":function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.page-footer[data-v-5d5ac150]{position:fixed;bottom:0;z-index:30;display:flex;align-items:center;justify-content:space-around;width:100%;height:calc(98rpx+ constant(safe-area-inset-bottom));height:calc(%?98?% + env(safe-area-inset-bottom));box-sizing:border-box;border-top:1px solid #f3f3f3;background-color:#fff;box-shadow:0 0 %?17?% %?1?% hsla(0,0%,80.8%,.32);padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.page-footer.filter[data-v-5d5ac150]{-webkit-filter:blur(%?2?%);filter:blur(%?2?%)}.page-footer .foot-item[data-v-5d5ac150]{display:flex;width:-webkit-max-content;width:max-content;align-items:center;justify-content:center;flex-direction:column;position:relative}.page-footer .foot-item .count-num[data-v-5d5ac150]{position:absolute;display:flex;justify-content:center;align-items:center;width:%?40?%;height:%?40?%;top:%?0?%;right:%?-15?%;color:#fff;font-size:%?20?%;background-color:#fd502f;border-radius:50%;padding:%?4?%}.page-footer .foot-item uni-image[data-v-5d5ac150]{height:%?50?%;width:%?50?%;text-align:center;margin:0 auto}.page-footer .foot-item .txt[data-v-5d5ac150]{font-size:%?24?%}',""]),t.exports=e},7420:function(t,e,i){"use strict";i.r(e);var n=i("6a668"),o=i("745c");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("942a");var r=i("828b"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"41ca658c",null,!1,n["a"],void 0);e["default"]=c.exports},"745c":function(t,e,i){"use strict";i.r(e);var n=i("3e95"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"755b":function(t,e,i){"use strict";i.r(e);var n=i("1f71"),o=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"7ec6":function(t,e,i){"use strict";i.r(e);var n=i("a976"),o=i("755b");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("c1a6");var r=i("828b"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"5d5ac150",null,!1,n["a"],void 0);e["default"]=c.exports},"85e1":function(t,e,i){var n=i("6428");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("2b540776",n,!0,{sourceMap:!1,shadowMode:!1})},"8fda":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"product-window",class:(!0===t.attr.cartAttr?"on":"")+" "+(t.iSbnt||t.destri?"join":"")+" "+(t.isPresell?"presell-window":"product-window")},[i("v-uni-view",{staticClass:"textpic acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.attr.productSelect&&t.attr.productSelect.image?t.attr.productSelect.image:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.loookImg.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"line1"},[t._v(t._s(t.attr.productSelect.store_name))]),t.isPresell?i("v-uni-view",{staticClass:"money presell_price"},[i("v-uni-view",[t._v("预售价\n\t\t\t\t\t\t¥"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.attr.productSelect.price))]),2===t.presell_type?i("v-uni-text",[t._v("定金¥"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.attr.productSelect.down_price))])],1):t._e()],1),t.isShow?i("v-uni-text",{staticClass:"stock"},[t._v("库存: "+t._s(t.attr.productSelect.stock))]):t._e(),t.limitNum?i("v-uni-text",{staticClass:"stock"},[t._v("限量: "+t._s(t.attr.productSelect.quota_show))]):t._e()],1):i("v-uni-view",{staticClass:"money"},[i("v-uni-view",{staticClass:"acea-row row-middle"},[i("v-uni-view",{staticClass:"acea-row row-middle"},[i("v-uni-text",[t._v("¥")]),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.attr.productSelect.price))]),t.attr.productSelect&&t.attr.productSelect.svip_price?i("v-uni-view",{staticClass:"acea-row row-middle"},[i("v-uni-text",{staticClass:"vip-money"},[t._v("¥"+t._s(t.attr.productSelect.svip_price))]),i("v-uni-view",{staticClass:"vipImg"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/svip.png"}})],1)],1):t._e()],1)],1),i("v-uni-view",{staticClass:"stock_count"},[t.isShow?i("v-uni-text",{staticClass:"stock"},[t._v("库存: "+t._s(t.attr.productSelect.stock))]):t._e(),t.limitNum?i("v-uni-text",{staticClass:"stock"},[t._v("限量: "+t._s(t.attr.productSelect.quota_show))]):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeAttr.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"productWinList"},t._l(t.attr.productAttr,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.attr_name))]),i("v-uni-view",{staticClass:"listn acea-row row-middle"},t._l(e.attr_value,(function(o,a){return i("v-uni-view",{key:a,staticClass:"itemn",class:e.index===o.attr?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tapAttr(n,a)}}},[t._v(t._s(o.attr))])})),1)],1)})),1),t.destri&&t.attr.productSelect.stock>0?i("v-uni-view",{staticClass:"joinBnt b-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goCat.apply(void 0,arguments)}}},[t._v("确定")]):t.destri&&t.attr.productSelect.stock<=0||t.iSbnt&&t.attr.productSelect.stock<=0?i("v-uni-view",{staticClass:"joinBnt on"},[t._v("已售罄")]):t._e()],1),i("v-uni-view",{staticClass:"mask",attrs:{hidden:!1===t.attr.cartAttr},on:{touchmove:function(e){e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeAttr.apply(void 0,arguments)}}})],1)},o=[]},"91a5":function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.animated[data-v-41ca658c]{-webkit-animation-duration:.3s;animation-duration:.3s}.title[data-v-41ca658c]{display:flex;border-radius:%?16?% %?16?% 0 0}.title .item[data-v-41ca658c]{position:relative;flex:1;font-size:%?28?%;color:#999}.title .item[data-v-41ca658c]::after{content:" ";position:absolute;left:50%;bottom:%?18?%;width:%?50?%;height:%?5?%;background:transparent;border-radius:3px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.title .item.on[data-v-41ca658c]{color:#282828}.title .item.on[data-v-41ca658c]::after{background:var(--view-theme)}.b-color[data-v-41ca658c]{background-color:var(--view-theme)}.coupon-list[data-v-41ca658c]{padding:%?30?%}.coupon-list .item[data-v-41ca658c]{box-shadow:0 2px 10px 0 rgba(0,0,0,.06)}.coupon-list-window[data-v-41ca658c]{position:fixed;bottom:0;left:0;width:100%;background-color:#fff;border-radius:%?16?% %?16?% 0 0;z-index:555;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.coupon-list-window.on[data-v-41ca658c]{-webkit-animation:aminup;animation:aminup}.coupon-list-window .title[data-v-41ca658c]{height:%?106?%;width:100%;text-align:center;line-height:%?106?%;font-size:%?32?%;font-weight:700;position:relative;border:1px solid #f5f5f5}.coupon-list-window .title .iconfont[data-v-41ca658c]{position:absolute;right:%?30?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:%?35?%;color:#8a8a8a;font-weight:400}.coupon-list-window .coupon-list[data-v-41ca658c]{margin:0 0 %?50?% 0;height:%?550?%;overflow:auto}.coupon-list-window .pictrue[data-v-41ca658c]{width:%?414?%;height:%?336?%;margin:0 auto %?50?% auto}.coupon-list-window .pictrue uni-image[data-v-41ca658c]{width:100%;height:100%}.pic-num[data-v-41ca658c]{color:#fff;font-size:%?24?%}.line-title[data-v-41ca658c]{width:%?90?%;padding:0 %?10?%;box-sizing:border-box;background:var(--view-minorColor);border:1px solid var(--view-theme);opacity:1;border-radius:%?20?%;font-size:%?20?%;color:var(--view-theme);margin-right:%?12?%}.line-title.gray[data-v-41ca658c]{border-color:#bbb;color:#bbb;background-color:#f5f5f5}',""]),t.exports=e},"942a":function(t,e,i){"use strict";var n=i("9f97"),o=i.n(n);o.a},"9f97":function(t,e,i){var n=i("91a5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("7ab801c9",n,!0,{sourceMap:!1,shadowMode:!1})},a976:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.newData.status&&t.newData.status.status?i("v-uni-view",{staticStyle:{height:"100rpx"}}):t._e(),t.newData.status&&t.newData.status.status?i("v-uni-view",{staticClass:"foot"},[i("v-uni-view",{staticClass:"page-footer",style:{"background-color":t.newData.bgColor.color[0].item},attrs:{id:"target"}},t._l(t.newData.menuList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"foot-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goRouter(e)}}},[e.link==t.activeRouter?[i("v-uni-image",{attrs:{src:e.imgList[0]}}),i("v-uni-view",{staticClass:"txt",style:{color:t.newData.activeTxtColor.color[0].item}},[t._v(t._s(e.name))])]:[i("v-uni-image",{attrs:{src:e.imgList[1]}}),i("v-uni-view",{staticClass:"txt",style:{color:t.newData.txtColor.color[0].item}},[t._v(t._s(e.name))])]],2)})),1)],1):t._e()],1)},o=[]},b9db:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("aa9c");var n=i("8f59"),o=i("aa10"),a={computed:(0,n.mapGetters)(["viewColor"]),props:{attr:{type:Object,default:function(){}},limitNum:{type:Number,value:0},isShow:{type:Number,value:0},iSbnt:{type:Number,value:0},iSplus:{type:Number,value:0},destri:{type:Number,value:0},isPresell:{type:Number,value:0},presell_type:{type:Number,value:1},image:{type:String,value:""}},data:function(){return{domain:o.HTTP_REQUEST_URL}},mounted:function(){},methods:{loookImg:function(){var t=[this.attr.productSelect.image?this.attr.productSelect.image:this.image];uni.previewImage({urls:t})},goCat:function(){this.$emit("goCat")},closeAttr:function(){this.$emit("myevent")},tapAttr:function(t,e){this.$emit("attrVal",{indexw:t,indexn:e}),this.$set(this.attr.productAttr[t],"index",this.attr.productAttr[t].attr_values[e]);var i=this.getCheckedValue().join(",");this.$emit("ChangeAttr",i)},getCheckedValue:function(){for(var t=this.attr.productAttr,e=[],i=0;i<t.length;i++)for(var n=0;n<t[i].attr_values.length;n++)t[i].index===t[i].attr_values[n]&&e.push(t[i].attr_values[n]);return e}}};e.default=a},c178:function(t,e,i){var n=i("71fe");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("967d").default;o("4fffae88",n,!0,{sourceMap:!1,shadowMode:!1})},c1a6:function(t,e,i){"use strict";var n=i("c178"),o=i.n(n);o.a},cf18:function(t,e,i){var n=i("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.shoppingCart .labelNav[data-v-4bf31c72]{height:%?76?%;padding:0 %?30?%;font-size:%?22?%;color:#8c8c8c;position:fixed;left:0;width:100%;box-sizing:border-box;background-color:#f5f5f5;z-index:5;top:0}.icon-xiala1[data-v-4bf31c72]{display:inline-block;-webkit-transform:rotate(180deg);transform:rotate(180deg);font-size:%?14?%;padding:0 %?5?%}.shoppingCart .labelNav .item .iconfont[data-v-4bf31c72]{font-size:%?25?%;margin-right:%?10?%}.t-color[data-v-4bf31c72]{color:var(--view-theme)}.shoppingCart[data-v-4bf31c72]{padding-bottom:%?180?%}.shoppingCart .nav[data-v-4bf31c72]{width:100%;height:%?80?%;background-color:#fff;padding:0 %?30?%;box-sizing:border-box;font-size:%?28?%;color:#282828;position:fixed;left:0;z-index:5;top:%?76?%}.shoppingCart .nav .administrate[data-v-4bf31c72]{font-size:%?26?%;color:#282828;width:%?110?%;height:%?46?%;border-radius:%?6?%;border:1px solid #868686}.shoppingCart .noCart[data-v-4bf31c72]{margin-top:%?20?%;margin-bottom:%?20?%;background-color:#fff;padding-top:%?0.1?%}.shoppingCart .noCart .pictrue[data-v-4bf31c72]{text-align:center;margin:%?78?% auto %?56?% auto;padding-bottom:%?60?%}.shoppingCart .noCart .pictrue uni-image[data-v-4bf31c72]{width:%?414?%;height:%?305?%}.shoppingCart .noCart .pictrue uni-view[data-v-4bf31c72]{color:#999}.shoppingCart .list[data-v-4bf31c72]{margin:%?171?% 0 %?20?%}.shoppingCart .list .item[data-v-4bf31c72]{background-color:#fff;margin-bottom:%?15?%}.shoppingCart .list .item .store-title[data-v-4bf31c72]{display:flex;align-items:center;width:100%;padding:0 %?30?%;height:%?85?%;border-bottom:1px solid #f0f0f0}.shoppingCart .list .item .store-title .checkbox[data-v-4bf31c72]{width:%?60?%}.shoppingCart .list .item .store-title .checkbox .iconfont[data-v-4bf31c72]{font-size:%?40?%;color:#ccc}.shoppingCart .list .item .store-title .checkbox .icon-xuanzhong1[data-v-4bf31c72]{color:var(--view-theme)}.shoppingCart .list .item .store-title .info[data-v-4bf31c72]{flex:1;display:flex;align-items:center}.shoppingCart .list .item .store-title .info .iconfont[data-v-4bf31c72]{font-size:%?36?%}.shoppingCart .list .item .store-title .info .name[data-v-4bf31c72]{margin:0 0 0 %?10?%;font-size:%?28?%;color:#282828;font-weight:700}.shoppingCart .list .item .store-title .info .icon-xiangyou[data-v-4bf31c72]{margin-top:%?6?%;font-size:%?22?%;color:#999}.shoppingCart .list .item .store-title .coupon-btn[data-v-4bf31c72]{color:var(--view-theme);font-size:%?22?%;width:%?100?%;line-height:%?36?%;background:var(--view-minorColor);border-radius:%?18?%;text-align:center}.vipImg[data-v-4bf31c72]{width:%?65?%;height:%?28?%;margin-left:%?10?%}.vipImg uni-image[data-v-4bf31c72]{width:100%;height:100%;display:block}.shoppingCart .list .item .picTxt[data-v-4bf31c72]{width:100%;padding:%?25?% %?30?%;position:relative;align-items:center;border-bottom:1px solid #f0f0f0}.shoppingCart .list .item .picTxt .checkbox[data-v-4bf31c72]{width:%?60?%}.shoppingCart .list .item .picTxt .checkbox .iconfont[data-v-4bf31c72]{font-size:%?40?%;color:#ccc}.shoppingCart .list .item .picTxt .checkbox .icon-xuanzhong1[data-v-4bf31c72]{color:var(--view-theme)}.shoppingCart .list .item .picTxt .pictrue[data-v-4bf31c72]{width:%?160?%;height:%?160?%}.shoppingCart .list .item .picTxt .pictrue uni-image[data-v-4bf31c72]{width:100%;height:100%;border-radius:%?6?%}.shoppingCart .list .item .picTxt .text[data-v-4bf31c72]{width:%?444?%;margin-left:%?20?%;font-size:%?28?%;color:#282828}.shoppingCart .list .item .picTxt .buy_limit[data-v-4bf31c72]{margin-top:%?10?%;color:#e93323;font-size:%?22?%}.shoppingCart .list .item .picTxt .text .infor[data-v-4bf31c72]{display:inline-block;padding:%?6?%;border-radius:%?4?%;font-size:%?24?%;color:#868686;margin-top:%?16?%;background-color:#f5f5f5;max-width:%?460?%}.shoppingCart .list .item .picTxt .text .money[data-v-4bf31c72]{font-size:%?32?%;color:#282828;margin-top:%?28?%}.shoppingCart .list .item .picTxt .carnum[data-v-4bf31c72]{height:%?47?%;position:absolute;bottom:%?30?%;right:%?30?%}.shoppingCart .list .item .picTxt .carnum uni-view[data-v-4bf31c72]{border:1px solid #a4a4a4;min-width:%?66?%;text-align:center;height:100%;line-height:%?46?%;font-size:%?28?%;color:#a4a4a4}.shoppingCart .list .item .picTxt .carnum .reduce[data-v-4bf31c72]{border-right:0}.shoppingCart .list .item .picTxt .carnum .reduce.on[data-v-4bf31c72],\n.shoppingCart .list .item .picTxt .carnum .plus.on[data-v-4bf31c72]{border-color:#e3e3e3;color:#dedede}.shoppingCart .list .item .picTxt .carnum .plus[data-v-4bf31c72]{border-left:0}.shoppingCart .list .item .picTxt .carnum .num[data-v-4bf31c72]{color:#282828}.shoppingCart .invalidGoods[data-v-4bf31c72]{background-color:#fff}.shoppingCart .invalidGoods .goodsNav[data-v-4bf31c72]{width:100%;height:%?66?%;padding:0 %?30?%;box-sizing:border-box;font-size:%?28?%;color:#282828}.shoppingCart .invalidGoods .goodsNav .iconfont[data-v-4bf31c72]{color:#424242;font-size:%?28?%;margin-right:%?17?%}.shoppingCart .invalidGoods .goodsNav .del[data-v-4bf31c72]{font-size:%?26?%;color:#999}.shoppingCart .invalidGoods .goodsNav .del .icon-shanchu1[data-v-4bf31c72]{color:#999;font-size:%?33?%;vertical-align:%?-2?%;margin-right:%?8?%}.shoppingCart .invalidGoods .goodsList .item[data-v-4bf31c72]{padding:%?20?% %?30?%;border-top:1px solid #f5f5f5}.shoppingCart .invalidGoods .goodsList .item .invalid[data-v-4bf31c72]{font-size:%?22?%;color:#fff;width:%?70?%;height:%?36?%;background-color:#aaa;border-radius:%?3?%;text-align:center;line-height:%?36?%}.shoppingCart .invalidGoods .goodsList .item .pictrue[data-v-4bf31c72]{width:%?140?%;height:%?140?%}.shoppingCart .invalidGoods .goodsList .item .pictrue uni-image[data-v-4bf31c72]{width:100%;height:100%;border-radius:%?6?%}.shoppingCart .invalidGoods .goodsList .item .text[data-v-4bf31c72]{width:%?433?%;font-size:%?28?%;color:#999;height:%?140?%}.shoppingCart .invalidGoods .goodsList .item .text .name[data-v-4bf31c72]{width:100%}.shoppingCart .invalidGoods .goodsList .item .text .infor[data-v-4bf31c72]{font-size:%?24?%}.shoppingCart .invalidGoods .goodsList .item .text .end[data-v-4bf31c72]{font-size:%?26?%;color:#bbb}.shoppingCart .footer[data-v-4bf31c72]{z-index:9;width:100%;height:%?96?%;background-color:#fafafa;position:fixed;padding:0 %?30?%;box-sizing:border-box;border-top:1px solid #eee;bottom:%?98?%}.shoppingCart .footer .checkAll[data-v-4bf31c72]{font-size:%?28?%;color:#282828;margin-left:%?16?%}.shoppingCart .footer .money[data-v-4bf31c72]{font-size:%?30?%}.shoppingCart .footer .placeOrder[data-v-4bf31c72]{color:#fff;font-size:%?30?%;width:%?226?%;height:%?70?%;border-radius:%?50?%;text-align:center;line-height:%?70?%;margin-left:%?22?%;background-color:var(--view-theme)}.shoppingCart .footer .button .bnt[data-v-4bf31c72]{font-size:%?28?%;color:#999;border-radius:%?50?%;border:1px solid #999;width:%?160?%;height:%?60?%;text-align:center;line-height:%?60?%}.shoppingCart .footer .button .bnt.bt-color[data-v-4bf31c72]{color:var(--view-theme);border:1px solid var(--view-theme)}.shoppingCart .footer .button uni-form ~ uni-form[data-v-4bf31c72]{margin-left:%?17?%}.allcheckbox[data-v-4bf31c72]{display:flex;align-items:center;width:%?260?%}.allcheckbox .iconfont[data-v-4bf31c72]{margin-right:%?20?%;font-size:%?40?%;color:#ccc}.allcheckbox .icon-xuanzhong1[data-v-4bf31c72]{color:var(--view-theme)}.page-footer[data-v-4bf31c72]{position:fixed;bottom:0;z-index:30;display:flex;align-items:center;justify-content:space-around;width:100%;height:calc(98rpx+ constant(safe-area-inset-bottom));height:calc(%?98?% + env(safe-area-inset-bottom));box-sizing:border-box;border-top:solid 1px #f3f3f3;background-color:#fff;box-shadow:0 0 %?17?% %?1?% hsla(0,0%,80.8%,.32);padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.page-footer.filter[data-v-4bf31c72]{-webkit-filter:blur(%?2?%);filter:blur(%?2?%)}.page-footer .foot-item[data-v-4bf31c72]{display:flex;width:-webkit-max-content;width:max-content;align-items:center;justify-content:center;flex-direction:column;position:relative}.page-footer .foot-item .count-num[data-v-4bf31c72]{position:absolute;display:flex;justify-content:center;align-items:center;width:%?40?%;height:%?40?%;top:%?0?%;right:%?-15?%;color:#fff;font-size:%?20?%;background-color:#fd502f;border-radius:50%;padding:%?4?%}.page-footer .foot-item uni-image[data-v-4bf31c72]{height:%?50?%;width:%?50?%;text-align:center;margin:0 auto}.page-footer .foot-item .txt[data-v-4bf31c72]{font-size:%?24?%}',""]),t.exports=e},d8a4:function(t,e,i){"use strict";i.r(e);var n=i("655c"),o=i("2866");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("3b41");var r=i("828b"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"4bf31c72",null,!1,n["a"],void 0);e["default"]=c.exports},e242:function(t,e,i){"use strict";i("6a54");var n=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.checkCart=function(){var t=0;if(a.default.get(o.CART_TIME)){var e=a.default.get(o.CART_TIME);t=e+72e5}var i=Date.now();return!(t<i)||(a.default.clear(o.CART_ID),a.default.clear(o.CART_TIME),!1)};var o=i("d838"),a=n(i("6a1b"))}}]);