feat: 在视频日志组件中添加点击事件以跳转到网页

This commit is contained in:
范鹏 2025-05-29 17:47:25 +08:00
parent 6f9fb8b2df
commit adae5c917a

View File

@ -1,7 +1,7 @@
<template>
<view>
<view class="m-4" v-if="info">
<swiper indicator-dots autoplay circular class="h-195">
<swiper indicator-dots autoplay circular class="h-195" @click="toWebview">
<swiper-item>
<image
mode="widthFix"
@ -135,6 +135,15 @@
}
})
const toWebview = () => {
$basic.routeJump({
name: 'webview',
params: {
url: encodeURIComponent('https://www.baidu.com')
}
})
}
const resetLog = async () => {
uni.showModal({
title: '提示',