|
@@ -1047,9 +1047,14 @@ export default class Index extends Component {
|
1047
|
1047
|
}
|
1048
|
1048
|
pointItemCilck() {
|
1049
|
1049
|
const { projectDetail } = this.props
|
1050
|
|
- Taro.navigateTo({
|
1051
|
|
- url: `/pages/project/detail/highLight?type=${projectDetail.highlightsType}&link=${encodeURIComponent(projectDetail.highlightsLink)}&content=${encodeURIComponent(projectDetail.highlights)}`
|
1052
|
|
- })
|
|
1050
|
+ if (projectDetail.highlightsLink || projectDetail.highlights) {
|
|
1051
|
+ Taro.navigateTo({
|
|
1052
|
+ url: `/pages/project/detail/highLight?type=${projectDetail.highlightsType}&link=${encodeURIComponent(projectDetail.highlightsLink)}&content=${encodeURIComponent(projectDetail.highlights)}`
|
|
1053
|
+ })
|
|
1054
|
+ } else {
|
|
1055
|
+ return
|
|
1056
|
+ }
|
|
1057
|
+
|
1053
|
1058
|
}
|
1054
|
1059
|
|
1055
|
1060
|
renderPoints() {
|
|
@@ -1519,7 +1524,7 @@ export default class Index extends Component {
|
1519
|
1524
|
</View>
|
1520
|
1525
|
</View>
|
1521
|
1526
|
{/* 项目亮点 */}
|
1522
|
|
- {projectDetail.highlightsType && this.renderPoints()}
|
|
1527
|
+ {projectDetail.highlightsCover && this.renderPoints()}
|
1523
|
1528
|
{/* 项目顾问 */}
|
1524
|
1529
|
{this.renderConsuler()}
|
1525
|
1530
|
{/* 周边 */}
|