chunk-47000983.cbc6158d.js 3.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47000983"],{5893:function(t,e,a){"use strict";var s=a("c69a9"),n=a.n(s);n.a},"67b6":function(t,e,a){},8982:function(t,e,a){"use strict";a.d(e,"a",function(){return f}),a.d(e,"b",function(){return m});var s=a("795b"),n=a.n(s),i=a("bc3a"),r=a.n(i),c=a("4328"),o=a.n(c),u=a("4360"),d=a("5cab"),l=a("a18c"),h=a("3089");function f(t,e){t.headers||(t.headers={}),t.headers&&d["a"].getToken()&&(t.headers["RC-Token"]=d["a"].getToken());var a={method:t.method,url:t.url,data:o.a.stringify(t.data)};return e&&(a.data=t.data),t.headers&&(a.headers=t.headers),new n.a(function(e,s){r()(a).then(function(t){if(t&&t.data&&200===t.status){var a=t.data;switch(a.errno){case 501:Object(h["Toast"])(a.errmsg),setTimeout(function(){u["a"].dispatch("user/logout").then(function(){l["a"].push("/login")})},1500),s(a.errmsg);break;case 401:case 402:case 502:case 503:case 504:case 505:case 506:case 507:case 508:case 801:Object(h["Toast"])(a.errmsg),s(a.errmsg);break}e(a)}else console.log(t),s(t)}).catch(function(e,a){console.log(t.url+" fail",e,a),Object(h["Toast"])(e),s(e,a)})})}function m(t){t.headers||(t.headers={}),t.headers&&d["a"].getToken()&&(t.headers["RC-Token"]=d["a"].getToken());var e={method:t.method,url:t.url};return e.data=t.data,t.headers&&(e.headers=t.headers,e.headers["MVVM-Key"]=String((new Date).getTime()),e.headers["xx"]="anything",e.headers["Content-Type"]="application/json;charset=UTF-8"),console.log("request: ",t),new n.a(function(a,s){r.a.defaults.withCredentials=!0,r()(e).then(function(t){if(console.log("response:",t),t&&t.data&&200===t.status){var e=t.data;switch(e.errno){case 501:Object(h["Toast"])(e.errmsg),setTimeout(function(){u["a"].dispatch("user/logout").then(function(){l["a"].push("/login")})},1500),s(e.errmsg);break;case 401:case 402:case 502:case 503:case 504:case 505:case 506:case 507:case 508:case 801:Object(h["Toast"])(e.errmsg),s(e.errmsg);break}a(e)}else console.log(t),s(t)}).catch(function(e,a){console.log(t.url+" fail",e,a),Object(h["Toast"])(e),s(e,a)})})}},b824:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"Introduction"},[a("div",{staticClass:"card-radio show"},[a("div",{staticClass:"info"},[a("div",{staticClass:"header-img"},t._l(t.imgs,function(t){return a("div",{key:t.id},[a("img",{attrs:{src:t.url,alt:""}})])}),0),a("div",{staticClass:"text",domProps:{innerHTML:t._s(t.context)}})]),a("div",{staticClass:"about-us"},[t._m(0),a("div",{staticClass:"tel-list"},[a("div",{staticClass:"tel-item"},[a("div",{staticClass:"name"},[t._v("招商电话")]),a("div",{staticClass:"tel"},[a("TelNum",{attrs:{num:t.brietData.attractPhone}})],1)]),a("div",{staticClass:"tel-item"},[a("div",{staticClass:"name"},[t._v("运营支持")]),a("div",{staticClass:"tel"},[a("TelNum",{attrs:{num:t.brietData.operatePhone}})],1)])])])]),a("div",{staticClass:"white-bottom"})])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-item-tit"},[a("div",{staticClass:"tit"},[t._v("联系我们")])])}],i=a("f7eb"),r=a("8982"),c="/industryParkApi",o="/wx/parkBrief";function u(t){return Object(r["a"])({url:c+o+"/getBridf",method:"post",data:t})}var d={components:{TelNum:i["a"]},data:function(){return{groupId:"870312050646056960",type:"",imgs:[],context:"",brietData:{}}},mounted:function(){this.getBridfDetial(),this.type=this.$route.query.type},methods:{getBridfDetial:function(){var t=this,e={groupId:this.groupId};u(e).then(function(e){console.log(e.data),t.brietData=e.data,t.context=e.data.content,t.imgs=JSON.parse(e.data.briefImg)})}}},l=d,h=(a("5893"),a("dcce"),a("2877")),f=Object(h["a"])(l,s,n,!1,null,"5c94b85e",null);e["default"]=f.exports},c69a9:function(t,e,a){},dcce:function(t,e,a){"use strict";var s=a("67b6"),n=a.n(s);n.a}}]);