12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/visualization/components/promotion"],{"1b2e":function(t,e,n){"use strict";var i=n("75b1"),o=n.n(i);o.a},"1c41":function(t,e,n){"use strict";n.r(e);var i=n("fc59"),o=n("956b");for(var s in o)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(s);n("1b2e");var a=n("f0c5"),l=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=l.exports},5883:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n("26cb");var i=n("6557"),o=n("2a39"),s=getApp(),a={name:"goodList",props:{dataConfig:{type:Object,default:function(){}}},components:{promotionGood:function(){n.e("components/promotionGood/index").then(function(){return resolve(n("7c52"))}.bind(null,n)).catch(n.oe)}},watch:{dataConfig:{immediate:!0,handler:function(t,e){t&&(this.isShow=t.isShow.val,this.selectType=t.tabConfig.tabVal,this.$set(this,"selectId",t.selectConfig.activeValue||""),this.$set(this,"type",t.selectSortConfig.activeValue),this.salesOrder=1==t.goodsSort.type?"desc":"",this.newsOrder=2==t.goodsSort.type?"news":"",this.ids=t.ids?t.ids.join(","):"",this.numConfig=t.numConfig.val,this.titleInfo=t.titleInfo.list,this.productslist())}}},created:function(){this.isIframe=s.globalData.isIframe},mounted:function(){},data:function(){return{benefit:[],salesInfo:this.$t("库存商品优惠促销活动"),name:this.$options.name,isShow:!0,isIframe:s.globalData.isIframe,selectType:0,selectId:"",salesOrder:"",newsOrder:"",ids:"",page:1,limit:this.$config.LIMIT,type:"",numConfig:0,titleInfo:[]}},methods:{productslist:function(){var t=this,e={};e=t.selectType?{page:t.page,limit:t.limit,type:t.type,ids:t.ids,selectType:t.selectType}:{page:t.page,limit:t.numConfig<=t.limit?t.numConfig:t.limit,type:t.type,newsOrder:t.newsOrder,salesOrder:t.salesOrder,selectId:t.selectId,selectType:t.selectType},(0,o.getHomeProducts)(e).then((function(e){t.benefit=e.data.list})).catch((function(e){t.$util.Tips({title:e})}))},gopage:function(t){var e=this;(0,i.goPage)().then((function(n){e.$util.JumpPath(t)}))}}};e.default=a},"75b1":function(t,e,n){},"956b":function(t,e,n){"use strict";n.r(e);var i=n("5883"),o=n.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=o.a},fc59:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.isShow&&t.benefit.length),i=n?t.$t(t.titleInfo[0].val):null,o=n?t.$t(t.titleInfo[1].val):null,s=n?t.$t("更多"):null,a=!t.isShow&&t.isIframe&&t.benefit.length,l=a?t.$t("更多"):null,c=t.isIframe&&!t.benefit.length,u=c?t.$t("更多"):null,r=c?t.$t("促销单品,暂无数据"):null;t.$mp.data=Object.assign({},{$root:{g0:n,m0:i,m1:o,m2:s,g1:a,m3:l,g2:c,m4:u,m5:r}})},o=[]}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'pages/index/visualization/components/promotion-create-component',
- {
- 'pages/index/visualization/components/promotion-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('543d')['createComponent'](__webpack_require__("1c41"))
- })
- },
- [['pages/index/visualization/components/promotion-create-component']]
- ]);
|