| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["seckill-list-index"],{"0195":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-f55d4a30] .u-form-item--right__content__slot > uni-view,[data-v-f55d4a30] .u-form-item--right__content__slot > div,[data-v-f55d4a30] .u-form-item--right__content__slot > span,[data-v-f55d4a30] .u-form-item--right__content__slot > uni-text{width:100%}.toolsMore[data-v-f55d4a30]{padding:%?30?% 0;text-align:center;color:#c1c1c1;font-size:%?22?%}',""]),t.exports=e},"06f7":function(t,e,n){"use strict";n.r(e);var i=n("d684"),o=n("5904");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("a5e9");var s=n("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"02f13184",null,!1,i["a"],void 0);e["default"]=r.exports},"0a6e":function(t,e,n){"use strict";var i=n("8bef"),o=n.n(i);o.a},"0b58":function(t,e,n){var i=n("7850");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("967d").default;o("73db67a9",i,!0,{sourceMap:!1,shadowMode:!1})},"0bfc":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-551c63b7] .u-form-item--right__content__slot > uni-view,[data-v-551c63b7] .u-form-item--right__content__slot > div,[data-v-551c63b7] .u-form-item--right__content__slot > span,[data-v-551c63b7] .u-form-item--right__content__slot > uni-text{width:100%}.product-list[data-v-551c63b7]{position:relative;z-index:2;margin-top:%?170?%;background-color:#fff;border-radius:%?20?% %?20?% 0 0}.product-item[data-v-551c63b7]{position:relative;display:flex;align-items:center;overflow:hidden;padding:%?24?%}.product-item[data-v-551c63b7]:after{content:"";position:absolute;left:%?248?%;right:%?24?%;bottom:0;height:1px;background:#f8f8f8}.product-item[data-v-551c63b7]:last-of-type:after{display:none}.product-item .product-pic[data-v-551c63b7]{margin-right:%?20?%;width:%?228?%;height:%?228?%;overflow:hidden;position:relative;border-radius:%?10?%}.product-item .product-pic uni-image[data-v-551c63b7]{width:100%;height:100%;display:block}.product-item .goods-info[data-v-551c63b7]{flex:1;overflow:hidden}.product-item .goods-info .goods-title[data-v-551c63b7]{width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:break-all;font-size:%?28?%;font-weight:600;color:#1d1d1d}.product-item .goods-info .info-down[data-v-551c63b7]{position:relative;margin-top:%?10?%}.product-item .goods-info .info-down .price-box[data-v-551c63b7]{display:flex;align-items:flex-end}.product-item .goods-info .info-down .price-box .price[data-v-551c63b7]{font-size:%?24?%;font-weight:600;line-height:1;color:#fa2c1b;display:flex;align-items:flex-end}.product-item .goods-info .info-down .price-box .price uni-view[data-v-551c63b7]:nth-child(2){font-size:%?38?%}.product-item .goods-info .info-down .price-box .origin-price[data-v-551c63b7]{font-size:%?24?%;font-weight:400;color:#9b9b9b;display:inline-block;text-decoration:line-through;margin-left:1.67vw}.product-item .goods-info .info-down .goods-sales[data-v-551c63b7]{font-size:%?24?%;font-family:PingFang SC;font-weight:400;color:#9b9b9b;margin-top:2.134vw}.product-item .goods-info .info-down .buy-btn[data-v-551c63b7]{position:absolute;right:0;bottom:0}.product-item[data-v-551c63b7]:last-child{margin-bottom:0}.goods-seckill[data-v-551c63b7]{display:flex;align-items:center;height:%?40?%;color:#ff5c26;font-size:%?24?%;overflow:hidden}.progress[data-v-551c63b7]{display:flex;align-items:center;padding:%?16?% 0 %?8?%}.progress.finished .line-icon[data-v-551c63b7]{display:none}.progress.finished .line[data-v-551c63b7]{background:#b6b6b6}.progress .progress-let[data-v-551c63b7]{margin-left:%?10?%;position:relative;flex:1;border-radius:32px;background:#ffe5e2;height:%?28?%}.progress .progress-let .line-icon[data-v-551c63b7]{position:absolute;z-index:2;top:50%;margin:%?-20?% 0 0 %?-20?%;width:%?40?%;height:%?40?%;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#ffe975,#ffe586 54%,#ffca5a);border-radius:60px;color:red}.progress .progress-let .line[data-v-551c63b7]{position:absolute;left:0;top:0;bottom:0;border-radius:32px;color:#fff;font-size:%?24?%;background:#ff1b22;overflow:hidden}.progress .progress-let .line-box[data-v-551c63b7]{position:absolute;right:%?50?%;top:0;bottom:0;display:flex;align-items:center;font-weight:700;font-size:%?20?%}.progress.on .line-box[data-v-551c63b7]{left:%?10?%;right:auto}.progress-num[data-v-551c63b7]{margin-left:%?20?%;color:#f0250e;font-size:%?24?%;min-width:%?140?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.buy-btn[data-v-551c63b7]{display:flex;align-items:center;justify-content:center;width:%?48?%;height:%?48?%;background:#fa2c1b;border-radius:%?16?%}.buy-btn .iconfont[data-v-551c63b7]{color:#fff;font-size:%?40?%}',""]),t.exports=e},1569:function(t,e,n){var i=n("0bfc");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("967d").default;o("e2841c9a",i,!0,{sourceMap:!1,shadowMode:!1})},"1c62":function(t,e,n){"use strict";var i=n("a779"),o=n.n(i);o.a},"20a5":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("5ef2");var i={props:{goodsList:{type:Array,default:[]}},filters:{priceBeforeZero:function(t){return t.indexOf(".")<0?"".concat(t,"."):t.substr(0,t.indexOf("."))},priceAfterZero:function(t){return t.indexOf(".")<0?"00":t.substr(t.indexOf("."),t.length)}},methods:{handleItem:function(t){uni.navigateTo({url:"/goods/goods/goods?id=".concat(t,"&is_seckill=1")})}}};e.default=i},"2c76":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{},[n("v-uni-view",{staticClass:"u-sticky-wrap",class:[t.elClass],style:{height:t.fixed?t.height+"px":"auto",backgroundColor:t.bgColor}},[n("v-uni-view",{staticClass:"u-sticky",style:{position:t.fixed?"fixed":"static",top:t.stickyTop+"px",left:t.left+"px",width:"auto"==t.width?"auto":t.width+"px",zIndex:t.uZIndex}},[t._t("default")],2)],1)],1)},o=[]},"2df6":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{countDown:{type:Array}},data:function(){return{showPopup:!1}},methods:{}};e.default=i},"32b1":function(t,e,n){"use strict";n.r(e);var i=n("9034"),o=n("3aaf");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("ffbd");var s=n("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"551c63b7",null,!1,i["a"],void 0);e["default"]=r.exports},"3aaf":function(t,e,n){"use strict";n.r(e);var i=n("20a5"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"3dcd":function(t,e,n){"use strict";n.r(e);var i=n("afd1"),o=n("d44d");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("1c62");var s=n("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"f55d4a30",null,!1,i["a"],void 0);e["default"]=r.exports},4179:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa");var i={props:{status:{type:Number,default:1}},data:function(){return{}},computed:{getMoreStatus:function(){var t;switch(this.status){case 1:t="loadmore";break;case 2:t="loading";break;case 3:t="nomore";break}return t}}};e.default=i},5904:function(t,e,n){"use strict";n.r(e);var i=n("6690"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"61b0":function(t,e,n){"use strict";n.r(e);var i=n("2c76"),o=n("a99f");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("9d77");var s=n("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"1ef8cf66",null,!1,i["a"],void 0);e["default"]=r.exports},6690:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("b7c7"));n("e966"),n("aa9c"),n("c9b5"),n("bf0f"),n("ab80");var a=i(n("6b25")),s=i(n("9d19")),r=i(n("32b1")),c=i(n("8895")),d=i(n("3dcd")),u=n("fe49"),f=null,l={components:{goodsAddCart:s.default,toolsMore:d.default,pageGoods:r.default,pageHeader:c.default,singleHeader:a.default},onLoad:function(t){var e=t.activeId;this.activeId=e,this.clearData()},data:function(){return{status:1,list:[],moreStatus:1,page:1,isEnd:!1,headerClass:!1,countDown:[],goodsOfAdd:{}}},computed:{},watch:{},onShow:function(){},onHide:function(){},onUnload:function(){clearInterval(f)},methods:{clickBuyBtn:function(t){var e=this,n=t.item,i=Object.assign({},n);this.goodsOfAdd=i,setTimeout((function(){e.goodsOfAdd={}}),1)},clearData:function(){this.page=1,this.isEnd=!1,this.list=[],this.seckillActivity()},seckillActivity:function(){var t=this,e=this.list,n=this.page,i=this.activeId;this.moreStatus=2,(0,u.seckillActivity)({activeId:i,pageNo:n,pageSize:20}).then((function(n){if(uni.stopPullDownRefresh(),t.moreStatus=1,0===n.code){var i=n.data.totalCount,a=n.data.list[0],s=a.seckill_activity_goods,r=a.end_time,c=a.start_time,d=parseInt(i);s.length&&(e.push.apply(e,(0,o.default)(s)),t.page=t.page+1),e.length>=d&&(t.isEnd=!0,t.moreStatus=3),clearInterval(f),t.countDownDataItem(1e3*r,1e3*c),f=setInterval((function(){t.countDownDataItem(1e3*r,1e3*c)}),1e3)}})).catch((function(){t.moreStatus=1,uni.stopPullDownRefresh()}))},formatNumber:function(t){return t=t.toString(),t[1]?t:"0"+t},countDownDataItem:function(t,e){var n=(new Date).getTime(),i=t,o=[],a=0;if(n<e&&e-n>0&&(i=e,a=1),i-n>0){var s=(i-n)/1e3,r=parseInt(s/86400),c=this.formatNumber(parseInt(s%86400/3600)),d=this.formatNumber(parseInt(s%86400%3600/60)),u=this.formatNumber(parseInt(s%86400%3600%60));o=[r,c,d,u,a]}else o=[],clearInterval(f),a?this.$utils.showModal("提示","该活动已结束",!1,(function(){uni.navigateBack()})):this.countDownDataItem(t,e);this.countDown=o}},onPageScroll:function(t){var e=t.scrollTop;this.headerClass=e>=50},onReachBottom:function(){this.isEnd||this.seckillActivity()},onPullDownRefresh:function(){this.clearData()}};e.default=l},"6a01":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-1ef8cf66] .u-form-item--right__content__slot > uni-view,[data-v-1ef8cf66] .u-form-item--right__content__slot > div,[data-v-1ef8cf66] .u-form-item--right__content__slot > span,[data-v-1ef8cf66] .u-form-item--right__content__slot > uni-text{width:100%}.u-sticky[data-v-1ef8cf66]{z-index:9999999999}',""]),t.exports=e},7850:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,".goodsList[data-v-02f13184]{position:relative;background:#fff;min-height:100vh;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}[data-v-02f13184] .page-header{background:transparent!important;-webkit-transition:.3s linear;transition:.3s linear}[data-v-02f13184] .page-header .header-content,[data-v-02f13184] .page-header .icon-fanhui{color:#fff!important;-webkit-transition:.3s linear;transition:.3s linear}.on[data-v-02f13184] .page-header{background:#fff!important}.on[data-v-02f13184] .page-header .header-content,\n.on[data-v-02f13184] .page-header .icon-fanhui{color:#000!important}",""]),t.exports=e},"81fa":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.countDown.length?n("v-uni-view",{staticClass:"header",style:[{paddingTop:"calc("+t.statusBarHeight+"px + 44px)"}]},[n("v-uni-image",{staticClass:"headerBg",attrs:{"lazy-load":!0,src:t.asyncImgs.seckill.seckill_list_bg,mode:"aspectFill"}}),n("v-uni-view",{staticClass:"headerCon"},[t.countDown.length?n("v-uni-view",{staticClass:"countDown"},[n("v-uni-view",[t._v(t._s(t.countDown[4]?"距开始":"距结束"))]),t.countDown[0]?n("v-uni-view",[t._v(t._s(t.countDown[0])+"天")]):t._e(),n("v-uni-view",{staticClass:"m"},[t._v(t._s(t.countDown[1]))]),t._v("时"),n("v-uni-view",{staticClass:"m"},[t._v(t._s(t.countDown[2]))]),t._v("分"),n("v-uni-view",{staticClass:"m"},[t._v(t._s(t.countDown[3]))]),t._v("秒")],1):t._e()],1)],1):t._e()},o=[]},8895:function(t,e,n){"use strict";n.r(e);var i=n("81fa"),o=n("b69d");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("0a6e");var s=n("828b"),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"f246c888",null,!1,i["a"],void 0);e["default"]=r.exports},"8bef":function(t,e,n){var i=n("ad6c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("967d").default;o("90f721f4",i,!0,{sourceMap:!1,shadowMode:!1})},"8d11":function(t,e,n){var i=n("6a01");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("967d").default;o("1c9053b7",i,!0,{sourceMap:!1,shadowMode:!1})},9034:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"product-list"},t._l(t.goodsList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"product-item",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.handleItem(e.id)}}},[n("v-uni-view",{staticClass:"product-pic"},[n("v-uni-image",{attrs:{"lazy-load":!0,src:e.cover_pic,mode:"aspectFill"}})],1),n("v-uni-view",{staticClass:"goods-info"},[n("v-uni-view",{staticClass:"goods-title"},[t._v(t._s(e.name))]),n("v-uni-view",{staticClass:"goods-seckill"},[e.delivery_rules?[t._v(t._s(e.delivery_rules.name)+":"+t._s(e.delivery_rules.times))]:t._e()],2),n("v-uni-view",{staticClass:"progress",class:[e.progress<=20?"on":"",e.progress>=100?"finished":""]},[n("v-uni-view",{staticClass:"progress-let"},[n("v-uni-view",{staticClass:"line-icon",style:[{left:(e.progress||0)+"%"}]},[n("i",{staticClass:"iconfont icon-shandian"})]),n("v-uni-view",{staticClass:"line",style:{width:(e.progress||0)+"%"}},[n("v-uni-view",{staticClass:"line-box"},[e.progress>=100?[t._v(t._s(parseInt(e.seckill_num)+parseInt(e.sale_num))+"件抢光啦")]:[t._v(t._s((e.progress||0)+"%"))]],2)],1)],1),n("v-uni-view",{staticClass:"progress-num"},[t._v("仅剩"+t._s(e.seckill_num>0?parseInt(e.seckill_num):0)+"件")])],1),n("v-uni-view",{staticClass:"info-down"},[n("v-uni-view",{staticClass:"price-box"},[n("v-uni-view",{staticClass:"price"},[n("v-uni-view",[t._v("¥")]),n("v-uni-view",[t._v(t._s(t._f("priceBeforeZero")(e.price)))]),n("v-uni-view",[t._v(t._s(t._f("priceAfterZero")(e.price)))])],1),n("v-uni-view",{staticClass:"origin-price"},[t._v("¥"+t._s(e.original_price||e.price))])],1)],1)],1)],1)})),1)},o=[]},"9d77":function(t,e,n){"use strict";var i=n("8d11"),o=n.n(i);o.a},a5e9:function(t,e,n){"use strict";var i=n("0b58"),o=n.n(i);o.a},a779:function(t,e,n){var i=n("0195");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("967d").default;o("3d3bab13",i,!0,{sourceMap:!1,shadowMode:!1})},a99f:function(t,e,n){"use strict";n.r(e);var i=n("be9f"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},ad6c:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-f246c888] .u-form-item--right__content__slot > uni-view,[data-v-f246c888] .u-form-item--right__content__slot > div,[data-v-f246c888] .u-form-item--right__content__slot > span,[data-v-f246c888] .u-form-item--right__content__slot > uni-text{width:100%}.header[data-v-f246c888]{position:absolute;left:0;top:0;width:100%}.headerBg[data-v-f246c888]{position:absolute;left:0;top:0;width:100%;height:100%}.headerCon[data-v-f246c888]{position:relative;height:%?180?%}.countDown[data-v-f246c888]{position:absolute;left:0;bottom:%?30?%;width:100%;display:flex;align-items:center;justify-content:center;font-size:%?24?%;color:#fff;font-weight:700}.countDown .m[data-v-f246c888]{display:flex;align-items:center;justify-content:center;margin:0 %?10?%;width:%?36?%;height:%?36?%;color:#f0250e;border-radius:%?8?%;background:#fff;font-size:%?22?%;font-weight:700}',""]),t.exports=e},afd1:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uLoadmore:n("c9bb").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"toolsMore",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("more")}}},[n("u-loadmore",{attrs:{status:t.getMoreStatus,icon:!0}})],1)},a=[]},b69d:function(t,e,n){"use strict";n.r(e);var i=n("2df6"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},be9f:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa"),n("9c4e");var i={name:"u-sticky",props:{offsetTop:{type:[Number,String],default:0},index:{type:[Number,String],default:""},enable:{type:Boolean,default:!0},h5NavHeight:{type:[Number,String],default:44},bgColor:{type:String,default:"#ffffff"},zIndex:{type:[Number,String],default:""}},data:function(){return{fixed:!1,height:"auto",stickyTop:0,elClass:this.$u.guid(),left:0,width:"auto"}},watch:{offsetTop:function(t){this.initObserver()},enable:function(t){0==t?(this.fixed=!1,this.disconnectObserver("contentObserver")):this.initObserver()}},computed:{uZIndex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.sticky}},mounted:function(){this.initObserver()},methods:{initObserver:function(){var t=this;this.enable&&(this.stickyTop=0!=this.offsetTop?uni.upx2px(this.offsetTop)+this.h5NavHeight:this.h5NavHeight,this.disconnectObserver("contentObserver"),this.$uGetRect("."+this.elClass).then((function(e){t.height=e.height,t.left=e.left,t.width=e.width,t.$nextTick((function(){t.observeContent()}))})))},observeContent:function(){var t=this;this.disconnectObserver("contentObserver");var e=this.createIntersectionObserver({thresholds:[.95,.98,1]});e.relativeToViewport({top:-this.stickyTop}),e.observe("."+this.elClass,(function(e){t.enable&&t.setFixed(e.boundingClientRect.top)})),this.contentObserver=e},setFixed:function(t){var e=t<this.stickyTop;e?this.$emit("fixed",this.index):this.fixed&&this.$emit("unfixed",this.index),this.fixed=e},disconnectObserver:function(t){var e=this[t];e&&e.disconnect()}},beforeDestroy:function(){this.disconnectObserver("contentObserver")}};e.default=i},d44d:function(t,e,n){"use strict";n.r(e);var i=n("4179"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},d684:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var i={uSticky:n("61b0").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{class:["goodsList",t.headerClass?"on":""]},[n("u-sticky",{attrs:{h5NavHeight:0}},[n("singleHeader",{attrs:{pageTitle:"秒杀专场"}})],1),n("pageHeader",{attrs:{countDown:t.countDown}}),n("pageGoods",{attrs:{goodsList:t.list},on:{clickBuyBtn:function(e){arguments[0]=e=t.$handleEvent(e),t.clickBuyBtn.apply(void 0,arguments)},toGoodDetail:function(e){arguments[0]=e=t.$handleEvent(e),t.toGoodDetail.apply(void 0,arguments)}}}),n("toolsMore",{attrs:{status:t.moreStatus}}),n("goodsAddCart",{attrs:{good:t.goodsOfAdd}})],1)},a=[]},fe49:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.seckillActivity=void 0;var o=i(n("cc29"));e.seckillActivity=function(t,e){return o.default.GET("/diy/seckill-activity",t,e)}},ffbd:function(t,e,n){"use strict";var i=n("1569"),o=n.n(i);o.a}}]);
|