chunk-49ea10cc.c0288804.js 11 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-49ea10cc"],{3098:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"footInfo"}},[a("el-row",[a("el-col",{staticClass:"footInfo",attrs:{span:24}},[a("van-tabbar",{attrs:{route:""}},[a("van-tabbar-item",{attrs:{to:"/home/index"}},[a("p",{staticClass:"text"},[t._v("首页")])]),a("van-tabbar-item",{attrs:{to:"/live/index"}},[a("p",{staticClass:"text"},[t._v("直播大厅")])]),a("van-tabbar-item",{attrs:{to:"/market/index"}},[a("p",{staticClass:"text"},[t._v("科技超市")])]),a("van-tabbar-item",{attrs:{to:"/user/index"}},[a("p",{staticClass:"text"},[t._v("个人中心")])])],1)],1)],1)],1)},s=[],r={name:"footInfo",props:{},components:{},data:function(){return{}},created:function(){},computed:{},methods:{}},i=r,c=(a("b800"),a("2877")),o=Object(c["a"])(i,n,s,!1,null,"1bfe69f3",null);e["a"]=o.exports},4890:function(t,e,a){},4947:function(t,e,a){"use strict";var n=a("54e3"),s=a.n(n);s.a},"54e3":function(t,e,a){},"5d7f":function(t,e,a){"use strict";var n=a("9d16"),s=a.n(n);s.a},"6bcd":function(t,e,a){},"7a0f":function(t,e,a){},"7a43":function(t,e,a){},"9d16":function(t,e,a){},ade2:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"topInfo"}},[a("el-row",[a("el-col",{staticClass:"topInfos",attrs:{span:24}},[a("van-nav-bar",{attrs:{title:t.title,"left-arrow":t.isleftarrow,fixed:""},on:{"click-left":t.onClickLeft}})],1)],1)],1)},s=[],r={name:"topInfo",props:{title:null,isleftarrow:null},components:{},data:function(){return{}},created:function(){},computed:{},methods:{onClickLeft:function(){this.$router.go(-1)}}},i=r,c=(a("5d7f"),a("2877")),o=Object(c["a"])(i,n,s,!1,null,"605b9f62",null);e["a"]=o.exports},b800:function(t,e,a){"use strict";var n=a("ed2f"),s=a.n(n);s.a},c074:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"index"}},[a("el-row",[a("el-col",{staticClass:"style",attrs:{span:24}},[a("el-col",{staticClass:"top",attrs:{span:24}},[a("NavBar",{directives:[{name:"show",rawName:"v-show",value:t.navShow,expression:"navShow"}],attrs:{title:t.title,isleftarrow:t.isleftarrow}})],1),a("el-col",{staticClass:"main",attrs:{span:24}},[a("el-col",{staticClass:"one",attrs:{span:24}},[a("van-tabs",{attrs:{animated:""},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[a("van-tab",{scopedSlots:t._u([{key:"title",fn:function(){return[a("van-icon",{attrs:{name:"todo-list"}}),a("p",[t._v("技术供求")])]},proxy:!0}])},[a("technologyList")],1),a("van-tab",{scopedSlots:t._u([{key:"title",fn:function(){return[a("van-icon",{attrs:{name:"cluster"}}),a("p",[t._v("产品供求")])]},proxy:!0}])},[a("productList")],1),a("van-tab",{scopedSlots:t._u([{key:"title",fn:function(){return[a("van-icon",{attrs:{name:"label"}}),a("p",[t._v("服务供求")])]},proxy:!0}])},[a("serviceList")],1),a("van-tab",{scopedSlots:t._u([{key:"title",fn:function(){return[a("van-icon",{attrs:{name:"manager"}}),a("p",[t._v("专家供求")])]},proxy:!0}])},[a("expertList")],1)],1)],1),a("el-col",{staticClass:"two",attrs:{span:24}},[3==t.user.role||2==t.user.role?a("van-button",{attrs:{type:"primary"},on:{click:function(e){return t.$router.push({path:"/market/detail"})}}},[t._v("发布产品")]):t._e()],1)],1),a("el-col",{staticClass:"foot",attrs:{span:24}},[a("footInfo")],1)],1)],1)],1)},s=[],r=a("5530"),i=a("2f62"),c=a("ade2"),o=a("3098"),u=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"technologyList"}},[a("el-row",[a("el-col",{staticClass:"info",attrs:{span:24}},t._l(t.list,(function(e,n){return a("el-col",{key:n,staticClass:"list",attrs:{span:24},nativeOn:{click:function(a){return t.$router.push({path:"/market/prodDetail",query:{id:e.id}})}}},[a("p",{staticClass:"textOver"},[t._v(t._s(e.name))]),a("p",[a("span",{staticClass:"ptwo"},[a("span",[t._v("产品类型:")]),t._v(t._s(e.product_type_name||"暂无"))]),a("span",{staticClass:"ptwo"},[a("span",[t._v("研发阶段:")]),t._v(t._s(1==e.phase?"阶段成果":2==e.phase?"最终成果":"暂无"))])]),a("p",{staticClass:"textOver"},[a("span",[t._v("应用领域:")]),t._v(t._s(e.field||"暂无"))])])})),1)],1)],1)},l=[],p=(a("96cf"),a("1da1")),f=Object(i["a"])("marketproduct"),d=f.mapActions,v={name:"technologyList",props:{},components:{},data:function(){return{list:[]}},created:function(){this.searchInfo()},methods:Object(r["a"])(Object(r["a"])({},d(["newquery"])),{},{searchInfo:function(){var t=this;return Object(p["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.newquery({totaltype:"0",status:"1"});case 2:a=e.sent,t.$checkRes(a)&&t.$set(t,"list",a.data);case 4:case"end":return e.stop()}}),e)})))()}}),computed:Object(r["a"])(Object(r["a"])({},Object(i["d"])(["user"])),{},{pageTitle:function(){return"".concat(this.$route.meta.title)}}),metaInfo:function(){return{title:this.$route.meta.title}}},m=v,h=(a("f101"),a("2877")),_=Object(h["a"])(m,u,l,!1,null,"072d9046",null),b=_.exports,w=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"productList"}},[a("el-row",[a("el-col",{staticClass:"info",attrs:{span:24}},t._l(t.list,(function(e,n){return a("el-col",{key:n,staticClass:"list",attrs:{span:24},nativeOn:{click:function(a){return t.$router.push({path:"/market/prodDetail",query:{id:e.id}})}}},[a("p",{staticClass:"textOver"},[t._v(t._s(e.name))]),a("p",[a("span",{staticClass:"ptwo"},[a("span",[t._v("产品类型:")]),t._v(t._s(e.product_type_name||"暂无"))]),a("span",{staticClass:"ptwo"},[a("span",[t._v("产品单价")]),t._v(t._s(e.price)+"/"+t._s(e.priceunit||"暂无"))])]),a("p",{staticClass:"textOver"},[a("span",[t._v("产品简介:")]),t._v(t._s(e.introduction||"暂无"))])])})),1)],1)],1)},O=[],x=Object(i["a"])("marketproduct"),y=x.mapActions,k={name:"productList",props:{},components:{},data:function(){return{list:[]}},created:function(){this.searchInfo()},methods:Object(r["a"])(Object(r["a"])({},y(["newquery"])),{},{searchInfo:function(){var t=this;return Object(p["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.newquery({totaltype:"1",status:"1"});case 2:a=e.sent,t.$checkRes(a)&&t.$set(t,"list",a.data);case 4:case"end":return e.stop()}}),e)})))()}}),computed:Object(r["a"])(Object(r["a"])({},Object(i["d"])(["user"])),{},{pageTitle:function(){return"".concat(this.$route.meta.title)}}),metaInfo:function(){return{title:this.$route.meta.title}}},j=k,C=(a("cd2e"),Object(h["a"])(j,w,O,!1,null,"4b39d890",null)),$=C.exports,g=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"serviceList"}},[a("el-row",[a("el-col",{staticClass:"info",attrs:{span:24}},t._l(t.list,(function(e,n){return a("el-col",{key:n,staticClass:"list",attrs:{span:24},nativeOn:{click:function(a){return t.$router.push({path:"/market/prodDetail",query:{id:e.id}})}}},[a("p",{staticClass:"textOver"},[t._v(t._s(e.name))]),a("p",[a("span",{staticClass:"ptwo"},[a("span",[t._v("产品类型:")]),t._v(t._s(e.product_type_name||"暂无"))]),a("span",{staticClass:"ptwo"},[a("span",[t._v("产品单价")]),t._v(t._s(e.price)+"/"+t._s(e.priceunit||"暂无"))])]),a("p",{staticClass:"textOver"},[a("span",[t._v("应用领域:")]),t._v(t._s(e.field||"暂无"))])])})),1)],1)],1)},I=[],L=Object(i["a"])("marketproduct"),R=L.mapActions,q={name:"technologyList",props:{},components:{},data:function(){return{list:[]}},created:function(){this.searchInfo()},methods:Object(r["a"])(Object(r["a"])({},R(["newquery"])),{},{searchInfo:function(){var t=this;return Object(p["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.newquery({totaltype:"2",status:"1"});case 2:a=e.sent,t.$checkRes(a)&&t.$set(t,"list",a.data);case 4:case"end":return e.stop()}}),e)})))()}}),computed:Object(r["a"])(Object(r["a"])({},Object(i["d"])(["user"])),{},{pageTitle:function(){return"".concat(this.$route.meta.title)}}),metaInfo:function(){return{title:this.$route.meta.title}}},E=q,S=(a("f7d5"),Object(h["a"])(E,g,I,!1,null,"c87117e4",null)),A=S.exports,D=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"expertList"}},[a("el-row",[a("el-col",{staticClass:"info",attrs:{span:24}},t._l(t.list,(function(e,n){return a("el-col",{key:n,staticClass:"list",attrs:{span:24},nativeOn:{click:function(a){return t.$router.push({path:"/market/exportDetail",query:{id:e.id}})}}},[a("el-col",{staticClass:"left",attrs:{span:4}},[a("el-image",{attrs:{src:e.img_path}})],1),a("el-col",{staticClass:"right",attrs:{span:20}},[a("p",[a("span",[t._v(t._s(e.name))])]),a("p",[a("span",[t._v("从事专业:")]),t._v(t._s(e.professional||"暂无"))]),a("p",[a("span",[t._v("邮箱:")]),t._v(t._s(e.email))])])],1)})),1)],1)],1)},T=[],N=Object(i["a"])("expertsuser"),B=N.mapActions,J={name:"expertList",props:{},components:{},data:function(){return{list:[]}},created:function(){this.searchInfo()},methods:Object(r["a"])(Object(r["a"])({},B({expertQuery:"query"})),{},{searchInfo:function(){var t=this;return Object(p["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.expertQuery({skip:0,limit:6});case 2:a=e.sent,t.$checkRes(a)&&t.$set(t,"list",a.data);case 4:case"end":return e.stop()}}),e)})))()}}),computed:Object(r["a"])(Object(r["a"])({},Object(i["d"])(["user"])),{},{pageTitle:function(){return"".concat(this.$route.meta.title)}}),metaInfo:function(){return{title:this.$route.meta.title}}},Q=J,z=(a("4947"),Object(h["a"])(Q,D,T,!1,null,"39ecc53c",null)),F=z.exports,G={name:"index",props:{},components:{NavBar:c["a"],footInfo:o["a"],technologyList:b,productList:$,serviceList:A,expertList:F},data:function(){return{title:"",isleftarrow:"",navShow:!0,active:"1"}},created:function(){console.log(this.user)},methods:{},computed:Object(r["a"])({},Object(i["d"])(["user"])),mounted:function(){this.title=this.$route.meta.title,this.isleftarrow=this.$route.meta.isleftarrow}},H=G,K=(a("f884"),Object(h["a"])(H,n,s,!1,null,"6e5fdb47",null));e["default"]=K.exports},cd2e:function(t,e,a){"use strict";var n=a("6bcd"),s=a.n(n);s.a},ed2f:function(t,e,a){},f101:function(t,e,a){"use strict";var n=a("7a0f"),s=a.n(n);s.a},f7d5:function(t,e,a){"use strict";var n=a("7a43"),s=a.n(n);s.a},f884:function(t,e,a){"use strict";var n=a("4890"),s=a.n(n);s.a}}]);
  2. //# sourceMappingURL=chunk-49ea10cc.c0288804.js.map