|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/companyDetail/index"],{2881:function(t,e,n){"use strict";n.r(e);var a=n("d150"),i=n("4005");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("74a8");var o,u=n("f0c5"),c=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);e["default"]=c.exports},"3c67":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=getApp(),a={data:function(){return{id:"",detail:{},tabActive:1,swiperImgUrls:["/static/images/home/item-bg.png","/static/images/home/company-top-bg.png"],swiperIndex:0}},components:{},props:{},onLoad:function(t){this.setData({id:t.id}),this.getDetail()},onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){},methods:{previewImg:function(){t.previewImage({current:this.detail.imgPaths[0],urls:this.detail.imgPaths})},call:function(){t.makePhoneCall({phoneNumber:this.detail.enterprisePhone})},tabClick:function(t){this.setData({tabActive:t.currentTarget.dataset.i})},swiperChange:function(t){var e=this;e.setData({swiperIndex:t.detail.current})},toNeedsDetail:function(e){var n=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+n})},toResourcesDetail:function(e){var n=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+n})},getDetail:function(){var t=this;n.http("get","Enterprise/enterpriseInfo",{id:this.id}).then((function(e){e.data.success&&t.setData({detail:e.data.data})}))},toWebview:function(){""!=this.detail.enterpriseNet&&t.navigateTo({url:"/pages/webview/index?src="+this.detail.enterpriseNet})}}};e.default=a}).call(this,n("543d")["default"])},4005:function(t,e,n){"use strict";n.r(e);var a=n("3c67"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"43d5":function(t,e,n){},"651d":function(t,e,n){"use strict";(function(t){n("ef82");a(n("66fd"));var e=a(n("2881"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"74a8":function(t,e,n){"use strict";var a=n("43d5"),i=n.n(a);i.a},d150:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},r=[]}},[["651d","common/runtime","common/vendor"]]]);
|