mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-12 21:29:31 +08:00
fix: 修复自定义轮播图弹窗链接跳转网页问题
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<tm-poup v-model="isShow" width="80vw" height="70vh" position="center" :round="6" @change="fnOnChange">
|
||||
<tm-poup v-model="isShow" width="80vw" height="800rpx" position="center" :round="6" @change="fnOnChange">
|
||||
<view class="fulled pa-4">
|
||||
<view class="mt-24 fulled text-weight-b text-size-sm text-align-center text-overflow-2 pb-12">{{ title }}</view>
|
||||
<view class="mt-24 fulled text-weight-b text-size-sm text-align-center text-overflow-2 pb-24">{{ title }}</view>
|
||||
<view class="fulled mt-2">
|
||||
<scroll-view class="fulled" scroll-y :style="{
|
||||
height: url? '52vh': '59vh'
|
||||
height: url? '600rpx': '680rpx'
|
||||
}">
|
||||
<mp-html class="evan-markdown" lazy-load :domain="markdownConfig.domain"
|
||||
:loading-img="markdownConfig.loadingGif" :scroll-table="true" :selectable="true"
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
@click="handlePreview(mediumIndex,moment.images)"/>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="moment.audios.length!==0" class="mb-12 mt--12"
|
||||
<view v-if="moment.audios.length!==0" class="mb-12"
|
||||
style="display: flex; flex-direction: column; gap: 12rpx 0;padding: 0 24rpx;padding-right:28rpx;">
|
||||
<audio
|
||||
v-for="(audio,index) in moment.audios"
|
||||
@@ -59,7 +59,7 @@
|
||||
:author="bloggerInfo.nickname"
|
||||
:src="audio.url"></audio>
|
||||
</view>
|
||||
<view v-if="moment.videos.length!==0" class="mb-12 mt--12"
|
||||
<view v-if="moment.videos.length!==0" class="mb-12"
|
||||
style="display: flex; flex-direction: column; gap: 12rpx 0;padding: 0 24rpx; ">
|
||||
<video
|
||||
style="width:100%;height: 400rpx;border-radius: 12rpx;"
|
||||
|
||||
@@ -13,8 +13,9 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad(e) {
|
||||
const {title, url} = JSON.parse(e.query.data);
|
||||
const {title, url} = JSON.parse(e.data);
|
||||
this.webUrl = decodeURIComponent(url);
|
||||
console.log("webUrl" + this.webUrl)
|
||||
if (title) {
|
||||
this.fnSetPageTitle(title);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user