1 line
21 KiB
JavaScript
1 line
21 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-53528fb0"],{1389:function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,'#full_package[data-v-4163737d]{background:#fff;padding-bottom:6rem}#full_package .flex-main[data-v-4163737d]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:2.8125rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 .9375rem;overflow-x:scroll;position:relative;font-size:12px;background:#fff}#full_package .top-category .category-child[data-v-4163737d]{height:1.5rem;line-height:1.5rem;background-color:#e4e4e4;border-radius:.125rem;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;padding:0 .875rem;margin-right:.875rem;color:#939393}#full_package .top-category .active-class[data-v-4163737d]{background-color:#f15053;color:#fff}#full_package .flex-main[data-v-4163737d]:after{height:1px;position:absolute;z-index:0;bottom:0;left:0;content:"";width:100%;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(50%,#ececec),color-stop(0,transparent));background-image:-webkit-linear-gradient(bottom,#ececec 50%,transparent 0);background-image:linear-gradient(0deg,#ececec 50%,transparent 0)}#full_package .sort-child[data-v-4163737d]{color:#848484;margin-right:2rem}#full_package .active-class[data-v-4163737d]{color:#f15053}#full_package .bottom-fixed-button[data-v-4163737d]{position:fixed;bottom:0;width:100%;height:3.125rem;left:0;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:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;padding:0 1rem;background-color:#fff;-webkit-box-shadow:1px 1px 14px 0 hsla(0,0%,72.2%,.52);box-shadow:1px 1px 14px 0 hsla(0,0%,72.2%,.52)}#full_package .bottom-fixed-button .button[data-v-4163737d]{margin-left:.875rem;width:90px;height:32px;line-height:32px;background-color:#f15053;border-radius:16px;font-size:14px;color:#fff;position:relative}#full_package .bottom-fixed-button .carts-num[data-v-4163737d]{padding:0 .25rem;min-width:1.25rem;height:1.25rem;line-height:1.25rem;font-size:14px;position:absolute;top:-8px;right:-5px;background-color:#ff5d5c!important;color:#fff;border-radius:.875rem;-webkit-box-shadow:1px 1px 6px #b74444;box-shadow:1px 1px 6px #b74444}.bottom-car[data-v-4163737d]{position:fixed;width:100%;height:4.5rem;left:0;bottom:-1px;background-image:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,0)),color-stop(19%,#fff));background-image:-webkit-linear-gradient(top,hsla(0,0%,100%,0),#fff 19%);background-image:linear-gradient(180deg,hsla(0,0%,100%,0),#fff 19%)}.bottom-car[data-v-4163737d],.bottom-car .car-box[data-v-4163737d]{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}.bottom-car .car-box[data-v-4163737d]{border:1px solid #f14e4e;border-radius:1.5rem;height:3rem;line-height:3rem;width:90%;margin:0 auto;overflow:hidden}.bottom-car .car-box .car-num-box[data-v-4163737d]{position:relative;width:3rem;text-align:center}.bottom-car .car-box .car-num-box .carnum-style[data-v-4163737d]{position:absolute;height:1rem;right:0;top:5px;line-height:1rem;background:#f14e4e;border-radius:1rem;color:#fff;padding:0 .25rem;font-size:.75rem}.bottom-car .car-box .car-num[data-v-4163737d]{min-width:50%;text-align:left;color:#f14e4e;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-right:10px;font-size:14px}.bottom-car .car-box .car-num i[data-v-4163737d]{font-size:1.5rem}.bottom-car .car-box .car-num .small-price[data-v-4163737d]{font-size:.75rem}.bottom-car .car-box .car-add[data-v-4163737d]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:center;background-color:#f14e4e;color:#fff}.bottom-car .endstyle[data-v-4163737d]{background:#d8d8d8;border-color:#d8d8d8;color:#fff;text-align:center;font-size:1.25rem;display:block}.carlist .bottom-car[data-v-4163737d]{position:relative}',""]),t.exports=e},"4ff1":function(t,e,o){var i=o("1389");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=o("499e").default;a("4829585c",i,!0,{sourceMap:!1,shadowMode:!1})},"7e4d":function(t,e,o){"use strict";o("4ff1")},9627:function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,".good-cell-components[data-v-ed87dd50]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:.875rem}.good-cell-components .good-cell-left[data-v-ed87dd50]{width:5.625rem;height:5.625rem;border-radius:.375rem;overflow:hidden;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-right:.75rem;background:#fbfbfb}.good-cell-components .good-cell-left img[data-v-ed87dd50]{width:100%}.good-cell-components .good-cell-right[data-v-ed87dd50]{-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-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;text-align:left}.good-cell-components .good-cell-right .good-cell-title[data-v-ed87dd50]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:14px;line-height:1rem;max-height:2rem;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.good-cell-components .good-cell-right .good-cell-original-price[data-v-ed87dd50],.good-cell-components .good-cell-right .good-cell-sold[data-v-ed87dd50]{font-size:10px;color:#999}.good-cell-components .good-cell-right .good-cell-original-price[data-v-ed87dd50]{text-decoration:line-through}.good-cell-components .good-cell-right .good-cell-price-box[data-v-ed87dd50]{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;font-size:14px;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.good-cell-components .good-cell-right .good-cell-price-box .good-cell-price[data-v-ed87dd50]{color:#f15353}.good-cell-components .good-cell-right .good-cell-price-box .good-cell-btn[data-v-ed87dd50]{background-color:#f15353;height:1.25rem;line-height:1.25rem;color:#fff;text-align:center}.good-cell-components .good-cell-right .good-cell-price-box .good-cell-btn-1[data-v-ed87dd50]{width:1.25rem;border-radius:50%}.good-cell-components .good-cell-right .good-cell-price-box .good-cell-btn-2[data-v-ed87dd50]{padding:0 .625rem;border-radius:1rem;font-size:10px;position:relative}.good-cell-components .good-cell-right .good-cell-price-box .good-cell-btn-2 em[data-v-ed87dd50]{padding:0 .25rem;min-width:1.25rem;height:1.25rem;line-height:1.25rem;font-size:14px;position:absolute;top:-12px;right:-5px;background-color:#ff5d5c!important;color:#fff;border-radius:.875rem;-webkit-box-shadow:1px 1px 6px #b74444;box-shadow:1px 1px 6px #b74444}",""]),t.exports=e},a54e:function(t,e,o){"use strict";o.r(e);var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{attrs:{id:"full_package"}},[o("c-title",{attrs:{hide:!1,text:"满额包邮"}}),o("van-sticky",[o("div",{staticClass:"flex-main top-category"},t._l(t.categoryList,(function(e){return o("div",{key:e.id,staticClass:"category-child",class:{"active-class":t.activeCat==e.id},on:{click:function(o){return t.changeCategory(e.id)}}},[t._v(t._s(e.name))])})),0),o("div",{staticClass:"flex-main"},t._l(t.sortOption,(function(e){return o("div",{key:e.value,staticClass:"sort-child",class:{"active-class":t.activeSort==e.value},on:{click:function(o){return t.changeSort(e.value)}}},[t._v(t._s(e.name))])})),0)]),t._l(t.goodList,(function(e,i){return[o("goodCell",{key:e.id,attrs:{item:e,index:i,cartList:t.cartList},on:{add:t.addCart,show:t.showGoodDetail,change:t.changeCart}})]})),o("div",{staticClass:"bottom-fixed-button set-pc-style"},[t.freight&&t.freight>0?[t._v(" 还差"),o("em",{staticStyle:{color:"#f15053"}},[t._v(" "+t._s(t.freight)+" ")]),t._v("元可免运费 ")]:t._e(),0==t.freight?[t._v(" 免运费 ")]:t._e(),o("div",{staticClass:"button",on:{click:function(e){return e.stopPropagation(),t.openCartListPopup.apply(null,arguments)}}},[t._v(" 去结算"),o("em",{staticClass:"carts-num"},[t._v(t._s(t.cartsNum))])])],2),o("yz-cart-list",{staticClass:"carlist",attrs:{cardata:t.cartList},on:{blur:t.changeCarList,plus:t.changeCarList,minus:t.changeCarList},model:{value:t.showCarList,callback:function(e){t.showCarList=e},expression:"showCarList"}},[o("div",{staticClass:"bottom-car set-pc-styleLeft"},[o("div",{staticClass:"car-box"},[o("div",{staticClass:"car-num",on:{click:function(e){e.stopPropagation(),t.showCarList=!1}}},[o("div",{staticClass:"car-num-box"},[o("i",{staticClass:"iconfont icon-all_buycar"}),o("div",{staticClass:"carnum-style"},[t._v(t._s(t.cartsNum))])]),t.freight&&t.freight>0?[t._v(" 还差"),o("em",{staticStyle:{color:"#f15053"}},[t._v(" "+t._s(t.freight)+" ")]),t._v("元可免运费 ")]:t._e(),0==t.freight?[t._v(" 免运费 ")]:t._e()],2),o("div",{staticClass:"car-add",on:{click:function(e){return e.stopPropagation(),t.toOrder.apply(null,arguments)}}},[t._v("去结算")])])])]),o("van-popup",{staticStyle:{width:"20rem"},attrs:{round:""},model:{value:t.showChoose,callback:function(e){t.showChoose=e},expression:"showChoose"}},[o("div",{staticClass:"delivery-wapper"},[o("div",{staticClass:"block",on:{click:function(t){t.stopPropagation()}}},[o("div",{staticClass:"choose-title"},[t._v(" 您的购物车配送方式有冲突,请选择其中一种配送方式~ ")]),o("div",{staticClass:"choose-content"},[o("van-radio-group",{model:{value:t.radioChoose,callback:function(e){t.radioChoose=e},expression:"radioChoose"}},t._l(t.dispatch_types,(function(e,i){return o("div",{key:i,staticStyle:{padding:"0.5rem 0"}},[o("van-radio",{attrs:{name:i.toString(),"checked-color":"#ff4949"}},[o("div",{staticClass:"radio-title"},[t._v(t._s(e.name)+"("+t._s(e.member_carts.length)+"件)")])]),o("ul",{staticClass:"radio-list"},t._l(e.member_carts,(function(e,i){return o("li",{key:i,staticClass:"radio-item"},[o("p",[t._v(t._s(e.title))]),e.option_title?o("p",{staticStyle:{"font-size":"12px",color:"#666"}},[t._v("规格:"+t._s(e.option_title))]):t._e()])})),0)],1)})),0)],1),o("div",{staticClass:"buttons"},[o("div",{staticClass:"button-item"},[o("div",{staticClass:"button-content",on:{click:function(e){t.showChoose=!1}}},[t._v("返回")])]),o("div",{staticClass:"button-item"},[o("div",{staticClass:"button-content red",on:{click:t.toOrder}},[t._v("去结算")])])])])])]),o("yzGoodsPopup",{attrs:{goodsInfo:t.goodinfo},on:{showgoodspecs:t.showgoodspecs},model:{value:t.showgp,callback:function(e){t.showgp=e},expression:"showgp"}}),o("yz-specs",{attrs:{carts:t.categoryList,goodsInfo:t.goodinfo},on:{closeSpecsPopup:t.close_yz_specs_popup},model:{value:t.popupSpecs,callback:function(e){t.popupSpecs=e},expression:"popupSpecs"}})],2)},a=[],s=o("2909"),c=(o("ac1f"),o("1276"),o("d81d"),o("a9e3"),o("b0c0"),o("5319"),o("d3b7"),o("159b"),o("99af"),o("6062"),o("3ca3"),o("ddb0"),o("a15b"),o("ac0d")),n=o("ebc5"),r=o("f6cc"),l=o("25bd"),d=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"good-cell-components",on:{click:function(e){return e.stopPropagation(),t.showGoodDetail.apply(null,arguments)}}},[o("div",{staticClass:"good-cell-left"},[o("img",{attrs:{src:t.item.thumb,alt:""}})]),o("div",{staticClass:"good-cell-right"},[o("div",{staticClass:"good-cell-title"},[t._v(t._s(t.item.title))]),o("div",[o("div",{staticClass:"good-cell-sold"},[t._v("已售"+t._s(parseInt(t.item.show_sales||0)+parseInt(t.item.virtual_sales||0)))]),o("div",{staticClass:"good-cell-price-box"},[o("div",{staticClass:"good-cell-price"},[o("em",{staticStyle:{"font-size":"10px"}},[t._v(" "+t._s(t.$i18n.t("money")))]),t._v(t._s(t.item.price)+" ")]),o("div",{staticClass:"good-cell-buy-btn",on:{click:function(t){t.stopPropagation()}}},[t.item.has_option?t._e():[t.item.total?t._e():o("div",{staticClass:"good-cell-btn good-cell-btn-1",on:{click:function(e){return e.stopPropagation(),t.addCart.apply(null,arguments)}}},[o("i",{staticClass:"iconfont icon-life-game-plus"})]),t.item.total&&Number(t.item.total>0)?o("div",{staticClass:"good-cell-btn-3"},[o("van-stepper",{attrs:{theme:"round",integer:"",disabled:this.$store.state.isloadding||0==Number(t.item.stock),"button-size":"24px",min:"0",max:t.item.stock},on:{change:t.onChange},model:{value:t.cartTotal,callback:function(e){t.cartTotal=t._n(e)},expression:"cartTotal"}})],1):t._e()],t.item.has_option?o("div",{staticClass:"good-cell-btn good-cell-btn-2",on:{click:function(e){return e.stopPropagation(),t.addCart.apply(null,arguments)}}},[t._v(" 选规格"),t.item.total?o("em",[t._v(t._s(t.item.total))]):t._e()]):t._e()],2)]),o("div",{staticClass:"good-cell-original-price"},[t._v(t._s(t.$i18n.t("money"))+t._s(t.item.market_price))])])])])},p=[],g={props:{item:{type:Object,default:function(){return{}}},num:{type:Number,default:0},index:{type:Number,default:0}},data:function(){return{cartTotal:null,timer:null}},activated:function(){},components:{},computed:{},mounted:function(){},methods:{showGoodDetail:function(){this.$emit("show",{id:this.item.id,index:this.index})},addCart:function(){this.$emit("add",{id:this.item.id,isSpecs:this.item.has_option,index:this.index})},onChange:function(){var t=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout((function(){t.$emit("change",{id:t.item.id,isSpecs:t.item.has_option,index:t.index,num:t.cartTotal,cartId:t.item.card_id})}),500)}},watch:{"item.total":function(t,e){this.cartTotal=t}}},h=g,u=(o("ba0c"),o("2877")),f=Object(u["a"])(h,d,p,!1,null,"ed87dd50",null),m=f.exports,b={mixins:[c["a"]],data:function(){return{cartsNum:0,cartList:[],categoryList:[],activeCat:null,goodList:[],sortOption:[{value:"id",name:"综合排序"},{value:"price",name:"价格最低"},{value:"discount",name:"优惠力度"}],activeSort:"id",activity_gid:0,activity_index:0,showgp:!1,popupSpecs:!1,goodinfo:{},freight:null,page:1,isLoadMore:!0,total_page:0,orderCart:[],showCarList:!1,dispatch_types:[],showChoose:!1,radioChoose:""}},created:function(){if(this.$route.query.cart_id){var t=this.$route.query.cart_id.split(",");""===t[0]&&(t=[]),this.orderCart=t.map(Number)}this.getCategory()},activated:function(){this.initData()},components:{goodCell:m,yzCartList:l["a"],yzGoodsPopup:n["a"],yzSpecs:r["a"]},computed:{},mounted:function(){},methods:{initData:function(){this.showgp=!1,this.popupSpecs=!1,this.showCarList=!1,this.showChoose=!1},getCategory:function(){var t=this;$http.get("goods.postage-included-category.index",{},".").then((function(e){1==e.result?(t.categoryList=e.data,t.categoryList&&t.categoryList.length>0&&(t.activeCat=t.categoryList[0].id,t.changeSort())):t.$toast(e.msg)})).catch((function(t){}))},changeCategory:function(t){this.activeCat=t,this.changeSort()},changeSort:function(t){var e=this;t&&(this.activeSort=t);var o={category_id:this.activeCat,sort:t||"id"};this.goodList=[],$http.get("goods.postage-included-category.goods",o,".").then((function(t){1==t.result?(e.goodList=t.data.data,e.isLoadMore=!0,e.page=1,e.total_page=t.data.last_page,e.getCartList()):e.$toast(t.msg)})).catch((function(t){}))},getCartList:function(){var t=this;$http.get("postageIncludedCategory.member-cart.index",{},".").then((function(e){1==e.result?(t.cartList=e.data,t.setGoodTotal(),t.getFreight()):t.$toast(e.msg)})).catch((function(t){}))},setGoodTotal:function(){this.cartsNum=0;for(var t=0;t<this.cartList.length;t++){this.cartsNum+=this.cartList[t].total;for(var e=0;e<this.goodList.length;e++)if(0==t&&this.goodList[e].total&&(this.goodList[e].total=0),this.cartList[t].goods_id==this.goodList[e].id){var o=0;0==this.cartList[t].option_id?o=this.cartList[t].total:(o=this.goodList[e].total||0,o+=this.cartList[t].total),this.$set(this.goodList[e],"total",o),this.goodList[e].card_id=this.cartList[t].id}}},addCart:function(t){this.activity_index=t.index,t.isSpecs?this.showGoodDetail(t,!0):this.addMemberCart({id:t.id,total:"1",index:t.index})},changeCarList:function(t){var e="plus"==t.name?t.total+1:"minus"==t.name?t.total-1:t.total;this.changeCart({cartId:t.id,num:e})},showGoodDetail:function(t,e){var o=this;this.activity_gid!=t.id?(this.activity_gid=t.id,$http.get("goods.goods.get-goods-page",{id:Number(t.id)},".").then((function(t){if(1==t.result){if(o.goodinfo=t.data.get_goods,t.data.get_goods.content){var i=o.goodinfo.content.replace(/src=\"http:/gi,'src="https:');o.goodinfo.content=i}else o.goodinfo.content="暂无该商品详情";setTimeout((function(){e?o.popupSpecs=!0:o.showgp=!0}),200)}else o.$toast(t.msg)})).catch((function(t){}))):e?this.popupSpecs=!0:this.showgp=!0},addMemberCart:function(t){var e=this;if(t.id){var o={goods_id:t.id,total:t.total||1,option_id:t.option_id||0};$http.get("postageIncludedCategory.member-cart.store",o,".").then((function(o){1==o.result?(e.popupSpecs=!1,e.showgp=!1,e.$toast(o.msg),e.$set(e.goodList[t.index],"total",t.total)):e.$toast(o.msg),e.getCartList()})).catch((function(t){}))}},changeCart:function(t){var e=this;t.cartId&&(0!=Number(t.num)?$http.get("cart.list.updateNumV2",{id:t.cartId,num:t.num},".").then((function(o){1==o.result&&(e.popupSpecs=!1,e.showgp=!1,t.index&&e.$set(e.goodList[t.index],"total",t.num)),e.$toast(o.msg),e.getCartList()})).catch((function(t){})):this.destroyCart(t.cartId))},destroyCart:function(t){var e=this;$http.get("cart.list.destroy",{ids:t},".").then((function(t){e.$toast(t.msg),e.getCartList()})).catch((function(t){}))},showgoodspecs:function(){this.popupSpecs=!0},close_yz_specs_popup:function(t,e,o,i){this.popupSpecs=!1,1==o&&(i?this.updateCart(i,e):this.addMemberCart({id:this.activity_gid,total:e,option_id:t,index:this.activity_index}))},getFreight:function(){var t=this,e=[];this.cartList.forEach((function(t){e.push(t.id)}));var o=e.concat(this.orderCart),i=new Set(o);i=Object(s["a"])(i),$http.get("postageIncludedCategory.cart-list.index",{cart_ids:i.join(",")}).then((function(e){1==e.result?t.freight=e.data.postage_included_msg&&""!=e.data.postage_included_msg?Number(e.data.postage_included_msg):0:t.$toast(e.msg)})).catch((function(t){}))},toOrder:function(){var t=this;this.initData();var e=[],o=[];if(!this.showChoose||this.radioChoose){if(this.showChoose)for(var i=0;i<this.dispatch_types[this.radioChoose].member_carts.length;i++)o.push(this.dispatch_types[this.radioChoose].member_carts[i].id);else{this.cartList.forEach((function(t){e.push(t.id)}));var a=e.concat(this.orderCart);o=new Set(a),o=Object(s["a"])(o)}this.$nextTick((function(){t.$router.push(t.fun.getUrl("goodsorder",{},{tag:"-1",cart_ids:o.join(",")}))}))}else Toast("请先选择配送方式")},checkGoods:function(){var t=this,e=[];this.cartList.forEach((function(t){e.push(t.id)}));var o=e.concat(this.orderCart),i=new Set(o);i=Object(s["a"])(i),$http.get("memberCart.checkout",{cart_ids:i.join(",")},"操作中").then((function(e){1==e.result?1==e.data.need_choose?(t.dispatch_types=e.data.dispatch_types,t.showChoose=!0):t.toOrder():Toast(e.msg)}),(function(t){}))},getMoreData:function(){var t=this;if(this.isLoadMore=!1,!(this.page>=this.total_page)){this.page+=1;var e={category_id:this.activeCat,sort:_sort||"id",page:this.page};$http.get("goods.postage-included-category.goods",e).then((function(e){if(t.isLoadMore=!0,1===e.result){var o=e.data.data;t.goodList=t.goodList.concat(o),t.getCartList()}else t.page=t.page-1,t.isLoadMore=!1}))}},openCartListPopup:function(){this.showCarList=!0}}},x=b,v=(o("7e4d"),Object(u["a"])(x,i,a,!1,null,"4163737d",null));e["default"]=v.exports},ac0d:function(t,e,o){"use strict";o.d(e,"a",(function(){return s}));var i=document.documentElement,a=document.body,s={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:a&&(t=a.scrollTop),t},getClientHeight:function(){var t=0;return t=a.clientHeight&&i.clientHeight?Math.min(a.clientHeight,i.clientHeight):Math.max(a.clientHeight,i.clientHeight),t},getScrollHeight:function(){return Math.max(a.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(){}}}},ba0c:function(t,e,o){"use strict";o("d877")},d877:function(t,e,o){var i=o("9627");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=o("499e").default;a("4f5c2b8c",i,!0,{sourceMap:!1,shadowMode:!1})}}]); |