7/8改了暂无数据的样式
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
:tabslist="statusTabs"
|
||||
@update="switchStatus"
|
||||
></TabsComponents>
|
||||
<view class="detail_list">
|
||||
<view class="detail_list" v-if="list.length > 0">
|
||||
<scroll-view
|
||||
style="flex: 1"
|
||||
scroll-y="true"
|
||||
@@ -53,7 +53,9 @@
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="nodata" v-if="list.length <= 0">
|
||||
</view>
|
||||
<view class="detail_list" style="margin-top: 0" v-if="list.length <= 0">
|
||||
<view class="nodata">
|
||||
<span>暂无数据</span>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -26,48 +26,48 @@
|
||||
</uni-datetime-picker>
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view
|
||||
class="record_body record-list"
|
||||
scroll-y
|
||||
lower-threshold="160"
|
||||
@scrolltolower="scrolltolower"
|
||||
v-if="list.length > 0"
|
||||
>
|
||||
<view
|
||||
class="record_list_item"
|
||||
v-for="(ite, index) in list"
|
||||
:key="index"
|
||||
@tap="handleTap(ite)"
|
||||
<view v-if="list.length > 0">
|
||||
<scroll-view
|
||||
class="record_body record-list"
|
||||
scroll-y
|
||||
lower-threshold="160"
|
||||
@scrolltolower="scrolltolower"
|
||||
>
|
||||
<view class="title flex items-center">
|
||||
<view class="title_name"> {{ ite.taskName }} </view>
|
||||
<view class="title_status" v-if="isComputed(ite.taskStatus)"> 已巡检 </view>
|
||||
<view class="title_status noinspection" v-else> 未巡检 </view>
|
||||
</view>
|
||||
<view class="items" v-if="ite.points">
|
||||
<view class="item" v-for="(itemname, itemindex) in ite.itemslist" :key="itemindex">
|
||||
<text>{{ itemname }}</text>
|
||||
<view
|
||||
class="record_list_item"
|
||||
v-for="(ite, index) in list"
|
||||
:key="index"
|
||||
@tap="handleTap(ite)"
|
||||
>
|
||||
<view class="title flex items-center">
|
||||
<view class="title_name"> {{ ite.taskName }} </view>
|
||||
<view class="title_status" v-if="isComputed(ite.taskStatus)"> 已巡检 </view>
|
||||
<view class="title_status noinspection" v-else> 未巡检 </view>
|
||||
</view>
|
||||
<view class="items" v-if="ite.points">
|
||||
<view class="item" v-for="(itemname, itemindex) in ite.itemslist" :key="itemindex">
|
||||
<text>{{ itemname }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="time">
|
||||
<text>巡检时间:</text>
|
||||
<text>{{ ite.taskTime }}</text>
|
||||
</view>
|
||||
<view class="time user">
|
||||
<text>巡检人:</text>
|
||||
<text>{{ ite.inspectorName }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="time">
|
||||
<text>巡检时间:</text>
|
||||
<text>{{ ite.taskTime }}</text>
|
||||
</view>
|
||||
<view class="time user">
|
||||
<text>巡检人:</text>
|
||||
<text>{{ ite.inspectorName }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<div class=""></div>
|
||||
</scroll-view>
|
||||
<view class="nodata" v-if="list.length > 0">
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="nodata" v-if="list.length <= 0">
|
||||
<text>暂无数据</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
//// http://localhost:5173/#/pageSubPack/inspection/inspection_record
|
||||
import TabsComponents from '@/components/tabs/tabs.vue'
|
||||
import navBar from '@/components/navbar/navbar.vue'
|
||||
import { computed, ref } from 'vue'
|
||||
|
||||
@@ -187,8 +187,8 @@ function handleSelecthouse() {
|
||||
|
||||
<style scoped lang="scss">
|
||||
.checkouthouse_box {
|
||||
justify-content: flex-start;
|
||||
background: #f9f9f9;
|
||||
|
||||
.search_box {
|
||||
height: 80rpx;
|
||||
.search_view {
|
||||
|
||||
Reference in New Issue
Block a user