1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-12 21:29:31 +08:00

feat: 优化分类显示按钮根据审核模式状态显示因此

This commit is contained in:
小莫唐尼
2025-06-22 11:15:20 +08:00
parent 22f57b7860
commit 91553fc053
+2 -2
View File
@@ -14,7 +14,7 @@
<tm-empty icon="icon-shiliangzhinengduixiang-" label="暂无数据"></tm-empty> <tm-empty icon="icon-shiliangzhinengduixiang-" label="暂无数据"></tm-empty>
</view> </view>
<block v-else> <block v-else>
<block v-if="calcShowType==='list'"> <block v-if="calcAuditModeEnabled || calcShowType==='list'">
<tm-translate v-for="(item, index) in dataList" :key="index" <tm-translate v-for="(item, index) in dataList" :key="index"
style="box-sizing: border-box;width: 50%;padding: 0 8rpx;" animation-name="fadeUp" style="box-sizing: border-box;width: 50%;padding: 0 8rpx;" animation-name="fadeUp"
:wait="calcAniWait(index)"> :wait="calcAniWait(index)">
@@ -58,7 +58,7 @@
<view class="flot-buttons"> <view class="flot-buttons">
<tm-button @click="fnScrollTop" size="m" :fab="true" theme="light-blue" <tm-button @click="fnScrollTop" size="m" :fab="true" theme="light-blue"
icon="icon-angle-up"></tm-button> icon="icon-angle-up"></tm-button>
<tm-button @click="fnChangeShowType" size="m" :fab="true" theme="light-blue" <tm-button v-if="!calcAuditModeEnabled" @click="fnChangeShowType" size="m" :fab="true" theme="light-blue"
:icon="calcShowType==='list'?'icon-align-left':'icon-all'"></tm-button> :icon="calcShowType==='list'?'icon-align-left':'icon-all'"></tm-button>
</view> </view>
</block> </block>