|
@@ -60,9 +60,16 @@
|
|
let row = this.imageTopList[index]
|
|
let row = this.imageTopList[index]
|
|
console.log(index,row)
|
|
console.log(index,row)
|
|
if(row.jumpType !== 'NONE'){
|
|
if(row.jumpType !== 'NONE'){
|
|
- uni.navigateTo({
|
|
|
|
- url: row.jumpUrl
|
|
|
|
- })
|
|
|
|
|
|
+ // 跳外网地址
|
|
|
|
+ if(row.jumpUrl.indexOf('http') == 0){
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ // 跳小程序页面
|
|
|
|
+ if(row.jumpUrl.indexOf('/pages') == 0){
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: row.jumpUrl
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 获取banner
|
|
// 获取banner
|