combination.js 3.5 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/visualization/components/combination"],{"03ad":function(t,e,i){"use strict";i.r(e);var n=i("4a4e"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},3388:function(t,e,i){"use strict";var n=i("f503"),a=i.n(n);a.a},"4a4e":function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("6557"),a=i("2a39"),o=getApp(),s={name:"combination",props:{dataConfig:{type:Object,default:function(){}}},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.titleInfo.type),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.productslist())}}},data:function(){return{combinationList:[],name:this.$options.name,isIframe:o.globalData.isIframe,isShow:!0,selectType:0,selectId:"",salesOrder:"",newsOrder:"",ids:"",page:1,limit:this.$config.LIMIT,type:"",numConfig:0}},created:function(){},mounted:function(){},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,a.getHomeProducts)(e).then((function(e){t.combinationList=e.data.list})).catch((function(e){t.$util.Tips({title:e})}))},goDetail:function(e){(0,n.goPage)(e).then((function(i){t.navigateTo({url:"/pages/activity/goods_combination_details/index?id=".concat(e.id)})}))}}};e.default=s}).call(this,i("543d")["default"])},"615e":function(t,e,i){"use strict";i.r(e);var n=i("ca32"),a=i("03ad");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("3388");var s=i("f0c5"),l=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=l.exports},ca32:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=(t._self._c,t.isIframe&&!t.combinationList.length),n=i?t.$t("拼团模块,暂无数据"):null,a=t.combinationList.length&&t.isShow&&!t.isIframe,o=a?t.$t("拼团活动"):null,s=a?t.$t("享超值开团价"):null,l=a?t.$t("更多"):null,c=a?t.__map(t.combinationList,(function(e,i){var n=t.__get_orig(e),a=t.$t("拼团价"),o=t.$t("¥"),s=t.$t("参与拼团");return{$orig:n,m4:a,m5:o,m6:s}})):null,u=t.combinationList.length&&t.isIframe,r=u?t.$t("拼团活动"):null,d=u?t.$t("享超值开团价"):null,f=u?t.$t("更多"):null,m=u?t.__map(t.combinationList,(function(e,i){var n=t.__get_orig(e),a=t.$t("拼团价"),o=t.$t("¥"),s=t.$t("参与拼团");return{$orig:n,m10:a,m11:o,m12:s}})):null;t.$mp.data=Object.assign({},{$root:{g0:i,m0:n,g1:a,m1:o,m2:s,m3:l,l0:c,g2:u,m7:r,m8:d,m9:f,l1:m}})},a=[]},f503:function(t,e,i){}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'pages/index/visualization/components/combination-create-component',
  4. {
  5. 'pages/index/visualization/components/combination-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("615e"))
  7. })
  8. },
  9. [['pages/index/visualization/components/combination-create-component']]
  10. ]);