1
This commit is contained in:
+10
-10
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user