(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-swiper/u-swiper"],{"04a0":function(e,t,n){"use strict";n.r(t);var i=n("3863"),u=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=u.a},"36b4":function(e,t,n){"use strict";var i=n("d9f2"),u=n.n(i);u.a},3863:function(e,t,n){"use strict";(function(e){var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u,o=i(n("7037")),r=i(n("36c9")),a=n("466c"),d={name:"u-swiper",mixins:[e.$u.mpMixin,e.$u.mixin,r.default],data:function(){return{currentIndex:0,picBase:this.$picBase}},watch:{current:function(e,t){e!==t&&(this.currentIndex=e)}},computed:{itemStyle:function(){var t=this;return function(n){var i={};return t.nextMargin&&t.previousMargin&&(i.borderRadius=e.$u.addUnit(t.radius),n!==t.currentIndex&&(i.transform="scale(0.92)")),i}}},onLoad:function(){},methods:{call:function(t){e.makePhoneCall({phoneNumber:t})},daohang:function(t){u=new a({key:"W4IBZ-EVOCV-GJVPF-5QVLU-5ZJTJ-CNFUD"}),u.geocoder({address:t,success:function(n){console.log("根据地名解析得到的经纬度信息：",n),e.openLocation({name:t,address:n.result.address_components.province+n.result.address_components.city+n.result.address_components.district+n.result.address_components.street+n.result.address_components.street_number+"号",latitude:n.result.location.lat,longitude:n.result.location.lng,success:function(){console.log("success")}})},complete:function(e){}})},getItemType:function(t){return"string"===typeof t?e.$u.test.video(this.getSource(t))?"video":"image":"object"===(0,o.default)(t)&&this.keyName?t.type?"image"===t.type?"image":"video"===t.type?"video":"image":e.$u.test.video(this.getSource(t))?"video":"image":void 0},getSource:function(t){return"string"===typeof t?t:"object"===(0,o.default)(t)&&this.keyName?this.picBase+t[this.keyName]:(e.$u.error("请按格式传递列表参数"),"")},change:function(e){var t=e.detail.current;this.pauseVideo(this.currentIndex),this.currentIndex=t,this.$emit("change",e.detail)},pauseVideo:function(t){var n=this.getSource(this.list[t]);if(e.$u.test.video(n)){var i=e.createVideoContext("video-".concat(t),this);i.pause()}},getPoster:function(e){return"object"===(0,o.default)(e)&&e.poster?e.poster:""},clickHandler:function(e){this.$emit("click",e)}}};t.default=d}).call(this,n("543d")["default"])},8499:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uLoadingIcon:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-loading-icon/u-loading-icon")]).then(n.bind(null,"6669"))},uSwiperIndicator:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-swiper-indicator/u-swiper-indicator")]).then(n.bind(null,"3877"))}},u=function(){var e=this,t=e.$createElement,n=(e._self._c,e.$u.addUnit(e.height)),i=e.$u.addUnit(e.radius),u=e.loading||"img"!=e.type?null:e.$u.addUnit(e.height),o=e.loading||"img"!=e.type?null:e.$u.addUnit(e.previousMargin),r=e.loading||"img"!=e.type?null:e.$u.addUnit(e.nextMargin),a=e.loading||"img"!=e.type?null:e.__map(e.list,(function(t,n){var i=e.__get_orig(t),u=e.__get_style([e.itemStyle(n)]),o=e.getItemType(t),r="image"===o?e.$u.addUnit(e.height):null,a="image"===o?e.getSource(t):null,d=e.getItemType(t),s="video"===d?e.$u.addUnit(e.height):null,l="video"===d?e.getSource(t):null,c="video"===d?e.getPoster(t):null,g="video"===d?e.showTitle&&e.$u.test.object(t)&&t.title:null,f=e.showTitle&&e.$u.test.object(t)&&t.title&&e.$u.test.image(e.getSource(t));return{$orig:i,s0:u,m0:o,g5:r,m1:a,m2:d,g6:s,m3:l,m4:c,g7:g,g8:f}})),d=e.loading||"def"!=e.type?null:e.$u.addUnit(e.height),s=e.loading||"def"!=e.type?null:e.$u.addUnit(e.previousMargin),l=e.loading||"def"!=e.type?null:e.$u.addUnit(e.nextMargin),c=e.loading||"def"!=e.type?null:e.__map(e.defList,(function(t,n){var i=e.__get_orig(t),u=e.__get_style([e.itemStyle(n)]),o=e.$u.addUnit(e.height);return{$orig:i,s1:u,g12:o}})),g=e.__get_style([e.$u.addStyle(e.indicatorStyle)]),f=e.loading||!e.indicator||e.showTitle?null:e.list.length;e.$mp.data=Object.assign({},{$root:{g0:n,g1:i,g2:u,g3:o,g4:r,l0:a,g9:d,g10:s,g11:l,l1:c,s2:g,g13:f}})},o=[]},b273:function(e,t,n){"use strict";n.r(t);var i=n("8499"),u=n("04a0");for(var o in u)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return u[e]}))}(o);n("36b4");var r=n("f0c5"),a=Object(r["a"])(u["default"],i["b"],i["c"],!1,null,"247c46d5",null,!1,i["a"],void 0);t["default"]=a.exports},d9f2:function(e,t,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uni_modules/uview-ui/components/u-swiper/u-swiper-create-component',
    {
        'uni_modules/uview-ui/components/u-swiper/u-swiper-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("b273"))
        })
    },
    [['uni_modules/uview-ui/components/u-swiper/u-swiper-create-component']]
]);
