代码修复

This commit is contained in:
BianLzhaoMin 2025-01-10 15:10:55 +08:00
parent 461d3d7729
commit bf2ad92e64
1 changed files with 29 additions and 25 deletions

View File

@ -17,7 +17,12 @@
{{ tabList[activeTabs].tab_name }} {{ tabList[activeTabs].tab_name }}
</view> --> </view> -->
</scroll-view> </scroll-view>
<scroll-view scroll-y v-else :style="{ paddingBottom: actionBarHeight + 'px' }"> <scroll-view
scroll-y
v-show="activeTabs === 0"
class="tabs-content"
:style="{ paddingBottom: actionBarHeight + 'px' }"
>
<!-- <DetailsModel :maId="maId" /> --> <!-- <DetailsModel :maId="maId" /> -->
<view class="swiper-container"> <view class="swiper-container">
<van-swipe <van-swipe
@ -67,32 +72,31 @@
<text> {{ item.goods_label }}{{ deviceInfo[item.label_content] }}</text> <text> {{ item.goods_label }}{{ deviceInfo[item.label_content] }}</text>
</view> </view>
</view> </view>
<van-action-bar :safe-area-inset-bottom="true">
<van-action-bar-icon icon="chat-o" text="在线聊" @click="onLineMessage" />
<van-action-bar-icon
icon="shop-o"
text="预约车"
:badge="cartCount"
@click="onCartBarPage"
/>
<van-action-bar-button
color="#ffc758"
type="warning"
text="加入预约车"
@click="onAddCart"
:disabled="deviceInfo.isBookCar == 0 || userCompanyId == deviceInfo.companyId"
/>
<van-action-bar-button
color="#22ab9b"
type="danger"
text="立即租用"
@click="onRentNow"
:disabled="userCompanyId == deviceInfo.companyId"
/>
</van-action-bar>
</scroll-view> </scroll-view>
</view> </view>
<van-action-bar :safe-area-inset-bottom="true">
<van-action-bar-icon icon="chat-o" text="在线聊" @click="onLineMessage" />
<van-action-bar-icon
icon="shop-o"
text="预约车"
:badge="cartCount"
@click="onCartBarPage"
/>
<van-action-bar-button
color="#ffc758"
type="warning"
text="加入预约车"
@click="onAddCart"
:disabled="deviceInfo.isBookCar == 0 || userCompanyId == deviceInfo.companyId"
/>
<van-action-bar-button
color="#22ab9b"
type="danger"
text="立即租用"
@click="onRentNow"
:disabled="userCompanyId == deviceInfo.companyId"
/>
</van-action-bar>
</template> </template>
<script setup> <script setup>