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

View File

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