Browse Source

合作伙伴

master
lucky 5 years ago
parent
commit
016f47a128
  1. BIN
      src/assets/hzhb02.png
  2. BIN
      src/assets/hzhb03.png
  3. BIN
      src/assets/hzhb04.png
  4. 4
      src/common/portrait.styl
  5. 18
      src/components/HeadNav/HeadNav.vue
  6. 4
      src/components/Introduce/PartnerShip.styl
  7. 8
      src/components/Introduce/PartnerShip.vue
  8. 3
      src/components/SettledEnterprise/SettledEnterprise.vue
  9. 11
      src/views/About/Children/Partner.vue
  10. 6
      src/views/Activity/Activity.vue
  11. 16
      src/views/FirstPage/FirstPage.vue
  12. 11
      src/views/IncubationPlatform/Children/Partner.vue
  13. 10
      src/views/IncubationPlatform/Children/place/EntitySpace.vue
  14. 8
      src/views/IncubationPlatform/Children/place/VirtualSpace.vue
  15. 14
      src/views/ItInformation/ItInformation.vue

BIN
src/assets/hzhb02.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1008 B

BIN
src/assets/hzhb03.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
src/assets/hzhb04.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 928 B

After

Width:  |  Height:  |  Size: 869 B

4
src/common/portrait.styl

@ -27,6 +27,10 @@
padding-top: 12px; padding-top: 12px;
} }
.pt-5 {
padding-top: 20px;
}
.pb-3 { .pb-3 {
padding-bottom: 12px; padding-bottom: 12px;
} }

18
src/components/HeadNav/HeadNav.vue

