You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jiaojiu/dist/js/chunk-1a9707b2.b1b816b7.js

2 lines
19 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1a9707b2"],{"0674":function(t,e,i){t.exports=i.p+"img/10.e25d93d8.jpeg"},"06f6":function(t,e,i){"use strict";var n=i("23ca"),s=i.n(n);s.a},"08d0":function(t,e,i){t.exports=i.p+"img/3.67200910.jpeg"},"0c77":function(t,e,i){},"1ca4":function(t,e,i){},"1e1c":function(t,e,i){"use strict";var n=i("3f10"),s=i.n(n);s.a},"23ca":function(t,e,i){},"242b":function(t,e,i){t.exports=i.p+"img/7.de257b68.jpeg"},"37f8":function(t,e,i){"use strict";var n=i("fb9e"),s=i.n(n);s.a},"3f10":function(t,e,i){},4030:function(t,e,i){t.exports=i.p+"img/4.7e1ed2d9.jpeg"},4763:function(t,e,i){t.exports=i.p+"img/2.b622a15f.jpeg"},"4b44":function(t,e,i){},"4c3c":function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"back-Top"},[n("img",{attrs:{src:i("684a"),alt:""}})])}],o={name:"backTop"},r=o,a=(i("5123"),i("2877")),c=Object(a["a"])(r,n,s,!1,null,"6389dbd3",null);e["a"]=c.exports},"4e91":function(t,e,i){"use strict";var n=i("4b44"),s=i.n(n);s.a},5123:function(t,e,i){"use strict";var n=i("ea52"),s=i.n(n);s.a},"56d8":function(t,e,i){"use strict";var n=i("c40f"),s=i.n(n);s.a},"684a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABWCAMAAABiiJHFAAAC91BMVEUAAAD///8AAAAAAAAAAACqqqrz8/P6+vr8/Pz+/v7+/v7////////////t7e37+/v+/v7////R0dH6+vr+/v7q6ur////8/Pzb29v8/Pz////c3NxVVVX4+Pj///////9tbW0AAADj4+P29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CDJaB5oJScUBik1HQrFUVBhlowGnBOeMBM3dUhYnsxraHIYVP8K9g2kK1MqadLqWcQNo3ZZj+h0/nn4a2UQ1NeeXU8qL/AUU4yqlUFwIYAAAAAElFTkSuQmCC"},"995c":function(t,e,i){"use strict";var n=i("0c77"),s=i.n(n);s.a},"9f74":function(t,e,i){},a0cb:function(t,e,i){t.exports=i.p+"img/6.b65e5cbd.gif"},a0f7:function(t,e,i){"use strict";var n=i("9f74"),s=i.n(n);s.a},aed4:function(t,e,i){t.exports=i.p+"img/8.c0351137.gif"},afbe:function(t,e,i){t.exports=i.p+"img/1.935d7cca.jpeg"},b14c:function(t,e,i){"use strict";var n=i("c3d7"),s=i.n(n);s.a},b3d7:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home"},[n("NavBar",{staticClass:"nav-bar"},[n("div",{staticClass:"chat",attrs:{slot:"left"},on:{click:t.chat},slot:"left"},[n("img",{attrs:{src:i("f17e"),alt:""}})]),n("div",{attrs:{slot:"center"},slot:"center"},[t._v("交 酒")]),n("div",{staticClass:"scan",attrs:{slot:"right"},on:{click:t.scan},slot:"right"},[n("img",{attrs:{src:i("e31f"),alt:""}})])]),n("TabControl",{directives:[{name:"show",rawName:"v-show",value:t.isTabFixed,expression:"isTabFixed"}],ref:"tabControl1",staticClass:"tab-control",attrs:{titles:["白酒","红酒","洋酒"]},on:{tabClick:t.tabClick}}),n("scroll",{ref:"scroll",staticClass:"content",attrs:{"probe-type":3,"pull-up-load":!0},on:{pullingUp:t.loadMore,pullingDown:t.pullingDown,scrollw:t.contentScoll}},[n("home-swiper",{attrs:{banners:t.banners},on:{swiperImageLoad:t.swiperImageLoad}}),n("HomefeatureView",{on:{swiperImageLoad:t.swiperImageLoad}}),n("home-recommend-view",{on:{swiperImageLoad:t.swiperImageLoad}}),n("TabControl",{ref:"tabControl2",staticClass:"tab-control",attrs:{titles:["白酒","红酒","洋酒"]},on:{tabClick:t.tabClick}}),n("GoodsList",{attrs:{goods:t.showGoods}})],1),n("back-top",{directives:[{name:"show",rawName:"v-show",value:t.isShowBackTop,expression:"isShowBackTop"}],nativeOn:{click:function(e){return t.backClick(e)}}})],1)},s=[],o=i("2909"),r=i("a7ac"),a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"wrapper",staticClass:"wrapper"},[i("div",{staticClass:"content"},[t._t("default")],2)])},c=[],l=(i("a9e3"),i("f40f")),u={name:"Scroll",props:{probeType:{type:Number,default:0},pullUpLoad:{type:Boolean,default:!1}},data:function(){return{scroll:null}},mounted:function(){var t=this;this.$nextTick((function(){t.scroll=new l["a"](t.$refs.wrapper,{click:!0,probeType:t.probeType,pullUpLoad:t.pullUpLoad}),t.scroll.on("scroll",(function(e){t.$emit("scrollw",e)})),t.scroll.on("pullingUp",(function(){t.$emit("pullingUp")})),t.scroll.scrollTo(0,0)}))},updated:function(){},methods:{scrollTo:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3;this.scroll&&this.scroll.scrollTo(t,e,i)},finishPullUp:function(){this.scroll&&this.scroll.finishPullUp()},refresh:function(){this.scroll&&this.scroll.refresh()},getScrollY:function(){return this.scroll?this.scroll.y:0}}},d=u,f=i("2877"),h=Object(f["a"])(d,a,c,!1,null,"0d31fe36",null),p=h.exports,m=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"tab-control"},t._l(t.titles,(function(e,n){return i("div",{key:n,staticClass:"tab-control-item",class:{active:n===t.currentIndex},on:{click:function(e){return t.itemclick(n)}}},[i("span",[t._v(t._s(e))])])})),0)},g=[],v={name:"TabControl",props:{titles:{type:Array,default:function(){return[]}}},data:function(){return{currentIndex:0}},methods:{itemclick:function(t){this.currentIndex=t,this.$emit("tabClick",t)}}},A=v,b=(i("37f8"),Object(f["a"])(A,m,g,!1,null,"256fa916",null)),w=b.exports,I=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"goods"},t._l(t.goods,(function(t,e){return i("GoodsListItem",{key:e,attrs:{goodsItem:t}})})),1)},k=[],C=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"goods-items",on:{click:t.itemClick}},[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.showImage,expression:"showImage"}],attrs:{alt:"",width:"162px",height:"198px"},on:{load:t.imageLoad}}),i("div",{staticClass:"goods-info"},[i("p",[t._v(t._s(t.goodsItem.title))]),i("span",{staticClass:"price"},[t._v(t._s(t.goodsItem.price))]),i("span",{staticClass:"collect"},[t._v(t._s(t.goodsItem.cfav))])])])},x=[],T={name:"GoodsListItem",props:{goodsItem:{type:Object,default:function(){return{}}}},methods:{imageLoad:function(){this.$bus.$emit("itemImageLoad")},itemClick:function(){this.$router.push("/detail/"+this.goodsItem.id)}},computed:{showImage:function(){return this.goodsItem.showLarge.img||this.goodsItem.showLarge.image||this.goodsItem.showLarge.show.img}}},L=T,y=(i("56d8"),Object(f["a"])(L,C,x,!1,null,"473d0b89",null)),D=y.exports,j={name:"GoodsList",components:{GoodsListItem:D},props:{goods:{type:Array,default:function(){return[]}}}},P=j,H=(i("4e91"),Object(f["a"])(P,I,k,!1,null,"5e80f754",null)),z=H.exports,E=i("4c3c"),O=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("swiper",t._l(t.banners,(function(e){return i("swiperItem",{key:e.id,staticClass:"swiper"},[i("a",{attrs:{href:"javascript:"}},[i("img",{attrs:{src:e.image,alt:""},on:{load:t.imageLoad}})])])})),1)},W=[],S=i("dc2c"),G={name:"HomeSwiper",components:{Swiper:S["a"],SwiperItem:S["b"]},props:{banners:{type:Array,default:function(){return[]}}},data:function(){return{isLoad:!1}},methods:{imageLoad:function(){this.isLoad||(this.$emit("swiperImageLoad"),this.isLoad=!0)}}},q=G,U=(i("a0f7"),Object(f["a"])(q,O,W,!1,null,"0b00e718",null)),N=U.exports,F=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"recommends",on:{click:function(e){return t.clickInfo()}}},[n("a",{attrs:{href:"javascript:"}},[n("img",{attrs:{src:i("e12e"),alt:""},on:{load:t.swiperImageLoad}})])])},B=[],X={name:"HomeRecommendView",props:{recommends:{type:Array,default:function(){return[]}}},methods:{swiperImageLoad:function(){this.$emit("swiperImageLoad")},clickInfo:function(){this.$router.push("/homevedio")}}},V=X,$=(i("995c"),Object(f["a"])(V,F,B,!1,null,"c1a804aa",null)),M=$.exports,R=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"feature"},[n("a",{attrs:{href:"javascript:"}},[n("img",{attrs:{src:i("afbe"),alt:""},on:{load:t.swiperImageLoad,click:function(e){return t.clickInfo1()}}}),n("img",{attrs:{src:i("4763"),alt:""},on:{load:t.swiperImageLoad,click:function(e){return t.clickInfo2()}}}),n("img",{attrs:{src:i("08d0"),alt:""},on:{load:t.swiperImageLoad,click:function(e){return t.clickInfo3()}}}),n("img",{attrs:{src:i("4030"),alt:""},on:{load:t.swiperImageLoad,click:function(e){return t.clickInfo4()}}}),n("img",{attrs:{src:i("e68f"),alt:""},on:{load:t.swiperImageLoad,click:function(e){return t.clickInfo5()}}}),n("img",{attrs:{src:i("a0cb"),alt:""},on:{load:t.swiperImageLoad,click:function(e){return t.clickInfo5()}}}),n("img",{attrs:{src:i("242b"),alt:""},on:{load:t.swiperImageLoad,click:function(e){return t.clickInfo4()}}}),n("img",{attrs:{src:i("aed4"),alt:""},on:{load:t.swiperImageLoad,click:function(e){return t.clickInfo3()}}}),n("img",{attrs:{src:i("d5e2"),alt:""},on:{load:t.swiperImageLoad,click:function(e){return t.clickInfo1()}}}),n("img",{attrs:{src:i("0674"),alt:""},on:{load:t.swiperImageLoad,click:function(e){return t.clickInfo2()}}})])])},Y=[],Z={name:"HomefeatureView",methods:{swiperImageLoad:function(){this.$emit("swiperImageLoad")},clickInfo1:function(){this.$router.push("/listfirst")},clickInfo2:function(){this.$router.push("/listsecond")},clickInfo3:function(){this.$router.push("/listthird")},clickInfo4:function(){this.$router.push("/listfour")},clickInfo5:function(){this.$router.push("/listfive")}}},J=Z,_=(i("1e1c"),Object(f["a"])(J,R,Y,!1,null,"3d1639d2",null)),K=_.exports,Q=i("6e74");function tt(t,e){return Object(Q["a"])({url:"/data",params:{type:t,page:e}})}var et=i("eecb"),it={list:[{id:1,image:"http://47.108.153.30:7878/images/bannerOne.jpg",width:750,link:"/home"},{id:2,image:"http://47.108.153.30:7878/images/bannerTwo.jpeg",width:750,link:"/home"},{id:3,image:"http://47.108.153.30:7878/images/bannerThree.jpeg",width:750,link:"/home"},{id:4,image:"http://47.108.153.30:7878/images/bannerFour.jpeg",width:750,link:"/home"},{id:5,image:"http://47.108.153.30:7878/images/bannerFive.jpeg",width:750,link:"/home"},{id:6,image:"http://47.108.153.30:7878/images/bannerSix.jpeg",width:750,link:"/home"},{id:7,image:"http://47.108.153.30:7878/images/bannerSeven.jpeg",width:750,link:"/home"},{id:8,image:"http://47.108.153.30:7878/images/bannerEight.jpeg",width:750,link:"/home"}]},nt={name:"Home",components:{NavBar:r["a"],scroll:p,TabControl:w,GoodsList:z,GoodsListItem:D,backTop:E["a"],HomeSwiper:N,HomeRecommendView:M,HomefeatureView:K},data:function(){return{banners:[],recommends:[],goods:{pop:{page:0,list:[]},new:{page:0,list:[]},sell:{page:0,list:[]}},currentType:"pop",pullingdown:!1}},mixins:[et["b"],et["a"]],created:function(){this.getHomeGoods("pop"),this.getHomeGoods("new"),this.getHomeGoods("sell"),this.banners=it.list},mounted:function(){},methods:{chat:function(){this.$router.push("/detailchat"),this.$bus.$emit("isenter")},scan:function(){this.$router.push("/scan")},getHomeGoods:function(t){var e=this,i=this.goods[t].page+1;tt(t,i).then((function(i){var n;(n=e.goods[t].list).push.apply(n,Object(o["a"])(i.data.data.list)),e.goods[t].page+=1,e.$refs.scroll.finishPullUp()}))},tabClick:function(t){switch(t){case 0:this.currentType="pop";break;case 1:this.currentType="new";break;case 2:this.currentType="sell";break}this.$refs.tabControl1.currentIndex=t,this.$refs.tabControl2.currentIndex=t},loadMore:function(){this.getHomeGoods("pop"),this.getHomeGoods("new"),this.getHomeGoods("sell"),this.$refs.scroll.refresh()},swiperImageLoad:function(){this.tabOffsetTop=this.$refs.tabControl2.$el.offsetTop,this.$refs.scroll.refresh()},pullingDown:function(){var t=this;this.pullingdown=!0,setTimeout((function(){t.pullingdown=!1,t.$refs.scroll.finishPullDown()}),1e3)}},computed:{showGoods:function(){return this.goods[this.currentType].list}},activated:function(){this.$refs.scroll.scrollTo(0,this.saveY,0),this.$refs.scroll.refresh()},deactivated:function(){this.saveY=this.$refs.scroll.getScrollY(),this.$bus.$off("itemImageLoad",this.itemImgListener)}},st=nt,ot=(i("06f6"),Object(f["a"])(st,n,s,!1,null,"13681f58",null));e["default"]=ot.exports},c3d7:function(t,e,i){},c40f:function(t,e,i){},d5e2:function(t,e,i){t.exports=i.p+"img/9.35129205.jpeg"},dc2c:function(t,e,i){"use strict";i.d(e,"a",(function(){return l})),i.d(e,"b",(function(){return m}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"hy-swiper"}},[i("div",{staticClass:"swiper",on:{touchstart:t.touchStart,touchmove:t.touchMove,touchend:t.touchEnd}},[t._t("default")],2),t._t("indicator"),i("div",{staticClass:"indicator"},[t.showIndicator&&t.slideCount>1?t._t("indicator",t._l(t.slideCount,(function(e,n){return i("div",{key:n,staticClass:"indi-item",class:{active:n===t.currentIndex-1}})}))):t._e()],2)],2)},s=[],o=(i("a9e3"),{name:"Swiper",props:{interval:{type:Number,default:3e3},animDuration:{type:Number,default:300},moveRatio:{type:Number,default:.2},showIndicator:{type:Boolean,default:!0}},data:function(){return{slideCount:0,totalWidth:0,swiperStyle:{},currentIndex:1,scrolling:!1}},mounted:function(){var t=this;setTimeout((function(){t.handleDom(),t.startTimer()}),500)},methods:{startTimer:function(){var t=this;this.playTimer=window.setInterval((function(){t.currentIndex++,t.scrollContent(-t.currentIndex*t.totalWidth)}),this.interval)},stopTimer:function(){window.clearInterval(this.playTimer)},scrollContent:function(t){this.scrolling=!0,this.swiperStyle.transition="transform "+this.animDuration+"ms",this.setTransform(t),this.checkPosition(),this.scrolling=!1},checkPosition:function(){var t=this;window.setTimeout((function(){t.swiperStyle.transition="0ms",t.currentIndex>=t.slideCount+1?(t.currentIndex=1,t.setTransform(-t.currentIndex*t.totalWidth)):t.currentIndex<=0&&(t.currentIndex=t.slideCount,t.setTransform(-t.currentIndex*t.totalWidth)),t.$emit("transitionEnd",t.currentIndex-1)}),this.animDuration)},setTransform:function(t){this.swiperStyle.transform="translate3d(".concat(t,"px, 0, 0)"),this.swiperStyle["-webkit-transform"]="translate3d(".concat(t,"px), 0, 0"),this.swiperStyle["-ms-transform"]="translate3d(".concat(t,"px), 0, 0")},handleDom:function(){var t=document.querySelector(".swiper"),e=t&&t.getElementsByClassName("slide");if(this.slideCount=e&&e.length,this.slideCount>1){var i=e[0].cloneNode(!0),n=e[this.slideCount-1].cloneNode(!0);t.insertBefore(n,e[0]),t.appendChild(i),this.totalWidth=t.offsetWidth,this.swiperStyle=t.style}this.setTransform(-this.totalWidth)},touchStart:function(t){this.scrolling||(this.stopTimer(),this.startX=t.touches[0].pageX)},touchMove:function(t){this.currentX=t.touches[0].pageX,this.distance=this.currentX-this.startX;var e=-this.currentIndex*this.totalWidth,i=this.distance+e;this.setTransform(i)},touchEnd:function(t){var e=Math.abs(this.distance);0!==this.distance&&(this.distance>0&&e>this.totalWidth*this.moveRatio?this.currentIndex--:this.distance<0&&e>this.totalWidth*this.moveRatio&&this.currentIndex++,this.scrollContent(-this.currentIndex*this.totalWidth),this.startTimer())},previous:function(){this.changeItem(-1)},next:function(){this.changeItem(1)},changeItem:function(t){this.stopTimer(),this.currentIndex+=t,this.scrollContent(-this.currentIndex*this.totalWidth),this.startTimer()}}}),r=o,a=(i("f2fb"),i("2877")),c=Object(a["a"])(r,n,s,!1,null,"6bd5492c",null),l=c.exports,u=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"slide"},[t._t("default")],2)},d=[],f={name:"Slide"},h=f,p=(i("b14c"),Object(a["a"])(h,u,d,!1,null,"4935a4a7",null)),m=p.exports},e12e:function(t,e,i){t.exports=i.p+"img/billOne.1c41bcf2.jpeg"},e31f:function(t,e,i){t.exports=i.p+"img/scan.9392678e.svg"},e68f:function(t,e,i){t.exports=i.p+"img/5.6ff49083.jpeg"},ea52:function(t,e,i){},eecb:function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"a",(function(){return o}));var n=i("90b9"),s={data:function(){return{itemImgListener:null}},mounted:function(){var t=Object(n["a"])(this.$refs.scroll.refresh,300);this.itemImgListener=function(){t()},this.$bus.$on("itemImageLoad",this.itemImgListener)}},o={data:function(){return{isShowBackTop:!1,tabOffsetTop:0,isTabFixed:!1}},methods:{backClick:function(){this.$refs.scroll.scrollTo(0,0)},contentScoll:function(t){this.isShowBackTop=-t.y>1e3,this.isTabFixed=-t.y>this.tabOffsetTop}}}},f17e:function(t,e,i){t.exports=i.p+"img/chat.214f290b.svg"},f2fb:function(t,e,i){"use strict";var n=i("1ca4"),s=i.n(n);s.a},fb9e:function(t,e,i){}}]);
//# sourceMappingURL=chunk-1a9707b2.b1b816b7.js.map