|
@ -57,15 +57,15 @@ |
|
|
<div class="d-flex flex-wrap" style="padding: 0 25px 80px 25px; position: relative"> |
|
|
<div class="d-flex flex-wrap" style="padding: 0 25px 80px 25px; position: relative"> |
|
|
<div :class="(index + 1) % 4 === 0 ? 'mr0' : ''" :key="index" class="ent-box" v-for="(item, index) in lists"> |
|
|
<div :class="(index + 1) % 4 === 0 ? 'mr0' : ''" :key="index" class="ent-box" v-for="(item, index) in lists"> |
|
|
<div :style="{ background: colorList[index] }" class="ent-img-box"> |
|
|
<div :style="{ background: colorList[index] }" class="ent-img-box"> |
|
|
<img :src="item.logoUrl" class="ent-img" /> |
|
|
<img src="https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2816433753,267880517&fm=26&gp=0.jpg" class="ent-img" /> |
|
|
</div> |
|
|
</div> |
|
|
<p class="ent-title"> |
|
|
<p class="ent-title"> |
|
|
<span style="border-bottom: 2px solid #007cc1; padding-bottom: 4px">{{ item.name }}</span> |
|
|
<span style="border-bottom: 2px solid #007cc1; padding-bottom: 4px">{{ item.company }}</span> |
|
|
</p> |
|
|
</p> |
|
|
<p class="ent-des">{{ item.description }}</p> |
|
|
<p class="ent-des">{{ item.introduce }}</p> |
|
|
<p class="ent-man"> |
|
|
<p class="ent-man"> |
|
|
<span class="ent-lf">联系人:{{ item.man }}</span> |
|
|
<span class="ent-lf d-inline-block text-truncate" style="max-width: 115px;">联系人:{{ item.name }}</span> |
|
|
<span class="ent-rh">联系电话:{{ item.tel }}</span> |
|
|
<span class="ent-rh">联系电话:{{ item.phone }}</span> |
|
|
</p> |
|
|
</p> |
|
|
</div> |
|
|
</div> |
|
|
<!-- <a-button class="btn" style="bottom: 20px" type="primary">入驻企业注册</a-button> --> |
|
|
<!-- <a-button class="btn" style="bottom: 20px" type="primary">入驻企业注册</a-button> --> |
|
@ -81,36 +81,7 @@ export default { |
|
|
components: { AddModel }, |
|
|
components: { AddModel }, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
lists: [ |
|
|
lists: [], |
|
|
{ |
|
|
|
|
|
description: '系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍...', |
|
|
|
|
|
name: '测试公司1', |
|
|
|
|
|
logoUrl: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2816433753,267880517&fm=26&gp=0.jpg', |
|
|
|
|
|
man: '张三', |
|
|
|
|
|
tel: '15000000000', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
description: '系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍...', |
|
|
|
|
|
name: '测试公司1', |
|
|
|
|
|
logoUrl: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2816433753,267880517&fm=26&gp=0.jpg', |
|
|
|
|
|
man: '张三', |
|
|
|
|
|
tel: '15000000000', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
description: '系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍...', |
|
|
|
|
|
name: '测试公司1', |
|
|
|
|
|
logoUrl: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2816433753,267880517&fm=26&gp=0.jpg', |
|
|
|
|
|
man: '张三', |
|
|
|
|
|
tel: '15000000000', |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
description: '系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍系统创新中心介绍...', |
|
|
|
|
|
name: '测试公司1', |
|
|
|
|
|
logoUrl: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2816433753,267880517&fm=26&gp=0.jpg', |
|
|
|
|
|
man: '张三', |
|
|
|
|
|
tel: '15000000000', |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
colorList: ['rgba(19, 172, 196, 0.3)', 'rgba(19,96,196,0.3)', 'rgba(162,19,196,0.3)', 'rgba(19,196,72,0.3)'], |
|
|
colorList: ['rgba(19, 172, 196, 0.3)', 'rgba(19,96,196,0.3)', 'rgba(162,19,196,0.3)', 'rgba(19,196,72,0.3)'], |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
@ -138,7 +109,7 @@ export default { |
|
|
const { data, msg, code } = res.data; |
|
|
const { data, msg, code } = res.data; |
|
|
if (code === 200) { |
|
|
if (code === 200) { |
|
|
console.log(data) |
|
|
console.log(data) |
|
|
// this.lists = data.list; |
|
|
this.lists = data |
|
|
// this.total = parseInt(data.total); |
|
|
// this.total = parseInt(data.total); |
|
|
} |
|
|
} |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|