公司小程序
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.7 KiB

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