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>
+2 -2
View File
@@ -411,7 +411,7 @@ export default {
setTimeout(() => {
uni.reLaunch({
url: '/pages/index/index'
url: '/pages/pets/pets'
})
}, 1500)
}
@@ -450,7 +450,7 @@ export default {
setTimeout(() => {
uni.reLaunch({
url: '/pages/index/index'
url: '/pages/pets/pets'
})
}, 1500)
}, 2000)