Compare commits
2 Commits
d40c61efd2
...
639fa29412
Author | SHA1 | Date | |
---|---|---|---|
![]() |
639fa29412 | ||
![]() |
a5eca7fdac |
@ -8,8 +8,9 @@
|
||||
<view style="padding: 10rpx 30rpx">
|
||||
<u-subsection :list="list" :current="curNow" @change="sectionChange"></u-subsection>
|
||||
</view>
|
||||
<scroll-view :style="{ height: scrollHeight + 'px' }" scroll-y="true" class="scroll-view" @scrolltolower="onReachBottomCus"
|
||||
refresher-enabled @refresherrefresh="onRefresherrefresh" :refresher-triggered="isTriggered" v-if="appointmentList.length > 0">
|
||||
<scroll-view :style="{ height: scrollHeight + 'px' }" scroll-y="true" class="scroll-view"
|
||||
@scrolltolower="onReachBottomCus" refresher-enabled @refresherrefresh="onRefresherrefresh"
|
||||
:refresher-triggered="isTriggered" v-if="appointmentList.length > 0">
|
||||
<!-- 新增内容容器 -->
|
||||
<view class="box_2 flex-col" v-if="curNow === 0">
|
||||
<view class="box_4 flex-col" v-for="item in appointmentList" @click="goDetail(item,'')" :key="item.id">
|
||||
@ -41,8 +42,7 @@
|
||||
</view>
|
||||
<!-- 新增内容容器 -->
|
||||
<view class="box_2 flex-col" v-if="curNow === 1">
|
||||
<view class="box_4 flex-col" v-for="item in appointmentList"
|
||||
:key="item.id">
|
||||
<view class="box_4 flex-col" v-for="item in appointmentList" :key="item.id">
|
||||
<view @click="goDetail(item,'train')">
|
||||
<view class="group_5 flex-row justify-between">
|
||||
<view class="block_3 flex-col justify-between">
|
||||
@ -59,11 +59,11 @@
|
||||
</view>
|
||||
<view class="text-wrapper_4 flex-row justify-between">
|
||||
<text class="text_6">交通方式:</text>
|
||||
<text class="text_7">{{ item.transWay }}</text>
|
||||
<text class="text_7">{{ item.transWay == null ? '' : item.transWay}}</text>
|
||||
</view>
|
||||
<view class="text-wrapper_4 flex-row justify-between">
|
||||
<text class="text_6">训练地址:</text>
|
||||
<text class="text_7">{{ item.addr }}</text>
|
||||
<text class="text_7">{{ item.addr == null ? '' : item.addr }}</text>
|
||||
</view>
|
||||
<view class="text-wrapper_4 flex-row justify-between">
|
||||
<text class="text_6">训练时长:</text>
|
||||
@ -85,9 +85,7 @@
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="empty-container" v-else>
|
||||
<u-empty
|
||||
mode="data"
|
||||
/>
|
||||
<u-empty mode="data" />
|
||||
</view>
|
||||
|
||||
|
||||
@ -301,11 +299,14 @@
|
||||
margin: 8rpx 0 0 12rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.empty-container {
|
||||
display: flex;
|
||||
justify-content: center; /* 水平居中 */
|
||||
align-items: center; /* 垂直居中 */
|
||||
height: 100vh; /* 或者你需要撑满的高度 */
|
||||
justify-content: center;
|
||||
/* 水平居中 */
|
||||
align-items: center;
|
||||
/* 垂直居中 */
|
||||
height: 100vh;
|
||||
/* 或者你需要撑满的高度 */
|
||||
}
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user