scrollBox.js 2.9 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/visualization/components/scrollBox"],{"0b61":function(t,n,i){"use strict";i.r(n);var e=i("4c2f"),a=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(o);n["default"]=a.a},"4c2f":function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=i("6557"),a=i("5743"),o=getApp(),f={name:"scrollBox",props:{dataConfig:{type:Object,default:function(){}}},watch:{dataConfig:{immediate:!0,handler:function(t,n){t&&(this.numConfig=t.numConfig.val,this.isShow=t.isShow.val,this.tabConfig=t.tabConfig?t.tabConfig.tabVal:0,this.selectConfig=t.selectConfig.activeValue||"",this.titleInfo=t.titleInfo.list,this.tabConfig?this.fastList=t.goodsList.list:this.category())}}},created:function(){},mounted:function(){},data:function(){return{fastInfo:this.$t("上百种商品分类任您选择"),fastList:[],name:this.$options.name,isShow:!0,isIframe:o.globalData.isIframe,numConfig:0,selectConfig:0,tabConfig:0,titleInfo:[]}},methods:{gopage:function(n){(0,e.goPage)().then((function(i){t.navigateTo({url:n})}))},category:function(){var t=this;(0,a.category)({pid:this.selectConfig,limit:this.numConfig}).then((function(n){t.fastList=n.data}))}}};n.default=f}).call(this,i("543d")["default"])},6722:function(t,n,i){"use strict";i.r(n);var e=i("bde8"),a=i("0b61");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(o);i("c7fb");var f=i("f0c5"),s=Object(f["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=s.exports},"9eff":function(t,n,i){},bde8:function(t,n,i){"use strict";i.d(n,"b",(function(){return a})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){return e}));var e={easyLoadimage:function(){return Promise.all([i.e("common/vendor"),i.e("components/easy-loadimage/easy-loadimage")]).then(i.bind(null,"cad3"))}},a=function(){var t=this,n=t.$createElement,i=(t._self._c,t.isShow&&t.fastList.length),e=i?t.$t(t.titleInfo[0].val):null,a=i?t.$t(t.titleInfo[1].val):null,o=i?t.$t("更多"):null,f=i?t.__map(t.fastList,(function(n,i){var e=t.__get_orig(n),a=t.$t(n.cate_name);return{$orig:e,m3:a}})):null,s=!t.isShow&&t.isIframe&&t.fastList.length,l=s?t.$t("更多"):null,u=t.isIframe&&!t.fastList.length,c=u?t.$t("更多"):null,r=u?t.$t("快速选择,暂无数据"):null;t.$mp.data=Object.assign({},{$root:{g0:i,m0:e,m1:a,m2:o,l0:f,g1:s,m4:l,g2:u,m5:c,m6:r}})},o=[]},c7fb:function(t,n,i){"use strict";var e=i("9eff"),a=i.n(e);a.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'pages/index/visualization/components/scrollBox-create-component',
  4. {
  5. 'pages/index/visualization/components/scrollBox-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("6722"))
  7. })
  8. },
  9. [['pages/index/visualization/components/scrollBox-create-component']]
  10. ]);