(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/homeIndex/hotSpot"],{"015e":function(t,n,i){},"0ff5":function(t,n,i){"use strict";var o=i("015e"),e=i.n(o);e.a},"1cf5":function(t,n,i){"use strict";i.d(n,"b",(function(){return o})),i.d(n,"c",(function(){return e})),i.d(n,"a",(function(){}));var o=function(){var t=this,n=t.$createElement,i=(t._self._c,t.dataConfig?t.__get_style([t.boxStyle]):null),o=t.dataConfig&&0===t.style?t.__map(t.picList,(function(n,i){var o=t.__get_orig(n),e=n.image?t.__get_style([t.contentStyle]):null,a=t.__map(t.dataConfig.checkoutConfig.hotspot,(function(n,i){var o=t.__get_orig(n),e=Number(t.spotIndex*n.starY),a=Number(t.spotIndex*n.starX),r=Number(t.spotIndex*n.areaWidth),f=Number(t.spotIndex*n.areaHeight);return{$orig:o,m0:e,m1:a,m2:r,m3:f}}));return{$orig:o,s1:e,l0:a}})):null;t._isMounted||(t.e0=function(n,i){var o=arguments[arguments.length-1].currentTarget.dataset,e=o.eventParams||o["event-params"];i=e.item;!t.dataConfig.checkoutConfig.hotspot.length&&t.goDetail(i)}),t.$mp.data=Object.assign({},{$root:{s0:i,l1:o}})},e=[]},6157:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={name:"hotSpot",props:{dataConfig:{type:Object,default:function(){}}},data:function(){return{picList:this.dataConfig.picStyle.picList,style:this.dataConfig.tabConfig.tabVal,prConfig:this.dataConfig.lrConfig.val,igConfig:this.dataConfig.igConfig.val}},computed:{boxStyle:function(){return{borderRadius:2*this.dataConfig.bgStyle.val+"rpx",backgroundImage:"linear-gradient(".concat(this.dataConfig.bgColor.color[0].item,", ").concat(this.dataConfig.bgColor.color[1].item,")"),margin:2*this.dataConfig.mbConfig.val+"rpx "+2*this.dataConfig.lrConfig.val+"rpx 0",padding:2*this.dataConfig.upConfig.val+"rpx 0 "+2*this.dataConfig.downConfig.val+"rpx"}},contentStyle:function(){return{borderRadius:2*this.dataConfig.contentStyle.val+"rpx"}},spotIndex:function(){return(750-4*this.dataConfig.lrConfig.val)/456},twoImgStyle:function(){return{width:(750-2*this.igConfig-4*this.prConfig)/2+"rpx",height:(750-2*this.igConfig-4*this.prConfig)/2+"rpx"}},thrOneImgStyle:function(){return{width:(750-4*this.igConfig-4*this.prConfig)/3+"rpx",height:(750-4*this.igConfig-4*this.prConfig)/3+"rpx"}},forOneImgStyle:function(){return{width:(750-6*this.igConfig-4*this.prConfig)/4+"rpx"}},forTwoImgStyle:function(){return{width:(750-2*this.igConfig-4*this.prConfig)/2+"rpx",height:(750-2*this.igConfig-4*this.prConfig)/2+"rpx"}},imgBoxStyle:function(){return{display:this.igConfig?"flex":"","justify-content":this.igConfig?"space-between":""}}},methods:{setDomain:function(t){return t=t?t.toString():"",t.indexOf("https://")>-1?t:t.replace("http://","https://")},goDetail:function(t){this.$util.navigateTo(t.link)}}};n.default=o},"8b18":function(t,n,i){"use strict";i.r(n);var o=i("6157"),e=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return o[t]}))}(a);n["default"]=e.a},9929:function(t,n,i){"use strict";i.r(n);var o=i("1cf5"),e=i("8b18");for(var a in e)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(a);i("0ff5");var r=i("828b"),f=Object(r["a"])(e["default"],o["b"],o["c"],!1,null,"fa1876e0",null,!1,o["a"],void 0);n["default"]=f.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/homeIndex/hotSpot-create-component',
    {
        'components/homeIndex/hotSpot-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("9929"))
        })
    },
    [['components/homeIndex/hotSpot-create-component']]
]);
