bztang-admin/addons/yun_shop/static/app/js/chunk-7e2405de.8e5768d1.js

1 line
46 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7e2405de","chunk-2d0b235b"],{"211b":function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,".category-content .van-collapse:after{border:none}.category-content .catagoryBox .van-cell__title{overflow:hidden}",""]),t.exports=e},"22af":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAC6xJREFUeNrsnetyHEcZhlfIlktB4DUpCeNDLBslFBQu5J+p/JGuAOsK0F4B+ArMXoHlK/ByBRFXoOVHKv+wXKagCAZvEhuMVHZWxsQ4iSn6Xc1Qk82cp3tO+zxVU6vD7vZM9/fOd5ienrkOQM25/+EHXfOyZ7Z1s43N1rv67nu7ZbT9LbofGsC2Jw4hsdwsq2EEAk2gO/X7OgIBqAEIBACBAHwt6d8w2yoCAfi6MLpmu9s5rog9ND9vIxCAzjdKxT43EQggjnBxkINAaxhP/b5vSRx9BAJtYBAQxeRKugVx6Gr8IOk75uh7mMGwKpU48CDQZn5VVBwIBGaNTOJAINBmdsw2KiIOgFnIRVJfNQcAAAAAAAAAAGgmJ+gCmCXuf/iBrq7fMttGwls196vHhUKYNW6mEIeQkN5HIDBrbGR47yoCgVljkOW9THeHWcxDtuUdEt42vvruezv0FgAAAAAAAEBNKFTF8qoBv+hkqy0DlIFWPxma7bdF7iScyykMCeJOJ7lUBlAHRp3jW26HzgXieY079Dk0kMz3pc9lFIfmp9yln6HBXDMiSb0yY9apJrfoX2g4mWw4tQfBe8AsepEsHuQ6/QotIbUtZxHIz+hXaAmpbTnLHYXdKo9o6XS3c2pxsfPG0ndyff7g8a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87Zrt7yhhf+snEK+qoBmiQ+ytUWi8thLG1n/PqCb7u8mwAQAAAAAAAAAA/E+AAQCWWUJtqkVBuAAAAABJRU5ErkJggg=="},5781:function(t,e,o){"use strict";o("ac81")},"789e1":function(t,e,o){"use strict";o("c1c6")},"7d33f":function(t,e,o){"use strict";o.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"distributor_order_goods"}},[i("div",{staticClass:"search_box"},[i("ul",{staticClass:"search"},[i("li",{staticClass:"left"},[i("i",{staticClass:"iconfont icon-back",staticStyle:{"padding-right":"1.5rem"},on:{click:t.goBack}}),i("span",[t._v("订货")])]),i("li",{staticClass:"right"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.kwd,expression:"kwd"}],attrs:{type:"text",title:"搜索",placeholder:"搜索商品"},domProps:{value:t.kwd},on:{input:function(e){e.target.composing||(t.kwd=e.target.value)}}}),i("i",{staticClass:"iconfont icon-sousuo",on:{click:t.getData}})])])]),i("van-tabs",{attrs:{sticky:""},on:{click:t.getData},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[t.isOpenOrder?i("van-tab",{attrs:{title:"订货活动",name:"0"}},[i("ul",{staticClass:"goods-box"},[t._l(t.listOne,(function(e,o){return i("li",{key:o},[i("div",{staticClass:"left"},[i("img",{attrs:{src:e.thumb,alt:""}})]),i("div",{staticClass:"right"},[i("p",{staticClass:"title"},[t._v(t._s(e.title))]),i("div",{staticClass:"spec text-over",on:{click:function(i){return i.stopPropagation(),t.showTaochang(e,o)}}},[t.fun.isTextEmpty(e.activeLevelOptions)?t._e():i("span",{staticClass:"taochan"},[i("em",{staticClass:"tc_namestyle"},[t._v("套餐:"+t._s(e.activeLevelOptions?e.activeLevelOptions.level_name:"请选择"))]),t._v(" "),i("i",{staticClass:"iconfont icon-member-bottom"})])]),i("p",{staticClass:"stock"},[t._v(" 进货价:"),i("span",{staticClass:"price"},[t._v(t._s(t.$i18n.t("money"))+t._s(e.activeLevelOptions?e.activeLevelOptions.replenish_price:""))]),t._v(" 元/"+t._s(e.sku)+" ")]),i("div",{staticClass:"ticket "},[i("p",{staticClass:"repertory text-over"},[t._v("市场价 "+t._s(t.$i18n.t("money"))+t._s(e.price)+" 元/"+t._s(e.sku))]),i("p",[t._v(t._s(e.activeLevelOptions?e.activeLevelOptions.replenish_number:null)+t._s(e.sku))]),t._e()])])])})),t.fun.isTextEmpty(t.listOne)?i("img",{staticStyle:{width:"5rem",margin:"2rem auto"},attrs:{src:o("22af"),alt:""}}):t._e()],2)]):t._e(),i("van-tab",{attrs:{title:"普通订货",name:"1"}},[i("div",{ref:"menu",staticClass:"rootlists"},[t.categoryOption1?i("ul",{staticClass:"rootList"},t._l(t.categoryOption1,(function(e,o){return i("li",{key:o,class:{active:t.category1==e.value},on:{click:function(o){return t.selectCate1(e)}}},[i("span",[t._v(t._s(e.text))])])})),0):t._e()]),i("div",{staticClass:"category-content"},[i("div",{staticClass:"catagoryBox"},[i("van-collapse",{attrs:{border:!1},model:{value:t.collapseIndex,callback:function(e){t.collapseIndex=e},expression:"collapseIndex"}},[i("van-collapse-item",{attrs:{name:"1"}},[i("div",{staticClass:"activetitle",attrs:{slot:"title"},slot:"title"},[i("dl",{directives:[{name:"show",rawName:"v-show",value:!t.fun.isTextEmpty(t.showTitle)&&0!=t.category1,expression:"!fun.isTextEmpty(showTitle) && category1 != 0"}]},t._l(t.showTitle,(function(e,o){return i("dt",{key:o,class:e.value==t.category2?"addClass":"removeClass",on:{click:function(o){return o.stopPropagation(),t.selectCate2(e)}}},[t._v(" "+t._s(e.text)+" ")])})),0),i("span",{directives:[{name:"show",rawName:"v-show",value:t.fun.isTextEmpty(t.showTitle)&&0!=t.category1,expression:"fun.isTextEmpty(showTitle) && category1 != 0"}]},[t._v(t._s(t.$i18n.t("category.选择分类")))]),i("span",{directives:[{name:"show",rawName:"v-show",value:0==t.category1,expression:"category1 == 0"}],staticClass:"addClass"},[t._v("全部")])]),i("div",{staticStyle:{"overflow-y":"scroll","max-height":"32vh"}},[i("dl",t._l(t.categoryOption2,(function(e,o){return i("dt",{key:o,class:e.value==t.category2?"addClass1":"removeClass1",on:{click:function(o){return o.stopPropagation(),t.selectCate2(e)}}},[t._v(" "+t._s(e.text)+" ")])})),0),!t.fun.isTextEmpty(t.categoryOption3)&&t.categoryOption3.length>1?[i("p",{staticClass:"threeTitle"},[t._v(t._s(t.$i18n.t("category.三级分类")))]),i("dl",t._l(t.categoryOption3,(function(e,o){return i("dt",{key:o,class:e.value==t.category3?"addClass1":"removeClass1",on:{click:function(o){return t.selectCate3(e)}}},[t._v(" "+t._s(e.text)+" ")])})),0)]:t._e()],2),t.fun.isTextEmpty(t.categoryOption3)?i("p",[t._v(t._s(t.$i18n.t("category.暂无其他分类")))]):t._e()])],1)],1),"1"==this.collapseIndex?i("div",{staticClass:"coverLayer",on:{click:t.change}}):t._e(),i("div",{ref:"category_content",staticStyle:{height:"calc(89vh - 3rem)"}},[i("ul",{staticClass:"goods-box",staticStyle:{"padding-top":"0.5rem"}},[t._l(t.listOne,(function(e,o){return i("li",{key:o},[i("div",{staticClass:"left"},[i("img",{attrs:{src:e.thumb,alt:""}})]),i("div",{staticClass:"right"},[i("p",{staticClass:"title"},[t._v(t._s(e.title))]),i("span",{staticClass:"spec text-over"}),i("p",{staticClass:"stock"},[t._v(" 进货价:"),i("span",{staticClass:"price"},[t._v(t._s(t.$i18n.t("money"))+t._s(e.show_price))])]),i("div",{staticClass:"ticket "},[i("p",{staticClass:"repertory text-over"},[t._v("市场价 "+t._s(t.$i18n.t("money"))+t._s(e.price))]),t.fun.isTextEmpty(e.has_many_options)||1!=e.has_option?t._e():i("p",{staticClass:"exchange",on:{click:function(o){return o.stopPropagation(),t.showPop(e)}}},[t._v(" 选规格"),t.fun.isTextEmpty(t.goodsCartsTotal[e.id])?t._e():i("i",[t._v(t._s(t.goodsCartsTotal[e.id].total))])]),t.fun.isTextEmpty(e.has_many_options)||0==e.has_option?i("div",{staticClass:"select"},[i("transition",{attrs:{name:"fade"}},[t.goodsCarts[e.id]&&t.goodsCartsTotal[e.id].total>0?i("i",{staticClass:"iconfont icon-life-game-sign",on:{click:function(o){return o.stopPropagation(),t.numberLeft(e.id)}}}):t._e()]),t.goodsCarts[e.id]&&!t.goodsCarts[e.id].option_str&&t.goodsCartsTotal[e.id].total>0?i("input",{directives:[{name:"model",rawName:"v-model.lazy",value:t.goodsCartsTotal[e.id].total,expression:"goodsCartsTotal[item.id].total",modifiers:{lazy:!0}}],ref:"ordinaryInputRef"+e.id,refInFor:!0,attrs:{type:"number",title:"number"},domProps:{value:t.goodsCartsTotal[e.id].total},on:{focus:function(o){return t.getActiveOldTotal(e.id)},keyup:t.getActiveNewTotal,change:function(o){return t.$set(t.goodsCartsTotal[e.id],"total",o.target.value)}}}):t._e(),t.goodsCarts[e.id]&&t.goodsCarts[e.id].option_str?i("span",{on:{click:function(t){t.stopPropagation()}}},[t._v(t._s(t.goodsCartsTotal[e.id].total))]):t._e(),i("i",{staticClass:"iconfont icon-life-game-plus",on:{click:function(o){return o.stopPropagation(),t.numberRight(e.id)}}})],1):t._e()])])])})),t.fun.isTextEmpty(t.listOne)?i("img",{staticStyle:{width:"5rem",margin:"2rem auto"},attrs:{src:o("22af"),alt:""}}):t._e()],2)])])])],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.activeName||t.isOpenOrder,expression:"activeName == '1' || isOpenOrder"}],staticClass:"car-btn",on:{click:function(e){return e.stopPropagation(),t.gotoCart.apply(null,arguments)}}},[i("img",{attrs:{src:o("888e"),alt:""}})]),i("van-popup",{attrs:{position:"bottom",closeable:"","close-icon":"close"},model:{value:t.showSpec,callback:function(e){t.showSpec=e},expression:"showSpec"}},[[t.showSpec?i("div",{attrs:{id:"specificationPopup"}},[i("div",{staticClass:"topDiv"},[i("div",{staticClass:"shopimg"},[i("div",{attrs:{id:"chooser_img"}},[i("img",{attrs:{src:null==t.popThumb||""==t.popThumb||void 0==t.popThumb?t.goodsInfo.thumb:t.popThumb}})]),i("div",{staticClass:"right"},[t.diyHeaders?t._e():[i("div",{staticClass:"title"},[t._v(t._s(t.goodsInfo.title))]),i("div",{staticClass:"option"},[t._v("库存"+t._s(t.popStock)+t._s(t.goodsInfo.sku))]),i("div",{staticClass:"price"},[i("em",{staticStyle:{"font-size":"0.625rem"}},[t._v(t._s(t.$i18n.t("money")))]),i("span",{attrs:{id:"option_price"}},[t._v(t._s(t.popPrice))])])],t.diyHeaders?t._t("default"):t._e()],2)])]),i("div",{staticClass:"shopinfo noVantRadio"},t._l(t.goodsInfo.has_many_specs,(function(e,o){return i("dl",{key:o},[i("dt",[t._v(t._s(e.title))]),i("dd",[i("van-radio-group",{attrs:{"checked-color":"#f15353"},on:{change:t.selectSpecs},model:{value:e.description,callback:function(o){t.$set(e,"description",o)},expression:"specs.description"}},t._l(e.specitem,(function(o,s){return i("van-radio",{key:s,class:{vantRadioshow:e.description==o},attrs:{disabled:o.c,name:o}},[t._v(" "+t._s(o.title)+" ")])})),1)],1)])})),0),i("div",[i("van-row",[i("van-col",{attrs:{span:12,id:"num"}},[t._v(" 购买数量: ")]),i("van-col",{directives:[{name:"show",rawName:"v-show",value:t.popNum>=1,expression:"popNum >= 1"}],attrs:{span:11}},[i("div",{staticClass:"num"},[i("div",{staticClass:"leftnav",on:{click:function(e){return t.changeCount(t.popCard.id,t.popNum-1,-1)}}},[t._v(" - ")]),i("input",{directives:[{name:"model",rawName:"v-model.lazy",value:t.popNum,expression:"popNum",modifiers:{lazy:!0}}],staticClass:"shownum",attrs:{type:"number",disabled:"true"},domProps:{value:t.popNum},on:{change:function(e){t.popNum=e.target.value}}}),i("div",{staticClass:"rightnav",on:{click:function(e){return t.changeCount(t.popCard.id,t.popNum+1,1)}}},[t._v(" + ")])])]),i("van-col",{directives:[{name:"show",rawName:"v-show",value:t.popNum<1,expression:"popNum < 1"}],staticClass:"bottomBox",attrs:{span:11}},[i("span",{staticClass:"btn",on:{click:t.submitAction}},[t._v("加入购物车")])])],1)],1)]):t._e()]],2),i("van-popup",{attrs:{position:"bottom",closeable:"","close-icon":"close"},on:{closed:t.closedTaochangPopup},model:{value:t.showTaochangPopup,callback:function(e){t.showTaochangPopup=e},expression:"showTaochangPopup"}},[[t.showTaochangPopup?i("div",{attrs:{id:"specificationPopup"}},[i("div",{staticClass:"topDiv"},[i("div",{staticClass:"shopimg"},[i("div",{attrs:{id:"chooser_img"}},[i("img",{attrs:{src:null==t.popThumb||""==t.popThumb||void 0==t.popThumb?t.goodsInfo.thumb:t.popThumb}})]),i("div",{staticClass:"right"},[i("div",{staticClass:"price"},[i("em",{staticStyle:{"font-size":"0.625rem"}},[t._v(t._s(t.$i18n.t("money")))]),i("span",{attrs:{id:"option_price"}},[t._v(t._s(t.tc_replenish_price*t.tc_replenish_number?(t.tc_replenish_price*t.tc_replenish_number).toFixed(2):""))])]),i("div",{staticClass:"option"},[t._v("进货价: "+t._s(t.tc_replenish_price)+" 元 / "+t._s(t.goodsInfo.sku))]),i("div",{staticClass:"option"},[t._v("市场价: "+t._s(t.goodsInfo.price)+" 元 / "+t._s(t.goodsInfo.sku))]),i("div",{staticClass:"option",staticStyle:{color:"#000"}},[t._v("库存:"+t._s(t.popStock)+t._s(t.goodsInfo.sku)+" / 订货数量:"+t._s(t.tc_replenish_number))])])])]),i("div",{staticClass:"shopinfo noVantRadio"},[i("dl",[i("dt",[t._v("套餐")]),i("dd",[i("van-radio-group",{attrs:{"checked-color":"#f15353"},on:{change:t.selectSpecs_tc},model:{value:t.tc_specitem,callback:function(e){t.tc_specitem=e},expression:"tc_specitem"}},t._l(t.goodsInfo.level_options,(function(e,o){return i("van-radio",{key:o,class:{vantRadioshow:t.tc_specitem==e},attrs:{name:e}},[t._v(" "+t._s(e.level_name)+" ")])})),1)],1)])]),i("div",[i("van-row",{attrs:{type:"flex",justify:"space-around"}},[i("van-col",{attrs:{span:12,id:"num"}},[t._v(" 购买数量: ")]),i("van-col",{directives:[{name:"show",rawName:"v-show",value:t.popNum>=1,expression:"popNum >= 1"}],attrs:{span:11}},[i("div",{staticClass:"num"},[i("div",{staticClass:"leftnav",on:{click:function(e){return t.changeCount(t.popCard.id,t.popNum-1,-1)}}},[t._v(" - ")]),i("input",{directives:[{name:"model",rawName:"v-model.lazy",value:t.popNum,expression:"popNum",modifiers:{lazy:!0}}],ref:"tcInput",staticClass:"shownum",attrs:{type:"number"},domProps:{value:t.popNum},on:{focus:function(e){return t.getActiveOldTotal_1(t.popCard.id)},keyup:t.getActiveNewTotal,change:function(e){t.popNum=e.target.value}}}),i("div",{staticClass:"rightnav",on:{click:function(e){return t.changeCount(t.popCard.id,t.popNum+1,1)}}},[t._v(" + ")])])]),i("van-col",{directives:[{name:"show",rawName:"v-show",value:t.popNum<1,expression:"popNum < 1"}],staticClass:"bottomBox",attrs:{span:11}},[i("span",{staticClass:"btn",on:{click:t.submitAction_tc}},[t._v("加入购物车")])])],1),i("van-button",{attrs:{disabled:!(t.popNum>0),type:"primary",size:"large",color:"linear-gradient(to right, #ff6034, #ee0a24)"},on:{click:t.buyOrder}},[t._v("立即购买")])],1)]):t._e()]],2)],1)},s=[],a=(o("e7e5"),o("d399")),n=(o("a9e3"),o("d3b7"),o("159b"),o("a4d3"),o("e01a"),o("a434"),o("ac1f"),o("1276"),o("4e82"),o("99af"),o("b0c0"),o("6968")),r=o("ac0d"),c=o("1fba"),l=[],d="",p=1,h={mixins:[r["a"]],data:function(){return{isOpenOrder:!1,tc_specitem:null,tc_replenish_price:null,tc_price_total:null,tc_replenish_number:null,showTaochangPopup:!1,activeOpenIndex:0,kwd:"",activeName:0,showSpec:!1,listOne:[],carts:[],cartIDs:[],goodsCarts:[],goodsCartsTotal:[],goodsInfo:{},popCard:{},popThumb:"",popPrice:0,popStock:1,goodsDescription:"",goodsCount:1,popNum:0,destroyData_status:!1,cat_level:2,category1:0,category2:0,category3:0,category1_disabled:!1,category2_disabled:!0,category3_disabled:!0,categoryOption1:[{text:"全部",value:0}],categoryOption2:[{text:"全部",value:0,child:[]}],categoryOption3:[{text:"全部",value:0}],isLoadMore:!0,page:1,total_page:0,timeoutId:null,numberLeft_timeout:null,save_clicknumber:0,ActiveInputId:null,ActiveOldTotal:null,titleInfo:[],showTitle:[],collapseIndex:[],categoryContentBScroll:null}},mounted:function(){this.categoryOption1=[{text:"全部",value:0}],this.activeName=0,this.initData(),this.updateData(),this.enableActivity(),this.getCategoryOne()},watch:{collapseIndex:function(t){this.showTitle="1"==t?[]:this.titleInfo}},methods:{initData:function(){this.kwd="",this.isLoadMore=!0,this.page=1,this.total_page=0,this.isOpenOrder=!1,this.tc_specitem=null,this.tc_replenish_price=null,this.tc_price_total=null,this.tc_replenish_number=null,this.showTaochangPopup=!1,this.activeOpenIndex=0,this.showSpec=!1,this.listOne=[],this.carts=[],this.cartIDs=[],this.goodsCarts=[],this.goodsCartsTotal=[],this.goodsInfo={},this.popCard={},this.popThumb="",this.popPrice=0,this.popStock=1,this.goodsDescription="",this.goodsCount=1,this.cat_level=2,this.category1=0,this.category2=0,this.category3=0,this.category1_disabled=!1,this.category2_disabled=!0,this.category3_disabled=!0,this.categoryOption2=[{text:"全部",value:0,child:[]}],this.categoryOption3=[{text:"全部",value:0}]},getActiveOldTotal:function(t){this.ActiveInputId=t,this.ActiveOldTotal=this.goodsCartsTotal[t].total},getActiveOldTotal_1:function(t){this.ActiveInputId=t,this.ActiveOldTotal=this.popNum},getActiveNewTotal:function(t){if(this.ActiveInputId){this.timeoutId&&clearTimeout(this.timeoutId);var e=this,o=t.target.value,i=null;this.timeoutId=setTimeout((function(){if(e.ActiveOldTotal!=o)return 0==e.activeName&&o<e.tc_replenish_number?(o=e.tc_replenish_number,e.popNum=e.tc_replenish_number,Object(a["a"])("订货数量不少于".concat(e.tc_replenish_number)),void(e.$refs.tcInput.value=e.tc_replenish_number)):(i=Number(-(e.ActiveOldTotal-o)),0!=e.activeName?(e.$refs["ordinaryInputRef".concat(e.ActiveInputId)][0].blur(),void e.changeCount(e.goodsCarts[e.ActiveInputId].id,e.goodsCartsTotal[e.ActiveInputId].total,i)):(e.$refs.tcInput.blur(),void(0==i||e.changeCount(e.ActiveInputId,e.popNum,i))))}),1e3)}},numberLeft:function(t){var e=this;this.numberLeft_timeout&&clearTimeout(this.numberLeft_timeout),this.save_clicknumber++,e.goodsCartsTotal[t].total=Number(e.goodsCartsTotal[t].total)-1,this.numberLeft_timeout=setTimeout((function(){e.goodsCartsTotal[t].total<=0?e.destroyData(e.goodsCarts[t].id):e.changeCount(e.goodsCarts[t].id,e.goodsCartsTotal[t].total,-e.save_clicknumber),e.save_clicknumber=0}),300)},numberRight:function(t,e,o){if(0!=e){var i=this;if(!this.fun.isTextEmpty(this.goodsCartsTotal[t])){if(this.goodsCartsTotal[t].total>=e)return void Object(a["a"])("库存不足");this.goodsCartsTotal[t].total=Number(this.goodsCartsTotal[t].total)+1}$http.get("plugin.channel.frontend.member-cart.store",{goods_id:t,total:1},"").then((function(t){1===t.result?i.updateData():Object(a["a"])(t.msg)}),(function(t){}))}else Object(a["a"])("库存不足")},submitAction_tc:function(){var t=this;$http.get("plugin.channel.frontend.replenish-cart.store",{goods_id:this.goodsInfo.id,total:t.tc_replenish_number,option_id:d},"").then((function(e){1===e.result?(Object(a["a"])(e.msg),t.updateData(),t.popNum=t.popNum+1):Object(a["a"])(e.msg)}),(function(t){}))},selectSpecs_tc:function(t){d=t.option_id;var e=this;this.tc_replenish_price=t.replenish_price,this.tc_price_total=t.price_total,this.tc_replenish_number=Number(t.replenish_number)>0?Number(t.replenish_number):1,e.popNum=0,e.popCard={};for(var o=0;o<this.carts.length;o++)if(e.carts[o].goods_id===e.goodsInfo.id&&e.carts[o].option_id===d)return e.popNum=e.carts[o].total,void(e.popCard=e.carts[o])},submitAction:function(){var t=this;l.length<this.goodsInfo.has_many_specs.length?Object(a["a"])(this.goodsDescription):0!=p?$http.get("plugin.channel.frontend.member-cart.store",{goods_id:this.goodsInfo.id,total:1,option_id:d},"").then((function(e){1===e.result?(Object(a["a"])(e.msg),t.updateData(),t.popNum=t.popNum+1):Object(a["a"])(e.msg)}),(function(t){})):Object(a["a"])("该规格库存不足!")},change:function(){this.collapseIndex=[]},changeCount:function(t,e,o,i){var s=this;if(!(e<0))if(0!=e)if(0==this.activeName&&-1==o&&e<this.tc_replenish_number)Object(a["a"])("订货数量不少于".concat(s.tc_replenish_number));else{var n={id:t,num:o,i:this.fun.getKeyByI(),type:this.fun.getTyep()},r=0==this.activeName?"plugin.channel.frontend.replenish-cart.updateNum":"plugin.channel.frontend.member-cart.updateNum";$http.get(r,n,"").then((function(t){if(1===t.result){if(s.ActiveInputId=null,s.updateData(),!s.fun.isTextEmpty(o))switch(o){case-1:s.popNum=s.popNum-1;break;case 1:s.popNum=s.popNum+1;break;default:s.popNum=s.popNum+o;break}Object(a["a"])(t.msg)}else Object(a["a"])(t.msg)}),(function(t){}))}else this.destroyData(t)},updateData:function(){var t=this,e=0==this.activeName?"plugin.channel.frontend.replenish-cart.index":"plugin.channel.frontend.member-cart.index";$http.get(e,{channel_type:2}).then((function(e){1===e.result?t.getCart(e.data):Object(a["a"])(e.msg)}))},getCart:function(t,e){var o=this;o.carts=t,o.goodsCarts=[],o.cartIDs=[],o.carts.forEach((function(e){o.$set(o.goodsCarts,e.goods_id,e),t&&t.id===e.goods_id&&(t.buyNum=e.total),e.goods_id===o.goodsInfo.id&&e.option_id===d&&(o.popNum=e.total,o.popCard=e),o.cartsNum+=e.total,o.cartsTotal+=e.total*e.goods.price,o.cartIDs.push(e.id)})),o.goodsCartsTotal=o.calculateTotal(o.carts)},calculateTotal:function(t){var e=this,o=[],i={},s=[];for(var a in t){var n=t[a].goods_id;if(i[n]){var r=i[n].goods_id;i[n].goods_id=r,i[n].total=i[n].total+t[a].total}else i[n]={},i[n].goods_id=t[a].goods_id,i[n].total=t[a].total}for(var c in i)o.push(i[c]);return o.forEach((function(t){e.$set(s,t.goods_id,t)})),s},destroyData:function(t){if(!this.destroyData_status){this.destroyData_status=!0;var e=this,o=0==this.activeName?"plugin.channel.frontend.replenish-cart.destroy":"plugin.channel.frontend.member-cart.destroy";$http.get(o,{ids:t}).then((function(t){e.destroyData_status=!1,1==t.result?e.updateData():Object(a["a"])(t.msg)}))}},buyOrder:function(){if(this.goodsInfo.id){if(!(this.popNum<=0))return 0==this.activeName&&this.popNum<this.tc_replenish_number?(Object(a["a"])("订货数量不少于".concat(this.tc_replenish_number)),void(this.$refs.tcInput.value=this.tc_replenish_number)):void this.$router.push(this.fun.getUrl("goodsorder",{},{tag:"channel_buy",goodsId:this.goodsInfo.id,optionsId:d,total:this.popNum}));Object(a["a"])("商品数量不能少于0")}else Object(a["a"])("商品id错误")},init:function(){l=[],d="",p=1,this.popStock=1,this.goodsDescription="",this.goodsCount=1},initPopView:function(t){if(this.popThumb=this.goodsInfo.thumb,this.popStock=this.goodsInfo.stock?this.goodsInfo.stock:"",t){if(!d){d=this.goodsInfo.level_options[0].option_id,this.tc_replenish_price=this.goodsInfo.level_options[0].replenish_price,this.tc_price_total=this.goodsInfo.level_options[0].price_total,this.tc_replenish_number=Number(this.goodsInfo.level_options[0].replenish_number)>0?Number(this.goodsInfo.level_options[0].replenish_number):1;for(var e=0;e<this.carts.length;e++){if(this.carts[e].goods_id===this.goodsInfo.id&&this.carts[e].option_id===d){this.popNum=this.carts[e].total,this.popCard=this.carts[e];break}this.popNum=0,this.popCard={}}}}else if(this.fun.isTextEmpty(this.goodsInfo.has_many_options))this.popPrice=this.goodsInfo.price,this.goodsDescription="",p=this.goodsInfo.stock?this.goodsInfo.stock:"",this.load=!0;else{this.goodsDescription="选择";for(var o=0;o<this.goodsInfo.has_many_specs.length;o++)this.goodsDescription+=" "+this.goodsInfo.has_many_specs[o].title;if(!d)for(var i=0;i<this.goodsInfo.has_many_specs.length;i++)this.goodsInfo.has_many_specs[i].description=this.goodsInfo.has_many_specs[i].specitem[0],this.selectSpecs(this.goodsInfo.has_many_specs[i].specitem[0]);this.load=!0}},selectSpecs:function(t){this.manageSpecs(t),this.setGoodsSpecs(t),this.setGoodsSpecsChangeInfo(),this.getMaxCount()},manageSpecs:function(t){var e={};if(e.id=t.id,e.specid=t.specid,e.title=t.title,l.length>0){for(var o=0;o<l.length;o++)l[o].specid==e.specid&&l.splice(o,1);l.push(e)}else l.push(e);if(l.length==this.goodsInfo.has_many_specs.length){for(var i=[],s=0;s<this.goodsInfo.has_many_specs.length;s++)for(var a=0;a<l.length;a++)if(this.goodsInfo.has_many_specs[s].id==l[a].specid){i.push(l[a]);break}l=i}this.setGoodsDescription()},setGoodsDescription:function(){var t="";if(l.length==this.goodsInfo.has_many_specs.length){t="已选择 ";for(var e=0;e<l.length;e++)t+=l[e].title+" ";this.goodsDescription=t}else{t="请选择 ";for(var o=0;o<this.goodsInfo.has_many_specs.length;o++)for(var i=0;i<l.length;i++)if(this.goodsInfo.has_many_specs[o].id!=l[i].specid){t+=this.goodsInfo.has_many_specs[o].title+" ";break}this.goodsDescription=t}},setGoodsSpecs:function(t){for(var e=0;e<this.goodsInfo.has_many_specs.length;e++)t.specid!=this.goodsInfo.has_many_specs[e].id&&this.setGoodsSpecsStatus(this.goodsInfo.has_many_specs[e].specitem,t.id)},setGoodsSpecsStatus:function(t,e){for(var o=[],i=0;i<this.goodsInfo.has_many_options.length;i++)for(var s=this.goodsInfo.has_many_options[i].specs.split("_"),a=0;a<s.length;a++)if(s[a]==e)return void o.push(this.goodsInfo.has_many_options[i]);for(var n=0;n<o.length;n++)for(var r=o[n].specs.split("_"),c=0;c<r.length;c++)if(r[c]!=e&&0==o[n].stock){for(var l=0;l<t.length;l++)if(r[c]==t[l].id)return void(t[l].c=!0)}else if(r[c]!=e&&o[n].stock>0)for(var d=0;d<t.length;d++)if(r[c]==t[d].id)return void(t[d].c=!1)},setGoodsSpecsChangeInfo:function(){if(l.sort((function(t,e){return t.id-e.id})),l.length==this.goodsInfo.has_many_specs.length){for(var t="",e=0;e<l.length;e++)t+=l[e].id+"_";t=t.substring(0,t.length-1);for(var o=0;o<this.goodsInfo.has_many_options.length;o++)if(t==this.setGoodsSpecsBySort(this.goodsInfo.has_many_options[o].specs)){this.popPrice=this.goodsInfo.has_many_options[o].product_price,this.popThumb=this.fun.isTextEmpty(this.goodsInfo.has_many_options[o].thumb)?this.goodsInfo.thumb:this.goodsInfo.has_many_options[o].thumb,this.popStock=this.goodsInfo.has_many_options[o].stock,d=this.goodsInfo.has_many_options[o].id,p=this.goodsInfo.has_many_options[o].stock,p>0&&(this.popNum=0);break}for(var i=0;i<this.carts.length;i++){if(this.carts[i].goods_id===this.goodsInfo.id&&this.carts[i].option_id===d){this.popNum=this.carts[i].total,this.popCard=this.carts[i];break}this.popNum=0,this.popCard={}}}},setGoodsSpecsBySort:function(t){var e=t.split("_");e.sort((function(t,e){return t-e}));for(var o="",i=0;i<e.length;i++)o+=e[i]+"_";return o=o.substring(0,o.length-1),o},getMaxCount:function(){l.length==this.goodsInfo.has_many_specs.length&&(0==p&&(this.popNum=0),this.popNum>p&&(this.popNum=p))},addGoods:function(){l.length!=this.goodsInfo.has_many_specs.length||this.popNum!=p?this.popNum++:Object(a["a"])("数量超出范围")},reduceGoods:function(){1!=this.popNum&&0!=this.popNum&&this.goodsCount--},enableActivity:function(){var t=this;$http.post("plugin.channel.frontend.goods-stock.enableActivity",{},"").then((function(e){1===e.result?(t.isOpenOrder=!0,t.$nextTick((function(){t.activeName="0",t.getData()}))):(t.isOpenOrder=!1,t.activeName="1",t.getData())})).catch((function(t){}))},getData:function(){var t=this;if(this.categoryContentBScroll&&this.categoryContentBScroll.refresh(),this.isOpenOrder||0!=this.activeName){var e=this,o={};this.kwd&&(o.kwd=this.kwd),this.category1=0,this.category2=0,this.category3=0,this.category1_disabled=!1,this.category2_disabled=!0,this.category3_disabled=!0;var i=0==this.activeName?"plugin.channel.frontend.goods-stock.getListByActivity":"plugin.channel.frontend.goods-stock.getList";$http.post(i,o,"").then((function(o){if(1===o.result){t.isLoadMore=!0,t.total_page=o.data.list.last_page,t.total_page||(t.total_page=0),t.listOne=o.data.list.data;for(var i=0;i<t.listOne.length;i++)e.fun.isTextEmpty(e.listOne[i].level_options)||e.$set(e.listOne[i],"activeLevelOptions",e.listOne[i].level_options[0]);t.updateData(),t.$nextTick((function(){t.categoryContentBScroll?t.categoryContentBScroll.refresh():(t.categoryContentBScroll=new c["a"](t.$refs.category_content,{click:!0,pullUpLoad:!0}),t.categoryContentBScroll.on("pullingUp",(function(){t.getMoreData()})))}))}else Object(a["a"])(o.msg)})).catch((function(t){}))}else this.listOne=[]},getMoreData:function(){var t=this,e=this;if(e.isLoadMore=!1,!(this.page>=this.total_page)){this.page=this.page+1;var o={page:this.page},i=null;1==e.activeName?0!=e.category3?(i="plugin.channel.frontend.goods-category.getGoodsListByCategoryId",o.category_id=e.category3):0!=e.category2?(i="plugin.channel.frontend.goods-category.getGoodsListByCategoryId",o.category_id=e.category2):0!=e.category1?(i="plugin.channel.frontend.goods-category.getChildCategory",o.parent_id=e.category1):(i="plugin.channel.frontend.goods-stock.getList",e.kwd&&(o.kwd=e.kwd)):(e.kwd&&(o.kwd=e.kwd),i="plugin.channel.frontend.goods-stock.getListByActivity"),$http.get(i,o,"").then((function(o){if(e.isLoadMore=!0,1===o.result){var i=null;if(0==e.activeName){i=o.data.list.data;for(var s=0;s<i.length;s++)e.fun.isTextEmpty(i[s].level_options)||e.$set(i[s],"activeLevelOptions",i[s].level_options[0])}else 1==e.activeName&&(i=0!=e.category3||0!=e.category2?o.data.data:0!=e.category1?o.data.goods_list.data:o.data.list.data);e.listOne=e.listOne.concat(i),t.$nextTick((function(){t.categoryContentBScroll.refresh(),t.categoryContentBScroll.finishPullUp()}))}else e.page=e.page-1,e.isLoadMore=!1}),(function(t){}))}},showPop:function(t){this.goodsInfo=t,this.showSpec=!0,this.init(),this.initPopView()},showTaochang:function(t,e){this.goodsInfo=t,this.showTaochangPopup=!0,this.activeOpenIndex=e,this.tc_specitem=t.level_options[0],this.init(),this.initPopView(!0)},closedTaochangPopup:function(){this.$set(this.listOne[this.activeOpenIndex],"activeLevelOptions",this.tc_specitem)},goBack:function(){window.history.length<=1?this.$router.push(this.fun.getUrl("home",{})):this.$router.go(-1)},gotoCart:function(){var t="0"==this.activeName?"activity":"ordinary";this.$router.push(this.fun.getUrl("exchangeCart",{type:t}))},getCategoryOne:function(){var t=this;$http.post("plugin.channel.frontend.goods-category.getList",{},"").then((function(e){if(1===e.result){var o=e.data.category.data;o.length>0&&o.forEach((function(e,o){t.categoryOption1.push({text:e.name,value:e.id})}))}else Object(a["a"])(e.msg)})).catch((function(t){}))},getCategorytwo:function(t,e){var o=this,i=this;this.categoryOption2=[{text:"全部",value:0,child:[]}],this.categoryOption3=[{text:"全部",value:0}],this.category2=0,this.category3=0,this.category2_disabled=!0,this.category3_disabled=!0,0!=t&&$http.post("plugin.channel.frontend.goods-category.getChildCategory",{parent_id:t},"").then((function(t){if(1===t.result){o.categoryOption2=[{text:"全部",value:0,child:[]}],o.categoryOption3=[{text:"全部",value:0}],o.total_page=t.data.last_page,o.total_page||(o.total_page=0);var s=t.data.data;o.listOne=t.data.goods_list.data,s.length>0?(s.forEach((function(t,e){i.categoryOption2.push({text:t.name,value:t.id,child:t.has_many_children})})),o.titleInfo=o.categoryOption2,o.showTitle=o.categoryOption2,e&&(o.category2_disabled=!1)):(o.titleInfo=o.categoryOption2,o.showTitle=o.categoryOption2)}else o.titleInfo=o.categoryOption2,Object(a["a"])(t.msg)})).catch((function(t){}))},selectCate1:function(t){this.category1=t.value,this.collapseIndex=[];var e=t.value;this.kwd="",e?this.getCategorytwo(e,!0):this.getData()},selectCate2:function(t){var e=this;this.category2=t.value;var o=t.value;o?(this.categoryOption3=[{text:"全部",value:0}],this.category3_disabled=!0,this.categoryOption2.forEach((function(t,i){t.value!=o||e.fun.isTextEmpty(t.child)||t.child.forEach((function(t,o){e.categoryOption3.push({text:t.name,value:t.id})}))})),this.getChildCate(2,o,!0)):this.getCategorytwo(this.category1,!1)},selectCate3:function(t){this.category3=t.value;var e=t.value;e?this.getChildCate(3,e,!0):this.getChildCate(2,this.category2,!1)},getChildCate:function(t,e,o){var i=this;$http.post("plugin.channel.frontend.goods-category.getGoodsListByCategoryId",{category_id:e},"").then((function(e){1===e.result?(i.listOne=e.data.data,i.isLoadMore=!0,i.total_page=e.data.last_page,i.total_page||(i.total_page=0),2==t&&i.categoryOption3.length>1&&o&&(i.category3=0,i.category3_disabled=!1)):Object(a["a"])(e.msg)})).catch((function(t){}))},gotoGoodDetail:function(t){this.$router.push(this.fun.getUrl("goods",{id:t}))}},components:{cTitle:n["a"]}},g=h,u=g,f=(o("789e1"),o("5781"),o("2877")),m=Object(f["a"])(u,i,s,!1,null,"36bb9512",null);e["default"]=m.exports},"888e":function(t,e,o){t.exports=o.p+"static/app/img/kc_buycar@2x.8ae978b6.png"},ac0d:function(t,e,o){"use strict";o.d(e,"a",(function(){return a}));var i=document.documentElement,s=document.body,a={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var t=0;return i&&i.scrollTop?t=i.scrollTop:s&&(t=s.scrollTop),t},getClientHeight:function(){var t=0;return t=s.clientHeight&&i.clientHeight?Math.min(s.clientHeight,i.clientHeight):Math.max(s.clientHeight,i.clientHeight),t},getScrollHeight:function(){return Math.max(s.scrollHeight,i.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},ac81:function(t,e,o){var i=o("f030");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=o("499e").default;s("90650c6a",i,!0,{sourceMap:!1,shadowMode:!1})},c1c6:function(t,e,o){var i=o("211b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=o("499e").default;s("5e999e82",i,!0,{sourceMap:!1,shadowMode:!1})},f030:function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,".category-content[data-v-36bb9512]{position:relative;float:right;height:89vh;width:78%;overflow:hidden;background:#fff}.category-content .coverLayer[data-v-36bb9512]{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:absolute;top:0;z-index:99}.category-content .catagoryBox[data-v-36bb9512]{position:-webkit-sticky;position:sticky;top:0;height:2.8125rem;z-index:999}.category-content .catagoryBox .threeTitle[data-v-36bb9512]{height:2.5rem;line-height:2.5rem;text-align:left}.category-content .catagoryBox dl[data-v-36bb9512]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.category-content .catagoryBox dl dt[data-v-36bb9512]{font-size:.75rem;height:1.125rem;line-height:1.125rem;padding:0 .5rem;border:.0625rem dashed #e5e5e5;border-radius:.25rem;margin-right:.625rem;margin-bottom:.625rem}.category-content .catagoryBox dl .addClass[data-v-36bb9512]{border:.0625rem dashed #fb4a4a;color:#fb4a4a}.category-content .catagoryBox dl .addClass1[data-v-36bb9512]{border:none;color:#fff;background:#fb5050;border-radius:.875rem}.category-content .catagoryBox dl .removeClass1[data-v-36bb9512]{border:none}.category-content .catagoryBox dl .more-btn-class[data-v-36bb9512]{background:transparent;border:none;color:#fb5050;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.category-content .catagoryBox .activetitle[data-v-36bb9512]{overflow-x:auto}.category-content .catagoryBox .activetitle dl[data-v-36bb9512]{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.category-content .catagoryBox .activetitle dl dt[data-v-36bb9512]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-bottom:0;height:24px;line-height:24px}.rootlists[data-v-36bb9512]{height:89vh;overflow:scroll;width:22%;border-right:.0625rem solid #f4f4f4;float:left;background:#fff}.rootlists .rootList[data-v-36bb9512]{width:101%;background:#fff;font-size:12px}.rootlists .rootList .active[data-v-36bb9512]{background:#fff;color:#000}.rootlists .rootList .active span[data-v-36bb9512]{display:inline-block;border-left:2px solid #fb4a4a;width:100%;line-height:1rem}.rootlists .rootList li[data-v-36bb9512]{padding:.9375rem 0;color:#999;font-size:.75rem}.rootlists .rootList li span[data-v-36bb9512]{border-left:2px solid #fff}.search_box .search[data-v-36bb9512]{height:2.75rem;line-height:2.75rem;-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;padding:0 .875rem;background-color:#fff}.search_box .search[data-v-36bb9512],.search_box .search .left[data-v-36bb9512]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.search_box .search .left[data-v-36bb9512]{font-size:16px;font-weight:700}.search_box .search .left i[data-v-36bb9512]{color:#333;font-size:1rem}.search_box .search .left span[data-v-36bb9512]{display:block;margin:0 .25rem;max-width:5.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333}.search_box .search .left i[data-v-36bb9512]:last-child{font-size:1.125rem}.search_box .search .right[data-v-36bb9512]{width:12.375rem;height:1.875rem;background:#f8f8f8;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;line-height:1.875rem;border-radius:1rem;padding:0 .625rem;font-size:14px;color:#c9c9c9}.search_box .search .right i[data-v-36bb9512]{font-size:1.125rem;margin-right:.375rem}.search_box .search .right input[data-v-36bb9512]{border:none;width:100%}.search_box .search .right input[data-v-36bb9512]::-webkit-input-placeholder,.search_box .search .right textarea[data-v-36bb9512]::-webkit-input-placeholder{color:#c9c9c9}.text-over[data-v-36bb9512]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.classic[data-v-36bb9512]{background:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.classic span[data-v-36bb9512]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;color:#999}.goods-box[data-v-36bb9512]{background:#fff;padding:1rem;padding-left:0}.goods-box li[data-v-36bb9512]{padding-bottom:.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.goods-box li .left[data-v-36bb9512]{-webkit-box-flex:0;-webkit-flex:0 0 6.3rem;-ms-flex:0 0 6.3rem;flex:0 0 6.3rem}.goods-box li .left img[data-v-36bb9512]{width:6rem;height:6rem;border-radius:.313rem}.goods-box li .right[data-v-36bb9512]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left;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;margin:0 0 .5rem .5rem;font-size:12px;width:13rem}.goods-box li .title[data-v-36bb9512]{font-weight:700;font-size:15px;height:2.5rem;line-height:1.25rem;margin-bottom:.3rem;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.goods-box li .spec[data-v-36bb9512]{color:#9f9f9f;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.goods-box li .spec .taochan[data-v-36bb9512]{display:block;padding:0 .25rem;border:1px solid #9f9f9f;border-radius:6px}.goods-box li .spec .tc_namestyle[data-v-36bb9512]{max-width:8rem;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goods-box li .stock[data-v-36bb9512]{margin-bottom:.3rem}.goods-box li .price[data-v-36bb9512]{color:#f01818;font-size:15px}.goods-box li .repertory[data-v-36bb9512]{color:#9f9f9f;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.goods-box li .ticket[data-v-36bb9512]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.goods-box li .exchange[data-v-36bb9512]{background-color:#ffae00;border-radius:15px;color:#fff;padding:2px .5rem;line-height:1rem;position:relative}.goods-box li .exchange i[data-v-36bb9512]{padding:0 .25rem;height:1rem;line-height:1rem;font-size:12px;position:absolute;top:-8px;right:-5px;background-color:#ff5d5c!important;text-align:center;border-radius:.75rem;color:#fff}.car-btn[data-v-36bb9512]{position:fixed;bottom:5rem;right:.5rem}.car-btn img[data-v-36bb9512]{width:3.5rem;height:3.5rem}.bottomBox[data-v-36bb9512]{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-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.bottomBox .btn[data-v-36bb9512]{display:inline-block;width:5.875rem;height:1.875rem;line-height:1.875rem;background-color:#f01818;border-radius:1.234rem;color:#fff;font-size:.875rem;font-weight:700}.select[data-v-36bb9512]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.select input[data-v-36bb9512],.select span[data-v-36bb9512]{outline:none;border:none;display:inline-block;width:2.5rem;height:1.25rem;line-height:1.25rem;font-size:14px;text-align:center}.select i[data-v-36bb9512]:first-child{background-color:#ccc}.select i[data-v-36bb9512]:last-child{background-color:#f15353}.select i[data-v-36bb9512]{width:1.25rem;height:1.25rem;text-align:center;line-height:1.25rem;border-radius:.75rem;color:#fff;font-size:12px}.noVantRadio .van-radio-group[data-v-36bb9512]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.noVantRadio .van-radio-group .van-radio[data-v-36bb9512]{margin-right:.5rem;margin-bottom:.5rem;background:#fff;border:1px solid #efefef;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:.25rem}.noVantRadio .van-radio-group .vantRadioshow[data-v-36bb9512]{background-color:#f15353;border-color:#f15353;-webkit-box-shadow:#f15353 -1px 0 0 0;box-shadow:-1px 0 0 0 #f15353}.noVantRadio .van-radio-group .van-radio__label[data-v-36bb9512]{color:#000}#specificationPopup[data-v-36bb9512]{position:relative;width:100%}#specificationPopup .topDiv[data-v-36bb9512]{padding:.625rem .75rem}#specificationPopup .topDiv .shopimg[data-v-36bb9512]{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:.625rem;border-bottom:.0625rem solid #efefef}#specificationPopup .topDiv .shopimg #chooser_img[data-v-36bb9512]{height:4.625rem;width:4.625rem}#specificationPopup .topDiv .shopimg #chooser_img img[data-v-36bb9512]{width:100%;border-radius:.1875rem;border:.0625rem solid #efefef}#specificationPopup .topDiv .shopimg .right[data-v-36bb9512]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left;padding-left:.875rem}#specificationPopup .topDiv .shopimg .right .title[data-v-36bb9512]{font-size:.875rem;line-height:1.25rem;height:2.5rem;color:#000;font-weight:700;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}#specificationPopup .topDiv .shopimg .right .price[data-v-36bb9512]{color:#f15353;font-size:1rem;line-height:1.25rem;height:1.25rem;overflow:hidden}#specificationPopup .topDiv .shopimg .right .price span[data-v-36bb9512]{font-size:1rem}#specificationPopup .topDiv .shopimg .right .option[data-v-36bb9512]{color:#999;font-size:.625rem;line-height:1rem;height:1rem;overflow:hidden}#specificationPopup .shopinfo[data-v-36bb9512]{text-align:left;padding-left:.625rem;margin:1rem 0 1rem 0;max-height:50vh;overflow:scroll}#specificationPopup .shopinfo dl dt[data-v-36bb9512]{margin-bottom:.5rem;font-weight:700;color:#000}#specificationPopup .shopinfo dl dd[data-v-36bb9512]{margin-bottom:.3125rem}#specificationPopup .van-row[data-v-36bb9512]{margin:.875rem;padding:0 0 1rem 0;font-size:14px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}#specificationPopup .van-row #num[data-v-36bb9512]{height:1.875rem;line-height:1.875rem;text-align:left}#specificationPopup .van-row .num[data-v-36bb9512]{float:right;background-color:#fff;border:.0625rem solid #ccc;border-radius:.875rem;overflow:hidden}#specificationPopup .van-row .num .leftnav[data-v-36bb9512]{height:1.75rem;width:1.75rem;float:left;background-color:#fff;color:#000;text-align:center;border-radius:.1875rem;line-height:1.75rem;font-size:24px;font-weight:700}#specificationPopup .van-row .num .shownum[data-v-36bb9512]{height:1.75rem;width:2.25rem;float:left;border:0;margin:0;padding:0;text-align:center;color:#000;border-left:.0625rem solid #ccc;border-right:.0625rem solid #ccc}#specificationPopup .van-row .num .rightnav[data-v-36bb9512]{height:1.75rem;width:1.75rem;float:right;background-color:#fff;color:#000;text-align:center;border-radius:.1875rem;line-height:1.75rem;font-size:24px;font-weight:700}#specificationPopup input[data-v-36bb9512]::-webkit-inner-spin-button,#specificationPopup input[data-v-36bb9512]::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0}",""]),t.exports=e}}]);