12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b851ac14"],{"040b":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:""}},[n("el-row",[n("el-col",{staticClass:"style",attrs:{span:24}},[n("el-col",{staticClass:"top",attrs:{span:24}},[n("NavBar",{directives:[{name:"show",rawName:"v-show",value:t.navShow,expression:"navShow"}],attrs:{title:t.title,isleftarrow:t.isleftarrow}})],1),n("el-col",{staticClass:"main",attrs:{span:24}},[n("prodDetails",{attrs:{productInfo:t.productInfo}})],1)],1)],1)],1)},o=[],r=(n("ac1f"),n("841c"),n("96cf"),n("1da1")),s=n("5530"),c=n("ade2"),i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"prodDetails"}},[n("el-row",[n("el-col",{staticClass:"info",attrs:{span:24}},[n("el-col",{staticClass:"top",attrs:{span:24}},[n("el-carousel",{staticClass:"carousel",attrs:{trigger:"click"}},[t.productInfo.image&&t.productInfo.image.length>0?t._l(t.productInfo.image,(function(t,e){return n("el-carousel-item",{key:e},[n("el-image",{staticStyle:{width:"100%"},attrs:{src:t.url}})],1)})):t._e()],2),n("p",{staticClass:"textOver"},[t._v(t._s(t.productInfo.name))])],1),n("el-col",{staticClass:"message",attrs:{span:24}},[n("p",[n("span",[t._v("产品类型")]),n("span",[t._v(t._s("0"===t.productInfo.totaltype?"技术":"1"===t.productInfo.totaltype?"产品":"2"===t.productInfo.totaltype?"服务":"暂无"))])]),n("p",[n("span",[t._v("类型")]),n("span",[t._v(t._s(t.productInfo.product_type_name||"暂无"))])]),0==t.productInfo.totaltype?n("p",[n("span",[t._v("研发阶段")]),n("span",[t._v(t._s(1==t.productInfo.phase?"阶段成果":2==t.productInfo.phase?"最终成果":"暂无"))])]):t._e(),n("p",[n("span",[t._v("交易方式")]),n("span",[t._v(t._s("0"===t.productInfo.business?"公用":"1"===t.productInfo.business?"转让":"2"===t.productInfo.business?"竞价":"暂无"))])]),0==t.productInfo.totaltype||2==t.productInfo.totaltype?n("p",[n("span",[t._v("应用领域")]),n("span",[t._v(t._s(t.productInfo.field||"暂无"))])]):t._e(),n("p",[n("span",[t._v("服务范围")]),n("span",[t._v(t._s(t.productInfo.scope||"暂无"))])]),n("p",[n("span",[t._v("产品单价")]),n("span",[t._v(t._s(t.productInfo.price)+"/"+t._s(t.productInfo.priceunit))])]),n("p",[n("span",[t._v("联系人")]),n("span",[t._v(t._s(t.productInfo.contact_user))])]),n("p",[n("span",[t._v("联系电话")]),n("span",[t._v(t._s(t.productInfo.contact_tel))])]),n("div",{staticClass:"introduction"},[n("p",[t._v("产品简介")]),n("p",[t._v(t._s(t.productInfo.introduction))])])])],1)],1)],1)},u=[],p=n("2f62"),l={name:"prodDetails",props:{productInfo:null},components:{},data:function(){return{}},created:function(){},methods:{},computed:Object(s["a"])(Object(s["a"])({},Object(p["d"])(["user"])),{},{pageTitle:function(){return"".concat(this.$route.meta.title)}}),metaInfo:function(){return{title:this.$route.meta.title}}},f=l,d=(n("90a2"),n("2877")),v=Object(d["a"])(f,i,u,!1,null,"22e71220",null),_=v.exports,h=Object(p["a"])("marketproduct"),m=h.mapActions,I={name:"prodDetail",props:{},components:{NavBar:c["a"],prodDetails:_},data:function(){return{title:"",isleftarrow:"",navShow:!0,productInfo:{}}},created:function(){this.search()},computed:{id:function(){return this.$route.query.id}},methods:Object(s["a"])(Object(s["a"])({},m(["fetch"])),{},{search:function(){var t=this;return Object(r["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.fetch(t.id);case 2:n=e.sent,t.$set(t,"productInfo",n.data);case 4:case"end":return e.stop()}}),e)})))()}}),mounted:function(){this.title=this.$route.meta.title,this.isleftarrow=this.$route.meta.isleftarrow}},w=I,b=(n("12e4"),Object(d["a"])(w,a,o,!1,null,"1a27dd6f",null));e["default"]=b.exports},"129f":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},"12e4":function(t,e,n){"use strict";var a=n("b06c"),o=n.n(a);o.a},"5d7f":function(t,e,n){"use strict";var a=n("9d16"),o=n.n(a);o.a},"841c":function(t,e,n){"use strict";var a=n("d784"),o=n("825a"),r=n("1d80"),s=n("129f"),c=n("14c3");a("search",1,(function(t,e,n){return[function(e){var n=r(this),a=void 0==e?void 0:e[t];return void 0!==a?a.call(e,n):new RegExp(e)[t](String(n))},function(t){var a=n(e,t,this);if(a.done)return a.value;var r=o(t),i=String(this),u=r.lastIndex;s(u,0)||(r.lastIndex=0);var p=c(r,i);return s(r.lastIndex,u)||(r.lastIndex=u),null===p?-1:p.index}]}))},"90a2":function(t,e,n){"use strict";var a=n("9e3f"),o=n.n(a);o.a},"9d16":function(t,e,n){},"9e3f":function(t,e,n){},ade2:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"topInfo"}},[n("el-row",[n("el-col",{staticClass:"topInfos",attrs:{span:24}},[n("van-nav-bar",{attrs:{title:t.title,"left-arrow":t.isleftarrow,fixed:""},on:{"click-left":t.onClickLeft}})],1)],1)],1)},o=[],r={name:"topInfo",props:{title:null,isleftarrow:null},components:{},data:function(){return{}},created:function(){},computed:{},methods:{onClickLeft:function(){this.$router.go(-1)}}},s=r,c=(n("5d7f"),n("2877")),i=Object(c["a"])(s,a,o,!1,null,"605b9f62",null);e["a"]=i.exports},b06c:function(t,e,n){}}]);
- //# sourceMappingURL=chunk-b851ac14.1f5ac015.js.map
|