公司小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
3.8 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/BusinessStyle/BusinessStyle"],{249:function(e,n,t){"use strict";(function(e){t(3);i(t(2));var n=i(t(250));function i(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(0)["createPage"])},250:function(e,n,t){"use strict";t.r(n);var i=t(67),o=t(49);for(var a in o)"default"!==a&&function(e){t.d(n,e,(function(){return o[e]}))}(a);t(251);var u,s=t(1),r=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"db6eb32c",null,!1,i["a"],u);r.options.__file="pages/BusinessStyle/BusinessStyle.vue",n["default"]=r.exports},251:function(e,n,t){"use strict";var i=t(51),o=t.n(i);o.a},49:function(e,n,t){"use strict";t.r(n);var i=t(50),o=t.n(i);for(var a in i)"default"!==a&&function(e){t.d(n,e,(function(){return i[e]}))}(a);n["default"]=o.a},50:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=t(4),o=a(t(6));function a(e){return e&&e.__esModule?e:{default:e}}var u=getApp().globalData.mainPageData,s=getApp().globalData.Define,r={onLoad:function(n){var t,a=this;this.index=null!==(t=Number(n.index))&&void 0!==t?t:0;var r=u.isMoreBusinessStyleGot,l="pages/newsmorebrandstyle";1==this.index&&(l="pages/newsmorebusdyna",r=u.isMoreBusinessDynamicGot),r||(e.showLoading({}),(0,i.post)(l,{pagecount:100,pageindex:1}).then((function(n){e.hideLoading();var t=s.onNetMessage(n);if(t){for(var i=[],r=t.morenews,l=0;l<r.length;l++){var c=r[l],d=new o.default;for(var m in c)d[m]=c[m];i.push(d)}0==a.index?(u.brandstyle=i,u.isMoreBusinessStyleGot=!0):(u.busdyna=i,u.isMoreBusinessDynamicGot=!0)}})))},data:function(){return{index:0,mainPageData:u}},methods:{getTitle:function(){return 0==this.index?"品牌风采":"业务动态"},onBackTouched:function(){e.navigateBack({})},getItemsToShow:function(){return 0==this.index?this.mainPageData.brandstyle:this.mainPageData.busdyna},onTouchOneItem:function(n){var t=this.getItemsToShow(),i=t[n];i&&(getApp().globalData.showingSkipData=i,e.navigateTo({url:"/pages/SkipView/SkipView"}))},onChangeTime:function(e){return this.$utils.formatTime(e)}}};n.default=r}).call(this,t(0)["default"])},51:function(e,n,t){},67:function(e,n,t){"use strict";var i;t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return i}));try{i={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,504))},uList:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-list/u-list")]).then(t.bind(null,512))},uListItem:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-list-item/u-list-item")]).then(t.bind(null,513))},uLine:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-line/u-line")]).then(t.bind(null,505))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement,t=(e._self._c,e.getTitle()),i=e.__map(e.getItemsToShow(),(function(n,t){var i=e.__get_orig(n),o=e.onChangeTime(n.inserttime);return{$orig:i,m1:o}}));e._isMounted||(e.e0=function(n,t){var i=arguments[arguments.length-1].currentTarget.dataset,o=i.eventParams||i["event-params"];t=o.index;return e.onTouchOneItem(t)}),e.$mp.data=Object.assign({},{$root:{m0:t,l0:i}})},a=[];o._withStripped=!0}},[[249,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/BusinessStyle/BusinessStyle.js.map