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

1 lines
3.3 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/BusinessStyle/BusinessStyle"],{"07b7":function(e,n,t){"use strict";(function(e){t("d6ad");i(t("66fd"));var n=i(t("6d43"));function i(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t("543d")["createPage"])},"11f6":function(e,n,t){},3916:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=t("7f93"),u=a(t("0145"));function a(e){return e&&e.__esModule?e:{default:e}}var o=getApp().globalData.mainPageData,r=getApp().globalData.Define,s={onLoad:function(n){var t,a=this;this.index=null!==(t=Number(n.index))&&void 0!==t?t:0;var s=o.isMoreBusinessStyleGot,l="pages/newsmorebrandstyle";1==this.index&&(l="pages/newsmorebusdyna",s=o.isMoreBusinessDynamicGot),s||(e.showLoading({}),(0,i.post)(l,{pagecount:100,pageindex:1}).then((function(n){e.hideLoading();var t=r.onNetMessage(n);if(t){for(var i=[],s=t.morenews,l=0;l<s.length;l++){var d=s[l],c=new u.default;for(var f in d)c[f]=d[f];i.push(c)}0==a.index?(o.brandstyle=i,o.isMoreBusinessStyleGot=!0):(o.busdyna=i,o.isMoreBusinessDynamicGot=!0)}})))},data:function(){return{index:0,mainPageData:o}},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=s}).call(this,t("543d")["default"])},"6d43":function(e,n,t){"use strict";t.r(n);var i=t("b27d"),u=t("b11d");for(var a in u)"default"!==a&&function(e){t.d(n,e,(function(){return u[e]}))}(a);t("f1d2");var o,r=t("f0c5"),s=Object(r["a"])(u["default"],i["b"],i["c"],!1,null,"0fa38906",null,!1,i["a"],o);n["default"]=s.exports},b11d:function(e,n,t){"use strict";t.r(n);var i=t("3916"),u=t.n(i);for(var a in i)"default"!==a&&function(e){t.d(n,e,(function(){return i[e]}))}(a);n["default"]=u.a},b27d:function(e,n,t){"use strict";t.d(n,"b",(function(){return u})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return i}));var 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,"17d2"))},uList:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-list/u-list")]).then(t.bind(null,"971c"))},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,"fdc8"))},uLine:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-line/u-line")]).then(t.bind(null,"4db2"))}},u=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),u=e.onChangeTime(n.inserttime);return{$orig:i,m1:u}}));e._isMounted||(e.e0=function(n,t){var i=arguments[arguments.length-1].currentTarget.dataset,u=i.eventParams||i["event-params"];t=u.index;return e.onTouchOneItem(t)}),e.$mp.data=Object.assign({},{$root:{m0:t,l0:i}})},a=[]},f1d2:function(e,n,t){"use strict";var i=t("11f6"),u=t.n(i);u.a}},[["07b7","common/runtime","common/vendor"]]]);