This commit is contained in:
parent
d6f1484a88
commit
8d89b4177a
|
|
@ -243,13 +243,6 @@
|
|||
"navigationBarBackgroundColor": "#FF8A80",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "uni-app"
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue