This commit is contained in:
yvan 2025-08-14 19:29:22 +08:00
parent d6f1484a88
commit 8d89b4177a
3 changed files with 12 additions and 19 deletions

View File

@ -243,13 +243,6 @@
"navigationBarBackgroundColor": "#FF8A80",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
}
}
],
"globalStyle": {

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>

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)