<template>
  <view @click="openLink" class="break-all text-blue-400 text-xs my-1"> {{ link }} </view>
</template>

<script setup>
const props = defineProps({ link: String });

function openLink() {
  uni.navigateTo({
    url: `/pages/detailWebview/detailWebview?url=${props.link}`,
  });
}
</script>
