瀏覽代碼

fix: 修复自定义轮播图弹窗链接跳转网页问题

小莫唐尼 9 月之前
父節點
當前提交
6989fd8ddc
共有 3 個文件被更改,包括 7 次插入6 次删除
  1. 3 3
      components/notify-dialog/notify-dialog.vue
  2. 2 2
      pages/tabbar/moments/moments.vue
  3. 2 1
      pagesC/website/website.vue

+ 3 - 3
components/notify-dialog/notify-dialog.vue

@@ -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"

+ 2 - 2
pages/tabbar/moments/moments.vue

@@ -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;"

+ 2 - 1
pagesC/website/website.vue

@@ -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);
         }