glhcp/server/public/mobile/static/js/bundle-pages-goods_seckill-...

1 line
23 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-goods_seckill-goods_seckill"],{"0057":function(t,e,i){"use strict";var r=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCouponList=a,e.getCoupon=o,e.getOrderCoupon=s,e.getMyCoupon=u,e.getActivityGoodsLists=c,e.getSeckillTime=l,e.getSeckillGoods=d,e.getGroupList=f,e.getUserGroup=p,e.getTeamInfo=g,e.teamKaiTuan=h,e.teamCheck=m,e.teamBuy=v,e.getBargainList=b,e.getBargainDetail=w,e.getBargainNumber=y,e.launchBargain=_,e.getBargainActivityList=k,e.getBargainActivityDetail=S,e.getBargainPost=x,e.helpBargain=C,e.closeBargainOrder=B,e.getSignLists=T,e.getSignRule=$,e.userSignIn=R,e.getIntegralGoods=E,e.getIntegralGoodsDetail=I,e.integralSettlement=z,e.integralSubmitOrder=L,e.getIntegralOrder=O,e.delIntegralOrder=M,e.getIntegralOrderDetail=F,e.cancelIntegralOrder=G,e.confirmIntegralOrder=P,e.getIntegralOrderTraces=A;var n=r(i("b175"));i("357b");function a(t){return n.default.get("coupon/getCouponList",{params:t})}function o(t){return n.default.post("coupon/getCoupon",{coupon_id:t})}function s(t){return n.default.post("coupon/getBuyCouponList",t)}function u(t){return n.default.get("coupon/myCouponList",{params:t})}function c(t){return n.default.get("activity_area/activityGoodsList",{params:t})}function l(){return n.default.get("seckill_goods/getSeckillTime")}function d(t){return n.default.get("seckill_goods/getSeckillGoods",{params:t})}function f(t){return n.default.get("team/activity",{params:t})}function p(t){return n.default.get("team/record",{params:t})}function g(t){return n.default.get("team/teamInfo",{params:t})}function h(t){return n.default.post("team/kaituan",t)}function m(t){return n.default.post("team/check",t)}function v(t){return n.default.post("team/buy",t)}function b(t){return n.default.get("bargain/lists",{params:t})}function w(t){return n.default.get("bargain/detail",{params:t})}function y(){return n.default.get("bargain/barginNumber")}function _(t){return n.default.post("bargain/sponsor",t)}function k(t){return n.default.get("bargain/orderList",{params:t})}function S(t){return n.default.get("bargain/bargainDetail",{params:t})}function x(t){return n.default.get("share/shareBargain",{params:t})}function C(t){return n.default.post("bargain/knife",t)}function B(t){return n.default.get("bargain/closeBargain",{params:t})}function T(){return n.default.get("sign/lists")}function $(){return n.default.get("sign/rule")}function R(){return n.default.get("sign/sign")}function E(t){return n.default.get("integral_goods/lists",{params:t})}function I(t){return n.default.get("integral_goods/detail",{params:t})}function z(t){return n.default.get("integral_order/settlement",{params:t})}function L(t){return n.default.post("integral_order/submitOrder",t)}function O(t){return n.default.get("integral_order/lists",{params:t})}function M(t){return n.default.post("integral_order/del",{id:t})}function F(t){return n.default.get("integral_order/detail",{params:{id:t}})}function G(t){return n.default.post("integral_order/cancel",{id:t})}function P(t){return n.default.post("integral_order/confirm",{id:t})}function A(t){return n.default.get("integral_order/orderTraces",{params:{id:t}})}},"01bd":function(t,e,i){var r=i("6776");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var n=i("4f06").default;n("2b1c1bb1",r,!0,{sourceMap:!1,shadowMode:!1})},"0858":function(t,e,i){var r=i("24fb");e=r(!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/* 行为相关颜色 */.swiper-wrap[data-v-d683f632]{overflow:hidden;box-sizing:initial}.swiper-wrap .swiper-con[data-v-d683f632]{position:relative;height:100%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0)}.swiper-wrap .swiper[data-v-d683f632]{width:100%;height:100%;position:relative}.swiper-wrap .swiper .slide-image[data-v-d683f632]{height:100%}.swiper-wrap .dots[data-v-d683f632]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:%?20?%;display:flex}.swiper-wrap .dots .dot[data-v-d683f632]{width:%?8?%;height:%?8?%;border-radius:50%;margin-right:%?10?%;background-color:#fff}.swiper-wrap .dots .dot.active[data-v-d683f632]{width:%?16?%;border-radius:%?8?%;background-color:#ff2c3c}',""]),t.exports=e},"0d00":function(t,e,i){"use strict";i.r(e);var r=i("aa0e"),n=i.n(r);for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);e["default"]=n.a},"259e":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"u-image",props:{src:{type:String,default:""},mode:{type:String,default:"aspectFill"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"auto"},shape:{type:String,default:"square"},borderRadius:{type:[String,Number],default:0},lazyLoad:{type:Boolean,default:!0},showMenuByLongpress:{type:Boolean,default:!0},loadingIcon:{type:String,default:"photo"},errorIcon:{type:String,default:"error-circle"},showLoading:{type:Boolean,default:!0},showError:{type:Boolean,default:!0},fade:{type:Boolean,default:!0},webp:{type:Boolean,default:!1},duration:{type:[String,Number],default:500},bgColor:{type:String,default:"#f3f4f6"}},data:function(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{}}},watch:{src:{immediate:!0,handler:function(t){t?this.isError=!1:(this.isError=!0,this.loading=!1)}}},computed:{wrapStyle:function(){var t={};return t.width=this.$u.addUnit(this.width),t.height=this.$u.addUnit(this.height),t.borderRadius="circle"==this.shape?"50%":this.$u.addUnit(this.borderRadius),t.overflow=this.borderRadius>0?"hidden":"visible",this.fade&&(t.opacity=this.opacity,t.transition="opacity ".concat(Number(this.durationTime)/1e3,"s ease-in-out")),t}},methods:{onClick:function(){this.$emit("click")},onErrorHandler:function(t){this.loading=!1,this.isError=!0,this.$emit("error",t)},onLoadHandler:function(){var t=this;if(this.loading=!1,this.isError=!1,this.$emit("load"),!this.fade)return this.removeBgColor();this.opacity=0,this.durationTime=0,setTimeout((function(){t.durationTime=t.duration,t.opacity=1,setTimeout((function(){t.removeBgColor()}),t.durationTime)}),50)},removeBgColor:function(){this.backgroundStyle={backgroundColor:"transparent"}}}};e.default=r},"366f":function(t,e,i){"use strict";var r=i("4ea4");i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var n=r(i("1da1")),a=i("3b3e"),o=(i("357b"),{data:function(){return{lists:[],currentSwiper:0}},props:{pid:{type:Number},circular:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!0},height:{type:String},radius:{type:String,default:"0"},padding:{type:String,default:"0rpx"},previousMargin:{type:String,default:"0rpx"},isSwiper:{type:Boolean,default:!0}},created:function(){this.getAdListFun()},watch:{pid:function(t){this.getAdListFun()}},methods:{getAdListFun:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var i,r,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,a.getAdList)({pid:t.pid,terminal:1});case 2:i=e.sent,r=i.code,n=i.data,1==r&&(t.lists=n);case 6:case"end":return e.stop()}}),e)})))()},swiperChange:function(t){this.currentSwiper=t.detail.current},goPage:function(t){var e=t.link,i=t.link_type,r=t.params,n=t.is_tab;switch(i){case 1:case 2:n?this.$Router.pushTab({path:e}):this.$Router.push({path:e,query:r});break;case 3:this.$Router.push({path:"/pages/webview/webview",query:{url:e}});break}}}});e.default=o},4745:function(t,e,i){"use strict";var r=i("f88c"),n=i.n(r);n.a},"4b89":function(t,e,i){"use strict";i.r(e);var r=i("366f"),n=i.n(r);for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);e["default"]=n.a},"5a93":function(t,e,i){var r=i("24fb");e=r(!1),e.push([t.i,".price-format[data-v-0a5a34e0]{font-family:Avenir,SourceHanSansCN,PingFang SC,Arial,Hiragino Sans GB,Microsoft YaHei,sans-serif}",""]),t.exports=e},"5c2f":function(t,e,i){var r=i("24fb");e=r(!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/* 行为相关颜色 */.u-image[data-v-5c6487b9]{position:relative;transition:opacity .5s ease-in-out}.u-image__image[data-v-5c6487b9]{width:100%;height:100%}.u-image__loading[data-v-5c6487b9], .u-image__error[data-v-5c6487b9]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#f3f4f6;color:#909399;font-size:%?46?%}',""]),t.exports=e},"61ca":function(t,e,i){"use strict";i.r(e);var r=i("9820"),n=i.n(r);for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);e["default"]=n.a},"660b":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return r}));var r={uIcon:i("4569").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-image",style:[t.wrapStyle,t.backgroundStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[t.isError?t._e():i("v-uni-image",{staticClass:"u-image__image",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius)},attrs:{src:t.src,mode:t.mode,"lazy-load":t.lazyLoad},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.onErrorHandler.apply(void 0,arguments)},load:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadHandler.apply(void 0,arguments)}}}),t.showLoading&&t.loading?i("v-uni-view",{staticClass:"u-image__loading",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius),backgroundColor:this.bgColor}},[t.$slots.loading?t._t("loading"):i("u-icon",{attrs:{name:t.loadingIcon,width:t.width,height:t.height}})],2):t._e(),t.showError&&t.isError&&!t.loading?i("v-uni-view",{staticClass:"u-image__error",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius)}},[t.$slots.error?t._t("error"):i("u-icon",{attrs:{name:t.errorIcon,width:t.width,height:t.height}})],2):t._e()],1)},a=[]},6776:function(t,e,i){var r=i("24fb");e=r(!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/* 行为相关颜色 */.bg-gray[data-v-8726e708]{background-color:#ccc!important}.goods-seckill .time-list .time-item[data-v-8726e708]{display:inline-flex;width:%?160?%;height:100%}.goods-seckill .time-list .time-item.active .time[data-v-8726e708]{color:#ff2c3c}.goods-seckill .time-list .time-item.active .state[data-v-8726e708]{color:#fff;background-color:#ff2c3c}.goods-seckill .time-list .time-item .state[data-v-8726e708]{padding:0 %?10?%}.goods-seckill .endtime-box[data-v-8726e708]{height:%?100?%}.goods-seckill .endtime-box .line[data-v-8726e708]{width:%?100?%;height:%?2?%;background-color:#ccc}.goods-seckill .goods-list .goods-item[data-v-8726e708]{padding:%?30?%}.goods-seckill .goods-list .goods-item .goods-info[data-v-8726e708]{flex:1;width:%?470?%}.goods-seckill .goods-list .goods-item .goods-info .sale-info[data-v-8726e708]{padding:%?4?% %?16?%;background-color:#ffe9eb}.goods-seckill .goods-list .goods-item .goods-info .info-footer .btn[data-v-8726e708]{padding:0 %?30?%}.primary-btn[data-v-8726e708]{padding:0 %?30?%;background:linear-gradient(270deg,#ff2c3c,#f95f2f)}.border-btn[data-v-8726e708]{padding:0 %?30?%;border:1px solid #ff2c3c;color:#ff2c3c}',""]),t.exports=e},"6db4":function(t,e,i){"use strict";i.r(e);var r=i("7acb"),n=i("4b89");for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("4745");var o,s=i("f0c5"),u=Object(s["a"])(n["default"],r["b"],r["c"],!1,null,"d683f632",null,!1,r["a"],o);e["default"]=u.exports},"6e89":function(t,e,i){"use strict";i.r(e);var r=i("cc81"),n=i("61ca");for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("7be4");var o,s=i("f0c5"),u=Object(s["a"])(n["default"],r["b"],r["c"],!1,null,"8726e708",null,!1,r["a"],o);e["default"]=u.exports},7171:function(t,e,i){"use strict";i.r(e);var r=i("660b"),n=i("cb4c");for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("7208");var o,s=i("f0c5"),u=Object(s["a"])(n["default"],r["b"],r["c"],!1,null,"5c6487b9",null,!1,r["a"],o);e["default"]=u.exports},7208:function(t,e,i){"use strict";var r=i("774a"),n=i.n(r);n.a},"774a":function(t,e,i){var r=i("5c2f");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var n=i("4f06").default;n("28f9c44e",r,!0,{sourceMap:!1,shadowMode:!1})},"7acb":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return r}));var r={uImage:i("7171").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.lists.length?i("v-uni-view",{staticClass:"swiper-wrap",style:{height:t.height,padding:t.padding}},[i("v-uni-view",{staticClass:"swiper-con",style:{borderRadius:t.radius}},[t.isSwiper?[i("v-uni-swiper",{staticClass:"swiper",attrs:{autoplay:t.autoplay,circular:t.circular,"previous-margin":t.previousMargin,"display-multiple-items":"1"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.swiperChange.apply(void 0,arguments)}}},t._l(t.lists,(function(e,r){return i("v-uni-swiper-item",{key:r},[i("v-uni-view",{staticStyle:{width:"100%",height:"100%"},attrs:{"data-item":e},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goPage(e)}}},[i("u-image",{attrs:{mode:"aspectFill",width:"calc(100% - "+t.previousMargin+")",height:"100%","border-radius":t.radius,src:e.image}})],1)],1)})),1),t.lists.length>1?i("v-uni-view",{staticClass:"dots"},t._l(t.lists,(function(e,r){return i("v-uni-view",{key:r,class:"dot "+(r==t.currentSwiper?"active":"")})})),1):t._e()]:t._e(),t._l(t.lists,(function(e,r){return[r<1?i("v-uni-view",{key:r,staticStyle:{width:"100%",height:"100%"},attrs:{"data-item":e},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goPage(e)}}},[i("u-image",{attrs:{mode:"aspectFill",width:"calc(100% - "+t.previousMargin+")",height:"100%","border-radius":t.radius,src:e.image}})],1):t._e()]}))],2)],1):t._e()},a=[]},"7be4":function(t,e,i){"use strict";var r=i("01bd"),n=i.n(r);n.a},"7eac":function(t,e,i){"use strict";var r=i("ab77"),n=i.n(r);n.a},8312:function(t,e,i){"use strict";i.r(e);var r=i("a126"),n=i("0d00");for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("7eac");var o,s=i("f0c5"),u=Object(s["a"])(n["default"],r["b"],r["c"],!1,null,"0a5a34e0",null,!1,r["a"],o);e["default"]=u.exports},9820:function(t,e,i){"use strict";var r=i("4ea4");i("99af"),i("c740"),i("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var n=r(i("1da1")),a=i("0057"),o=r(i("9df2")),s={mixins:[o.default],data:function(){return{active:0,upOption:{auto:!1,empty:{use:!0,icon:"/static/images/goods_null.png",tip:"暂无秒杀商品~"}},seckillTime:[],seckillGoods:[]}},methods:{downCallback:function(t){var e=this;return(0,n.default)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.seckillGoods=[],t.next=3,e.getSeckillTimeFun();case 3:e.mescroll.resetUpScroll();case 4:case"end":return t.stop()}}),t)})))()},upCallback:function(t){var e=this,i=t.num,r=t.size,n=this.seckillTime,o=this.active;if(!n.length)return this.mescroll.endSuccess(0,!1);var s=n[o].id;(0,a.getSeckillGoods)({page_no:i,page_size:r,seckill_id:s}).then((function(t){var r=t.data.lists,n=!!t.data.more,a=r.length;1==i&&(e.seckillGoods=[]),e.seckillGoods=e.seckillGoods.concat(r),e.mescroll.endSuccess(a,n)})).catch((function(){e.mescroll.endErr()}))},getSeckillTimeFun:function(){var t=this;return new Promise((function(e){(0,a.getSeckillTime)().then((function(i){var r=i.code,n=i.data;if(1==r){var a=n.findIndex((function(t){return 1==t.status}));-1==a&&(a=n.findIndex((function(t){return 0==t.status}))),-1==a&&(a=n.length-1),t.seckillTime=n,t.$nextTick((function(){this.active=a,e()}))}}))}))},exchangeTime:function(t){this.active=t,this.seckillGoods=[],this.mescroll.resetUpScroll()}},computed:{currentStatus:function(){var t=this.active,e=this.seckillTime;return e[t]&&e[t].status}}};e.default=s},"9df2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(t){this.mescroll&&this.mescroll.onPageScroll(t)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(t){console.log(t),this.mescroll=t,this.mescrollInitByRef()},mescrollInitByRef:function(){if(!this.mescroll||!this.mescroll.resetUpScroll){var t=this.$refs.mescrollRef;t&&(this.mescroll=t.mescroll)}},downCallback:function(){var t=this;this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout((function(){t.mescroll.endSuccess()}),500)},upCallback:function(){var t=this;setTimeout((function(){t.mescroll.endErr()}),500)}},mounted:function(){this.mescrollInitByRef()}},n=r;e.default=n},a126:function(t,e,i){"use strict";var r;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return r}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-text",{class:(t.lineThrough?"line-through":"")+" price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?i("v-uni-text",{style:{"font-size":t.subscriptSize+"rpx","margin-right":"2rpx"}},[t._v("¥")]):t._e(),i("v-uni-text",{style:{"font-size":t.firstSize+"rpx","margin-right":"1rpx"}},[t._v(t._s(t.priceSlice.first))]),t.priceSlice.second?i("v-uni-text",{style:{"font-size":t.secondSize+"rpx"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()],1)},a=[]},aa0e:function(t,e,i){"use strict";i("a9e3"),i("acd8"),i("ac1f"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:[String,Number],default:28},secondSize:{type:[String,Number],default:28},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:[String,Number],default:28},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&""!==t&&void 0!==t?(t=parseFloat(t),t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e):this.priceSlice={first:0}}}};e.default=r},ab77:function(t,e,i){var r=i("5a93");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var n=i("4f06").default;n("0d47c85e",r,!0,{sourceMap:!1,shadowMode:!1})},cb4c:function(t,e,i){"use strict";i.r(e);var r=i("259e"),n=i.n(r);for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);e["default"]=n.a},cc81:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return r}));var r={adSwipers:i("6db4").default,uImage:i("7171").default,priceFormat:i("8312").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("mescroll-body",{ref:"mescrollRef",attrs:{up:t.upOption},on:{init:function(e){arguments[0]=e=t.$handleEvent(e),t.mescrollInit.apply(void 0,arguments)},down:function(e){arguments[0]=e=t.$handleEvent(e),t.downCallback.apply(void 0,arguments)},up:function(e){arguments[0]=e=t.$handleEvent(e),t.upCallback.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"goods-seckill"},[i("v-uni-view",{staticClass:"banner"},[i("ad-swipers",{attrs:{pid:20,height:"340rpx"}})],1),i("v-uni-view",{staticClass:"time-list"},[i("v-uni-scroll-view",{staticStyle:{height:"120rpx","white-space":"nowrap"},attrs:{"scroll-into-view":"item-"+(t.active-2),"scroll-x":"true","scroll-with-animation":"true"}},t._l(t.seckillTime,(function(e,r){return i("v-uni-view",{key:r,staticClass:"time-item flex-col row-center col-center",class:{active:r==t.active},attrs:{id:"item-"+r},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.exchangeTime(r)}}},[i("v-uni-view",{class:"xl bold time"},[t._v(t._s(e.start_time))]),i("v-uni-view",{class:"sm br60 state "+(2===e.status?"muted":"")},[t._v(t._s(e.tips))])],1)})),1)],1),i("v-uni-view",{staticClass:"goods-list"},t._l(t.seckillGoods,(function(e,r){return i("router-link",{key:r,attrs:{to:{path:"/pages/goods_details/goods_details",query:{id:e.goods_id}}}},[i("v-uni-view",{staticClass:"goods-item flex bg-white"},[i("u-image",{attrs:{width:"180rpx",height:"180rpx","border-radius":"10rpx",src:e.goods_image}}),i("v-uni-view",{staticClass:"goods-info m-l-20"},[i("v-uni-view",{staticClass:"goods-name line-2 m-b-10",staticStyle:{width:"490rpx"}},[t._v(t._s(e.goods_name))]),i("v-uni-label",{staticClass:"sale-info xs primary br60"},[t._v("已抢"+t._s(e.seckill_total)+"件")]),i("v-uni-view",{staticClass:"info-footer flex row-between m-t-5"},[i("v-uni-view",{staticClass:"price"},[i("price-format",{staticClass:"m-r-10",attrs:{price:e.seckill_price,color:t.colorConfig.primary,"first-ize":34,"second-ize":26,"subscript-ize":26}}),i("price-format",{staticClass:"line-through",attrs:{price:e.goods_min_price,color:t.colorConfig.muted,"first-ize":24,"second-ize":24,"subscript-ize":24}})],1),i("v-uni-button",{class:"br60 white "+(2==t.currentStatus?" bg-gray":1==t.currentStatus?"primary-btn":"border-btn"),attrs:{size:"sm"}},[t._v(t._s(2==t.currentStatus?"已结束":1==t.currentStatus?"立即抢购":"未开始"))])],1)],1)],1)],1)})),1)],1)],1)},a=[]},f88c:function(t,e,i){var r=i("0858");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var n=i("4f06").default;n("7e5d816e",r,!0,{sourceMap:!1,shadowMode:!1})}}]);