This commit is contained in:
王一嘉
2025-07-21 11:28:03 +08:00
parent b15962dd65
commit 422d082d72
11 changed files with 125 additions and 23 deletions

View File

@@ -44,7 +44,7 @@ const saveM = () => {
<tui-tabs v-if="tabs.length>0" :tabs="tabs" :currentTab="current" @change="({index})=>current=index"></tui-tabs>
<template v-if="detail.id">
<view class="block" v-if="detail.material_type?.title_limit > 0">
<view class="block" v-if="detail.material_type?.title_limit > 0 && detail.children.material[current].title">
<view class="title">标题</view>
<view class="info">
{{ detail.children.material[current].title }}
@@ -53,7 +53,8 @@ const saveM = () => {
</view>
</view>
<view class="block" v-if="detail.material_type?.tags_limit > 0">
<view class="block"
v-if="detail.material_type?.tags_limit > 0 && detail.children?.material[current].tags_arr.length > 0">
<view class="title">
话题
<view class="!ml-auto">
@@ -70,7 +71,7 @@ const saveM = () => {
</view>
</view>
<view class="block" v-if="detail.material_type?.desc_limit > 0">
<view class="block" v-if="detail.material_type?.desc_limit > 0 && detail.children?.material[current].content">
<view class="title">正文</view>
<view class="info">
{{ detail.children?.material[current].content }}