徐总多门店
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.
 
 
 
 
 
 

10 lines
8.8 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/seckill"],{"025e":function(t,o,i){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var n=i("c267"),e={options:{styleIsolation:"shared"},name:"seckill",components:{countDown:function(){i.e("components/countDown/index").then(function(){return resolve(i("b347"))}.bind(null,i)).catch(i.oe)}},props:{dataConfig:{type:Object,default:function(){}},isSortType:{type:String|Number,default:0}},data:function(){return{datatime:"",spikeList:[],seckillTimeIndex:0,seckillTime:[]}},computed:{boxStyle:function(){return{padding:"".concat(2*this.dataConfig.topConfig.val,"rpx ").concat(2*this.dataConfig.prConfig.val,"rpx ").concat(2*this.dataConfig.bottomConfig.val,"rpx"),marginTop:"".concat(2*this.dataConfig.mbConfig.val,"rpx"),background:this.dataConfig.bottomBgColor.color[0].item}},boxContentStyle:function(){var t="".concat(2*this.dataConfig.fillet.val,"rpx");return this.dataConfig.fillet.type&&(t="".concat(2*this.dataConfig.fillet.valList[0].val,"rpx ").concat(2*this.dataConfig.fillet.valList[1].val,"rpx ").concat(2*this.dataConfig.fillet.valList[2].val,"rpx ").concat(2*this.dataConfig.fillet.valList[3].val,"rpx")),{borderRadius:t,background:"linear-gradient(90deg, ".concat(this.dataConfig.moduleColor.color[0].item," 0%, ").concat(this.dataConfig.moduleColor.color[1].item," 100%)")}},contentBox:function(){var t="".concat(2*this.dataConfig.fillet.val,"rpx"),o="";this.dataConfig.imgBgConfig.url;return o=this.dataConfig.fillet.type?"0 0 ".concat(2*this.dataConfig.fillet.valList[0].val,"rpx ").concat(2*this.dataConfig.fillet.valList[1].val,"rpx"):"0 0 ".concat(t," ").concat(t),{borderRadius:o}},goodStyleConfig:function(){return this.dataConfig.goodStyleConfig.tabVal},styleConfig:function(){return this.dataConfig.styleConfig.tabVal},headerStyle:function(){var t="".concat(2*this.dataConfig.fillet.val,"rpx"),o="",i=this.dataConfig.imgBgConfig.url;return o=this.dataConfig.fillet.type?"".concat(2*this.dataConfig.fillet.valList[0].val,"rpx ").concat(2*this.dataConfig.fillet.valList[1].val,"rpx 0 0"):"".concat(t," ").concat(t," 0 0"),{backgroundImage:this.styleConfig?"url("+i+")":"linear-gradient(90deg,".concat(this.dataConfig.headerBgColor.color[0].item," 0%,").concat(this.dataConfig.headerBgColor.color[0].item," 100%)"),borderRadius:o}},titleConfig:function(){return this.dataConfig.titleConfig.tabVal},titleTxtConfig:function(){return this.dataConfig.titleTxtConfig.value},titleImg:function(){return this.styleConfig?this.titleUrl:this.titleColorUrl},titleColorUrl:function(){return this.dataConfig.imgColorConfig.url},titleUrl:function(){return this.dataConfig.imgConfig.url},tipsColor:function(){return{color:this.styleConfig?this.dataConfig.tipsColor.color[0].item:this.dataConfig.tipsColor2.color[0].item}},rightBntTxt:function(){return this.dataConfig.rightBntConfig.value},headerBntColor:function(){return{color:this.styleConfig?this.dataConfig.headerBntColor.color[0].item:this.dataConfig.headerBntColor2.color[0].item,fontSize:"".concat(2*this.dataConfig.bntNumber.val,"rpx")}},imgStyle:function(){var t="".concat(2*this.dataConfig.filletImg.val,"rpx");return this.dataConfig.filletImg.type&&(t="".concat(2*this.dataConfig.filletImg.valList[0].val,"rpx ").concat(2*this.dataConfig.filletImg.valList[1].val,"rpx ").concat(2*this.dataConfig.filletImg.valList[2].val,"rpx ").concat(2*this.dataConfig.filletImg.valList[3].val,"rpx")),t},productStyle:function(){return{color:this.dataConfig.goodsNameColor.color[0].item,fontWeight:this.dataConfig.goodsName.tabVal?"normal":"500"}},checkboxInfo:function(){return this.dataConfig.checkboxInfo.type},priceColor:function(){return this.dataConfig.toneConfig.tabVal?this.dataConfig.seckillPriceColor.color[0].item:"var(--view-theme)"},otPriceColor:function(){return this.dataConfig.goodsPriceColor.color[0].item},showBtn:function(){return this.dataConfig.seckillConfig.tabVal},btnBgColor:function(){return{background:this.dataConfig.toneConfig.tabVal?"linear-gradient(90deg,".concat(this.dataConfig.goodsBntColor.color[1].item," 0%,").concat(this.dataConfig.goodsBntColor.color[0].item," 100%)"):"linear-gradient(90deg, var(--view-gradient) 0%, var(--view-theme) 100%)"}},progressBgColor:function(){return this.dataConfig.toneConfig.tabVal?"linear-gradient(90deg,".concat(this.dataConfig.progressColor.color[0].item," 0%,").concat(this.dataConfig.progressColor.color[1].item," 100%)"):"linear-gradient(45deg, var(--view-gradient) 0%, var(--view-theme) 100%)"},numberBgColor:function(){return this.styleConfig?this.dataConfig.numberBgColor.color[0].item:this.dataConfig.numberBgColor2.color[0].item},numberColor:function(){return this.styleConfig?this.dataConfig.numberColor.color[0].item:this.dataConfig.numberColor2.color[0].item},dotColor:function(){return this.styleConfig?this.dataConfig.numberBgColor.color[0].item:this.dataConfig.numberBgColor2.color[0].item},numberConfig:function(){return this.dataConfig.numberConfig.val}},mounted:function(){this.getSeckillIndexTime()},methods:{goPage:function(o){t.navigateTo({url:o})},goDetails:function(o){t.navigateTo({url:"/pages/activity/goods_details/index?id="+o.id+"&type=1&time_id="+this.timeList[this.active].id})},getSeckillIndexTime:function(){var t=this,o=this.$config.LIMIT,i={page:1,limit:this.numberConfig>=o?o:this.numberConfig,type:"index"};(0,n.getSeckillIndexTime)().then((function(o){if(t.timeList=o.data.seckillTime,t.active=o.data.seckillTimeIndex,-1!==o.data.seckillTimeIndex){t.datatime=o.data.seckillTime[o.data.seckillTimeIndex].stop;var e=o.data.seckillTime[o.data.seckillTimeIndex].id;(0,n.getSeckillList)(e,i).then((function(o){var i=o.data;t.spikeList=i}))}}))}}};o.default=e}).call(this,i("df3c")["default"])},"20e1":function(t,o,i){"use strict";i.r(o);var n=i("dd1b"),e=i("b0eb");for(var l in e)["default"].indexOf(l)<0&&function(t){i.d(o,t,(function(){return e[t]}))}(l);i("8f2f");var a=i("828b"),r=Object(a["a"])(e["default"],n["b"],n["c"],!1,null,"76718294",null,!1,n["a"],void 0);o["default"]=r.exports},3725:function(t,o,i){},"8f2f":function(t,o,i){"use strict";var n=i("3725"),e=i.n(n);e.a},b0eb:function(t,o,i){"use strict";i.r(o);var n=i("025e"),e=i.n(n);for(var l in n)["default"].indexOf(l)<0&&function(t){i.d(o,t,(function(){return n[t]}))}(l);o["default"]=e.a},dd1b:function(t,o,i){"use strict";i.d(o,"b",(function(){return e})),i.d(o,"c",(function(){return l})),i.d(o,"a",(function(){return n}));var n={easyLoadimage:function(){return i.e("components/easy-loadimage/easy-loadimage").then(i.bind(null,"a9c6"))}},e=function(){var t=this,o=t.$createElement,i=(t._self._c,t.spikeList.length),n=i>0?t.__get_style([t.boxStyle]):null,e=i>0?t.__get_style([t.boxContentStyle]):null,l=i>0?t.__get_style([t.headerStyle]):null,a=i>0?t.__get_style([t.tipsColor]):null,r=i>0?t.__get_style([t.headerBntColor]):null,c=i>0&&0==t.goodStyleConfig?t.__get_style([t.contentBox]):null,s=i>0&&0==t.goodStyleConfig?t.__map(t.spikeList,(function(o,i){var n=t.__get_orig(o),e=t.checkboxInfo.includes(0),l=e?t.__get_style([t.productStyle]):null,a=t.checkboxInfo.includes(2),r=t.checkboxInfo.includes(3),c=r?t.__get_style([t.otPriceColor]):null,s=r?o.ot_price.toString().split("."):null,g=t.showBtn?null:t.__get_style([t.btnBgColor]);return{$orig:n,g1:e,s6:l,g2:a,g3:r,s7:c,g4:s,s8:g}})):null,g=i>0&&1==t.goodStyleConfig?t.__map(t.spikeList,(function(o,i){var n=t.__get_orig(o),e=t.checkboxInfo.includes(0),l=e?t.__get_style([t.productStyle]):null,a=t.checkboxInfo.includes(2),r=t.checkboxInfo.includes(3),c=r?t.__get_style([t.otPriceColor]):null,s=r?o.ot_price.toString().split("."):null,g=t.showBtn?null:t.__get_style([t.btnBgColor]);return{$orig:n,g5:e,s9:l,g6:a,g7:r,s10:c,g8:s,s11:g}})):null,f=i>0&&2==t.goodStyleConfig?t.__map(t.spikeList,(function(o,i){var n=t.__get_orig(o),e=t.checkboxInfo.includes(0),l=e?t.__get_style([t.productStyle]):null,a=t.checkboxInfo.includes(2),r=t.checkboxInfo.includes(3),c=r?t.__get_style([t.otPriceColor]):null,s=r?o.ot_price.toString().split("."):null;return{$orig:n,g9:e,s12:l,g10:a,g11:r,s13:c,g12:s}})):null,d=i>0&&3==t.goodStyleConfig?t.__map(t.spikeList,(function(o,i){var n=t.__get_orig(o),e=t.checkboxInfo.includes(0),l=e?t.__get_style([t.productStyle]):null,a=t.checkboxInfo.includes(2),r=t.checkboxInfo.includes(3),c=r?t.__get_style([t.otPriceColor]):null,s=r?o.ot_price.toString().split("."):null,g=t.showBtn?null:t.__get_style([t.btnBgColor]);return{$orig:n,g13:e,s14:l,g14:a,g15:r,s15:c,g16:s,s16:g}})):null;t.$mp.data=Object.assign({},{$root:{g0:i,s0:n,s1:e,s2:l,s3:a,s4:r,s5:c,l0:s,l1:g,l2:f,l3:d}})},l=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/index/components/seckill-create-component',
{
'pages/index/components/seckill-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("20e1"))
})
},
[['pages/index/components/seckill-create-component']]
]);