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
5.9 KiB
10 lines
5.9 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/pointsMall"],{"4f5b":function(t,o,a){"use strict";a.r(o);var i=a("74bc"),n=a("66a0c");for(var e in n)["default"].indexOf(e)<0&&function(t){a.d(o,t,(function(){return n[t]}))}(e);a("5ea1");var l=a("828b"),r=Object(l["a"])(n["default"],i["b"],i["c"],!1,null,"2552cd76",null,!1,i["a"],void 0);o["default"]=r.exports},"5ea1":function(t,o,a){"use strict";var i=a("6859"),n=a.n(i);n.a},"5eb6":function(t,o,a){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var i=a("c267"),n=a("bad7"),e={props:{dataConfig:{type:Object,default:function(){}},isSortType:{type:String|Number,default:0}},data:function(){return{imgHost:n.HTTP_REQUEST_URL,goodsList:[]}},computed:{headerStyle:function(){var t="linear-gradient(90deg, ".concat(this.dataConfig.headerBgColor.color[0].item," 0%, ").concat(this.dataConfig.headerBgColor.color[1].item," 100%)");return this.dataConfig.styleConfig.tabVal&&(t="url(".concat(this.dataConfig.imgBgConfig.url,")")),{"background-image":t}},goodsWrapperStyle:function(){var t=this.dataConfig.moduleColor2.color;return this.dataConfig.styleConfig.tabVal&&(t=this.dataConfig.moduleColor.color),{"background-image":"linear-gradient(270deg, ".concat(t[0].item," 0%, ").concat(t[1].item," 100%)")}},pointsMallStyle: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")),{"border-radius":t}},buttonStyle:function(){var t=this.dataConfig.headerBntColor2.color[0].item;return this.dataConfig.styleConfig.tabVal&&(t=this.dataConfig.headerBntColor.color[0].item),{"font-size":this.dataConfig.bntNumber.val,color:t}},titleImage:function(){var t=this.dataConfig.imgConfig2.url;return this.dataConfig.styleConfig.tabVal&&(t=this.dataConfig.imgConfig.url),t},titleStyle:function(){var t="normal",o="normal";if(this.dataConfig.titleConfig.tabVal)switch(this.dataConfig.titleText.tabVal){case 0:o="bold";break;case 2:t="italic";break}return{"font-style":t,"font-weight":o}},goodsImage: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},priceBoxStyle:function(){var t={};return this.dataConfig.toneConfig.tabVal&&(this.dataConfig.goodStyleConfig.tabVal?t["color"]=this.dataConfig.goodsUnitPriceColor.color[0].item:(t["background"]="linear-gradient(90deg, ".concat(this.dataConfig.priceBgColor.color[0].item," 0%, ").concat(this.dataConfig.priceBgColor.color[1].item," 100%)"),t["color"]=this.dataConfig.goodsPriceColor.color[0].item)),t},goodsTitleStyle:function(){return{color:this.dataConfig.goodsNameColor2.color[0].item}},numStyle:function(){var t={};return this.dataConfig.toneConfig.tabVal&&(t["color"]=this.dataConfig.goodsPriceColor.color[0].item),t},pointsMallWrapStyle:function(){return{padding:"".concat(this.dataConfig.topConfig.val,"rpx ").concat(this.dataConfig.prConfig.val,"rpx ").concat(this.dataConfig.bottomConfig.val,"rpx"),"margin-top":"".concat(this.dataConfig.mbConfig.val,"rpx")}}},mounted:function(){this.getStoreIntegralList()},methods:{getStoreIntegralList:function(){var t=this,o=this.$config.LIMIT;(0,i.getStoreIntegralList)({page:1,limit:this.dataConfig.numberConfig.val>=o?o:this.dataConfig.numberConfig.val}).then((function(o){t.goodsList=o.data}))},goPointsMall:function(){t.navigateTo({url:"/pages/activity/points_mall/index"})},goGoodsDetails:function(o){t.navigateTo({url:"/pages/activity/goods_details/index?id=".concat(o,"&type=4")})}}};o.default=e}).call(this,a("df3c")["default"])},"66a0c":function(t,o,a){"use strict";a.r(o);var i=a("5eb6"),n=a.n(i);for(var e in i)["default"].indexOf(e)<0&&function(t){a.d(o,t,(function(){return i[t]}))}(e);o["default"]=n.a},6859:function(t,o,a){},"74bc":function(t,o,a){"use strict";a.d(o,"b",(function(){return n})),a.d(o,"c",(function(){return e})),a.d(o,"a",(function(){return i}));var i={easyLoadimage:function(){return a.e("components/easy-loadimage/easy-loadimage").then(a.bind(null,"a9c6"))}},n=function(){var t=this,o=t.$createElement,a=(t._self._c,t.__get_style([t.pointsMallWrapStyle])),i=t.__get_style([t.pointsMallStyle,t.goodsWrapperStyle]),n=t.__get_style([t.headerStyle]),e=t.dataConfig.titleConfig.tabVal?t.__get_style([t.titleStyle]):null,l=t.__get_style([t.buttonStyle]),r=0==t.dataConfig.goodStyleConfig.tabVal?t.__map(t.goodsList,(function(o,a){var i=t.__get_orig(o),n=t.__get_style([t.priceBoxStyle]);return{$orig:i,s5:n}})):null,g=0!=t.dataConfig.goodStyleConfig.tabVal&&1==t.dataConfig.goodStyleConfig.tabVal?t.__map(t.goodsList,(function(o,a){var i=t.__get_orig(o),n=t.__get_style([t.priceBoxStyle]),e=t.__get_style([t.numStyle]),l=t.__get_style([t.numStyle]),r=t.__get_style([t.goodsTitleStyle]);return{$orig:i,s6:n,s7:e,s8:l,s9:r}})):null,s=0!=t.dataConfig.goodStyleConfig.tabVal&&1!=t.dataConfig.goodStyleConfig.tabVal&&2==t.dataConfig.goodStyleConfig.tabVal?t.__map(t.goodsList,(function(o,a){var i=t.__get_orig(o),n=t.__get_style([t.goodsTitleStyle]),e=t.__get_style([t.priceBoxStyle]),l=t.__get_style([t.numStyle]),r=t.__get_style([t.numStyle]);return{$orig:i,s10:n,s11:e,s12:l,s13:r}})):null;t.$mp.data=Object.assign({},{$root:{s0:a,s1:i,s2:n,s3:e,s4:l,l0:r,l1:g,l2:s}})},e=[]}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'pages/index/components/pointsMall-create-component',
|
|
{
|
|
'pages/index/components/pointsMall-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('df3c')['createComponent'](__webpack_require__("4f5b"))
|
|
})
|
|
},
|
|
[['pages/index/components/pointsMall-create-component']]
|
|
]);
|
|
|