打卡插件详情
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

259 lines
5.0 KiB

5 years ago
<template>
<div>
<h-nav />
5 years ago
<div class="inner my-1">
5 years ago
<bread-crumb :arr="arr" />
</div>
<div class="top-box">
5 years ago
<banner :show-page="48" />
5 years ago
<!-- <add-model :value="3" class="add-mol" style="height: 32px" /> -->
<settled-model :type-num="0" class="add-mol" ref="childModel" style="height: 32px" />
5 years ago
<a-button
@click="$router.push('/IncubationPlatform/MakerSpace/InformationFilling')"
class="set-mol"
type="primary"
>统计信息填报</a-button>
5 years ago
</div>
<div class="center-box c-box" style="margin-bottom: 160px">
5 years ago
<div class="center-title" style="top: 105px;">
5 years ago
<div class="circular"></div>
<div style="margin-left: 40px">入驻企业名录</div>
</div>
<div class="center-content">
5 years ago
<settled-enterprise :lists="lists" @searchEnt="searchEnt" />
5 years ago
</div>
</div>
</div>
</template>
<script>
import HNav from '../../components/HNav.vue';
import BreadCrumb from 'components/BreadCrumb/BreadCrumb.vue';
5 years ago
// import AddModel from './../../components/AddModel.vue';
5 years ago
import SettledModel from 'components/Introduce/SettledModel.vue';
import Banner from 'components/Banner/Banner.vue';
import { searchEnt } from 'config/api';
5 years ago
import SettledEnterprise from 'components/SettledEnterprise/SettledEnterprise.vue';
5 years ago
5 years ago
export default {
name: 'VirtualSpace',
5 years ago
components: { HNav, BreadCrumb, SettledModel, Banner, SettledEnterprise },
5 years ago
data() {
return {
title: '虚拟众创空间',
arr: [
{ name: '孵化平台', url: '/IncubationPlatform/MakerSpace' },
{ name: '众创空间', url: '/IncubationPlatform/MakerSpace' },
{ name: '虚拟众创空间', url: '' },
],
list: [],
pageSize: 18,
current: 1,
5 years ago
lists: [],
isShowModel: 0,
5 years ago
};
},
beforeRouteEnter(to, from, next) {
if (from.path === '/login' || from.path === '/register') {
return next(vm => {
vm.$refs.childModel.showModal();
});
}
next();
},
5 years ago
created() {
this.searchEnt();
},
5 years ago
methods: {
// 改变单当前页数
onShowSizeChange(current, size) {
this.current = current;
},
5 years ago
async searchEnt(business) {
5 years ago
try {
5 years ago
const params = { param: { placeType: 0, company: business ? business : '' } };
5 years ago
const res = await searchEnt(params);
5 years ago
const { code, msg, data } = res.data;
if (code === 200) {
this.lists = data;
} else {
this.$message.error('查询失败');
}
} catch (error) {
this.$message.error('查询失败');
}
},
5 years ago
},
};
</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 {
5 years ago
width: 100%;
5 years ago
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;
}
5 years ago
.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;
}
5 years ago
.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%;
}
}
}
5 years ago
.add-mol {
position: absolute;
5 years ago
bottom: 7%;
left: 25%;
5 years ago
}
.set-mol {
position: absolute;
5 years ago
bottom: 7%;
left: 33%;
5 years ago
}
@media only screen and (max-width: 1500px) {
.set-mol {
5 years ago
left: 35%;
5 years ago
}
}
@media only screen and (max-width: 950px) {
.set-mol {
5 years ago
left: 40%;
5 years ago
}
}
5 years ago
</style>