|
|
|
@ -20,12 +20,18 @@
|
|
|
|
|
<!-- 商业简报 --> |
|
|
|
|
<view class="news-box acea-row row-middle"> |
|
|
|
|
<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"> |
|
|
|
|
<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 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> |
|
|
|
@ -34,22 +40,22 @@
|
|
|
|
|
<view class="company-box"> |
|
|
|
|
<view class="title-con acea-row"> |
|
|
|
|
<image src="../../../static/images/business-title1.png" class="title-img"></image> |
|
|
|
|
<view class="update-icon acea-row row-center-wrapper"> |
|
|
|
|
<image src="../../../static/images/update-icon.png" mode=""></image>换一批 |
|
|
|
|
<view class="update-icon acea-row row-center-wrapper" @click="replaceClick"> |
|
|
|
|
<image src="../../../static/images/update-icon.png" :class="showCirc ? 'circ' : ''"></image>换一批 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<scroll-view class="scroll-view_H acea-row" scroll-x="true"> |
|
|
|
|
<view class="company-list" v-for="(item,index) in 6"> |
|
|
|
|
<view class="title">楚象科技有限公司</view> |
|
|
|
|
<view class="company-list" v-for="(item,index) in enterpriseList" :key="index"> |
|
|
|
|
<view class="title">{{item.enterpriseName}}</view> |
|
|
|
|
<view class="category-box acea-row"> |
|
|
|
|
<view class="tag-item-b tag">持续盈利</view> |
|
|
|
|
<view class="tag-item-y tag">财务规范</view> |
|
|
|
|
<view class="tag-item-p 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-p tag">零负债</view> --> |
|
|
|
|
</view> |
|
|
|
|
<view class="title-s">以领先科技,致力于推动客户成功</view> |
|
|
|
|
<view class="title-s line1">{{item.enterpriseTitle}}</view> |
|
|
|
|
<view class="acea-row"> |
|
|
|
|
<image src="../../../static/images/business-img1.png" class="company-logo"></image> |
|
|
|
|
<view class="todetails">了解详情</view> |
|
|
|
|
<image :src="item.enterpriseLogo" class="company-logo" mode="aspectFill"></image> |
|
|
|
|
<view class="todetails" @click="toCompanyDetail(item.id)">了解详情</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
@ -64,46 +70,36 @@
|
|
|
|
|
</view> |
|
|
|
|
<view class="service-top acea-row row-between"> |
|
|
|
|
<view class="service-nub-left acea-row row-column-between"> |
|
|
|
|
<view class="tips">我要开发小程序</view> |
|
|
|
|
<view class="tips-item">最快一个月进入测试阶段</view> |
|
|
|
|
<image src="../../../static/images/business-img1.png" mode=""></image> |
|
|
|
|
<view class="tips line1">{{supplyList[0].title}}</view> |
|
|
|
|
<view class="tips-item line1">{{supplyList[0].detailedDescription}}</view> |
|
|
|
|
<image :src="supplyList[0].resourceImgs[0]" mode="aspectFill"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="acea-row row-between service-nub-right"> |
|
|
|
|
<view class="acea-row row-center-wrapper module-nub"> |
|
|
|
|
<view class="tips">我要H5定制</view> |
|
|
|
|
<view class="tips-item">最快半个月进入测试阶段</view> |
|
|
|
|
<view class="tips line1">{{supplyList[1].title}}</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 class="module-box acea-row row-center-wrapper"> |
|
|
|
|
<view class="tips">装修服务</view> |
|
|
|
|
<view class="tips-item">房屋装修</view> |
|
|
|
|
<view class="acea-row row-center-wrapper module-nub"> |
|
|
|
|
<view class="tips">{{supplyList[2].title || '广告位招租'}}</view> |
|
|
|
|
<view class="tips-item">{{supplyList[2].detailedDescription}}</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="service-bottom acea-row row-between"> |
|
|
|
|
<view class="module-box bg-red acea-row row-center-wrapper"> |
|
|
|
|
<view class="tips">装修服务</view> |
|
|
|
|
<view class="tips-item">房屋装修</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="module-box bg-blue acea-row row-center-wrapper"> |
|
|
|
|
<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 v-for="(item,index) in cagetoryList" :key="index"> |
|
|
|
|
<view class="module-box bg-red acea-row row-center-wrapper" v-if="index <= 2 "> |
|
|
|
|
<view class="tips">{{item.cagetoryName}}</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 class="project-box"> |
|
|
|
|
<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> |
|
|
|
|
<view class="right-con acea-row row-column-between"> |
|
|
|
|
<view class="acea-row row-middle title"> |
|
|
|
@ -125,16 +121,74 @@
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import { getArticle } from "@/api/home"; |
|
|
|
|
import { briefing, supply, listResourcesCagetory, listEnterprise } from "@/api/business" |
|
|
|
|
import NewsSwiper from "./newsSwiper.vue" |
|
|
|
|
export default { |
|
|
|
|
components:{ NewsSwiper }, |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
|
|
|
|
|
showCirc: false, |
|
|
|
|
isHotList: [], |
|
|
|
|
isRecommend: [], |
|
|
|
|
supplyList: [], |
|
|
|
|
cagetoryList: [], |
|
|
|
|
enterpriseList: [] |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
mounted(){ |
|
|
|
|
this.getArticleList() |
|
|
|
|
this.getSupplyList() |
|
|
|
|
this.getCagetoryList() |
|
|
|
|
this.getEnterpriseList() |
|
|
|
|
}, |
|
|
|
|
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){ |
|
|
|
|
// let id = e.currentTarget.dataset.id; |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url:"/pages/demandHall/supplyHall/index" |
|
|
|
|
}) |
|
|
|
@ -147,9 +201,14 @@
|
|
|
|
|
}, |
|
|
|
|
// 项目投融 |
|
|
|
|
toDemoInvestment(e){ |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url:"/pages/demandHall/demoInvestment/index" |
|
|
|
|
uni.showModal({ |
|
|
|
|
title:'提示!', |
|
|
|
|
content: '模块开发中,请等待...', |
|
|
|
|
showCancel: false |
|
|
|
|
}) |
|
|
|
|
// uni.navigateTo({ |
|
|
|
|
// url:"/pages/demandHall/demoInvestment/index" |
|
|
|
|
// }) |
|
|
|
|
}, |
|
|
|
|
// 认证 |
|
|
|
|
toAuthentication(e){ |
|
|
|
@ -188,7 +247,7 @@
|
|
|
|
|
.search { |
|
|
|
|
margin-left: auto; |
|
|
|
|
width: 132rpx; |
|
|
|
|
height: 68rpx; |
|
|
|
|
height: 66rpx; |
|
|
|
|
background: linear-gradient(39deg, #FF5100 0%, #FFA074 100%); |
|
|
|
|
border-radius: 8rpx; |
|
|
|
|
color: #fff; |
|
|
|
@ -235,9 +294,21 @@
|
|
|
|
|
height: 78rpx; |
|
|
|
|
margin-left: 18rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.news-con-box{ |
|
|
|
|
width: calc(100% - 100rpx); |
|
|
|
|
} |
|
|
|
|
.news-con { |
|
|
|
|
margin-bottom: 6rpx; |
|
|
|
|
.notice-swiper{ |
|
|
|
|
width: calc(100% - 116rpx); |
|
|
|
|
height: 34rpx; |
|
|
|
|
} |
|
|
|
|
.scroll-Y{ |
|
|
|
|
height: 34rpx; |
|
|
|
|
.swiper-item{ |
|
|
|
|
height: 34rpx; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.news-con image { |
|
|
|
@ -256,6 +327,15 @@
|
|
|
|
|
width: 134rpx; |
|
|
|
|
height: 46rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@keyframes doCric{ |
|
|
|
|
0% { |
|
|
|
|
transform: rotate(0deg); |
|
|
|
|
} |
|
|
|
|
100%{ |
|
|
|
|
transform: rotate(360deg); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.company-box { |
|
|
|
|
height: 380rpx; |
|
|
|
@ -270,6 +350,7 @@
|
|
|
|
|
line-height: 26rpx; |
|
|
|
|
color: #666666; |
|
|
|
|
margin-left: auto; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.update-icon image { |
|
|
|
@ -278,11 +359,15 @@
|
|
|
|
|
background: rgba(0, 0, 0, 0); |
|
|
|
|
margin-right: 10rpx; |
|
|
|
|
} |
|
|
|
|
.update-icon .circ{ |
|
|
|
|
animation: doCric 1s ease; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.scroll-view_H { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 330rpx; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
margin-left: 30rpx; |
|
|
|
|
|
|
|
|
|
.company-list { |
|
|
|
|
width: 408rpx; |
|
|
|
@ -292,8 +377,8 @@
|
|
|
|
|
border-radius: 12rpx; |
|
|
|
|
padding: 16rpx 24rpx; |
|
|
|
|
display: inline-block; |
|
|
|
|
margin: 15rpx 32rpx 0 0rpx; |
|
|
|
|
|
|
|
|
|
margin: 15rpx 30rpx 0 10rpx; |
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
font-size: 28rpx; |
|
|
|
|
font-weight: 600; |
|
|
|
@ -328,6 +413,7 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.title-s { |
|
|
|
|
height: 32rpx; |
|
|
|
|
font-weight: 400; |
|
|
|
|
color: #6E6E6E; |
|
|
|
|
margin: 16rpx 0 10rpx 0; |
|
|
|
@ -336,6 +422,7 @@
|
|
|
|
|
.company-logo { |
|
|
|
|
width: 176rpx; |
|
|
|
|
height: 128rpx; |
|
|
|
|
border-radius: 8rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.todetails { |
|
|
|
@ -351,9 +438,6 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.company-list:nth-child(1){ |
|
|
|
|
margin-left: 40rpx; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 推荐服务 |
|
|
|
@ -384,6 +468,7 @@
|
|
|
|
|
.service-nub-left image { |
|
|
|
|
width: 288rpx; |
|
|
|
|
height: 162rpx; |
|
|
|
|
border-radius: 8rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.service-nub-right { |
|
|
|
@ -395,7 +480,7 @@
|
|
|
|
|
height: 128rpx; |
|
|
|
|
background: #FFEFE8; |
|
|
|
|
border-radius: 12rpx; |
|
|
|
|
padding: 18rpx 0 32rpx 0; |
|
|
|
|
padding: 18rpx 12rpx 32rpx; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|