|
|
@@ -5,7 +5,7 @@ |
|
|
|
<div class="description">{{item.title}}</div> |
|
|
|
<div class="mark">{{item.copywriting}}</div> |
|
|
|
</div> |
|
|
|
<image :src="fileURL + item.speedUrl"></image> |
|
|
|
<image :src="fileURL + item.imgUrl"></image> |
|
|
|
</div> |
|
|
|
<view style="text-align: center;margin: 20rpx;" v-if="state.flags">我是有底线的</view> |
|
|
|
</div> |
|
|
@@ -73,8 +73,33 @@ |
|
|
|
}); |
|
|
|
} |
|
|
|
const link = (item) => { |
|
|
|
console.log("item", item) |
|
|
|
navTo(`item.hyperLink`) |
|
|
|
if (item.type == 1) { |
|
|
|
const params = encodeURIComponent(JSON.stringify(item.hyperLink)) |
|
|
|
uni.navigateTo({ |
|
|
|
url: `/subpackage/personal-center/webview?url=` + params |
|
|
|
}) |
|
|
|
} else if (item.type == 2) { |
|
|
|
navTo(item.hyperLink) |
|
|
|
} else if (item.type == 3) { |
|
|
|
uni.navigateTo({ |
|
|
|
url: `/subpackage/orders/moreHighMsg/textDetails` |
|
|
|
}) |
|
|
|
} else if (item.type == 4) { |
|
|
|
uni.navigateToMiniProgram({ |
|
|
|
appId: item.hyperLink, |
|
|
|
path: item.speedUrl, |
|
|
|
success(res) { |
|
|
|
console.log(res); |
|
|
|
}, |
|
|
|
complete(res) { |
|
|
|
console.log(res); |
|
|
|
}, |
|
|
|
fail(res) { |
|
|
|
console.log(res); |
|
|
|
// 未成功跳转到车主小程序 |
|
|
|
}, |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|