|
@@ -10,46 +10,41 @@
|
|
|
</view>
|
|
|
<view class="exhibitor-title">
|
|
|
<view class="exhibitor-title-1">
|
|
|
- 科世达(上海)连接器有限公司
|
|
|
+ {{ exhibitor.name_zh_cn }}
|
|
|
</view>
|
|
|
<view class="exhibitor-title-2">
|
|
|
- Leopold Kostal GmbH & Co. KG
|
|
|
+ {{ exhibitor.name_en_us }}
|
|
|
</view>
|
|
|
<view class="exhibitor-title-3">
|
|
|
- 中国(含港澳台)
|
|
|
+ {{ exhibitor.country }}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="exhibitor-number">
|
|
|
<view class="exhibitor-number-label">展位号:</view>
|
|
|
- <view class="exhibitor-number-text">E1.1101</view>
|
|
|
+ <view class="exhibitor-number-text">{{ exhibitor.hall_booth_no }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="exhibitor-desc">
|
|
|
- 科世达(上海)连接器有限公司从事连接器、连接器系统的生产加工,汽车零部件、电子元器件、机械设备及其零配件、工具、模具、连接器产品及其生产设备的批发、进出口、佣金代理(拍卖除外),并提供相关配套服务(包括上门安装、保养、维修服务)。
|
|
|
+ {{ exhibitor.introduce_zh_cn }}
|
|
|
</view>
|
|
|
<view class="exhibitor-tags">
|
|
|
<view class="exhibitor-tags-category">产品分类:</view>
|
|
|
<view class="exhibitor-tags-list">
|
|
|
- <view class="exhibitor-tag">柔性与印刷电子</view>
|
|
|
- <view class="exhibitor-tag">电子制造服务</view>
|
|
|
- <view class="exhibitor-tag">PCB焊接和连接技术</view>
|
|
|
- <view class="exhibitor-tag">线束和连接器</view>
|
|
|
- <view class="exhibitor-tag">柔性与印刷电子</view>
|
|
|
- <view class="exhibitor-tag">电子制造服务</view>
|
|
|
+ <view class="exhibitor-tag" v-for="(item) in exhibitor.product_cate_names">{{ item }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="exhibitor-tags">
|
|
|
<view class="exhibitor-tags-category">应用领域:</view>
|
|
|
- <view class="exhibitor-tags-list"></view>
|
|
|
- <view class="exhibitor-tag">电脑和周边设备</view>
|
|
|
- <view class="exhibitor-tag">新能源</view>
|
|
|
+ <view class="exhibitor-tags-list">
|
|
|
+ <view class="exhibitor-tag" v-for="(item) in exhibitor.application_areas_names">{{ item }}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="exhibitor-operation">
|
|
|
- <view class="exhibitor-views">浏览:30911</view>
|
|
|
+ <view class="exhibitor-views">浏览:{{ exhibitor.pv }}</view>
|
|
|
<view class="exhibitor-action">
|
|
|
<view>
|
|
|
<view class="iconfont icon-xiaochengxu-renqiicon"></view>
|
|
|
- <view>人气:11192</view>
|
|
|
+ <view>人气:{{ exhibitor.poll_count }}</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
<button :plain="true" @click.stop="onShare()">
|
|
@@ -60,31 +55,30 @@
|
|
|
</button>
|
|
|
</view>
|
|
|
<view>
|
|
|
- <view v-if="exhibitor.favourited" class="iconfont icon-favourites-filled-star-symbol active"></view>
|
|
|
+ <view v-if="exhibitor.is_collect" class="iconfont icon-favourites-filled-star-symbol active"></view>
|
|
|
<view v-else class="iconfont icon-Favourites-Add-Large"></view>
|
|
|
<view>收藏</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
- <view v-if="exhibitor.liked" class="iconfont icon-aixin active"></view>
|
|
|
+ <view v-if="exhibitor.is_like" class="iconfont icon-aixin active"></view>
|
|
|
<view v-else class="iconfont icon-heart1"></view>
|
|
|
<view>点赞</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
- <view v-if="exhibitor.voted" class="iconfont icon-Ticket1 active"></view>
|
|
|
+ <view v-if="exhibitor.is_poll" class="iconfont icon-Ticket1 active"></view>
|
|
|
<view v-else class="iconfont icon-xiaochengxu-toupiaoicon"></view>
|
|
|
<view>投票</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<u-panel title="展品资料">
|
|
|
- <exhibit-recommend :limit="exhibitRecommendLimit" @show-all="showExhibitMore = false"/>
|
|
|
- <view v-if="showExhibitMore" class="click-more"><van-button type="primary" @click="exhibitRecommendLimit = 8">点击展开更多展品</van-button></view>
|
|
|
+ <exhibit-recommend :limit="exhibitRecommendLimit" :exhibitorId="exhibitorId"/>
|
|
|
</u-panel>
|
|
|
<u-panel title="展商新闻">
|
|
|
- <news-recommend recommend-type="detail" />
|
|
|
+ <news-recommend recommend-type="detail" :exhibitorId="exhibitorId" />
|
|
|
</u-panel>
|
|
|
<u-panel title="展商活动">
|
|
|
- <activity-recommend recommend-type="detail" />
|
|
|
+ <activity-recommend recommend-type="detail" :exhibitorId="exhibitorId" />
|
|
|
</u-panel>
|
|
|
<view class="click-more"><van-button type="primary" @click="navigateTo('/pages/exhibitor/index')">点击查看更多展商信息</van-button></view>
|
|
|
</view>
|
|
@@ -101,6 +95,7 @@
|
|
|
import ExhibitRecommend from '@/pages/exhibitor/components/exhibit-recommend.vue'
|
|
|
import NewsRecommend from '@/pages/news/components/news-recommend.vue'
|
|
|
import ActivityRecommend from '@/pages/activity/components/activity-recommend.vue'
|
|
|
+ import { exhibitorsInfo } from '@/api/exhibitor'
|
|
|
|
|
|
export default {
|
|
|
options: {
|
|
@@ -117,6 +112,10 @@
|
|
|
},
|
|
|
computed: {
|
|
|
},
|
|
|
+ onLoad(options) {
|
|
|
+ this.exhibitorId = options.id
|
|
|
+ this.getExhibitorsInfo()
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
showExhibitMore: true,
|
|
@@ -124,28 +123,41 @@
|
|
|
shareInfo: null,
|
|
|
exhibitRecommendLimit: 4,
|
|
|
exhibitor: {
|
|
|
- favourited: true,
|
|
|
- liked: false,
|
|
|
- voted: false
|
|
|
- }
|
|
|
+ name_zh_cn: '',
|
|
|
+ name_en_us: '',
|
|
|
+ country: '',
|
|
|
+ hall_booth_no: '',
|
|
|
+ product_cate_names: [],
|
|
|
+ application_areas_names: [],
|
|
|
+ pv: 0,
|
|
|
+ poll_count: 0
|
|
|
+ },
|
|
|
+ exhibitorId: 0
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
this.loadFontFace('Poppins')
|
|
|
},
|
|
|
methods: {
|
|
|
+ getExhibitorsInfo() {
|
|
|
+ exhibitorsInfo({id: this.exhibitorId}).then(res => {
|
|
|
+ if (res.code === 0) {
|
|
|
+ this.exhibitor = res.data
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
onShareAppMessage(ops) {
|
|
|
return {
|
|
|
title: '科世达(上海)连接器有限公司',
|
|
|
path: `/pages/exhibitor/detail`,
|
|
|
- imageUrl: 'https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70c02212.png?x-oss-process=image/resize,w_600,h_600,limit_0,m_pad'
|
|
|
+ imageUrl: this.exhibitor.logo + '?x-oss-process=image/resize,w_600,h_600,limit_0,m_pad'
|
|
|
}
|
|
|
},
|
|
|
onShare(item) {
|
|
|
this.shareInfo = {
|
|
|
- title: '科世达(上海)连接器有限公司',
|
|
|
- path: `/pages/exhibitor/detail`,
|
|
|
- imageUrl: 'https://oss.starify.cn/prod/starify/up/0001018678/20241108/672da70c02212.png?x-oss-process=image/resize,w_600,h_600,limit_0,m_pad'
|
|
|
+ title: this.exhibitor.name_zh_cn,
|
|
|
+ path: `/pages/exhibitor/detail?id=` + this.exhibitor.id,
|
|
|
+ imageUrl: this.exhibitor.logo + '?x-oss-process=image/resize,w_600,h_600,limit_0,m_pad'
|
|
|
}
|
|
|
this.showShare = true
|
|
|
}
|