This commit is contained in:
2025-08-14 19:29:22 +08:00
parent d6f1484a88
commit 8d89b4177a
3 changed files with 12 additions and 19 deletions
+10 -10
View File
@@ -108,16 +108,16 @@
</view>
<!-- 功能区 -->
<view class="functions-section" v-if="petsList.length > 0">
<scroll-view scroll-x class="functions-scroll" :show-scrollbar="false">
<view class="functions-container">
<view class="function-item btn-gradient radius-medium shadow-medium" v-for="item in mainActionItems" :key="item.id" @click="handleAction(item.action, petsList[currentTabIndex])">
<text class="function-icon">{{ item.icon }}</text>
<text class="function-text">{{ item.text }}</text>
</view>
</view>
</scroll-view>
</view>
<!-- <view class="functions-section" v-if="petsList.length > 0">-->
<!-- <scroll-view scroll-x class="functions-scroll" :show-scrollbar="false">-->
<!-- <view class="functions-container">-->
<!-- <view class="function-item btn-gradient radius-medium shadow-medium" v-for="item in mainActionItems" :key="item.id" @click="handleAction(item.action, petsList[currentTabIndex])">-->
<!-- <text class="function-icon">{{ item.icon }}</text>-->
<!-- <text class="function-text">{{ item.text }}</text>-->
<!-- </view>-->
<!-- </view>-->
<!-- </scroll-view>-->
<!-- </view>-->
<!-- 空状态 -->
<view class="empty-state" v-else>