12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/promotionList"],{"12d4":function(t,o,i){"use strict";i.r(o);var e=i("e6d0"),n=i.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){i.d(o,t,(function(){return e[t]}))}(a);o["default"]=n.a},"5b4e":function(t,o,i){"use strict";i.r(o);var e=i("bbfd"),n=i("12d4");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(o,t,(function(){return n[t]}))}(a);i("d206");var s=i("f0c5"),r=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);o["default"]=r.exports},ae9f:function(t,o,i){},bbfd:function(t,o,i){"use strict";i.d(o,"b",(function(){return e})),i.d(o,"c",(function(){return n})),i.d(o,"a",(function(){}));var e=function(){var t=this.$createElement,o=(this._self._c,this.tempArr.length);this.$mp.data=Object.assign({},{$root:{g0:o}})},n=[]},d206:function(t,o,i){"use strict";var e=i("ae9f"),n=i.n(e);n.a},e6d0:function(t,o,i){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e=i("f8b7"),n={name:"promotionList",props:{dataConfig:{type:Object,default:function(){}},isSortType:{type:String|Number,default:0},productVideoStatus:{type:Boolean,default:!1}},data:function(){return{tempArr:[],iSshowH:!1,ProductNavindex:0,explosiveMoney:this.dataConfig.tabConfig.list,mbConfig:this.dataConfig.mbConfig.val,themeColor:this.dataConfig.themeColor.color[0].item,titleShow:this.dataConfig.titleShow.val,opriceShow:this.dataConfig.opriceShow.val,priceShow:this.dataConfig.priceShow.val,couponShow:this.dataConfig.couponShow.val,fontColor:this.dataConfig.fontColor.color?this.dataConfig.fontColor.color[0].item:"",labelColor:this.dataConfig.labelColor.color?this.dataConfig.labelColor.color[0].item:"",txtColor:this.dataConfig.txtColor.color?this.dataConfig.txtColor.color[0].item:"",infoColor:this.dataConfig.infoColor.color?this.dataConfig.infoColor.color[0].item:"",limit:this.$config.LIMIT,canPlay:!1,autoplay:!1}},watch:{tempArr:function(){var o=this;this.$nextTick((function(){o.productVideoStatus&&t.getNetworkType({success:function(t){["wifi","unknown"].includes(t.networkType)&&o.observeVideo(),["2g","3g","4g","5g"].includes(t.networkType)&&(o.$store.state.app.autoplay?o.observeVideo():o.$eventHub.$emit("confirm_video_status"))}})}))}},created:function(){var t=this;this.$eventHub.$on("product_video_observe",(function(){t.observeVideo()})),this.productslist()},mounted:function(){},methods:{observeVideo:function(){this.autoplay=!0},changeTab:function(){this.tempArr=[];this.productslist(!0)},productslist:function(t){var o=this,i=this.explosiveMoney[this.ProductNavindex],n=(this.$config.LIMIT,{});n=1==i.tabVal?{ids:i.goodsList.ids.join(",")}:{priceOrder:2==i.goodsSort?"desc":"",salesOrder:1==i.goodsSort?"desc":"",selectId:i.selectConfig.activeValue[i.selectConfig.activeValue.length-1]||0,store_label_id:i.goodsLabel.activeValue.join(",")||"",limit:i.numConfig.val},t&&this.$set(this,"iSshowH",!0),(0,e.getProductslist)(n).then((function(t){o.$set(o,"iSshowH",!1),o.tempArr=t.data}))},ProductNavTab:function(t){this.ProductNavindex=t,this.changeTab()},goDetail:function(t){this.$emit("detail",t)}}};o.default=n}).call(this,i("543d")["default"])}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'pages/index/components/promotionList-create-component',
- {
- 'pages/index/components/promotionList-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('543d')['createComponent'](__webpack_require__("5b4e"))
- })
- },
- [['pages/index/components/promotionList-create-component']]
- ]);
|