|
|
@ -20,12 +20,18 @@ |
|
|
|
<!-- 商业简报 --> |
|
|
|
<!-- 商业简报 --> |
|
|
|
<view class="news-box acea-row row-middle"> |
|
|
|
<view class="news-box acea-row row-middle"> |
|
|
|
<image src="../../../static/images/business-news.png" class="news-img"></image> |
|
|
|
<image src="../../../static/images/business-news.png" class="news-img"></image> |
|
|
|
<view> |
|
|
|
<view class="news-con-box"> |
|
|
|
<view class="news-con acea-row row-middle"> |
|
|
|
<view class="news-con acea-row row-middle"> |
|
|
|
<image src="../../../static/images/hot-icon.png"></image>2021中国酒店与商用厨具行业品牌盛即将召开 |
|
|
|
<image src="../../../static/images/hot-icon.png"></image> |
|
|
|
|
|
|
|
<view class="notice-swiper"> |
|
|
|
|
|
|
|
<NewsSwiper :list="isHotList" :interval="4000" @toArticleDetail="toArticleDetail"></NewsSwiper> |
|
|
|
|
|
|
|
</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>2021如何具有商业思维? |
|
|
|
<image src="../../../static/images/rem-icon.png"></image> |
|
|
|
|
|
|
|
<view class="notice-swiper"> |
|
|
|
|
|
|
|
<NewsSwiper :list="isRecommend" :interval="4000" @toArticleDetail="toArticleDetail"></NewsSwiper> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -34,22 +40,22 @@ |
|
|
|
<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" @click="toCompanyDetail(item.id)">了解详情</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -64,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> |
|
|
|
<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 class="module-box acea-row row-center-wrapper"> |
|
|
|
|
|
|
|
<view class="tips">装修服务</view> |
|
|
|
|
|
|
|
<view class="tips-item">房屋装修</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 class="tips">装修服务</view> |
|
|
|
|
|
|
|
<view class="tips-item">房屋装修</view> |
|
|
|
|
|
|
|
</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"> |
|
|
@ -125,16 +121,74 @@ |
|
|
|
</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 |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
toCompanyDetail(id){ |
|
|
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
|
|
url:"/pages/life/articleDetail/index?id=" + id |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//换一批 |
|
|
|
|
|
|
|
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" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -147,9 +201,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){ |
|
|
@ -188,7 +247,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; |
|
|
@ -235,9 +294,21 @@ |
|
|
|
height: 78rpx; |
|
|
|
height: 78rpx; |
|
|
|
margin-left: 18rpx; |
|
|
|
margin-left: 18rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.news-con-box{ |
|
|
|
|
|
|
|
width: calc(100% - 100rpx); |
|
|
|
|
|
|
|
} |
|
|
|
.news-con { |
|
|
|
.news-con { |
|
|
|
margin-bottom: 6rpx; |
|
|
|
margin-bottom: 6rpx; |
|
|
|
|
|
|
|
.notice-swiper{ |
|
|
|
|
|
|
|
width: calc(100% - 116rpx); |
|
|
|
|
|
|
|
height: 34rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.scroll-Y{ |
|
|
|
|
|
|
|
height: 34rpx; |
|
|
|
|
|
|
|
.swiper-item{ |
|
|
|
|
|
|
|
height: 34rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.news-con image { |
|
|
|
.news-con image { |
|
|
@ -257,6 +328,15 @@ |
|
|
|
height: 46rpx; |
|
|
|
height: 46rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes doCric{ |
|
|
|
|
|
|
|
0% { |
|
|
|
|
|
|
|
transform: rotate(0deg); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
100%{ |
|
|
|
|
|
|
|
transform: rotate(360deg); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.company-box { |
|
|
|
.company-box { |
|
|
|
height: 380rpx; |
|
|
|
height: 380rpx; |
|
|
|
|
|
|
|
|
|
|
@ -270,6 +350,7 @@ |
|
|
|
line-height: 26rpx; |
|
|
|
line-height: 26rpx; |
|
|
|
color: #666666; |
|
|
|
color: #666666; |
|
|
|
margin-left: auto; |
|
|
|
margin-left: auto; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.update-icon image { |
|
|
|
.update-icon image { |
|
|
@ -278,11 +359,15 @@ |
|
|
|
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%; |
|
|
|
height: 330rpx; |
|
|
|
height: 330rpx; |
|
|
|
white-space: nowrap; |
|
|
|
white-space: nowrap; |
|
|
|
|
|
|
|
margin-left: 30rpx; |
|
|
|
|
|
|
|
|
|
|
|
.company-list { |
|
|
|
.company-list { |
|
|
|
width: 408rpx; |
|
|
|
width: 408rpx; |
|
|
@ -292,7 +377,7 @@ |
|
|
|
border-radius: 12rpx; |
|
|
|
border-radius: 12rpx; |
|
|
|
padding: 16rpx 24rpx; |
|
|
|
padding: 16rpx 24rpx; |
|
|
|
display: inline-block; |
|
|
|
display: inline-block; |
|
|
|
margin: 15rpx 32rpx 0 0rpx; |
|
|
|
margin: 15rpx 30rpx 0 10rpx; |
|
|
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
.title { |
|
|
|
font-size: 28rpx; |
|
|
|
font-size: 28rpx; |
|
|
@ -328,6 +413,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; |
|
|
@ -336,6 +422,7 @@ |
|
|
|
.company-logo { |
|
|
|
.company-logo { |
|
|
|
width: 176rpx; |
|
|
|
width: 176rpx; |
|
|
|
height: 128rpx; |
|
|
|
height: 128rpx; |
|
|
|
|
|
|
|
border-radius: 8rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.todetails { |
|
|
|
.todetails { |
|
|
@ -351,9 +438,6 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.company-list:nth-child(1){ |
|
|
|
|
|
|
|
margin-left: 40rpx; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 推荐服务 |
|
|
|
// 推荐服务 |
|
|
@ -384,6 +468,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 { |
|
|
@ -395,7 +480,7 @@ |
|
|
|
height: 128rpx; |
|
|
|
height: 128rpx; |
|
|
|
background: #FFEFE8; |
|
|
|
background: #FFEFE8; |
|
|
|
border-radius: 12rpx; |
|
|
|
border-radius: 12rpx; |
|
|
|
padding: 18rpx 0 32rpx 0; |
|
|
|
padding: 18rpx 12rpx 32rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|