|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <page-layout class="exhibitor-detail">
|
|
|
+ <page-layout class="exhibitor-detail" v-if="exhibitor && exhibitor.name_zh_cn">
|
|
|
<nav-bar title="展商详情" @init="onInitNavbar"></nav-bar>
|
|
|
<u-scroll-view>
|
|
|
<view class="main-container">
|
|
@@ -80,8 +80,7 @@
|
|
|
<activity-recommend recommend-type="detail" :exhibitorId="exhibitorId"/>
|
|
|
</u-panel>
|
|
|
<view class="click-more">
|
|
|
- <van-button type="primary" @click="navigateTo('/pages/index/index?tab=exhibitor')">点击查看更多展商信息
|
|
|
- </van-button>
|
|
|
+ <van-button type="primary" @click="navigateTo('/pages/index/index?tab=exhibitor')">点击查看更多展商信息</van-button>
|
|
|
</view>
|
|
|
<disclaimer-text></disclaimer-text>
|
|
|
</view>
|
|
@@ -165,7 +164,7 @@ export default {
|
|
|
for (let i = 0; i < countryZhCn.length; i++) {
|
|
|
if (countryZhCn[i].code === this.exhibitor.country) {
|
|
|
this.exhibitor.country_name = countryZhCn[i].name
|
|
|
- break; // 当找到值为 3 的元素时退出循环
|
|
|
+ break;
|
|
|
}
|
|
|
}
|
|
|
}
|