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

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/bargain"],{1683:function(t,o,n){"use strict";n.d(o,"b",(function(){return a})),n.d(o,"c",(function(){return e})),n.d(o,"a",(function(){return i}));var i={easyLoadimage:function(){return n.e("components/easy-loadimage/easy-loadimage").then(n.bind(null,"a9c6"))}},a=function(){var t=this,o=t.$createElement,n=(t._self._c,t.bargList.length),i=n?t.__get_style([t.boxStyle]):null,a=n?t.__get_style([t.boxContentStyle]):null,e=n?t.__get_style([t.headerStyle]):null,l=n?t.__get_style([t.dividerColor]):null,r=n?t.__get_style([t.tipsColor]):null,c=n?t.__get_style([t.headerBntColor]):null,g=n&&0==t.goodStyleConfig?t.__get_style([t.contentBox]):null,f=n&&0==t.goodStyleConfig?t.__map(t.bargList,(function(o,n){var i=t.__get_orig(o),a=t.checkboxInfo.includes(0),e=a?t.__get_style([t.productStyle]):null,l=t.checkboxInfo.includes(1),r=l?t.__get_style([t.joinColor]):null,c=t.checkboxInfo.includes(2),g=t.checkboxInfo.includes(3),f=g?t.__get_style([t.otPriceColor]):null,s=t.showBtn?null:t.__get_style([t.btnBgColor]);return{$orig:i,g1:a,s7:e,g2:l,s8:r,g3:c,g4:g,s9:f,s10:s}})):null,s=n&&1==t.goodStyleConfig?t.__map(t.bargList,(function(o,n){var i=t.__get_orig(o),a=t.checkboxInfo.includes(0),e=a?t.__get_style([t.productStyle]):null,l=t.checkboxInfo.includes(2),r=t.checkboxInfo.includes(3),c=r?t.__get_style([t.otPriceColor]):null,g=t.showBtn?null:t.__get_style([t.btnBgColor]);return{$orig:i,g5:a,s11:e,g6:l,g7:r,s12:c,s13:g}})):null,u=n&&2==t.goodStyleConfig?t.__map(t.bargList,(function(o,n){var i=t.__get_orig(o),a=t.checkboxInfo.includes(0),e=a?t.__get_style([t.productStyle]):null,l=t.checkboxInfo.includes(2),r=t.checkboxInfo.includes(3),c=r?t.__get_style([t.otPriceColor]):null;return{$orig:i,g8:a,s14:e,g9:l,g10:r,s15:c}})):null,d=n&&3==t.goodStyleConfig?t.__map(t.bargList,(function(o,n){var i=t.__get_orig(o),a=t.checkboxInfo.includes(0),e=a?t.__get_style([t.productStyle]):null,l=t.checkboxInfo.includes(0),r=l?t.__get_style([t.braginSuccess]):null,c=t.checkboxInfo.includes(2);return{$orig:i,g11:a,s16:e,g12:l,s17:r,g13:c}})):null;t.$mp.data=Object.assign({},{$root:{g0:n,s0:i,s1:a,s2:e,s3:l,s4:r,s5:c,s6:g,l0:f,l1:s,l2:u,l3:d}})},e=[]},"1eae":function(t,o,n){"use strict";var i=n("59fe"),a=n.n(i);a.a},"59fe":function(t,o,n){},ad34:function(t,o,n){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var i=n("6e47"),a=n("c267"),e={name:"bargain",props:{dataConfig:{type:Object,default:function(){}},isSortType:{type:String|Number,default:0}},data:function(){return{bargList:[]}},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%)")}},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="",n=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("+n+")":"linear-gradient(90deg,".concat(this.dataConfig.headerBgColor.color[0].item," 0%,").concat(this.dataConfig.headerBgColor.color[0].item," 100%)"),borderRadius:o}},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}},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}},dividerColor:function(){return{color:this.dataConfig.dividerColor.color[0].item}},tipTxt:function(){return this.dataConfig.tipTxtConfig.value},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},joinColor:function(){return{color:this.dataConfig.toneConfig.tabVal?this.dataConfig.joinNumColor.color[0].item:"var(--view-theme)"}},priceColor:function(){return this.dataConfig.toneConfig.tabVal?this.dataConfig.bargainPriceColor.color[0].item:"var(--view-theme)"},otPriceColor:function(){return this.dataConfig.goodsPriceColor.color[0].item},showBtn:function(){return this.dataConfig.bargainConfig.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-theme) 0%, var(--view-gradient) 100%)"}},braginSuccess:function(){var t={};return this.dataConfig.toneConfig.tabVal&&(t["background"]="linear-gradient(90deg,".concat(this.dataConfig.joinBgColor.color[0].item," 0%,").concat(this.dataConfig.joinBgColor.color[1].item," 100%)"),t["color"]=this.dataConfig.joinNumColor2.color[0].item),t},numberConfig:function(){return this.dataConfig.numberConfig.val}},mounted:function(){this.getBargainList()},methods:{goPage:function(o){t.navigateTo({url:o})},getBargainList:function(){var t=this,o=this.$config.LIMIT;(0,a.getBargainList)({page:1,limit:this.numberConfig>=o?o:this.numberConfig}).then((function(o){t.bargList=o.data}))},bargDetail:function(t){var o=this;(0,i.openBargainSubscribe)().then((function(n){o.$emit("changeBarg",t)}))}}};o.default=e}).call(this,n("df3c")["default"])},cf10:function(t,o,n){"use strict";n.r(o);var i=n("ad34"),a=n.n(i);for(var e in i)["default"].indexOf(e)<0&&function(t){n.d(o,t,(function(){return i[t]}))}(e);o["default"]=a.a},d83a:function(t,o,n){"use strict";n.r(o);var i=n("1683"),a=n("cf10");for(var e in a)["default"].indexOf(e)<0&&function(t){n.d(o,t,(function(){return a[t]}))}(e);n("1eae");var l=n("828b"),r=Object(l["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);o["default"]=r.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/index/components/bargain-create-component',
{
'pages/index/components/bargain-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("d83a"))
})
},
[['pages/index/components/bargain-create-component']]
]);