1 line
44 KiB
JavaScript
1 line
44 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-12cdd321"],{"2bab":function(t,e,o){var i=o("9710");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=o("499e").default;a("7ec7b03c",i,!0,{sourceMap:!1,shadowMode:!1})},4127:function(t,e,o){var i=o("4461");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=o("499e").default;a("714440a6",i,!0,{sourceMap:!1,shadowMode:!1})},4461:function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,"#chainStoreHome[data-v-447e9dbe]{min-height:100vh;background:#fafafa;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}#chainStoreHome[data-v-447e9dbe],.topHead[data-v-447e9dbe]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.topHead[data-v-447e9dbe]{height:3rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:.5rem .72rem .5rem .72rem;background:var(--themeBaseColor)}.topHead .van-search[data-v-447e9dbe]{padding:0;border-radius:100%}.topBg[data-v-447e9dbe]{height:6.25rem;background:-webkit-gradient(linear,left top,left bottom,from(var(--themeBaseColor)),to(rgba(241,83,83,0)));background:-webkit-linear-gradient(top,var(--themeBaseColor),rgba(241,83,83,0));background:linear-gradient(180deg,var(--themeBaseColor),rgba(241,83,83,0))}.banner[data-v-447e9dbe]{margin:.75rem;margin-bottom:.31rem;margin-top:0;background:#fff8f2;border-radius:.5rem}.banner img[data-v-447e9dbe]{width:21.94rem;height:100%;border-radius:.5rem}.notice-swipe[data-v-447e9dbe]{width:100%;height:2.25rem;line-height:2.25rem;margin:.4rem 0}.proclamation[data-v-447e9dbe]{margin:0 .75rem;padding:0 .59rem;height:2.25rem;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:.5rem;background:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;color:#af5d3f;overflow:hidden;border:.03rem solid #f0f0f1}.proclamation p[data-v-447e9dbe]{text-align:left;margin-left:.41rem;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storeDetail[data-v-447e9dbe]{margin:0 .75rem;margin-top:-6rem;padding:1rem .94rem;background:#fff;border:.03rem solid #f0f0f1;border-radius:.5rem;-webkit-box-sizing:border-box;box-sizing:border-box}.storeDetail .d_line[data-v-447e9dbe]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;color:#6e6e79}.storeDetail .d_line .iconfont[data-v-447e9dbe]{margin-right:.44rem;color:#6e6e79}.storeDetail .d_line .d_line_txt[data-v-447e9dbe]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.storeDetail .d_line .d_line_txt .icon-icon_more[data-v-447e9dbe]{font-size:.4375rem;color:#6e6e79}.storeDetail .storeDetail_line[data-v-447e9dbe]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-bottom:.25rem}.storeDetail .storeDetail_line[data-v-447e9dbe],.storeDetail .storeDetail_line .left[data-v-447e9dbe]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.storeDetail .storeDetail_line .left[data-v-447e9dbe]{font-size:1rem;font-weight:700;-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;text-align:left}.storeDetail .storeDetail_line .left .van-icon-arrow[data-v-447e9dbe]{margin-top:.25rem}.storeDetail .storeDetail_line .right[data-v-447e9dbe]{width:5rem;height:1.63rem;background:var(--color);border-radius:1.88rem;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}.storeDetail .storeDetail_line .right .rightTxt[data-v-447e9dbe]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:.75rem;color:var(--themeBaseColor)}.storeDetail .storeDetail_line .right .idDefault[data-v-447e9dbe]{background:var(--themeBaseColor);color:#fff;border-radius:1.88rem}.storeDetail .storeDetail_line[data-v-447e9dbe]:last-child{margin-bottom:0}.noticeShowBox[data-v-447e9dbe]{padding:.94rem .75rem}.noticeShowBox .title[data-v-447e9dbe]{font-size:1rem;font-weight:700;color:#3b3b4a}.noticeShowBox .title_left[data-v-447e9dbe]{font-size:.88rem;font-weight:500;color:#00001c;text-align:left;margin:1.25rem 0 .94rem 0}.noticeShowBox .text_explain[data-v-447e9dbe]{margin-top:.25rem}.noticeShowBox .deliveryPrice[data-v-447e9dbe],.noticeShowBox .text_explain[data-v-447e9dbe]{text-align:left;font-size:.81rem;font-weight:400;color:#6e6e79}.noticeShowBox .deliveryPrice[data-v-447e9dbe]{margin:1.03rem 0 1.38rem 0}.noticeShowBox .certification[data-v-447e9dbe]{border-radius:.5rem}.noticeShowBox .certification img[data-v-447e9dbe]{width:100%;height:auto;border-radius:.5rem}.noticeShowBox .noticeShowBox_list[data-v-447e9dbe]{padding:.94rem 0;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;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;border-bottom:1px solid #d6d6dc}.noticeShowBox .noticeShowBox_list .left[data-v-447e9dbe]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-align:left;font-size:.81rem;font-weight:400;color:#6e6e79}.noticeShowBox .noticeShowBox_list .right[data-v-447e9dbe]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;font-weight:400;color:#f15353;font-size:.81rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin-left:.28rem}.noticeShowBox .noticeShowBox_list .right[data-v-447e9dbe],.posCartBox[data-v-447e9dbe]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.posCartBox[data-v-447e9dbe]{position:fixed;bottom:4rem;left:0;height:3rem;border-radius:1.53rem;background:#fff;margin:0 .75rem;z-index:99}.posCartBox .right[data-v-447e9dbe]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:5.63rem;border-radius:0 1.53rem 1.53rem 0;background:var(--themeBaseColor);font-size:.94rem;font-weight:500;color:#fff;-ms-flex-align:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.posCartBox .left[data-v-447e9dbe],.posCartBox .right[data-v-447e9dbe]{height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.posCartBox .left[data-v-447e9dbe]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:16.31rem;-ms-flex-align:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;padding-left:.37rem;background:#00001c;border-radius:1.53rem 0 0 1.53rem;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative}.posCartBox .left .posCartNum[data-v-447e9dbe]{position:absolute;left:2.06rem;top:0;font-size:.75rem;color:#fff;font-weight:500;padding:.16rem .34rem;border-radius:100%;background:#fca624;max-width:2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.posCartBox .left .price[data-v-447e9dbe]{font-size:1.13rem;font-weight:700;color:#fff;margin-left:.78rem}.posCartBox .left .price .left_t[data-v-447e9dbe]{font-size:.75rem}.posCartBox .left .buyIcon[data-v-447e9dbe]{width:2.25rem;height:2.25rem;background:var(--themeBaseColor);border-radius:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.posCartBox .left .buyIcon .icon-gouwuche_[data-v-447e9dbe]{color:#fff;font-size:1.5rem}.posCartBoxTop[data-v-447e9dbe]{bottom:2rem!important;z-index:99999}.showCartGoodList[data-v-447e9dbe]{width:100%;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:.5rem .78rem}.showCartGoodList[data-v-447e9dbe],.showCartGoodList .left[data-v-447e9dbe]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.showCartGoodList .left[data-v-447e9dbe]{font-size:1.13rem;font-weight:700;color:#f15353;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.showCartGoodList .left .left_t[data-v-447e9dbe]{font-size:.75rem}.showCartGoodList .right[data-v-447e9dbe]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.showCartGoodList .right .btn[data-v-447e9dbe]{padding:.78rem 1.72rem;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:.94rem;font-weight:500;color:#fff;background:var(--themeBaseColor);border-radius:1.56rem}.iphoneXStyle[data-v-447e9dbe]{bottom:5rem}",""]),t.exports=e},"44a8":function(t,e,o){"use strict";o.r(e);var i,a,r=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{ref:"jumpPage",style:{"--color":""+t.themeBaseColorOpacity},attrs:{id:"chainStoreHome"}},[o("van-sticky",[o("div",{staticClass:"topHead"},[o("van-icon",{attrs:{name:"arrow-left",color:"#ffffff",size:"25"},on:{click:t.toBack}}),o("van-search",{attrs:{placeholder:"请输入搜索关键词",shape:"round"},on:{search:t.toSearchGood},model:{value:t.keyWord,callback:function(e){t.keyWord=e},expression:"keyWord"}})],1)]),o("div",{staticClass:"topBg"}),t.info.store_info?o("div",{staticClass:"storeDetail"},[o("div",{staticClass:"storeDetail_line"},[o("div",{staticClass:"left",on:{click:t.getTypeChange}},[t._v(" "+t._s(t.info.store_info.store_name)+" "),o("van-icon",{attrs:{name:"arrow",color:"#000000",size:"16"}})],1),o("div",{staticClass:"right"},[o("div",{staticClass:"rightTxt",class:[1==t.get_type?"idDefault":""],on:{click:t.getTypeChange}},[t._v("自提")]),o("div",{staticClass:"rightTxt",class:[1!=t.get_type?"idDefault":""],on:{click:t.getTypeChange}},[t._v("外送")])])]),3!=t.get_type?o("div",{staticClass:"storeDetail_line"},[o("div",{staticClass:"d_line"},[o("i",{staticClass:"iconfont icon-seller-position"}),o("div",{staticClass:"d_line_txt"},[t._v("距离您"+t._s(t.info.store_info.distance)+t._s(t.info.store_info.unit))])])]):t._e(),o("div",{staticClass:"storeDetail_line"},[o("div",{staticClass:"d_line",on:{click:function(e){t.storeDetailShow=!0}}},[o("i",{staticClass:"iconfont icon-info_store"}),t._m(0)])]),o("div",{staticClass:"storeDetail_line"},[o("div",{staticClass:"d_line"},[o("i",{staticClass:"iconfont icon-kc_line_fahuo"}),o("div",{staticClass:"d_line_txt"},[t._v(t._s(t.info.store_info.dispatch))])])])]):t._e(),t.info.notice&&t.info.notice.length>0?[o("van-swipe",{staticClass:"notice-swipe",attrs:{vertical:"",autoplay:3e3,"show-indicators":!1}},t._l(t.info.notice,(function(e){return o("van-swipe-item",{key:e},[o("div",{staticClass:"proclamation",on:{click:function(o){return t.toNoticeUrl_show(e.url)}}},[o("i",{staticClass:"iconfont icon-gonggao"}),o("p",[t._v(t._s(e.title))])])])})),1)]:t._e(),t.info.carousel&&t.info.carousel.length>0?o("div",{staticClass:"banner"},[o("GoodsSwiper",{attrs:{thumb_url:t.info.carousel,banner:!0}})],1):t._e(),o("van-sticky",{attrs:{"offset-top":"3rem"},on:{change:t.stickChange}},[o("sotreGood",{attrs:{themeColor:t.themeColor,cart:t.info.member_cart,jumpToPage:t.jumpToPage,categoryChild:t.category,stickyShow:t.stickyShow,cardata:t.info.member_cart,goodsCartsTotal:t.goodsCartsTotal,store_id:t.store_id,themeBaseColorOpacity:t.themeBaseColorOpacity},on:{tapGood:t.childGoodTap,updateChild:t.getCart}})],1),t.info&&t.info.member_cart?o("div",{staticClass:"posCartBox set-pc-style",class:[t.fun.isIphoneX()?"iphoneXStyle":""],on:{click:function(e){t.showCarList=!0}}},[o("div",{staticClass:"left"},[t.cartsNum?o("div",{staticClass:"posCartNum"},[t._v(t._s(t.cartsNum))]):t._e(),t._m(1),o("div",{staticClass:"price"},[o("span",{staticClass:"left_t"},[t._v(t._s(t.$i18n.t("money")))]),t._v(" "+t._s(t.cartsTotal)+" ")])]),o("div",{staticClass:"right",on:{click:function(e){return e.stopPropagation(),t.goodsOrder.apply(null,arguments)}}},[t._v("去结算")])]):t._e(),t.info.member_cart?o("yzCartList",{attrs:{showDestory:!0,goodImg:!0,cardata:t.info.member_cart.json,themeColor:t.themeColor},on:{focus:t.numberRight1,blur:t.numberRight1,minus:t.numberRight1,plus:t.numberRight1,clearCart:t.clearCartChild},model:{value:t.showCarList,callback:function(e){t.showCarList=e},expression:"showCarList"}},[o("div",{staticClass:"showCartGoodList"},[o("div",{staticClass:"left"},[o("span",{staticClass:"left_t"},[t._v(t._s(t.$i18n.t("money")))]),t._v(" "+t._s(t.cartsTotal)+" ")]),o("div",{staticClass:"right"},[o("div",{staticClass:"btn",on:{click:function(e){return e.stopPropagation(),t.goodsOrder.apply(null,arguments)}}},[t._v("去结算")])])])]):t._e(),t.showGood?o("yzGoodsPopup",{attrs:{store_id:t.store_id,cardata:t.carts,goodsCartsTotal:t.goodsCartsTotal,roundShow:!0,_goodsInfo:t._goodsInfo,showgp:t.showGood,goodsInfo:t.activeGood,themeColor:t.themeColor,cartsNum:t.cartsNum,cartsTotal:t.cartsTotal},on:{updateChild:t.getCart,onEmit:t.yzGoodsPopupClose,toOrder:t.goodsOrder,cartUpdate:t.cartUpdate}}):t._e(),o("van-popup",{style:{height:"50%"},attrs:{round:"",position:"bottom",closeable:""},model:{value:t.noticeShow,callback:function(e){t.noticeShow=e},expression:"noticeShow"}},[o("div",{staticClass:"noticeShowBox"},[o("div",{staticClass:"title"},[t._v("公告")]),t._l(t.info.notice,(function(e){return o("div",{key:e,staticClass:"noticeShowBox_list"},[o("div",{staticClass:"left"},[t._v(t._s(e.title))]),e.url?o("div",{staticClass:"right",on:{click:function(o){return t.toNoticeUrl(e.url)}}},[t._v(" 查看 "),o("i",{staticClass:"iconfont icon-icon_more11"})]):t._e()])}))],2)]),o("van-popup",{style:{height:"70%"},attrs:{round:"",position:"bottom",closeable:""},model:{value:t.storeDetailShow,callback:function(e){t.storeDetailShow=e},expression:"storeDetailShow"}},[o("div",{staticClass:"noticeShowBox"},[o("div",{staticClass:"title"},[t._v("门店信息")]),t.info.store_info&&t.info.store_info.store_delivery?o("div",{staticClass:"deliveryPrice"},[t._v("门店配送起送价¥"+t._s(t.info.store_info.store_delivery.delivery_amount))]):t._e(),o("div",{staticClass:"title_left",staticStyle:{"margin-bottom":"0"}},[t._v("配送范围")]),t.info.store_info&&t.info.store_info.store_delivery?o("div",{staticClass:"text_explain",domProps:{innerHTML:t._s(t.info.store_info.store_delivery.delivery_note)}}):t._e(),t.info.store_info&&t.info.store_info.store_delivery?o("div",{staticStyle:{width:"100%",height:"18.75rem"}},[o("delivery-map",{attrs:{center_path:t.locations,path_list:t.delivery_area}})],1):t._e(),t.info.store_info&&t.info.store_info.aptitude_imgs.length>0?[o("div",{staticClass:"title_left",staticStyle:{"font-weight":"500"}},[t._v("资质")]),o("div",{staticClass:"certification"},[t._l(t.info.store_info.aptitude_imgs,(function(t,e){return[o("img",{key:e,attrs:{src:t,alt:""}})]}))],2)]:t._e()],2)])],2)},s=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"d_line_txt"},[t._v(" 查看门店信息(配送说明/资质) "),o("i",{staticClass:"iconfont icon-icon_more"})])},function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"buyIcon"},[o("i",{staticClass:"iconfont icon-gouwuche_"})])}],n=(o("b64b"),o("d3b7"),o("159b"),o("14d9"),o("99af"),o("a9e3"),o("b0c0"),o("b680"),o("cb1f")),l=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.category.length>0?i("div",{staticClass:"goodBox",style:{"--colorOpacity":""+t.themeBaseColorOpacity},on:{click:t.touchList}},[i("div",{staticClass:"goodBox_left"},t._l(t.category,(function(e,o){return i("div",{key:o,staticClass:"oneCate",class:[o==t.oneInd?"oneSelect":""],on:{click:function(o){return t.scrollToSection(e)}}},[i("div",{staticClass:"txt",class:[o==t.oneInd?"oneSelect_after":""]},[t._v(t._s(e.name))])])})),0),i("div",{ref:"goodBox_right",staticClass:"goodBox_right",class:[t.stickyShow?"dext":"dex"],on:{touchmove:t.handleTouchMove,touchstart:t.handleTouchStart,touchend:t.handleTouchEnd,scroll:t.fnHandleScroll}},t._l(t.category,(function(e,a){return i("div",{key:a,ref:"showCate",refInFor:!0,staticStyle:{position:"relative"},attrs:{id:e.id}},[t.moreCate==e.id?i("div",{staticClass:"aPos"}):t._e(),i("div",{ref:"posA",refInFor:!0,staticClass:"pos",class:[t.moreCate==e.id?"posAll":""]},[i("div",{staticClass:"isSelectOneCate"},[t._v(t._s(e.name))]),i("div",{staticClass:"twoFiltrate"},[i("div",{staticClass:"twoFiltrate_left",class:[t.moreCate==e.id?"twoFiltrate_left_PP":""]},t._l(e.has_many_children,(function(o,r){return i("div",{key:r,staticClass:"twoFiltrate_box",class:[t.forTwoId(r)?"twoFiltrate_box_Select":"",t.moreCate==e.id?"twoFiltrate_box_PP":""],on:{click:function(e){return t.scrollToTwoCate(o,r,a)}}},[t._v(" "+t._s(o.name)+" ")])})),0),i("div",{staticClass:"posMoreBtn",on:{click:function(o){return t.tapMore(e.id)}}},[t.moreCate==e.id?i("van-icon",{attrs:{name:"arrow-up"}}):i("van-icon",{attrs:{name:"arrow-down"}})],1)])]),t._l(e.has_many_children,(function(e){return i("div",{key:e.id,ref:"twoCateRefs",refInFor:!0,staticClass:"cateGood",attrs:{id:e.id}},[i("div",{staticClass:"isTwoCateName"},[t._v(t._s(e.name))]),t._l(e.good,(function(e,a){return i("div",{key:a,staticClass:"goodList"},[i("div",{staticClass:"left",on:{click:function(o){return t.tapGood(e)}}},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.thumb?e.thumb:o("74c1"),expression:"twoCateGood.thumb ? twoCateGood.thumb : require('../../../assets/images/loading.jpg')"}],attrs:{src:e.thumb,alt:""}})]),i("div",{staticClass:"right"},[i("div",{staticClass:"right_top",on:{click:function(o){return t.tapGood(e)}}},[t._v(t._s(e.title))]),i("div",{staticClass:"right_bottom"},[i("div",{staticClass:"price",on:{click:function(o){return t.tapGood(e)}}},[t._v("¥"+t._s(e.price))]),1==e.has_option?i("div",{staticClass:"optionBtn",on:{click:function(o){return o.stopPropagation(),t.tapOption(e)}}},[t.optionsCheck(e.id)?i("span",{staticClass:"optionBtn_pos"},[t._v(t._s(t.optionsCheck(e.id)))]):t._e(),t._v(" 选规格 ")]):t._e(),0!=e.has_option||t.checkCartJson(e)?t._e():i("div",{staticClass:"optionBtn cricle",on:{click:function(o){return o.stopPropagation(),t.changeStepper("addOne",e.goods_id,"1")}}},[i("i",{staticClass:"iconfont icon-life-game-plus"})]),0==e.has_option&&t.checkCartJson(e)?[i("van-stepper",{style:{"--color":""+t.themeColor},attrs:{theme:"round","button-size":"20",min:"0"},on:{focus:function(o){t.changeStepper("focus",t.checkCartJson(e).id,t.checkCartJson(e).total)},blur:function(o){t.changeStepper("blur",t.checkCartJson(e).id,t.checkCartJson(e).total)},plus:function(o){t.changeStepper("plus",t.checkCartJson(e).id,t.checkCartJson(e).total)},minus:function(o){t.changeStepper("minus",t.checkCartJson(e).id,t.checkCartJson(e).total)}},model:{value:t.checkCartJson(e).total,callback:function(o){t.$set(t.checkCartJson(e),"total",o)},expression:"checkCartJson(twoCateGood).total"}})]:t._e()],2)])])}))],2)}))],2)})),0),i("manySpecs",{attrs:{themeColor:t.themeColor,store_id:t.store_id,goodsInfo:t.manyGood,carts:t.cardata.json},on:{updateCart:t.updateChild,close:t.manySpecsClose},model:{value:t.Showspecs,callback:function(e){t.Showspecs=e},expression:"Showspecs"}})],1):t._e()},d=[],c=o("c7eb"),f=o("1da1"),h=o("ade3"),g=o("2ef0"),u=o("946b"),m={props:(i={stickyShow:{type:Boolean,default:!1},categoryChild:{type:null},jumpToPage:{type:Function,default:function(){}},themeColor:{type:null},cardata:{type:null},goodsCartsTotal:{type:null},store_id:{type:null}},Object(h["a"])(i,"themeColor",{type:null}),Object(h["a"])(i,"themeBaseColorOpacity",{type:String}),i),data:function(){return{oneInd:0,twoInd:0,category:[],list:[],listHeight:[],twoHeight:[],getNextCateGood_Click:!0,currentSection:null,touchStartY:20,clickGoodNum:0,prevScrollTop:0,direction:"",timer:null,manyGood:[],Showspecs:!1,moreCate:"",goodsCartsOld:""}},components:{manySpecs:u["a"]},watch:{categoryChild:function(t,e){t.length>0&&(this.category=t,this.getCateGood())}},computed:{optionsCheck:function(t){return function(t){if(this.goodsCartsTotal[t])return this.goodsCartsTotal[t].total}},checkCartJson:function(t){return function(t){for(var e=this.cardata.json,o=[],i=0;i<e.length;i++)if(e[i].goods_id==t.id){o=e[i];break}return!(o.length<=0)&&o}},resultOneCateName:function(){return this.category[this.oneInd].name},forTwoId:function(t){return function(t){return 0==this.twoInd&&t==this.twoInd||t==this.twoInd}}},activated:function(){},methods:(a={updateChild:function(){this.$emit("updateChild")},manySpecsClose:function(){this.Showspecs=!1,this.manyGood=[]},tapOption:function(t){this.manyGood=t,this.Showspecs=!0},tapGood:function(t){this.$emit("tapGood",t.goods_id)},touchList:function(){this.stickyShow||this.$refs.goodBox_right.scrollIntoView({behavior:"smooth"})},tapMore:function(t){if(this.moreCate)this.moreCate="";else{var e={id:t};this.scrollToSection(e),this.moreCate=t}},updateCartRequest:function(t,e){var o=this;$http.get("plugin.store-cashier.frontend.shoppingCart.member-cart.updateNum",{id:t,num:e,store_id:this.store_id},"加载中").then((function(t){o.cartPostClick=!0,1==t.result?o.updateChild():o.$dialog.alert({message:t.msg})}),(function(t){}))},addCart:function(t,e,o){var i=this,a="";a="cart"===e?t.goods_id:t.id,$http.get("plugin.store-cashier.frontend.shoppingCart.member-cart.store",{goods_id:a,total:1,store_id:this.store_id,option_id:t.option_id||0},"添加中").then((function(t){i.cartPostClick=!0,1===t.result?i.updateChild():i.$dialog.alert({message:t.msg})}),(function(t){}))},delItemByCart:function(t){var e=this;$http.get("plugin.store-cashier.frontend.shoppingCart.member-cart.destroy",{store_id:this.store_id,ids:t.id},"").then((function(t){1==t.result?e.updateChild():e.$dialog.alert({message:t.msg})}),(function(t){}))},changeStepper:function(t,e,o){if("plus"==t)this.updateCartRequest(e,"1");else if("minus"==t)this.updateCartRequest(e,"-1");else if("addOne"==t)this.addCart({id:e},"");else if("focus"==t)this.goodsCartsOld=o;else if("blur"==t){if(0===o&&this.delItemByCart({id:e}),""==o)return;if(o<this.goodsCartsOld){var i="-".concat(this.goodsCartsOld-o);this.updateCartRequest(e,i)}else if(o>this.goodsCartsOld){var a=o-this.goodsCartsOld;this.updateCartRequest(e,a)}else if(o==this.goodsCartsOld)return}},handleTouchEnd:function(t){},handleTouchMove:Object(g["debounce"])((function(t){var e=t.target.scrollTop;this.jumpToPage(e)}),300)},Object(h["a"])(a,"handleTouchMove",Object(g["debounce"])((function(t){if(this.stickyShow&&!this.moreCate){var e=this.$refs.goodBox_right,o=e.scrollTop,i=e.offsetHeight,a=t.touches[0].clientY-this.startY;document.body.style.overflow="hidden",this.$refs.goodBox_right.style.overflow="auto",a<this.touchStartY||a>-this.touchStartY&&o+i<=i&&(document.body.style.overflow="auto",this.jumpToPage(o))}}),300)),Object(h["a"])(a,"handleTouchStart",(function(t){this.startY=t.touches[0].clientY,this.stickyShow?(document.body.style.overflow="hidden",this.moreCate?this.$refs.goodBox_right.style.overflow="hidden":this.$refs.goodBox_right.style.overflow="auto"):(document.body.style.overflow="auto",this.$refs.goodBox_right.style.overflow="hidden")})),Object(h["a"])(a,"fnHandleScroll",(function(t){var e=this;return Object(f["a"])(Object(c["a"])().mark((function t(){var o,i,a,r,s,n,l,d,f,h,g;return Object(c["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getBoxHeight();case 2:return e.$refs.goodBox_right.getBoundingClientRect(),o=document.querySelectorAll(".topHead")[0].offsetHeight,i=e.$refs.twoCateRefs,a=e.$refs.posA,r="",i.forEach((function(t,e){var i=t.getBoundingClientRect().top;i-a[0].offsetHeight-o<0&&(r=t.id)})),t.next=10,e.pGetCurrent(r);case 10:if(e.twoInd=t.sent,s=e.$refs.goodBox_right,e.prevScrollTop=s.scrollTop,!(e.category[e.oneInd].has_many_children.length-1<e.twoInd)){t.next=16;break}return e.category[e.oneInd].has_many_children.length&&(e.twoInd=0),t.abrupt("return");case 16:if(e.category[e.oneInd].has_many_children.length-1!=e.twoInd){t.next=20;break}return e.clickGoodNum>=20&&(e.clickGoodNum=0),e.category.length-1==e.oneInd?(n=e.oneInd,l=0,d=e.category[n].has_many_children[l],e.getNextCateGood(d.id,l,n)):(f=e.oneInd+1,h=0,g=e.category[f].has_many_children[h],e.getNextCateGood(g.id,h,f)),t.abrupt("return");case 20:e.clickGoodNum>=20&&(e.clickGoodNum=0),e.getNextCateGood(e.category[e.oneInd].has_many_children[e.twoInd+1].id,e.twoInd+1);case 22:case"end":return t.stop()}}),t)})))()})),Object(h["a"])(a,"pGetCurrent",(function(t){var e=this;return new Promise((function(o,i){for(var a=e.category,r=0;r<a.length;r++)for(var s=0;s<a[r].has_many_children.length;s++)if(a[r].has_many_children[s].id===Number(t)){o(s);break}}))})),Object(h["a"])(a,"observeSections",(function(){var t={root:null,rootMargin:"0px",threshold:.5},e=new IntersectionObserver(this.onIntersection,t),o=this.$el.querySelectorAll(".cateGood");o.forEach((function(t){e.observe(t)}))})),Object(h["a"])(a,"onIntersection",(function(t,e){var o=this;t.forEach((function(t,e){t.isIntersecting&&(o.currentSection=t.target.id)}))})),Object(h["a"])(a,"scrollToTwoCate",(function(t,e,o){for(var i=this.$el.querySelectorAll(".cateGood"),a=this.category,r=0;r<i.length;r++)a[o].has_many_children[e].id==Number(i[r].id)&&(this.$refs.goodBox_right.scrollTo(0,document.getElementById("".concat(a[o].id)).offsetTop+i[r].offsetTop-this.$refs.posA[0].offsetHeight+2),this.moreCate="")})),Object(h["a"])(a,"scrollToSection",(function(t){var e=this;return Object(f["a"])(Object(c["a"])().mark((function o(){var i,a,r,s,n,l,d;return Object(c["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:i=e.$refs.showCate,s=0;case 2:if(!(s<i.length)){o.next=10;break}if(t.id!=Number(i[s].id)){o.next=7;break}return a=i[s].querySelectorAll(".cateGood")[0],r=s,o.abrupt("break",10);case 7:s++,o.next=2;break;case 10:if(!e.category[r].has_many_children[0]||e.category[r].has_many_children[0].good){o.next=20;break}if(e.category[r].has_many_children[0].good){o.next=18;break}return e.clickGoodNum>=20&&(e.clickGoodNum=0),n=r,l=0,d=e.category[n].has_many_children[l],o.next=18,e.getNextCateGood(d.id,l,n,a);case 18:o.next=21;break;case 20:e.$refs.goodBox_right.scrollTo(0,document.getElementById("".concat(e.category[r].id)).offsetTop+a.offsetTop-e.$refs.posA[0].offsetHeight+2);case 21:case"end":return o.stop()}}),o)})))()})),Object(h["a"])(a,"getBoxHeight",(function(){this.listHeight=[];var t=this.$refs.showCate,e=0;this.listHeight.push(e);for(var o=0;o<t.length;o++){var i=t[o];e+=i.clientHeight,this.listHeight.push(e)}for(var a=0;a<this.listHeight.length;a++)if(this.$refs.goodBox_right.scrollTop<this.listHeight[a]){this.oneInd=a-1;break}})),Object(h["a"])(a,"fnThrottle",(function(t){this.fnHandleScroll(t)})),Object(h["a"])(a,"throttle",(function(t,e){var o=0;return function(){var i=(new Date).getTime();i-o<e||(o=i,t.apply(void 0,arguments))}})),Object(h["a"])(a,"getCateGood",(function(){var t=this;return new Promise((function(e,o){$http.post("plugin.chain-store.frontend.controller.index.category-goods",{category_id:t.category[t.oneInd].has_many_children[t.twoInd].id,store_id:t.store_id,no_page:!0},"加载中").then((function(o){if(1===o.result){if(t.observeSections(),t.$set(t.category[t.oneInd].has_many_children[t.twoInd],"good",o.data.list),t.twoHeight=[],0==t.twoInd&&t.category[t.oneInd].has_many_children.length>1&&t.category[t.oneInd].has_many_children[t.twoInd].good.length<10){var i=t.twoInd+1,a=t.category[t.oneInd].has_many_children[i];return void t.getNextCateGood(a.id,i)}if(t.category[t.oneInd].has_many_children.length-1==t.twoInd&&t.category.length-1>t.oneInd){var r=t.oneInd+1,s=0,n=t.category[r].has_many_children[s];return void t.getNextCateGood(n.id,s,r)}e(!0)}else t.$toast(o.msg)})).catch((function(t){}))}))})),Object(h["a"])(a,"getNextCateGood",(function(t,e){var o=arguments,i=this;return Object(f["a"])(Object(c["a"])().mark((function a(){var r,s;return Object(c["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(r=o.length>2&&void 0!==o[2]?o[2]:i.oneInd,s=o.length>3?o[3]:void 0,!(i.clickGoodNum>=20)){a.next=4;break}return a.abrupt("return");case 4:if(i.getNextCateGood_Click){a.next=6;break}return a.abrupt("return");case 6:if(i.getNextCateGood_Click=!1,!i.category[r].has_many_children[e]||!i.category[r].has_many_children[e].good){a.next=10;break}return i.getNextCateGood_Click=!0,a.abrupt("return");case 10:$http.post("plugin.chain-store.frontend.controller.index.category-goods",{category_id:t,store_id:i.store_id,no_page:!0}).then((function(t){1===t.result?(i.getNextCateGood_Click=!0,i.$set(i.category[r].has_many_children[e],"good",t.data.list),i.clickGoodNum+=Number(t.data.list.length)):(i.getNextCateGood_Click=!0,i.$toast(t.msg))})).then((function(){if(r>1){var t=i.category[r].has_many_children.length-1;if(i.category[r-1].has_many_children[t]){var e=t,o=i.category[r-1].has_many_children[e];return i.getNextCateGood(o.id,e,r-1)}}})).then((function(){if(i.category[r].has_many_children.length-1>e){var t=e+1,o=i.category[r].has_many_children[t];return i.getNextCateGood(o.id,t,r)}})).then((function(){if(i.category[r].has_many_children.length-1==e&&i.category.length-1>r){var t=r+1,o=0,a=i.category[t].has_many_children[o];return i.getNextCateGood(a.id,o,t)}})).then((function(){s&&i.$refs.goodBox_right.scrollTo(0,document.getElementById("".concat(i.category[r].id)).offsetTop+s.offsetTop-i.$refs.posA[0].offsetHeight+2)})).catch((function(t){}));case 11:case"end":return a.stop()}}),a)})))()})),a)},b=m,p=(o("c7a0"),o("2877")),x=Object(p["a"])(b,l,d,!1,null,"d267a316",null),_=x.exports,v=o("9958"),w=o("25bd"),y=o("969d"),k={data:function(){return{keyWord:"",category:[],info:[],noticeShow:!1,stickyShow:!1,storeDetailShow:!1,showCarList:!1,get_type:1,store_id:"",lng:"",lat:"",delivery_area:[],locations:[],themeColor:"",carts:[],goodsCarts:[],cartsNum:0,cartsTotal:0,goodsCartsTotal:[],goodsInfo:{},goodsCartsOld:"",cartPostClick:!0,showGood:!1,activeGood:{},_goodsInfo:{},themeBaseColorOpacity:""}},components:{sotreGood:_,deliveryMap:v["a"],yzCartList:w["a"],yzGoodsPopup:y["a"],GoodsSwiper:n["a"]},activated:function(){var t=this;if(this.$route.query.get_type&&(this.get_type=this.$route.query.get_type),this.$route.query.store_id&&(this.store_id=this.$route.query.store_id),this.$route.query.lng&&(this.lng=this.$route.query.lng),this.$route.query.lat&&(this.lat=this.$route.query.lat),this.init(),"4"===this.get_type){var e=JSON.parse(localStorage.getItem("myLocation"));this.myLocation=e,e&&e.timestamp?(this.lat=e.point.lat,this.lng=e.point.lng,this.getData()):this.fun.getLocation("正在定位").then((function(e){t.lat=e.point.lat,t.lng=e.point.lng,t.getData()})).catch((function(e){t.getData()}))}else this.getData();this.themeColor=JSON.parse(localStorage.getItem("yz_basic_info")).theme_color||""},methods:{init:function(){this.keyWord=""},clearCartChild:function(){var t=this,e=[];this.carts.forEach((function(t){e.push(t.id)})),$http.get("plugin.store-cashier.frontend.shoppingCart.member-cart.destroy",{store_id:this.store_id,ids:e},"").then((function(e){1==e.result?(t.getCart(),t.showCarList=!1):t.$dialog.alert({message:e.msg})}),(function(t){}))},goodsOrder:function(t){var e=this.goodsCarts,o=0;(t||this.isHasDifferType(e))&&(this.carts.forEach((function(t){o+=t.total})),0!=o?0!=e.length&&0!=this.carts.length&&this.$router.push(this.fun.getUrl("goodsorder",{},{store_id:this.store_id,tag:"store",get_type:this.get_type})):this.$toast("购物车暂无商品"))},isHasDifferType:function(t){var e=this,o=0,i=0,a="";return t.forEach((function(t){t.live_install&&1==t.live_install.open_state?(o+=1,a=t.live_install.plugin_name):i+=1})),0==o||0==i||(Dialog.confirm({title:"提示",message:"普通商品与".concat(a,"商品一同下单将无法享受").concat(a,",是否继续下单?")}).then((function(){e.goodsOrder(t,!0)})).catch((function(){})),!1)},childGoodTap:function(t){var e=this;$http.post("goods.goods.get-goods-page",{id:Number(t)},"").then((function(t){var o=t.data,i=t.msg,a=t.result;0!=a?(e._goodsInfo=o,e.activeGood=o.get_goods,e.showGood=!0):e.$toast(i)}))},yzGoodsPopupClose:function(){this.showGood=!1,this.activeGood={}},addOneSpecs:function(t){this.addCart(t,"",t.total)},numberRight1:function(t){if(this.cartPostClick=!1,"addOne"==t.name&&this.addCart(t,"",t.total),"childBlur"!=t.name)if("minus"==t.name){for(var e,o=0;o<this.info.member_cart.json.length;o++)if(this.info.member_cart.json[o].id==t.id){e=this.info.member_cart.json[o];break}this.updateCartRequest(e.id,-1)}else if("plus"==t.name){for(var i,a,r=0;r<this.info.member_cart.json.length;r++)if(this.info.member_cart.json[r].id==t.id){a=r,i=this.info.member_cart.json[r];break}this.addCart(i,"cart",a)}else if("blur"==t.name){for(var s,n=0;n<this.info.member_cart.json.length;n++)if(this.info.member_cart.json[n].id==t.id){n,s=this.info.member_cart.json[n];break}if(s.total<0)return Toast("商品数量不能为负数"),void(s.total=this.goodsCartsOld);if(s.total<this.goodsCartsOld){var l=this.goodsCartsOld-s.total;this.updateCartRequest(s.id,-l)}else if(s.total>this.goodsCartsOld){var d=s.total-this.goodsCartsOld;this.updateCartRequest(s.id,d)}else if(s.total==this.goodsCartsOld)return}else"foucs"==t.name&&(this.cartPostClick=!0,this.goodsCartsOld=t.total);else this.updateCartRequest(t.id,t.total)},updateCartRequest:function(t,e){var o=this;$http.get("plugin.store-cashier.frontend.shoppingCart.member-cart.updateNum",{id:t,num:e,store_id:this.store_id},"加载中").then((function(t){o.cartPostClick=!0,1==t.result?(o.popNum=o.popNum+e,o.getCart()):(o.$dialog.alert({message:t.msg}),o.getCart())}),(function(t){}))},delItemByCart:function(t){var e=this;$http.get("plugin.store-cashier.frontend.shoppingCart.member-cart.destroy",{store_id:this.store_id,ids:t.id},"").then((function(t){1==t.result?(e.getCart(),e.popNum--):e.$dialog.alert({message:t.msg})}),(function(t){}))},addCart:function(t,e,o){var i=this,a="";a="cart"===e?t.goods_id:t.id,$http.get("plugin.store-cashier.frontend.shoppingCart.member-cart.store",{goods_id:a,total:1,store_id:this.store_id,option_id:t.option_id||0},"添加中").then((function(e){i.cartPostClick=!0,1===e.result?i.getCart(t):i.$dialog.alert({message:e.msg})}),(function(t){}))},cartUpdate:function(t){this.getCart(t)},getCart:function(t){var e=this,o=this;$http.get("plugin.store-cashier.frontend.shoppingCart.member-cart.index",{store_id:this.store_id}).then((function(i){1===i.result&&(o.carts=i.data,e.info.member_cart.json=i.data,o.goodsCarts=[],o.cartsNum=0,o.cartsTotal=0,o.carts.forEach((function(i){e.$set(o.goodsCarts,i.goods_id,i),t&&t.id==i.goods_id&&(t.buyNum=i.total),i.goods_id===o.goodsInfo.id&&i.option_id===optionsId&&(o.popNum=i.total,o.popCard=i),o.cartsNum+=i.total,o.cartsTotal+=i.total*i.goods.price})),o.goodsCartsTotal=o.calculateTotal(o.carts),o.cartsTotal=parseFloat(o.cartsTotal).toFixed(2))}),(function(t){})).catch((function(t){}))},toSearchGood:function(){this.$router.push(this.fun.getUrl("chainStoreSearch",{store_id:this.store_id,keyword:this.keyWord},{}))},getTypeChange:function(){this.$router.push(this.fun.getUrl("chainStoreSearchStore",{},{}))},toBack:function(){this.fun.isCPS()?"ios"===this.fun.isIosOrAndroid()?routeBackUrlIOS({body:"routeBackUrlIOS"}):routeBackUrlAndroid():this.$router.go(-1)},jumpToPage:function(t){this.$refs.jumpPage.scrollIntoView({behavior:"smooth"})},stickChange:function(t){this.stickyShow=t},toNoticeUrl_show:function(){this.noticeShow=!0},toNoticeUrl:function(t){window.location.href=t},getData:function(){var t=this,e={get_type:this.get_type,store_id:this.store_id,lat:this.lat,lng:this.lng};1!=this.get_type&&(e.address_id=this.$route.query.address_id),"4"===this.get_type&&(e={},e.get_type=this.get_type,e.lat=this.lat,e.lng=this.lng),$http.get("plugin.chain-store.frontend.controller.index.index",e).then((function(e){if(1==e.result){var o=JSON.parse(localStorage.getItem("yz_basic_info"));if(t.themeBaseColorOpacity=o.theme_color+"10",t.category=e.data.category,t.info=e.data,e.data.store_info){"4"!=t.get_type&&"3"!=t.get_type&&"2"!=t.get_type||(t.store_id=e.data.store_info.store_id);var i=e.data.store_info,a=i.store_delivery&&i.store_delivery.delivery_area?i.store_delivery.delivery_area:[],r=i.store_delivery?i.store_delivery.locations:[],s=[];a.forEach((function(t,e){s.push([Number(t.R),Number(t.Q)])})),t.delivery_area=s,t.locations=[Number(r.longitude).toFixed(6),Number(r.latitude).toFixed(6)]}e.data.member_cart&&t.getFirstCart(e.data.member_cart.json),t.fun.setWXTitle(t.info.store_info.store_name)}else t.$toast(e.msg),t.$router.push(t.fun.getUrl("chainStoreSearchStore",{},{}))})).catch((function(t){}))},getFirstCart:function(t){var e=this;this.carts=t,this.goodsCarts=[],this.cartsNum=0,this.cartsTotal=0,this.carts.forEach((function(t){e.$set(e.goodsCarts,t.goods_id,t),t.goods_id===e.goodsInfo.id&&t.option_id===optionsId&&(e.popNum=t.total,e.popCard=t),e.cartsNum+=t.total,e.cartsTotal+=t.total*t.goods.price})),this.goodsCartsTotal=this.calculateTotal(this.carts),this.cartsTotal=parseFloat(this.cartsTotal).toFixed(2)},calculateTotal:function(t){var e=this,o=[],i={},a=[];for(var r in t){var s=t[r].goods_id;i[s]?i[s].total=i[s].total+t[r].total:(i[s]={},i[s].goods_id=t[r].goods_id,i[s].total=t[r].total)}for(var n in i)o.push(i[n]);return o.forEach((function(t){e.$set(a,t.goods_id,t)})),a}}},C=k,B=(o("721b"),Object(p["a"])(C,r,s,!1,null,"447e9dbe",null));e["default"]=B.exports},"721b":function(t,e,o){"use strict";o("4127")},"74c1":function(t,e,o){t.exports=o.p+"static/app/img/loading.7c66cecb.jpg"},9710:function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,'.goodBox[data-v-d267a316]{height:95vh;padding-bottom:4rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;background:#fff}.goodBox .goodBox_right[data-v-d267a316]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:100%;margin-left:.75rem;padding-bottom:10rem}.goodBox .goodBox_right .cateGood .isTwoCateName[data-v-d267a316]{font-size:.81rem;font-weight:700;color:#3b3b4a;margin-bottom:.63rem;text-align:left}.goodBox .goodBox_right .cateGood .goodList[data-v-d267a316]{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;padding-bottom:.97rem}.goodBox .goodBox_right .cateGood .goodList .left[data-v-d267a316]{width:5rem;height:5rem;border-radius:.5rem;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-right:.5rem}.goodBox .goodBox_right .cateGood .goodList .left img[data-v-d267a316]{width:100%;height:100%;border-radius:.5rem}.goodBox .goodBox_right .cateGood .goodList .right[data-v-d267a316]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding:.5rem 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.goodBox .goodBox_right .cateGood .goodList .right .right_top[data-v-d267a316]{font-size:.88rem;font-weight:500;color:#3b3b4a;text-align:left;padding-right:.41rem}.goodBox .goodBox_right .cateGood .goodList .right .right_bottom[data-v-d267a316]{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;padding-right:.75rem}.goodBox .goodBox_right .cateGood .goodList .right .right_bottom .van-stepper[data-v-d267a316] .van-stepper__minus{color:#639!important;border-color:var(--color)!important}.goodBox .goodBox_right .cateGood .goodList .right .right_bottom .van-stepper[data-v-d267a316] .van-stepper__plus{background-color:var(--color)!important}.goodBox .goodBox_right .cateGood .goodList .right .right_bottom .price[data-v-d267a316]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:1rem;color:#f15353;text-align:left}.goodBox .goodBox_right .cateGood .goodList .right .right_bottom .optionBtn[data-v-d267a316]{font-size:.75rem;font-weight:400;color:#fff;padding:.25rem .59rem;background:var(--themeBaseColor);border-radius:1.56rem;position:relative}.goodBox .goodBox_right .cateGood .goodList .right .right_bottom .optionBtn .optionBtn_pos[data-v-d267a316]{position:absolute;right:-.5rem;top:-.6rem;min-width:1.13rem;height:1.13rem;border-radius:100%;background:#fca624}.goodBox .goodBox_right .cateGood .goodList .right .right_bottom .cricle[data-v-d267a316]{border-radius:100%;width:1.25rem;height:1.25rem;background:var(--themeBaseColor);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.goodBox .goodBox_right .pos[data-v-d267a316]{position:-webkit-sticky;position:sticky;top:0;left:0;background:#fff;z-index:19}.goodBox .goodBox_right .posAll[data-v-d267a316]{z-index:100}.goodBox .goodBox_right .aPos[data-v-d267a316]{position:absolute;left:0;top:0;height:100vh;width:100%;background-color:rgba(0,0,0,.6);z-index:99}.goodBox .goodBox_right .isSelectOneCate[data-v-d267a316]{text-align:left;padding-top:.63rem;padding-bottom:.63rem;font-size:.94rem;font-weight:700;background:#fff}.goodBox .goodBox_right .twoFiltrate[data-v-d267a316]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;margin-bottom:.63rem;background:#fff}.goodBox .goodBox_right .twoFiltrate_left[data-v-d267a316]{overflow-x:scroll;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.goodBox .goodBox_right .twoFiltrate_left_PP[data-v-d267a316]{overflow:hidden;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.goodBox .goodBox_right .twoFiltrate_box[data-v-d267a316]{padding:.5rem .47rem;border-radius:.25rem;background:#f8f8fb;font-size:.75rem;margin-right:.5rem;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.goodBox .goodBox_right .twoFiltrate_box_PP[data-v-d267a316]{margin-bottom:.325rem}.goodBox .goodBox_right .twoFiltrate_box_Select[data-v-d267a316]{background:var(--colorOpacity);color:var(--themeBaseColor)}.goodBox .goodBox_right .posMoreBtn[data-v-d267a316]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:2.16rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.goodBox .goodBox_right .twoFiltrate_box[data-v-d267a316]:last-child{margin-right:0}.goodBox .goodBox_left[data-v-d267a316]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:5rem;background:#fafafa;padding-bottom:5rem;height:100%;overflow-y:scroll}.goodBox .goodBox_left .oneCate[data-v-d267a316]{padding:1.28rem .25rem;width:100%;font-size:.81rem;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.goodBox .goodBox_left .oneCate .txt[data-v-d267a316]{position:relative}.goodBox .dext[data-v-d267a316]{overflow-y:scroll;-webkit-overflow-scrolling:touch}.goodBox .dext .twoFiltrate[data-v-d267a316]{padding-bottom:.325rem}.goodBox .dex[data-v-d267a316]{overflow:hidden}.oneSelect[data-v-d267a316]{font-weight:500;color:var(--themeBaseColor);background:#fff}.oneSelect_after[data-v-d267a316]:after{content:"";position:absolute;left:-.25rem;top:0;width:.19rem;height:100%;border-radius:.94rem;background:var(--themeBaseColor)}.twoFiltrate[data-v-d267a316]::-webkit-scrollbar,.twoFiltrate_left[data-v-d267a316]::-webkit-scrollbar{display:none}.goodBox_right[data-v-d267a316]::-webkit-scrollbar{display:none}',""]),t.exports=e},c7a0:function(t,e,o){"use strict";o("2bab")}}]); |