|
|
@ -9,7 +9,7 @@ |
|
|
|
<div :key="index" class="mb-4" v-for="(item,index) in partners"> |
|
|
|
<p |
|
|
|
class="font-bold-24 title-color" |
|
|
|
>{{ item.typeOfTech===0 ? '高校' : item.typeOfTech===1 ? '院所' : '企业'}}</p> |
|
|
|
>{{ item.typeOfTech===0 ? '高校' : item.typeOfTech===1 ? '院所' : '企业' }}</p> |
|
|
|
<div |
|
|
|
class="d-flex flex-wrap" |
|
|
|
v-if="item.backendSearchList && item.backendSearchList.length > 0" |
|
|
@ -26,7 +26,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<company-profile :showProfile="showProfile" @closeProfile="closeProfile" v-if="showProfile" /> |
|
|
|
<company-profile :show-profile="showProfile" @closeProfile="closeProfile" v-if="showProfile" /> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@ -34,8 +34,8 @@ |
|
|
|
import { mapState, mapMutations, mapActions } from 'vuex'; |
|
|
|
import CompanyProfile from './CompanyProfile.vue'; |
|
|
|
export default { |
|
|
|
components: { CompanyProfile }, |
|
|
|
name: 'PartnerShip', |
|
|
|
components: { CompanyProfile }, |
|
|
|
props: { |
|
|
|
title: { |
|
|
|
type: String, |
|
|
@ -48,9 +48,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
data() { |
|
|
|
return { |
|
|
|
showProfile: false, // 显示公司介绍 |
|
|
|
}; |
|
|
|
return { showProfile: false }; |
|
|
|
}, |
|
|
|
|
|
|
|
computed: mapState('home', ['partners', 'profile']), |
|
|
|