|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<h-nav />
|
|
|
|
|
<div class="inner my-1">
|
|
|
|
|
<bread-crumb :arr="arr" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="top-box">
|
|
|
|
|
<banner :show-page="48" />
|
|
|
|
|
<!-- <add-model :value="3" class="add-mol" style="height: 32px" /> -->
|
|
|
|
|
<settled-model :type-num="0" class="add-mol" ref="childModel" style="height: 32px" />
|
|
|
|
|
<a-button
|
|
|
|
|
@click="$router.push('/IncubationPlatform/MakerSpace/InformationFilling')"
|
|
|
|
|
class="set-mol"
|
|
|
|
|
type="primary"
|
|
|
|
|
>统计信息填报</a-button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="center-box c-box" style="margin-bottom: 160px">
|
|
|
|
|
<div class="center-title" style="top: 105px;">
|
|
|
|
|
<div class="circular"></div>
|
|
|
|
|
<div style="margin-left: 40px">入驻企业名录</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="center-content">
|
|
|
|
|
<settled-enterprise :lists="lists" @searchEnt="searchEnt" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import HNav from '../../components/HNav.vue';
|
|
|
|
|
import BreadCrumb from 'components/BreadCrumb/BreadCrumb.vue';
|
|
|
|
|
// import AddModel from './../../components/AddModel.vue';
|
|
|
|
|
import SettledModel from 'components/Introduce/SettledModel.vue';
|
|
|
|
|
import Banner from 'components/Banner/Banner.vue';
|
|
|
|
|
import { searchEnt } from 'config/api';
|
|
|
|
|
import SettledEnterprise from 'components/SettledEnterprise/SettledEnterprise.vue';
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: 'VirtualSpace',
|
|
|
|
|
components: { HNav, BreadCrumb, SettledModel, Banner, SettledEnterprise },
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
title: '虚拟众创空间',
|
|
|
|
|
arr: [
|
|
|
|
|
{ name: '孵化平台', url: '/IncubationPlatform/MakerSpace' },
|
|
|
|
|
{ name: '众创空间', url: '/IncubationPlatform/MakerSpace' },
|
|
|
|
|
{ name: '虚拟众创空间', url: '' },
|
|
|
|
|
],
|
|
|
|
|
list: [],
|
|
|
|
|
pageSize: 18,
|
|
|
|
|
current: 1,
|
|
|
|
|
lists: [],
|
|
|
|
|
isShowModel: 0,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
beforeRouteEnter(to, from, next) {
|
|
|
|
|
if (from.path === '/login' || from.path === '/register') {
|
|
|
|
|
return next(vm => {
|
|
|
|
|
vm.$refs.childModel.showModal();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
next();
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
created() {
|
|
|
|
|
this.searchEnt();
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
// 改变单当前页数
|
|
|
|
|
onShowSizeChange(current, size) {
|
|
|
|
|
this.current = current;
|
|
|
|
|
},
|
|
|
|
|
async searchEnt(business) {
|
|
|
|
|
try {
|
|
|
|
|
const params = { param: { placeType: 0, company: business ? business : '' } };
|
|
|
|
|
const res = await searchEnt(params);
|
|
|
|
|
const { code, msg, data } = res.data;
|
|
|
|
|
if (code === 200) {
|
|
|
|
|
this.lists = data;
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error('查询失败');
|
|
|
|
|
}
|
|
|
|
|
} catch (error) {
|
|
|
|
|
this.$message.error('查询失败');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="stylus" scoped>
|
|
|
|
|
.inner {
|
|
|
|
|
margin: 10px auto 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.center-btn {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 26.2%;
|
|
|
|
|
bottom: 100px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
|
float: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.c-box {
|
|
|
|
|
background: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.big-btn {
|
|
|
|
|
width: 213px;
|
|
|
|
|
height: 166px;
|
|
|
|
|
background: #13ACC4;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.big-con {
|
|
|
|
|
width: 96px;
|
|
|
|
|
height: 31px;
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
font-family: Microsoft YaHei;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
line-height: 31px;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.margin-0 {
|
|
|
|
|
margin-right: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ent-box {
|
|
|
|
|
width: 100%;
|
|
|
|
|
margin-right: 11%;
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 56px;
|
|
|
|
|
line-height: 56px;
|
|
|
|
|
padding: 0 14px;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ent-index {
|
|
|
|
|
width: 28px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 14px;
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
font-family: Segoe UI;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
height: 28px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: #13ACC4;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ent-name {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
font-family: Microsoft YaHei;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ent-name {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 30%;
|
|
|
|
|
height: 24px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
margin-top: -12px;
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
font-family: Microsoft YaHei;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 1;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ent-mainBusiness {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 35%;
|
|
|
|
|
width: 20%;
|
|
|
|
|
height: 24px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
margin-top: -12px;
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
font-family: Microsoft YaHei;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
line-height: 24px;
|
|
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
|
|
opacity: 1;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 1;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.reg-box {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 26.2%;
|
|
|
|
|
bottom: 100px;
|
|
|
|
|
width: 64.8%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.join-us-box {
|
|
|
|
|
width: 100%;
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
.material-box {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 88px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0px;
|
|
|
|
|
left: 0px;
|
|
|
|
|
|
|
|
|
|
.material {
|
|
|
|
|
width: 10%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.add-mol {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 7%;
|
|
|
|
|
left: 25%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.set-mol {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 7%;
|
|
|
|
|
left: 33%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media only screen and (max-width: 1500px) {
|
|
|
|
|
.set-mol {
|
|
|
|
|
left: 35%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media only screen and (max-width: 950px) {
|
|
|
|
|
.set-mol {
|
|
|
|
|
left: 40%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|