mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-19 22:58:13 +00:00
11 lines
10 KiB
JavaScript
11 lines
10 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/visualization/index"],{"08ae":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t("f37e"),i=t("e377"),a=t("c159"),c=t("26cb"),s=t("b2cd"),u=t("376f"),l=(t("f9f5"),r(t("5411")));function r(n){return n&&n.__esModule?n:{default:n}}var d=function(){Promise.all([t.e("common/vendor"),t.e("components/couponWindow/index")]).then(function(){return resolve(t("50978"))}.bind(null,t)).catch(t.oe)},f=function(){t.e("components/indexGoods/index").then(function(){return resolve(t("fdad"))}.bind(null,t)).catch(t.oe)},h=function(){t.e("pages/index/visualization/components/headerSerch").then(function(){return resolve(t("f662"))}.bind(null,t)).catch(t.oe)},g=function(){t.e("pages/index/visualization/components/swiperBg").then(function(){return resolve(t("c01e"))}.bind(null,t)).catch(t.oe)},p=function(){t.e("pages/index/visualization/components/menus").then(function(){return resolve(t("066a"))}.bind(null,t)).catch(t.oe)},v=function(){t.e("pages/index/visualization/components/news").then(function(){return resolve(t("c0d1"))}.bind(null,t)).catch(t.oe)},m=function(){t.e("pages/index/visualization/components/activity").then(function(){return resolve(t("3c0f"))}.bind(null,t)).catch(t.oe)},b=function(){t.e("pages/index/visualization/components/scrollBox").then(function(){return resolve(t("7f4b"))}.bind(null,t)).catch(t.oe)},S=function(){t.e("pages/index/visualization/components/recommend").then(function(){return resolve(t("7861"))}.bind(null,t)).catch(t.oe)},x=function(){t.e("pages/index/visualization/components/popular").then(function(){return resolve(t("0e46"))}.bind(null,t)).catch(t.oe)},w=function(){t.e("pages/index/visualization/components/mBanner").then(function(){return resolve(t("6a5c"))}.bind(null,t)).catch(t.oe)},B=function(){t.e("pages/index/visualization/components/newGoods").then(function(){return resolve(t("04cd"))}.bind(null,t)).catch(t.oe)},T=function(){t.e("pages/index/visualization/components/promotion").then(function(){return resolve(t("d76d"))}.bind(null,t)).catch(t.oe)},y=function(){t.e("pages/index/visualization/components/alive").then(function(){return resolve(t("ec2e"))}.bind(null,t)).catch(t.oe)},C=function(){t.e("pages/index/visualization/components/adsRecommend").then(function(){return resolve(t("98e8"))}.bind(null,t)).catch(t.oe)},z=function(){t.e("pages/index/visualization/components/coupon").then(function(){return resolve(t("3d9d"))}.bind(null,t)).catch(t.oe)},L=function(){t.e("pages/index/visualization/components/seckill").then(function(){return resolve(t("0037"))}.bind(null,t)).catch(t.oe)},P=function(){t.e("pages/index/visualization/components/combination").then(function(){return resolve(t("d013"))}.bind(null,t)).catch(t.oe)},I=function(){t.e("pages/index/visualization/components/bargain").then(function(){return resolve(t("9ee7"))}.bind(null,t)).catch(t.oe)},_=function(){t.e("pages/index/visualization/components/goodList").then(function(){return resolve(t("5634"))}.bind(null,t)).catch(t.oe)},D=function(){t.e("pages/index/visualization/components/picTxt").then(function(){return resolve(t("ea7d"))}.bind(null,t)).catch(t.oe)},N=function(){t.e("pages/index/visualization/components/titles").then(function(){return resolve(t("cd8a"))}.bind(null,t)).catch(t.oe)},k=function(){t.e("pages/index/visualization/components/customerService").then(function(){return resolve(t("b37a"))}.bind(null,t)).catch(t.oe)},E=function(){Promise.all([t.e("common/vendor"),t.e("pages/index/visualization/components/tabBar")]).then(function(){return resolve(t("9f7a"))}.bind(null,t)).catch(t.oe)},G=function(){t.e("pages/index/visualization/components/tabNav").then(function(){return resolve(t("c523"))}.bind(null,t)).catch(t.oe)},O=function(){t.e("components/update/app-update").then(function(){return resolve(t("988e"))}.bind(null,t)).catch(t.oe)},R=function(){t.e("components/Loading/index").then(function(){return resolve(t("a74a"))}.bind(null,t)).catch(t.oe)},U=function(){t.e("components/goodsWaterfall/goodsWaterfall").then(function(){return resolve(t("3b0d"))}.bind(null,t)).catch(t.oe)},H=function(){t.e("pages/index/visualization/components/skeleton").then(function(){return resolve(t("eac9"))}.bind(null,t)).catch(t.oe)},M=getApp(),$=n.getSystemInfoSync().statusBarHeight,A={computed:(0,c.mapGetters)(["isLogin","uid"]),components:{couponWindow:d,headerSerch:h,swiperBg:g,menus:p,news:v,activity:m,scrollBox:b,recommend:S,popular:x,mBanner:w,newGoods:B,promotion:T,alive:y,adsRecommend:C,coupon:z,seckill:L,combination:P,bargain:I,goodList:_,picTxt:D,titles:N,customerService:k,tabBar:E,tabNav:G,Loading:R,goodsWaterfall:U,skeletons:H,indexGoods:f,appUpdate:O},mixins:[l.default],data:function(){return{showSkeleton:!0,isNodes:0,isSortType:0,sortList:{},sortAll:[],goodPage:1,goodLists:[],curSort:0,sortMpTop:0,loaded:!1,hostProduct:[],hotScroll:!1,hotPage:1,hotLimit:10,followHid:!0,followUrl:"",followCode:!1,navH:$,subscribe:!1,iShidden:!1,goodType:3,loading:!1,loadend:!1,loadTitle:"下拉加载更多",page:1,limit:this.$config.LIMIT,numConfig:0,couponObj:{},isCouponShow:!1,shareInfo:{},site_config:"",isIframe:M.globalData.isIframe,headerSerch:{},swiperBg:{},menus:{},news:{},activity:{},alive:{},scrollBox:{},titles:{},goodList:{},tabBar:{},customerService:{},picTxt:{},bargain:{},combination:{},adsRecommend:{},seckill:{},coupon:{},tabNav:{},isBorader:"",domOffsetTop:50,isTop:0,privacyStatus:!1,isFixed:!1}},created:function(){var e=this;n.hideTabBar();this.diyData(),this.getIndexData(),this.$Cache.get(i.TIPS_KEY)&&(this.iShidden=!0),this.getTemlIds(),(0,a.siteConfig)().then((function(n){e.site_config=n.data.record_No})).catch((function(n){return e.$util.Tips({title:n.msg})}));var t=n.createSelectorQuery().in(this);t.select(".mp-header").boundingClientRect((function(n){e.isTop=n.top})).exec(),M.globalData.isIframe||this.isLogin&&this.getCoupon()},methods:{bindEdit:function(n,e){M.globalData.isIframe&&window.parent.postMessage({name:n,dataName:e,params:{}},"*")},getFollow:function(){var n=this;(0,o.follow)().then((function(e){n.followUrl=e.data.path})).catch((function(e){return n.$util.Tips({title:e.msg})}))},followTap:function(){this.followCode=!0,this.followHid=!1},closeFollow:function(){this.followHid=!1},closeFollowCode:function(){this.followCode=!1,this.followHid=!0},closeTip:function(){this.$Cache.set(i.TIPS_KEY,!0),this.iShidden=!0},bindHeighta:function(n){this.domOffsetTop=n.top-110},getCoupon:function(){var e=this,t=n.getStorageSync("tagDate")||"",o=(new Date).toLocaleDateString();t===o?this.getNewCoupon():(0,a.getCouponV2)().then((function(t){var o=t.data;o.list.length?(e.isCouponShow=!0,e.couponObj=o,n.setStorageSync("tagDate",(new Date).toLocaleDateString())):e.getNewCoupon()}))},getNewCoupon:function(){var e=this,t=n.getStorageSync("oldUser")||0;t||(0,a.getCouponNewUser)().then((function(t){var o=t.data;o.show?o.list.length&&(e.isCouponShow=!0,e.couponObj=o,n.setStorageSync("oldUser",1)):n.setStorageSync("oldUser",1)}))},couponClose:function(){this.isCouponShow=!1,n.getStorageSync("oldUser")||this.getNewCoupon()},getTemlIds:function(){var n=wx.getStorageSync(i.SUBSCRIBE_MESSAGE);n||(0,a.getTemlIds)().then((function(n){n.data&&wx.setStorageSync(i.SUBSCRIBE_MESSAGE,JSON.stringify(n.data))}))},goICP:function(){n.navigateTo({url:"/pages/annex/web_view/index?url=https://beian.miit.gov.cn/"})},onLoadFun:function(){},diyData:function(){var n=this,e=this;(0,a.getDiy)().then((function(t){var o=t.data;e.headerSerch=o.headerSerch,e.swiperBg=o.swiperBg,e.menus=o.menus,e.news=o.news,e.activity=o.activity,e.alive=o.alive,e.scrollBox=o.scrollBox,e.titles=o.titles,e.goodList=o.goodList,e.tabNav=o.tabNav,e.tabBar=o.tabBar,e.customerService=o.customerService,e.picTxt=o.picTxt,e.bargain=o.bargain,e.combination=o.combination,e.adsRecommend=o.adsRecommend,e.seckill=o.seckill,e.coupon=o.coupon,n.$Cache.set("TAB_BAR",o.tabBar.default.tabBarList),setTimeout((function(){n.showSkeleton=!1}),1e3)}))},getIndexData:function(){var e=this;(0,a.getIndexData)().then((function(t){e.subscribe=t.data.subscribe,n.setNavigationBarTitle({title:t.data.site_name})}))},get_host_product:function(){var n=this;n.hotScroll||(0,s.getProductHot)(n.hotPage,n.hotLimit).then((function(e){n.hotPage++,n.hotScroll=e.data.length<n.hotLimit,n.hostProduct=n.hostProduct.concat(e.data)}))},bindSortId:function(n){this.isSortType=-99==n?0:1,this.getProductList(n)},getProductList:function(n){this.curSort=0,this.loaded=!1,this.goodPage=1,this.getGoodsList(n)},getGoodsList:function(n){var e=this;this.loading||this.loaded||(this.loading=!0,(0,s.getProductslist)({keyword:"",priceOrder:"",salesOrder:"",news:0,page:this.goodPage,limit:10,cid:n}).then((function(n){e.goodLists=n.data,e.loading=!1,e.loaded=n.data.length<10,e.goodPage++})))},goGoodsDetail:function(e){var t=this;(0,u.goPage)().then((function(o){(0,u.goShopDetail)(e,t.uid).then((function(t){n.navigateTo({url:"/pages/goods_details/index?id=".concat(e.id)})}))}))}},onReachBottom:function(){},onPageScroll:function(n){}};e.default=A}).call(this,t("543d")["default"])},"0a11":function(n,e,t){"use strict";var o;t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){return o}));var i=function(){var n=this,e=n.$createElement;n._self._c},a=[]},"4a72":function(n,e,t){},"8d3c":function(n,e,t){"use strict";t.r(e);var o=t("08ae"),i=t.n(o);for(var a in o)"default"!==a&&function(n){t.d(e,n,(function(){return o[n]}))}(a);e["default"]=i.a},"8d42":function(n,e,t){"use strict";t.r(e);var o=t("0a11"),i=t("8d3c");for(var a in i)"default"!==a&&function(n){t.d(e,n,(function(){return i[n]}))}(a);t("cab3");var c,s=t("f0c5"),u=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"3c8a6a76",null,!1,o["a"],c);e["default"]=u.exports},cab3:function(n,e,t){"use strict";var o=t("4a72"),i=t.n(o);i.a}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'pages/index/visualization/index-create-component',
|
|
{
|
|
'pages/index/visualization/index-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('543d')['createComponent'](__webpack_require__("8d42"))
|
|
})
|
|
},
|
|
[['pages/index/visualization/index-create-component']]
|
|
]);
|