1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-seckill"],{"012b":function(t,e,o){"use strict";var i;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"uni-countdown"},[t.showDay?o("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor}},[t._v(t._s(t.d))]):t._e(),t.showDay?o("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v("天")]):t._e(),o("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor}},[t._v(t._s(t.h))]),o("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v(t._s(t.showColon?":":"时"))]),o("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor}},[t._v(t._s(t.i))]),o("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v(t._s(t.showColon?":":"分"))]),o("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor}},[t._v(t._s(t.s))]),t.showColon?t._e():o("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v("秒")])],1)},a=[]},"0bc1":function(t,e,o){"use strict";o.r(e);var i=o("c0cc"),n=o.n(i);for(var a in i)"default"!==a&&function(t){o.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},"24b5":function(t,e,o){"use strict";o.r(e);var i=o("92289"),n=o("0bc1");for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("40fc");var s,r=o("f0c5"),l=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"c8f01f2e",null,!1,i["a"],s);e["default"]=l.exports},"25ff":function(t,e,o){var i=o("888f");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o("4f06").default;n("63a4d389",i,!0,{sourceMap:!1,shadowMode:!1})},2909:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;var i=r(o("6005")),n=r(o("db90")),a=r(o("06c5")),s=r(o("3427"));function r(t){return t&&t.__esModule?t:{default:t}}function l(t){return(0,i.default)(t)||(0,n.default)(t)||(0,a.default)(t)||(0,s.default)()}},3278:function(t,e,o){var i=o("666a");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o("4f06").default;n("d97c129c",i,!0,{sourceMap:!1,shadowMode:!1})},3427:function(t,e,o){"use strict";function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},3731:function(t,e,o){"use strict";function i(t){var e=/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{2}$)/;return!1!==e.test(t)||(console.log(t),!1)}function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"string"==typeof t&&(t=(+t).toFixed(2)),"number"==typeof t&&(t=t.toFixed(2));var e=t.split(""),o=e.reverse().map((function(t,e,o){return e%3==0&&e/3>1&&e!=o.length?t+",":t}));return o=o.reverse().join(""),o}function a(t){var e=(new Date).getTime(),o=t-e;o<0&&(o*=-1);var i=Math.floor(o/1e3/60/60/24),n=Math.floor(o/1e3/60/60%24),a=Math.floor(o/1e3/60%60),s=Math.floor(o/1e3%60);return{hours:n,minutes:a,seconds:s,day:i}}function s(t){return new Promise((function(t,e){wx.getSetting({success:function(o){o.authSetting["scope.userLocation"]?t():wx.showModal({title:"提示",content:"请求获取位置权限",success:function(o){if(0==o.confirm)return e(),!1;wx.openSetting({success:function(e){e.authSetting["scope.userLocation"]?t():wx.showToast({title:"此功能需获取位置信息,请重新设置",duration:3e3,icon:"none"})}})}})}})}))}function r(t){for(var e=13-(t+"").length,o=1,i=0;i<e;i++)o+="0";o=parseInt(o);var n=new Date(parseInt(t)*o),a=n.getFullYear(),s=n.getMonth()+1,r=n.getDate(),l=n.getHours(),d=n.getMinutes(),c=n.getSeconds();return a+"-"+s+"-"+r+" "+l+":"+d+":"+c}o("d81d"),o("26e9"),o("d3b7"),o("e25e"),o("ac1f"),o("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.isCardNo=i,e.getMoneyStyle=n,e.timeComputed=a,e.openMap=s,e.getTime=r},"40fc":function(t,e,o){"use strict";var i=o("3278"),n=o.n(i);n.a},5231:function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.uni-countdown[data-v-5e7c18b5]{display:flex;flex-direction:row;justify-content:flex-start;position:relative;top:%?5?%;left:%?15?%}.uni-countdown__splitor[data-v-5e7c18b5]{display:flex;justify-content:center;line-height:%?40?%;padding:%?5?%;font-size:%?24?%}.uni-countdown__number[data-v-5e7c18b5]{display:flex;justify-content:center;align-items:center;width:%?40?%;height:%?40?%;line-height:%?40?%;text-align:center;font-size:%?24?%;border-radius:%?8?%}',""]),t.exports=e},6005:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var i=n(o("6b75"));function n(t){return t&&t.__esModule?t:{default:t}}function a(t){if(Array.isArray(t))return(0,i.default)(t)}},6468:function(t,e,o){"use strict";var i=o("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getProducts=a,e.goodsDetail=s,e.getBargainList=r,e.cartAdd=l,e.collectAdd=d,e.collectDel=c,e.searchKeyword=u,e.groomList=f,e.seckillGoods=v,e.groupGoods=m,e.getCategoryList=h,e.getCombinationList=g,e.getCombinationLisRemove=p,e.getCombinationLisPink=b,e.getCombinationPoster=x,e.getSeckillClass=y,e.getSeckillList=w,e.reply_config=_,e.reply_list=C;var n=i(o("c9b6"));function a(t){return(0,n.default)({url:"/api/products",method:"get",data:t})}function s(t,e){return(0,n.default)({url:"/api/product/detail/"+e,method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/bargain/list",method:"get",data:t})}function l(t){return(0,n.default)({url:"/api/cart/add",method:"post",data:t})}function d(t){return(0,n.default)({url:"/api/collect/add",method:"post",data:t})}function c(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/search/keyword",method:"get",data:t})}function f(t,e){return(0,n.default)({url:"/api/groom/list/"+e,method:"get",data:t})}function v(t,e){return(0,n.default)({url:"/api/seckill/detail/"+e,method:"get",data:t})}function m(t,e){return(0,n.default)({url:"/api/combination/detail/"+e,method:"get",data:t})}function h(t){return(0,n.default)({url:"/api/category",method:"get",data:t})}function g(t){return(0,n.default)({url:"/api/combination/list",method:"get",data:t})}function p(t,e){return(0,n.default)({url:"/api/combination/remove"+e,method:"get",data:t})}function b(t,e){return(0,n.default)({url:"/api/combination/pink/"+e,method:"get",data:t})}function x(t){return(0,n.default)({url:"/api/combination/poster",method:"post",data:t})}function y(t){return(0,n.default)({url:"/api/seckill/index",method:"get",data:t})}function w(t,e){return(0,n.default)({url:"/api/seckill/list/"+e,method:"get",data:t})}function _(t,e){return(0,n.default)({url:"/api/reply/config/"+e,method:"get",data:t})}function C(t,e){return(0,n.default)({url:"/api/reply/list/"+e,method:"get",data:t})}},"666a":function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,".uni-load-more[data-v-c8f01f2e]{display:flex;flex-direction:row;height:%?80?%;align-items:center;justify-content:center}.uni-load-more__text[data-v-c8f01f2e]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-c8f01f2e]{height:24px;width:24px;margin-right:10px}.uni-load-more__img>.load[data-v-c8f01f2e]{position:absolute}.uni-load-more__img>.load .item[data-v-c8f01f2e]{width:6px;height:2px;border-top-left-radius:1px;border-bottom-left-radius:1px;background:#999;position:absolute;opacity:.2;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:load-data-v-c8f01f2e 1.56s ease infinite;animation:load-data-v-c8f01f2e 1.56s ease infinite}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(1){-webkit-transform:rotate(90deg);transform:rotate(90deg);top:2px;left:9px}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(2){-webkit-transform:rotate(180deg);transform:rotate(180deg);top:11px;right:0}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(3){-webkit-transform:rotate(270deg);transform:rotate(270deg);bottom:2px;left:9px}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(4){top:11px;left:0}.load1[data-v-c8f01f2e],\n.load2[data-v-c8f01f2e],\n.load3[data-v-c8f01f2e]{height:24px;width:24px}.load2[data-v-c8f01f2e]{-webkit-transform:rotate(30deg);transform:rotate(30deg)}.load3[data-v-c8f01f2e]{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.load1 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.load2 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:.13s;animation-delay:.13s}.load3 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:.26s;animation-delay:.26s}.load1 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.39s;animation-delay:.39s}.load2 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.52s;animation-delay:.52s}.load3 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.65s;animation-delay:.65s}.load1 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:.78s;animation-delay:.78s}.load2 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:.91s;animation-delay:.91s}.load3 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:1.04s;animation-delay:1.04s}.load1 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.17s;animation-delay:1.17s}.load2 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.3s;animation-delay:1.3s}.load3 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.43s;animation-delay:1.43s}@-webkit-keyframes load-data-v-c8f01f2e{0%{opacity:1}100%{opacity:.2}}",""]),t.exports=e},8053:function(t,e,o){"use strict";var i=o("4ea4");o("d81d"),o("ac1f"),o("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(o("2909")),a=o("6468"),s=i(o("f931")),r=i(o("24b5")),l=o("3731"),d={components:{uniCountdown:s.default,uniLoadMore:r.default},data:function(){return{indexList:[],showTime:"",showTImeId:"",stop:!1,show:!1,status:0,topNavWidth:"25%",classIndex:0,itemWidht:0}},computed:{scrollLeft:function(){return this.classIndex>1?this.itemWidht*(this.classIndex-1.5):0}},onLoad:function(t){this.getClass()},methods:{swiperChange:function(t){this.classIndex=t.target.current,this.getList(this.classIndex,"tabChange")},numClassWidht:function(){var t=this;uni.createSelectorQuery().select(".seckillBox").fields({size:!0},(function(e){t.itemWidht=Math.floor(e.width/750*187.5)})).exec()},tabClass:function(t){this.classIndex=t},navProduct:function(t,e){if(1==t.status){var o=t.dataList[e];uni.navigateTo({url:"/pages/product/product?id="+o.id+"&type=1"})}},getList:function(t,e){var o=this,i=this.indexList[t];console.log(i,e),"tabChange"===e&&!0===i.loaded||"noMore"!==i.loadingType&&"loading"!==i.loadingType&&(i.loadingType="loading",(0,a.getSeckillList)({page:i.page,limit:i.limit},i.id).then((function(t){var e;(e=i.dataList).push.apply(e,(0,n.default)(t.data)),i.page++,i.limit==t.data.length?i.loadingType="more":i.loadingType="noMore",o.$set(i,"loaded",!0)})).catch((function(t){console.log(t)})))},getClass:function(){var t=this;(0,a.getSeckillClass)({}).then((function(e){var o=e.data;t.indexList=o.seckillTime.map((function(e,o){e.page=1,e.limit=6,e.dataList=[],e.loadingType="more";var i=e;if(1===i.status)t.timeComputed(1e3*i.stop,i);else{var n=i.time.split(":"),a=n[0],s=n[1],r=new Date;r.setHours(a,s,0),t.timeComputed(r.getTime(),i)}return e})),t.classIndex=o.seckillTimeIndex,t.$nextTick((function(){t.getList(t.classIndex)})),t.indexList.length<=4?t.topNavWidth=100/t.indexList.length+"%":t.$nextTick((function(){t.numClassWidht()}))})).catch((function(t){console.log(t)}))},timeComputed:function(t,e){var o=(0,l.timeComputed)(t);console.log(o),e.stopTimeH=o.hours,e.stopTimeM=o.minutes,e.stopTimeS=o.seconds}}};e.default=d},"888f":function(t,e,o){var i=o("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-0c95fbf8],\n.seckillBox[data-v-0c95fbf8]{min-height:100%;height:100%}.class-box[data-v-0c95fbf8]{white-space:nowrap;height:60px}.class-box .item[data-v-0c95fbf8]{text-align:center;display:inline-block;color:#606266;padding:11.5px 5px;background-color:#fff;line-height:1}.class-box .item .time[data-v-0c95fbf8]{font-size:16px;padding-bottom:3px}.class-box .item .time.action[data-v-0c95fbf8]{color:#dd524d}.class-box .item .status[data-v-0c95fbf8]{font-size:12px;margin:0 auto;width:60px;padding:3px 0}.class-box .item .status.action[data-v-0c95fbf8]{color:#fff;border-radius:99px;background-color:#dd524d}.title-box[data-v-0c95fbf8]{margin-top:10px;padding:10px;background-color:#fff}.title-box .title-box-left[data-v-0c95fbf8]{font-size:15px;color:#606266}.title-box .title-box-right .tip[data-v-0c95fbf8]{font-size:15px;color:#999;padding-right:5px}.title-box .title-box-right[data-v-0c95fbf8] .uni-countdown__number{border-radius:3px;width:22px}.title-box .title-box-right[data-v-0c95fbf8] .uni-countdown__splitor,\n.title-box .title-box-right[data-v-0c95fbf8] .uni-countdown__number{height:20px;line-height:18px}.list-Box[data-v-0c95fbf8]{height:calc(100% - 60px)}.list-Box .list[data-v-0c95fbf8]{height:calc(100% - 55px)}.goodsList-item[data-v-0c95fbf8]{background-color:#fff;padding:%?30?%;border-bottom:1px solid #ebeef5}.goodsList-item uni-image[data-v-0c95fbf8]{flex-shrink:0;border-radius:%?15?%;height:%?180?%;width:%?180?%}.goodsList-item .slider[data-v-0c95fbf8]{margin-top:%?15?%;justify-content:flex-start}.goodsList-item .slider .slider-box[data-v-0c95fbf8]{width:%?196?%;border-radius:99px;border:1px solid #fe9398;height:%?16?%}.goodsList-item .slider .slider-box .slider-action[data-v-0c95fbf8]{background-color:#fe9398;height:100%}.goodsList-item .slider .sales-nub[data-v-0c95fbf8]{color:#909399;font-size:%?24?%;padding-left:%?20?%}.goodsList-item .goodsList-content[data-v-0c95fbf8]{margin-left:%?20?%;flex-grow:1;height:%?180?%;position:relative}.goodsList-item .goodsList-content .title[data-v-0c95fbf8]{font-size:%?28?%;color:#303133;font-weight:500;width:0;min-width:100%}.goodsList-item .goodsList-content .goods-money[data-v-0c95fbf8]{position:absolute;left:0;bottom:0;width:100%}.goodsList-item .goodsList-content .goods-money .money-box .money[data-v-0c95fbf8]{font-size:%?42?%;color:#dd524d;font-weight:700}.goodsList-item .goodsList-content .goods-money .money-box .otMoney-box[data-v-0c95fbf8]{font-size:%?24?%}.goodsList-item .goodsList-content .goods-money .money-box .otMoney-box .otMoney[data-v-0c95fbf8]{color:#909399;padding-right:%?20?%;text-decoration:line-through}.goodsList-item .goodsList-content .goods-money .money-box .otMoney-box .sales[data-v-0c95fbf8]{color:#909399}.goodsList-item .goodsList-content .goods-money .cart[data-v-0c95fbf8]{font-size:%?28?%;border-radius:99px;padding:%?15?% %?30?%;line-height:1;color:#fff;background-color:#999}.goodsList-item .goodsList-content .goods-money .cart.seckill-action[data-v-0c95fbf8]{border:1px solid #dd524d;background-color:#dd524d}',""]),t.exports=e},92289:function(t,e,o){"use strict";var i;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"uni-load-more"},[o("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"loading"===t.status&&t.showIcon,expression:"status === 'loading' && showIcon"}],staticClass:"uni-load-more__img"},[o("v-uni-view",{staticClass:"load1 load"},[o("v-uni-view",{staticClass:"item",style:{background:t.color}}),o("v-uni-view",{staticClass:"item",style:{background:t.color}}),o("v-uni-view",{staticClass:"item",style:{background:t.color}}),o("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),o("v-uni-view",{staticClass:"load2 load"},[o("v-uni-view",{staticClass:"item",style:{background:t.color}}),o("v-uni-view",{staticClass:"item",style:{background:t.color}}),o("v-uni-view",{staticClass:"item",style:{background:t.color}}),o("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),o("v-uni-view",{staticClass:"load3 load"},[o("v-uni-view",{staticClass:"item",style:{background:t.color}}),o("v-uni-view",{staticClass:"item",style:{background:t.color}}),o("v-uni-view",{staticClass:"item",style:{background:t.color}}),o("v-uni-view",{staticClass:"item",style:{background:t.color}})],1)],1),o("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},a=[]},"951d":function(t,e,o){"use strict";var i=o("cffe"),n=o.n(i);n.a},a520:function(t,e,o){"use strict";o.r(e);var i=o("8053"),n=o.n(i);for(var a in i)"default"!==a&&function(t){o.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},a7f0:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"UniCountdown",props:{showDay:{type:Boolean,default:!0},showColon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#000000"},color:{type:String,default:"#000000"},splitorColor:{type:String,default:"#000000"},day:0,hour:0,minute:0,second:0},data:function(){return{timer:null,syncFlag:!1,d:"00",h:"00",i:"00",s:"00",leftTime:0,seconds:0}},watch:{day:function(t){this.changeFlag()},hour:function(t){this.changeFlag()},minute:function(t){this.changeFlag()},second:function(t){this.changeFlag()}},created:function(t){this.startData()},beforeDestroy:function(){clearInterval(this.timer)},methods:{toSeconds:function(t,e,o,i){return 60*t*60*24+60*e*60+60*o+i},timeUp:function(){clearInterval(this.timer),this.$emit("timeup")},countDown:function(){var t=this.seconds,e=0,o=0,i=0,n=0;t>0?(e=Math.floor(t/86400),o=Math.floor(t/3600)-24*e,i=Math.floor(t/60)-24*e*60-60*o,n=Math.floor(t)-24*e*60*60-60*o*60-60*i):this.timeUp(),o+=24*e,e<10&&(e="0"+e),o<10&&(o="0"+o),i<10&&(i="0"+i),n<10&&(n="0"+n),this.d=e,this.h=o,this.i=i,this.s=n},startData:function(){var t=this;this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),this.seconds<=0||(this.countDown(),this.timer=setInterval((function(){t.seconds--,t.seconds<0?t.timeUp():t.countDown()}),1e3))},changeFlag:function(){this.syncFlag||(this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),console.log(this.seconds),this.startData(),this.syncFlag=!0)}}};e.default=i},a9e5:function(t,e,o){"use strict";o.r(e);var i=o("e9d2"),n=o("a520");for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("ff57");var s,r=o("f0c5"),l=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"0c95fbf8",null,!1,i["a"],s);e["default"]=l.exports},ad70:function(t,e,o){"use strict";o.r(e);var i=o("a7f0"),n=o.n(i);for(var a in i)"default"!==a&&function(t){o.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},c0cc:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uni-load-more",props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=i},cffe:function(t,e,o){var i=o("5231");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o("4f06").default;n("8800ef92",i,!0,{sourceMap:!1,shadowMode:!1})},db90:function(t,e,o){"use strict";function i(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}o("a4d3"),o("e01a"),o("d28b"),o("a630"),o("d3b7"),o("3ca3"),o("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},e9d2:function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return i}));var i={uniCountdown:o("f931").default,uniLoadMore:o("24b5").default},n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"seckillBox"},[o("v-uni-scroll-view",{staticClass:"class-box flex b-t",attrs:{"scroll-x":"true","scroll-left":t.scrollLeft,"scroll-with-animation":!0}},t._l(t.indexList,(function(e,i){return o("v-uni-view",{key:i,staticClass:"item",style:{width:t.topNavWidth},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabClass(i)}}},[o("v-uni-view",{staticClass:"time",class:{action:i==t.classIndex}},[t._v(t._s(e.time))]),o("v-uni-view",{staticClass:"status",class:{action:i==t.classIndex}},[t._v(t._s(e.state))])],1)})),1),o("v-uni-swiper",{staticClass:"list-Box",attrs:{current:t.classIndex,duration:"500"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.swiperChange.apply(void 0,arguments)}}},t._l(t.indexList,(function(e,i){return o("v-uni-swiper-item",{staticClass:"list-item"},[o("v-uni-view",{staticClass:" b-b position-relative"},[o("v-uni-view",{staticClass:"title-box flex "},[o("v-uni-view",{staticClass:"title-box-left"},[1==e.status?o("v-uni-text",[t._v("抢购中先下先得哦!")]):t._e(),2==e.status?o("v-uni-text",[t._v("精品好货即将开抢!")]):t._e(),0==e.status?o("v-uni-text",[t._v("本场已结束,下次早点来哦!")]):t._e()],1),o("v-uni-view",{staticClass:"title-box-right flex"},[1==e.status?o("v-uni-text",{staticClass:"tip"},[t._v("距离结束")]):t._e(),2==e.status?o("v-uni-text",{staticClass:"tip"},[t._v("距离开始")]):t._e(),1==e.status||2==e.status?o("uni-countdown",{attrs:{color:"#F9F9F8","background-color":"#666666","show-day":!1,hour:e.stopTimeH,minute:e.stopTimeM,second:e.stopTimeS}}):t._e()],1)],1)],1),o("v-uni-scroll-view",{staticClass:"list",attrs:{"scroll-y":"true"},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.getList(t.classIndex)}}},[t._l(e.dataList,(function(i,n){return o("v-uni-view",{key:n,staticClass:"goodsList-item flex"},[o("v-uni-image",{attrs:{src:i.image,"lazy-load":!0,mode:"scaleToFill"}}),o("v-uni-view",{staticClass:"goodsList-content"},[o("v-uni-view",{staticClass:"title clamp"},[o("v-uni-text",[t._v(t._s(i.title))])],1),o("v-uni-view",{staticClass:"slider flex"},[o("v-uni-view",{staticClass:"slider-box"},[o("v-uni-view",{staticClass:"slider-action",style:{width:i.percent+"%"}})],1),o("v-uni-view",{staticClass:"sales-nub"},[t._v("已抢"+t._s(i.percent+"%"))])],1),o("v-uni-view",{staticClass:"goods-money flex"},[o("v-uni-view",{staticClass:"money-box"},[o("v-uni-view",{staticClass:"money"},[o("v-uni-text",{staticClass:"font-size-sm"},[t._v("¥")]),t._v(t._s(i.price))],1),o("v-uni-view",{staticClass:"otMoney-box"},[o("v-uni-text",{staticClass:"otMoney"},[t._v("¥"+t._s(i.ot_price))])],1)],1),o("v-uni-view",{staticClass:"cart",class:{"seckill-action":1==e.status},on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.navProduct(e,n)}}},[t._v(t._s(1==e.status?"去抢购":2==e.status?"未开始":"已结束"))])],1)],1)],1)})),o("uni-load-more",{attrs:{status:e.loadingType}})],2)],1)})),1)],1)},a=[]},f931:function(t,e,o){"use strict";o.r(e);var i=o("012b"),n=o("ad70");for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("951d");var s,r=o("f0c5"),l=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"5e7c18b5",null,!1,i["a"],s);e["default"]=l.exports},ff57:function(t,e,o){"use strict";var i=o("25ff"),n=o.n(i);n.a}}]);
|