|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/companyDetail/index"],{"04d0":function(t,e,n){"use strict";n.r(e);var a=n("2066"),i=n("ce4f");for(var c in i)"default"!==c&&function(t){n.d(e,t,(function(){return i[t]}))}(c);n("4fac");var r,o=n("f0c5"),u=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=u.exports},2066:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},c=[]},"4fac":function(t,e,n){"use strict";var a=n("eac3"),i=n.n(a);i.a},"6ca0":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"])},c05c:function(t,e,n){"use strict";(function(t){n("0371");a(n("66fd"));var e=a(n("04d0"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},ce4f:function(t,e,n){"use strict";n.r(e);var a=n("6ca0"),i=n.n(a);for(var c in a)"default"!==c&&function(t){n.d(e,t,(function(){return a[t]}))}(c);e["default"]=i.a},eac3:function(t,e,n){}},[["c05c","common/runtime","common/vendor"]]]);
|