(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/homeIndex/swiperBg"],{"3c60":function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;i("9592");var e=getApp(),a={name:"swiperBg",props:{dataConfig:{type:Object,default:function(){}},merId:{}},data:function(){return{indicatorDots:!1,imgUrls:[],txtStyle:this.dataConfig.txtStyle.type,imageH:310,swiperCur:0,themeColor:this.$options.filters.filterTheme(e.globalData.theme)}},watch:{imageH:function(t,n){this.imageH=t}},computed:{dotStyle:function(){return{padding:"0 50rpx",justifyContent:1===this.dataConfig.txtStyle.tabVal?"center":2===this.dataConfig.txtStyle.tabVal?"flex-end":"flex-start"}},docType:function(){return this.dataConfig.docConfig.tabVal},swiperType:function(){return this.dataConfig.swiperStyleConfig.tabVal},boxStyle:function(){return{borderRadius:2*this.dataConfig.bgStyle.val+"rpx",background:"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 20rpx "+2*this.dataConfig.downConfig.val+"rpx"}},docColor:function(){return this.dataConfig.docColor.color[0].item+"!important"},docConfig:function(){return 1==this.dataConfig.docConfig.tabVal?"square":2==this.dataConfig.docConfig.tabVal?"nodoc":"circular"},imgStyle:function(){return{"border-radius":2*this.dataConfig.contentStyle.val+"rpx"}}},created:function(){this.imgUrls=this.dataConfig.swiperConfig.list},mounted:function(){var n=this;this.$nextTick((function(){t.getImageInfo({src:n.setDomain(n.imgUrls[0].img),success:function(t){n.$set(n,"imageH",t.height)},fail:function(t){n.$set(n,"imageH",310)}})}))},methods:{setDomain:function(t){return t=t?t.toString():"",t.indexOf("https://")>-1?t:t.replace("http://","https://")},swiperChange:function(t){var n=t.detail,i=(n.current,n.source);"autoplay"!==i&&"touch"!==i||(this.swiperCur=t.detail.current)},goDetail:function(t){var n=t.info[1].value;this.$util.navigateTo(n)}}};n.default=a}).call(this,i("df3c")["default"])},"5a90":function(t,n,i){},"691b":function(t,n,i){"use strict";i.r(n);var e=i("af9d"),a=i("ac30");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(o);i("a7f7");var r=i("828b"),l=Object(r["a"])(a["default"],e["b"],e["c"],!1,null,"929d1512",null,!1,e["a"],void 0);n["default"]=l.exports},a7f7:function(t,n,i){"use strict";var e=i("5a90"),a=i.n(e);a.a},ac30:function(t,n,i){"use strict";i.r(n);var e=i("3c60"),a=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(o);n["default"]=a.a},af9d:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return a})),i.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,i=(t._self._c,t.__get_style([t.boxStyle])),e=t.imgUrls.length,a=e?0==t.swiperType&&t.imgUrls.length>1:null,o=e?0==t.swiperType&&t.imgUrls.length>1:null,r=e?t.__map(t.imgUrls,(function(n,i){var e=t.__get_orig(n),a=t.__get_style([t.imgStyle]);return{$orig:e,s1:a}})):null,l=e&&0===t.docType?t.__get_style([t.dotStyle]):null,s=e&&1===t.docType?t.__get_style([t.dotStyle]):null;t.$mp.data=Object.assign({},{$root:{s0:i,g0:e,g1:a,g2:o,l0:r,s2:l,s3:s}})},a=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/homeIndex/swiperBg-create-component',
    {
        'components/homeIndex/swiperBg-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("691b"))
        })
    },
    [['components/homeIndex/swiperBg-create-component']]
]);
