(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;o0?(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.length0||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