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.

11 lines
2.8 KiB

8 months ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/shop-banner"],{"2c7e":function(n,t,e){"use strict";e.r(t);var i=e("42b0"),o=e.n(i);for(var r in i)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(r);t["default"]=o.a},"42b0":function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=e("8f59"),o={props:{detail:{type:Object,default:function(){return{}}},isShare:{type:Boolean,default:function(){return!1}},setCurrent:{type:Number,default:function(){return 0}}},watch:{"detail.images":function(n,t){this.current=0}},data:function(){return{statusBarHeight:n.getSystemInfoSync().statusBarHeight,videoContexts:{},playVideo:!1,current:0}},computed:(0,i.mapState)({primaryColor:function(n){return n.config.configInfo.primaryColor},subColor:function(n){return n.config.configInfo.subColor},configInfo:function(n){return n.config.configInfo},userInfo:function(n){return n.user.userInfo}}),created:function(){this.videoContexts=n.createVideoContext("video_id",this)},methods:{handerSwiperChange:function(n){var t=n.detail.current;this.current=t,this.videoContexts.pause(),this.playVideo=!1},swiperTransition:function(n){},playCurrent:function(){this.videoContexts.play(),this.playVideo=!0},onPlay:function(n){},onPause:function(n){},onEnded:function(n){},onError:function(n){},onTimeUpdate:function(n){},onWaiting:function(n){},onProgress:function(n){},onLoadedMetaData:function(n){},handerBannerClick:function(n){var t=this.detail,e=t.image_url,i=t.video_url,o=void 0===i?"":i;0==n&&o?this.playVideo=!0:e&&this.$util.goUrl({openType:"web",url:e})},goBack:function(){n.navigateBack({delta:1})}}};t.default=o}).call(this,e("df3c")["default"])},ad35:function(n,t,e){"use strict";e.r(t);var i=e("bab4"),o=e("2c7e");for(var r in o)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(r);e("ea08");var a=e("828b"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=u.exports},bab4:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){}));var i=function(){var n=this.$createElement,t=(this._self._c,!this.playVideo&&this.detail.images.length),e=t?this.detail.images.length:null;this.$mp.data=Object.assign({},{$root:{g0:t,g1:e}})},o=[]},ea08:function(n,t,e){"use strict";var i=e("f628"),o=e.n(i);o.a},f628:function(n,t,e){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/shop-banner-create-component',
{
'components/shop-banner-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("ad35"))
})
},
[['components/shop-banner-create-component']]
]);