|
|
@ -24,36 +24,13 @@ |
|
|
|
<view class="news-con acea-row row-middle"> |
|
|
|
<view class="news-con acea-row row-middle"> |
|
|
|
<image src="../../../static/images/hot-icon.png"></image> |
|
|
|
<image src="../../../static/images/hot-icon.png"></image> |
|
|
|
<view class="notice-swiper"> |
|
|
|
<view class="notice-swiper"> |
|
|
|
<swiper |
|
|
|
<NewsSwiper :list="isHotList" :interval="4000" @toArticleDetail="toArticleDetail"></NewsSwiper> |
|
|
|
:autoplay="true" |
|
|
|
|
|
|
|
:interval="5000" |
|
|
|
|
|
|
|
:circular="true" |
|
|
|
|
|
|
|
style="height: 34rpx;" |
|
|
|
|
|
|
|
:duration="1500" |
|
|
|
|
|
|
|
:vertical="true" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<swiper-item v-for="(item,i) in 3" :key="i"> |
|
|
|
|
|
|
|
<view> 2021中国酒店与商用厨具行业品牌盛即将召开 </view> |
|
|
|
|
|
|
|
</swiper-item> |
|
|
|
|
|
|
|
</swiper> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="news-con acea-row row-middle"> |
|
|
|
<view class="news-con acea-row row-middle"> |
|
|
|
<image src="../../../static/images/rem-icon.png"></image> |
|
|
|
<image src="../../../static/images/rem-icon.png"></image> |
|
|
|
<view class="notice-swiper"> |
|
|
|
<view class="notice-swiper"> |
|
|
|
<swiper |
|
|
|
<NewsSwiper :list="isRecommend" :interval="4000" @toArticleDetail="toArticleDetail"></NewsSwiper> |
|
|
|
:autoplay="true" |
|
|
|
|
|
|
|
:interval="5000" |
|
|
|
|
|
|
|
:circular="true" |
|
|
|
|
|
|
|
style="height: 34rpx;" |
|
|
|
|
|
|
|
:duration="1500" |
|
|
|
|
|
|
|
:vertical="true" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<swiper-item v-for="(item,i) in 3" :key="i"> |
|
|
|
|
|
|
|
<view> 如何具有商业思维? </view> |
|
|
|
|
|
|
|
</swiper-item> |
|
|
|
|
|
|
|
</swiper> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -63,21 +40,21 @@ |
|
|
|
<view class="company-box"> |
|
|
|
<view class="company-box"> |
|
|
|
<view class="title-con acea-row"> |
|
|
|
<view class="title-con acea-row"> |
|
|
|
<image src="../../../static/images/business-title1.png" class="title-img"></image> |
|
|
|
<image src="../../../static/images/business-title1.png" class="title-img"></image> |
|
|
|
<view class="update-icon acea-row row-center-wrapper"> |
|
|
|
<view class="update-icon acea-row row-center-wrapper" @click="replaceClick"> |
|
|
|
<image src="../../../static/images/update-icon.png" mode=""></image>换一批 |
|
|
|
<image src="../../../static/images/update-icon.png" :class="showCirc ? 'circ' : ''"></image>换一批 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<scroll-view class="scroll-view_H acea-row" scroll-x="true"> |
|
|
|
<scroll-view class="scroll-view_H acea-row" scroll-x="true"> |
|
|
|
<view class="company-list" v-for="(item,index) in 6"> |
|
|
|
<view class="company-list" v-for="(item,index) in enterpriseList" :key="index"> |
|
|
|
<view class="title">楚象科技有限公司</view> |
|
|
|
<view class="title">{{item.enterpriseName}}</view> |
|
|
|
<view class="category-box acea-row"> |
|
|
|
<view class="category-box acea-row"> |
|
|
|
<view class="tag-item-b tag">持续盈利</view> |
|
|
|
<view class="tag" :class="index%2 == 0 ? 'tag-item-b' : 'tag-item-y' ">{{item.cname}}</view> |
|
|
|
<view class="tag-item-y tag">财务规范</view> |
|
|
|
<!-- <view class="tag-item-y tag">财务规范</view> |
|
|
|
<view class="tag-item-p tag">零负债</view> |
|
|
|
<view class="tag-item-p tag">零负债</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="title-s">以领先科技,致力于推动客户成功</view> |
|
|
|
<view class="title-s line1">{{item.enterpriseTitle}}</view> |
|
|
|
<view class="acea-row"> |
|
|
|
<view class="acea-row"> |
|
|
|
<image src="../../../static/images/business-img1.png" class="company-logo"></image> |
|
|
|
<image :src="item.enterpriseLogo" class="company-logo" mode="aspectFill"></image> |
|
|
|
<view class="todetails">了解详情</view> |
|
|
|
<view class="todetails">了解详情</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
@ -93,46 +70,36 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="service-top acea-row row-between"> |
|
|
|
<view class="service-top acea-row row-between"> |
|
|
|
<view class="service-nub-left acea-row row-column-between"> |
|
|
|
<view class="service-nub-left acea-row row-column-between"> |
|
|
|
<view class="tips">我要开发小程序</view> |
|
|
|
<view class="tips line1">{{supplyList[0].title}}</view> |
|
|
|
<view class="tips-item">最快一个月进入测试阶段</view> |
|
|
|
<view class="tips-item line1">{{supplyList[0].detailedDescription}}</view> |
|
|
|
<image src="../../../static/images/business-img1.png" mode=""></image> |
|
|
|
<image :src="supplyList[0].resourceImgs[0]" mode="aspectFill"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="acea-row row-between service-nub-right"> |
|
|
|
<view class="acea-row row-between service-nub-right"> |
|
|
|
<view class="acea-row row-center-wrapper module-nub"> |
|
|
|
<view class="acea-row row-center-wrapper module-nub"> |
|
|
|
<view class="tips">我要H5定制</view> |
|
|
|
<view class="tips line1">{{supplyList[1].title}}</view> |
|
|
|
<view class="tips-item">最快半个月进入测试阶段</view> |
|
|
|
<view class="tips-item line1">{{supplyList[1].detailedDescription}}</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="module-box acea-row row-center-wrapper"> |
|
|
|
|
|
|
|
<view class="tips">装修服务</view> |
|
|
|
|
|
|
|
<view class="tips-item">房屋装修</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="module-box acea-row row-center-wrapper"> |
|
|
|
<view class="acea-row row-center-wrapper module-nub"> |
|
|
|
<view class="tips">装修服务</view> |
|
|
|
<view class="tips">{{supplyList[2].title || '广告位招租'}}</view> |
|
|
|
<view class="tips-item">房屋装修</view> |
|
|
|
<view class="tips-item">{{supplyList[2].detailedDescription}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="service-bottom acea-row row-between"> |
|
|
|
<view class="service-bottom acea-row row-between"> |
|
|
|
<view class="module-box bg-red acea-row row-center-wrapper"> |
|
|
|
<view v-for="(item,index) in cagetoryList" :key="index"> |
|
|
|
<view class="tips">装修服务</view> |
|
|
|
<view class="module-box bg-red acea-row row-center-wrapper" v-if="index <= 2 "> |
|
|
|
<view class="tips-item">房屋装修</view> |
|
|
|
<view class="tips">{{item.cagetoryName}}</view> |
|
|
|
</view> |
|
|
|
<!-- <view class="tips-item">房屋装修</view> --> |
|
|
|
<view class="module-box bg-blue acea-row row-center-wrapper"> |
|
|
|
</view> |
|
|
|
<view class="tips">装修服务</view> |
|
|
|
|
|
|
|
<view class="tips-item">房屋装修</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="module-box bg-yellow acea-row row-center-wrapper"> |
|
|
|
|
|
|
|
<view class="tips">装修服务</view> |
|
|
|
|
|
|
|
<view class="tips-item">房屋装修</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="tolearn acea-row row-center-wrapper">装修服务</view> |
|
|
|
<view class="tolearn acea-row row-center-wrapper">查看更多</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 优质项目 --> |
|
|
|
<!-- 优质项目 --> |
|
|
|
<view class="project-box"> |
|
|
|
<view class="project-box"> |
|
|
|
<image src="../../../static/images/business-title3.png" class="title-img"></image> |
|
|
|
<image src="../../../static/images/business-title3.png" class="title-img"></image> |
|
|
|
<view class="project-list acea-row" v-for="(item,index) in 3"> |
|
|
|
<view class="project-list acea-row" v-for="(item,index) in 3" :key="index"> |
|
|
|
<image src="../../../static/images/business-img1.png" mode="" class="project-img"></image> |
|
|
|
<image src="../../../static/images/business-img1.png" mode="" class="project-img"></image> |
|
|
|
<view class="right-con acea-row row-column-between"> |
|
|
|
<view class="right-con acea-row row-column-between"> |
|
|
|
<view class="acea-row row-middle title"> |
|
|
|
<view class="acea-row row-middle title"> |
|
|
@ -154,16 +121,69 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
|
|
|
|
import { getArticle } from "@/api/home"; |
|
|
|
|
|
|
|
import { briefing, supply, listResourcesCagetory, listEnterprise } from "@/api/business" |
|
|
|
|
|
|
|
import NewsSwiper from "./newsSwiper.vue" |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
|
|
|
|
components:{ NewsSwiper }, |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
|
|
|
|
showCirc: false, |
|
|
|
|
|
|
|
isHotList: [], |
|
|
|
|
|
|
|
isRecommend: [], |
|
|
|
|
|
|
|
supplyList: [], |
|
|
|
|
|
|
|
cagetoryList: [], |
|
|
|
|
|
|
|
enterpriseList: [] |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
mounted(){ |
|
|
|
|
|
|
|
this.getArticleList() |
|
|
|
|
|
|
|
this.getSupplyList() |
|
|
|
|
|
|
|
this.getCagetoryList() |
|
|
|
|
|
|
|
this.getEnterpriseList() |
|
|
|
|
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
methods:{ |
|
|
|
|
|
|
|
//获取资讯 |
|
|
|
|
|
|
|
getArticleList(){ |
|
|
|
|
|
|
|
briefing().then((res)=>{ |
|
|
|
|
|
|
|
const articleList= res.data |
|
|
|
|
|
|
|
this.isHotList = articleList.filter(item=> item.isHot == 1) |
|
|
|
|
|
|
|
this.isRecommend = articleList.filter(item=> item.isRecommend == 1) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
toArticleDetail(id){ |
|
|
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
|
|
url:"/pages/life/articleDetail/index?id=" + id |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//获取供应 |
|
|
|
|
|
|
|
getSupplyList(){ |
|
|
|
|
|
|
|
supply().then((res)=>{ |
|
|
|
|
|
|
|
this.supplyList = res.data |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//获取分类 |
|
|
|
|
|
|
|
getCagetoryList(){ |
|
|
|
|
|
|
|
listResourcesCagetory().then((res)=>{ |
|
|
|
|
|
|
|
this.cagetoryList = res.data |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//获取企业 |
|
|
|
|
|
|
|
getEnterpriseList(){ |
|
|
|
|
|
|
|
listEnterprise().then((res)=>{ |
|
|
|
|
|
|
|
this.enterpriseList = res.data |
|
|
|
|
|
|
|
this.showCirc = false |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//换一批 |
|
|
|
|
|
|
|
replaceClick(){ |
|
|
|
|
|
|
|
if(!this.showCirc){ |
|
|
|
|
|
|
|
this.showCirc = true; |
|
|
|
|
|
|
|
this.getEnterpriseList() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
// 供需大厅 |
|
|
|
// 供需大厅 |
|
|
|
toSupplyHall(e){ |
|
|
|
toSupplyHall(e){ |
|
|
|
// let id = e.currentTarget.dataset.id; |
|
|
|
|
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
|
url:"/pages/demandHall/supplyHall/index" |
|
|
|
url:"/pages/demandHall/supplyHall/index" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -176,9 +196,14 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 项目投融 |
|
|
|
// 项目投融 |
|
|
|
toDemoInvestment(e){ |
|
|
|
toDemoInvestment(e){ |
|
|
|
uni.navigateTo({ |
|
|
|
uni.showModal({ |
|
|
|
url:"/pages/demandHall/demoInvestment/index" |
|
|
|
title:'提示!', |
|
|
|
|
|
|
|
content: '模块开发中,请等待...', |
|
|
|
|
|
|
|
showCancel: false |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
// uni.navigateTo({ |
|
|
|
|
|
|
|
// url:"/pages/demandHall/demoInvestment/index" |
|
|
|
|
|
|
|
// }) |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 认证 |
|
|
|
// 认证 |
|
|
|
toAuthentication(e){ |
|
|
|
toAuthentication(e){ |
|
|
@ -217,7 +242,7 @@ |
|
|
|
.search { |
|
|
|
.search { |
|
|
|
margin-left: auto; |
|
|
|
margin-left: auto; |
|
|
|
width: 132rpx; |
|
|
|
width: 132rpx; |
|
|
|
height: 68rpx; |
|
|
|
height: 66rpx; |
|
|
|
background: linear-gradient(39deg, #FF5100 0%, #FFA074 100%); |
|
|
|
background: linear-gradient(39deg, #FF5100 0%, #FFA074 100%); |
|
|
|
border-radius: 8rpx; |
|
|
|
border-radius: 8rpx; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
@ -297,6 +322,15 @@ |
|
|
|
width: 134rpx; |
|
|
|
width: 134rpx; |
|
|
|
height: 46rpx; |
|
|
|
height: 46rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes doCric{ |
|
|
|
|
|
|
|
0% { |
|
|
|
|
|
|
|
transform: rotate(0deg); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
100%{ |
|
|
|
|
|
|
|
transform: rotate(360deg); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.company-box { |
|
|
|
.company-box { |
|
|
|
height: 380rpx; |
|
|
|
height: 380rpx; |
|
|
@ -311,6 +345,7 @@ |
|
|
|
line-height: 26rpx; |
|
|
|
line-height: 26rpx; |
|
|
|
color: #666666; |
|
|
|
color: #666666; |
|
|
|
margin-left: auto; |
|
|
|
margin-left: auto; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.update-icon image { |
|
|
|
.update-icon image { |
|
|
@ -319,6 +354,9 @@ |
|
|
|
background: rgba(0, 0, 0, 0); |
|
|
|
background: rgba(0, 0, 0, 0); |
|
|
|
margin-right: 10rpx; |
|
|
|
margin-right: 10rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.update-icon .circ{ |
|
|
|
|
|
|
|
animation: doCric 1s ease; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.scroll-view_H { |
|
|
|
.scroll-view_H { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
@ -370,6 +408,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.title-s { |
|
|
|
.title-s { |
|
|
|
|
|
|
|
height: 32rpx; |
|
|
|
font-weight: 400; |
|
|
|
font-weight: 400; |
|
|
|
color: #6E6E6E; |
|
|
|
color: #6E6E6E; |
|
|
|
margin: 16rpx 0 10rpx 0; |
|
|
|
margin: 16rpx 0 10rpx 0; |
|
|
@ -378,6 +417,7 @@ |
|
|
|
.company-logo { |
|
|
|
.company-logo { |
|
|
|
width: 176rpx; |
|
|
|
width: 176rpx; |
|
|
|
height: 128rpx; |
|
|
|
height: 128rpx; |
|
|
|
|
|
|
|
border-radius: 8rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.todetails { |
|
|
|
.todetails { |
|
|
@ -423,6 +463,7 @@ |
|
|
|
.service-nub-left image { |
|
|
|
.service-nub-left image { |
|
|
|
width: 288rpx; |
|
|
|
width: 288rpx; |
|
|
|
height: 162rpx; |
|
|
|
height: 162rpx; |
|
|
|
|
|
|
|
border-radius: 8rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.service-nub-right { |
|
|
|
.service-nub-right { |
|
|
@ -434,7 +475,7 @@ |
|
|
|
height: 128rpx; |
|
|
|
height: 128rpx; |
|
|
|
background: #FFEFE8; |
|
|
|
background: #FFEFE8; |
|
|
|
border-radius: 12rpx; |
|
|
|
border-radius: 12rpx; |
|
|
|
padding: 18rpx 0 32rpx 0; |
|
|
|
padding: 18rpx 12rpx 32rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|