@ -201,6 +201,24 @@ export default {
}, },
}, },
watch: {
$route: {
handler(val) {
const router = val.path.split('/')[1];
const arr = [];
for (let i = 0; i < this.list.length; i++) {
const item = this.list[i];
const url = item.url.split('/')[1];
arr.push(url);
}
const index = arr.indexOf(router);
this.activeItem = index;
},
//
deep: true,
},
},
methods: { methods: {
jumUrl(url, index) { jumUrl(url, index) {
if (this.$route.path !== url) { if (this.$route.path !== url) {

4
src/components/Introduce/PartnerShip.styl

@ -1,7 +1,7 @@
// //
.logo-box{ .logo-box{
width: 22%; width: 18%;
margin-right: 4%; margin-right: 2.5%;
border-radius: 2px; border-radius: 2px;
margin-bottom: 50px; margin-bottom: 50px;

8
src/components/Introduce/PartnerShip.vue

@ -5,7 +5,7 @@
--> -->
<template> <template>
<div style="margin: auto 100px" v-if="partners && partners.length > 0"> <div class="white pt-5" v-if="partners && partners.length > 0">
<div :key="index" v-for="(item,index) in partners"> <div :key="index" v-for="(item,index) in partners">
<p class="d-flex flex-row justify-center mb-5"> <p class="d-flex flex-row justify-center mb-5">
<img src="~assets/hzhb02.png" v-if="item.typeOfTech===0" /> <img src="~assets/hzhb02.png" v-if="item.typeOfTech===0" />
@ -17,17 +17,17 @@
v-if="item.backendSearchList && item.backendSearchList.length > 0" v-if="item.backendSearchList && item.backendSearchList.length > 0"
> >
<div <div
:class="(i+1)%4===0? 'logo-box1' : ''" :class="(i+1)%5===0? 'logo-box1' : ''"
:key="i" :key="i"
@click="openProfile(list.name,list.description)" @click="openProfile(list.name,list.description)"
class="logo-box d-flex flex-column align-center" class="logo-box d-flex flex-column align-center white"
v-for="(list,i) in item.backendSearchList" v-for="(list,i) in item.backendSearchList"
> >
<div class="logo-pic-box"> <div class="logo-pic-box">
<img :src="list.logoUrl" class="logo-pic pa-2" v-if="list.logoUrl" /> <img :src="list.logoUrl" class="logo-pic pa-2" v-if="list.logoUrl" />
<div class="d-flex flex-column justify-center logo-text" v-else>{{ list.name }}</div> <div class="d-flex flex-column justify-center logo-text" v-else>{{ list.name }}</div>
</div> </div>
<div class="font-16 white--text mx-2">{{ list.name }}</div> <div class="font-12">{{ list.name }}</div>
</div> </div>
</div> </div>
</div> </div>

3
src/components/SettledEnterprise/SettledEnterprise.vue

@ -91,7 +91,8 @@ export default {
// //
getBusiness() { getBusiness() {
console.log('搜索入驻企业'); console.log('value: ', this.business);
this.$emit('searchEnt', this.business);
}, },
scrollBox() { scrollBox() {

11
src/views/About/Children/Partner.vue

@ -4,8 +4,8 @@
<div class="inner my-1"> <div class="inner my-1">
<bread-crumb :arr="arr" /> <bread-crumb :arr="arr" />
</div> </div>
<div class="inner bg-box"> <div class="inner">
<div class="py-5"> <div>
<partner-ship :title="title" :type-of-platform="typeOfPlatform" /> <partner-ship :title="title" :type-of-platform="typeOfPlatform" />
</div> </div>
</div> </div>
@ -36,11 +36,6 @@ export default {
<style lang="stylus" scoped> <style lang="stylus" scoped>
.inner { .inner {
margin: 40px auto; margin: 20px auto;
}
.bg-box {
background: url('../../../assets/hzhb01.png') no-repeat;
background-size: 100% 100%;
} }
</style> </style>

6
src/views/Activity/Activity.vue

@ -37,7 +37,7 @@
<p class="source-time"> <p class="source-time">
<span class="source" v-if="item.releaseTime"> <span class="source" v-if="item.releaseTime">
时间{{ item.releaseTime }} 时间{{ item.releaseTime }}
<span>-{{ item.closeTime }}</span> <span v-if="item.closeTime">-{{ item.closeTime }}</span>
</span> </span>
<span class="source" v-if="item.address">地点{{ item.address }}</span> <span class="source" v-if="item.address">地点{{ item.address }}</span>
</p> </p>
@ -76,7 +76,7 @@ export default {
return { return {
str: '这是活动公告界面', str: '这是活动公告界面',
total: 0, total: 0,
pageSize: 5, pageSize: 20,
iptCon: '', iptCon: '',
sta: { sta: {
ly: 0, ly: 0,
@ -134,7 +134,7 @@ export default {
param: { param: {
activityType: this.actList, activityType: this.actList,
pageNum: this.actCurrent, pageNum: this.actCurrent,
pageSize: 5, pageSize: 20,
titleKey: this.iptCon, titleKey: this.iptCon,
}, },
}; };

16
src/views/FirstPage/FirstPage.vue

@ -34,6 +34,13 @@
</div> </div>
</a-col> </a-col>
</a-row> </a-row>
<a-row class="mt-8 mr-4">
<a-col :span="24">
<div class="white d-flex flex-column justify-center">
<index-new-list :i="0" :lists="lists" />
</div>
</a-col>
</a-row>
</a-col> </a-col>
<a-col :span="6"> <a-col :span="6">
<div class="white d-flex flex-column justify-center"> <div class="white d-flex flex-column justify-center">
@ -41,13 +48,6 @@
</div> </div>
</a-col> </a-col>
</a-row> </a-row>
<a-row class="mt-5">
<a-col :span="24">
<div class="white d-flex flex-column justify-center">
<index-new-list :i="0" :lists="lists" />
</div>
</a-col>
</a-row>
</div> </div>
</div> </div>
</template> </template>
@ -202,7 +202,7 @@ export default {
param: { param: {
activityType: [], activityType: [],
pageNum: 1, pageNum: 1,
pageSize: 3, pageSize: 8,
title: '', title: '',
}, },
}; };

11
src/views/IncubationPlatform/Children/Partner.vue

@ -4,8 +4,8 @@
<div class="inner my-1"> <div class="inner my-1">
<bread-crumb :arr="arr" /> <bread-crumb :arr="arr" />
</div> </div>
<div class="inner bg-box"> <div class="inner">
<div class="py-5 my-5"> <div>
<partner-ship :title="title" :type-of-platform="typeOfPlatform" /> <partner-ship :title="title" :type-of-platform="typeOfPlatform" />
</div> </div>
</div> </div>
@ -36,11 +36,6 @@ export default {
<style lang="stylus" scoped> <style lang="stylus" scoped>
.inner { .inner {
margin: 40px auto; margin: 20px auto;
}
.bg-box {
background: url('../../../assets/hzhb01.png') no-repeat;
background-size: 100% 100%;
} }
</style> </style>

10
src/views/IncubationPlatform/Children/place/EntitySpace.vue

@ -103,12 +103,12 @@
</div>--> </div>-->
<!-- 入驻企业名录 --> <!-- 入驻企业名录 -->
<div class="center-box" style="margin-bottom: 15px"> <div class="center-box" style="margin-bottom: 15px">
<div class="center-title" style="top: 12%;"> <div class="center-title" style="top: 105px;">
<div class="circular"></div> <div class="circular"></div>
<div style="margin-left: 40px">入驻企业名录</div> <div style="margin-left: 40px">入驻企业名录</div>
</div> </div>
<div class="center-content"> <div class="center-content">
<settled-enterprise :lists="lists" /> <settled-enterprise :lists="lists" @searchEnt="searchEnt" />
<!-- <div :key="index" class="ent-box" v-for="(item, index) in lists"> <!-- <div :key="index" class="ent-box" v-for="(item, index) in lists">
<p class="ent-index">{{ index + 1 }}</p> <p class="ent-index">{{ index + 1 }}</p>
<span class="ent-name" style="margin-left: 50px">{{ item.company }}</span> <span class="ent-name" style="margin-left: 50px">{{ item.company }}</span>
@ -126,8 +126,8 @@ import BreadCrumb from 'components/BreadCrumb/BreadCrumb.vue';
import SettledModel from 'components/Introduce/SettledModel.vue'; import SettledModel from 'components/Introduce/SettledModel.vue';
import Banner from 'components/Banner/Banner.vue'; import Banner from 'components/Banner/Banner.vue';
import SettledEnterprise from 'components/SettledEnterprise/SettledEnterprise.vue'; import SettledEnterprise from 'components/SettledEnterprise/SettledEnterprise.vue';
import { searchEnt } from 'config/api'; import { searchEnt } from 'config/api';
export default { export default {
name: 'EntitySpace', name: 'EntitySpace',
components: { HNav, BreadCrumb, SettledModel, Banner, SettledEnterprise }, components: { HNav, BreadCrumb, SettledModel, Banner, SettledEnterprise },
@ -165,9 +165,9 @@ export default {
onShowSizeChange(current, size) { onShowSizeChange(current, size) {
this.current = current; this.current = current;
}, },
async searchEnt() { async searchEnt(business) {
try { try {
const params = { param: { placeType: 1 } }; const params = { param: { placeType: 1, company: business ? business : '' } };
const res = await searchEnt(params); const res = await searchEnt(params);
const { code, msg, data } = res.data; const { code, msg, data } = res.data;
if (code === 200) { if (code === 200) {

8
src/views/IncubationPlatform/Children/place/VirtualSpace.vue

@ -15,12 +15,12 @@
>统计信息填报</a-button> >统计信息填报</a-button>
</div> </div>
<div class="center-box c-box" style="margin-bottom: 160px"> <div class="center-box c-box" style="margin-bottom: 160px">
<div class="center-title" style="top: 7%;"> <div class="center-title" style="top: 105px;">
<div class="circular"></div> <div class="circular"></div>
<div style="margin-left: 40px">入驻企业名录</div> <div style="margin-left: 40px">入驻企业名录</div>
</div> </div>
<div class="center-content"> <div class="center-content">
<settled-enterprise :lists="lists" /> <settled-enterprise :lists="lists" @searchEnt="searchEnt" />
</div> </div>
</div> </div>
</div> </div>
@ -72,9 +72,9 @@ export default {
onShowSizeChange(current, size) { onShowSizeChange(current, size) {
this.current = current; this.current = current;
}, },
async searchEnt() { async searchEnt(business) {
try { try {
const params = { param: { placeType: 0 } }; const params = { param: { placeType: 0, company: business ? business : '' } };
const res = await searchEnt(params); const res = await searchEnt(params);
const { code, msg, data } = res.data; const { code, msg, data } = res.data;
if (code === 200) { if (code === 200) {

14
src/views/ItInformation/ItInformation.vue

@ -12,7 +12,11 @@
class="list-box d-flex flex-row flex-nowrap align-center" class="list-box d-flex flex-row flex-nowrap align-center"
v-for="(item, index) in lists" v-for="(item, index) in lists"
> >
<div @click="jumpDetails(item)" class="date-box d-flex flex-column" v-if="item.time"> <div
@click="jumpDetails(item)"
class="date-box d-flex flex-column"
v-if="item.time !== null"
>
<p class="date-mon">{{ monthEnglish[item.time.split('-')[1] - 1] }}.</p> <p class="date-mon">{{ monthEnglish[item.time.split('-')[1] - 1] }}.</p>
<p class="date-day">{{ item.time.split(' ')[0].split('-')[2] }}</p> <p class="date-day">{{ item.time.split(' ')[0].split('-')[2] }}</p>
</div> </div>
@ -20,7 +24,7 @@
<p @click="jumpDetails(item)" class="item-title pointer">{{ item.title }}</p> <p @click="jumpDetails(item)" class="item-title pointer">{{ item.title }}</p>
<div class="d-flex flex-nowrap justify-space-between"> <div class="d-flex flex-nowrap justify-space-between">
<p class="source-time"> <p class="source-time">
<span class="source" v-if="item.time">来源{{ item.time }}</span> <span class="source" v-if="item.time !== null">时间{{ item.time }}</span>
<span class="source" v-if="item.site">地点{{ item.site }}</span> <span class="source" v-if="item.site">地点{{ item.site }}</span>
</p> </p>
</div> </div>
@ -50,7 +54,7 @@ export default {
str: '这是行业资讯界面', str: '这是行业资讯界面',
lists: [], lists: [],
total: 0, total: 0,
pageSize: 5, pageSize: 20,
current: 1, current: 1,
monthEnglish: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Spt', 'Oct', 'Nov', 'Dec'], monthEnglish: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Spt', 'Oct', 'Nov', 'Dec'],
}; };
@ -73,10 +77,6 @@ export default {
if (code === 200) { if (code === 200) {
this.lists = data.list; this.lists = data.list;
this.total = parseInt(data.total); this.total = parseInt(data.total);
for (var i = 0; i < this.lists.length; i++) {
// this.lists[i].time = moment(this.lists[i].time).format('YYYY-MM-DD');
this.lists[i].time = this.$moment(parseInt(this.lists[i].time) * 1000).format('YYYY-MM-DD');
}
} else { } else {
// console.log(msg); // console.log(msg);
} }

Loading…
Cancel
Save