| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-zero"],{"0504":function(t,e,n){"use strict";n.r(e);var a=n("77393"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"2c07":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={uniLoadMore:n("555c").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"navbar"},t._l(t.navList,(function(e,a){return n("v-uni-view",{key:a,staticClass:"nav-item",class:{current:t.tabCurrentIndex===a},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabClick(a)}}},[t._v(t._s(e.text))])})),1),n("v-uni-swiper",{staticClass:"swiper-box",style:{height:t.maxheight+"px"},attrs:{current:t.tabCurrentIndex,duration:"300"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTab.apply(void 0,arguments)}}},t._l(t.navList,(function(e,a){return n("v-uni-swiper-item",{key:a,staticClass:"tab-content"},[n("v-uni-scroll-view",{staticClass:"list-scroll-content",attrs:{"scroll-y":!0},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.loadData.apply(void 0,arguments)}}},[0===e.orderList.length?n("empty"):t._e(),t._l(e.orderList,(function(t,e){return n("v-uni-view")})),n("uni-load-more",{attrs:{status:e.loadingType}})],2)],1)})),1)],1)},r=[]},"45c6":function(t,e,n){"use strict";n.r(e);var a=n("2c07"),i=n("0504");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("5ec9");var o,c=n("f0c5"),s=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"938551b8",null,!1,a["a"],o);e["default"]=s.exports},"5ec9":function(t,e,n){"use strict";var a=n("e93b"),i=n.n(a);i.a},"73b8":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'.navbar[data-v-938551b8]{display:flex;height:40px;padding:0 5px;background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.06);position:relative;z-index:10}.navbar .nav-item[data-v-938551b8]{flex:1;display:flex;justify-content:center;align-items:center;height:100%;font-size:15px;color:#999;position:relative}.navbar .nav-item.current[data-v-938551b8]{color:#dc262b}.navbar .nav-item.current[data-v-938551b8]:after{content:"";position:absolute;left:50%;bottom:0;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:44px;height:0;border-bottom:2px solid #dc262b}.swiper-box .order-item[data-v-938551b8]{padding:%?20?% %?30?%;line-height:1.5}',""]),t.exports=e},77393:function(t,e,n){"use strict";var a=n("4ea4");n("ac1f"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("555c")),r=a(n("66ad")),o={components:{empty:r.default,uniLoadMore:i.default},onReady:function(t){var e=this;uni.getSystemInfo({success:function(t){var n=uni.createSelectorQuery();n.select(".swiper-box").boundingClientRect(),n.exec((function(n){console.log(n,"ddddddddddddd"),e.maxheight=t.windowHeight-n[0].top+"px",console.log("打印页面的剩余高度",e.maxheight)}))},fail:function(t){}})},data:function(){return{maxheight:"",tabCurrentIndex:0,navList:[{text:"首页",loadingType:"more",orderList:[],page:1,limit:10},{text:"我的抢购",loadingType:"more",orderList:[],page:1,limit:10}]}},methods:{tabClick:function(t){this.tabCurrentIndex=t}}};e.default=o},e93b:function(t,e,n){var a=n("73b8");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("75bd5746",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
|