This commit is contained in:
2025-07-01 09:19:59 +08:00
parent da14663be7
commit cbfd818879
2 changed files with 6 additions and 5 deletions

View File

@@ -39,7 +39,8 @@ const list = computed(() => data.children.material[current.value].comment?.flatM
{{ data.children.material[current].title }}
</view>
</view>
<view class="block" v-if="data.material_type?.tags_limit > 0">
<view class="block"
v-if="data.material_type?.tags_limit > 0 && data.children.material[current].tags_arr?.length > 0">
<view class="block-title">
话题:
</view>
@@ -55,7 +56,7 @@ const list = computed(() => data.children.material[current.value].comment?.flatM
{{ data.children.material[current].content }}
</view>
</view>
<view class="block">
<view class="block" v-if="data.children.material[current].material_arr?.length > 0">
<view class="block-title">
素材:
</view>
@@ -64,7 +65,7 @@ const list = computed(() => data.children.material[current.value].comment?.flatM
:show-s-y="home"></x-square-carousel-image>
</view>
</view>
<view class="block">
<view class="block" v-if="list.length > 0">
<view class="block-title">
评论区案例:
</view>

View File

@@ -96,8 +96,8 @@ onMounted(() => {
倒计时:
</view>
<view class="block-info">
<view v-if="data.children.back[current]">/</view>
<x-countdown v-else :time="dayjs(data.task_content[current].end_time)">
<view v-if="!dayjs().isBefore(dayjs(data.children?.back[current].back_time))">/</view>
<x-countdown v-else :time="dayjs(data.children?.back[current].back_time)">
</x-countdown>
</view>
</view>