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

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/combination"],{3340:function(t,o,n){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var i=n("6e47"),e=n("a230"),a=n("c267"),l={name:"combination",props:{dataConfig:{type:Object,default:function(){}},isSortType:{type:String|Number,default:0}},data:function(){return{pinkInfo:"",combinationList:[]}},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="",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}},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}},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},pinkNumStyle:function(){return{color:this.dataConfig.toneConfig.tabVal?this.dataConfig.labelColor.color[0].item:"var(--view-theme)"}},labelBg:function(){return{background:this.dataConfig.toneConfig.tabVal?this.dataConfig.labelColor.color[0].item:"var(--view-theme)"}},priceColor:function(){return this.dataConfig.toneConfig.tabVal?this.dataConfig.pinkPriceColor.color[0].item:"var(--view-theme)"},otPriceColor:function(){return this.dataConfig.goodsPriceColor.color[0].item},showBtn:function(){return this.dataConfig.pinkConfig.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%)"}},numberConfig:function(){return this.dataConfig.numberConfig.val}},mounted:function(){this.pink(),this.getCombinationList()},methods:{goPage:function(o){t.navigateTo({url:o})},goDetail:function(o){(0,i.openPinkSubscribe)().then((function(n){t.navigateTo({url:"/pages/activity/goods_details/index?id=".concat(o.id,"&type=3")})}))},getCombinationList:function(){var t=this,o=t.$config.LIMIT,n={page:1,limit:this.numberConfig>=o?o:this.numberConfig};(0,a.getCombinationList)(n).then((function(o){t.combinationList=o.data})).catch((function(o){return t.$util.Tips({title:o})}))},pink:function(){var t=this;(0,e.pink)().then((function(o){t.pinkInfo=o.data}))}}};o.default=l}).call(this,n("df3c")["default"])},"5d7b":function(t,o,n){"use strict";n.r(o);var i=n("3340"),e=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(o,t,(function(){return i[t]}))}(a);o["default"]=e.a},"6c7d":function(t,o,n){"use strict";n.r(o);var i=n("a104"),e=n("5d7b");for(var a in e)["default"].indexOf(a)<0&&function(t){n.d(o,t,(function(){return e[t]}))}(a);n("e795");var l=n("828b"),r=Object(l["a"])(e["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);o["default"]=r.exports},a104:function(t,o,n){"use strict";n.d(o,"b",(function(){return e})),n.d(o,"c",(function(){return a})),n.d(o,"a",(function(){return i}));var i={easyLoadimage:function(){return n.e("components/easy-loadimage/easy-loadimage").then(n.bind(null,"a9c6"))}},e=function(){var t=this,o=t.$createElement,n=(t._self._c,t.combinationList.length),i=n?t.__get_style([t.boxStyle]):null,e=n?t.__get_style([t.boxContentStyle]):null,a=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.combinationList,(function(o,n){var i=t.__get_orig(o),e=t.checkboxInfo.includes(0),a=e?t.__get_style([t.productStyle]):null,l=t.checkboxInfo.includes(1),r=l?t.__get_style([t.labelBg]):null,c=l?t.__get_style([t.pinkNumStyle]):null,g=t.checkboxInfo.includes(2),f=t.checkboxInfo.includes(3),s=f?t.__get_style([t.otPriceColor]):null,u=t.showBtn?null:t.__get_style([t.btnBgColor]);return{$orig:i,g1:e,s7:a,g2:l,s8:r,s9:c,g3:g,g4:f,s10:s,s11:u}})):null,s=n&&1==t.goodStyleConfig?t.__map(t.combinationList,(function(o,n){var i=t.__get_orig(o),e=t.checkboxInfo.includes(0),a=e?t.__get_style([t.productStyle]):null,l=e?t.__get_style([t.labelBg]):null,r=e?t.__get_style([t.pinkNumStyle]):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,g5:e,s12:a,s13:l,s14:r,g6:c,g7:g,s15:f,s16:s}})):null,u=n&&2==t.goodStyleConfig?t.__map(t.combinationList,(function(o,n){var i=t.__get_orig(o),e=t.__get_style([t.labelBg]),a=t.__get_style([t.pinkNumStyle]),l=t.checkboxInfo.includes(0),r=l?t.__get_style([t.productStyle]):null,c=t.checkboxInfo.includes(2),g=t.checkboxInfo.includes(3),f=g?t.__get_style([t.otPriceColor]):null;return{$orig:i,s17:e,s18:a,g8:l,s19:r,g9:c,g10:g,s20:f}})):null,d=n&&3==t.goodStyleConfig?t.__map(t.combinationList,(function(o,n){var i=t.__get_orig(o),e=t.__get_style([t.labelBg]),a=t.__get_style([t.pinkNumStyle]),l=t.checkboxInfo.includes(0),r=l?t.__get_style([t.productStyle]):null,c=t.checkboxInfo.includes(2);return{$orig:i,s21:e,s22:a,g11:l,s23:r,g12:c}})):null;t.$mp.data=Object.assign({},{$root:{g0:n,s0:i,s1:e,s2:a,s3:l,s4:r,s5:c,s6:g,l0:f,l1:s,l2:u,l3:d}})},a=[]},e795:function(t,o,n){"use strict";var i=n("ef94"),e=n.n(i);e.a},ef94:function(t,o,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/index/components/combination-create-component',
{
'pages/index/components/combination-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("6c7d"))
})
},
[['pages/index/components/combination-create-component']]
]);