This commit is contained in:
2025-09-01 18:25:51 +08:00
parent d2794dfe1a
commit 9cd8d36a9d
2 changed files with 19 additions and 17 deletions

View File

@@ -33,7 +33,7 @@ const list = computed(() => data.children.material[current.value].comment?.flatM
<template v-if="true"> <template v-if="true">
<view class="block" <view class="block"
v-if="data.material_type?.title_limit > 0 && data.children.material[current].title.length > 0"> v-if="data.material_type?.title_limit > 0 && data.children.material[current].title?.length > 0">
<view class="block-title"> <view class="block-title">
标题: 标题:
</view> </view>
@@ -67,7 +67,7 @@ const list = computed(() => data.children.material[current.value].comment?.flatM
:show-s-y="home"></x-square-carousel-image> :show-s-y="home"></x-square-carousel-image>
</view> </view>
</view> </view>
<view class="block" v-if="list.length > 0"> <view class="block" v-if="list?.length > 0">
<view class="block-title"> <view class="block-title">
评论区案例: 评论区案例:
</view> </view>

View File

@@ -112,6 +112,7 @@ onLoad((options) => {
}); });
const init = () => { const init = () => {
nextTick(() => {
let ALGL = 0; let ALGL = 0;
let HTYQ = 0; let HTYQ = 0;
let SJYQ = 0; let SJYQ = 0;
@@ -130,6 +131,7 @@ const init = () => {
menuTabs[2].value = SJYQ; menuTabs[2].value = SJYQ;
if (home.value) showInitModal.value = true; if (home.value) showInitModal.value = true;
})
} }
const scrollState = reactive({ const scrollState = reactive({