|
@@ -39,7 +39,9 @@
|
|
删除({{edit_book_list.length}})
|
|
删除({{edit_book_list.length}})
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <z-paging-empty-view v-if="book_list.length<=0" ></z-paging-empty-view>
|
|
|
|
|
|
+ <view class="empty" v-if="book_list.length<=0" :style="{height:empty_height}">
|
|
|
|
+ <z-paging-empty-view :emptyViewFixed="false" ></z-paging-empty-view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -51,15 +53,16 @@
|
|
import { config } from '../../config/config';
|
|
import { config } from '../../config/config';
|
|
|
|
|
|
let window_width = ref(uni.getSystemInfoSync().windowWidth + 'px')
|
|
let window_width = ref(uni.getSystemInfoSync().windowWidth + 'px')
|
|
|
|
+ let empty_height = ref((uni.getSystemInfoSync().windowHeight-80-30)+'px')
|
|
let is_edit = ref(false)
|
|
let is_edit = ref(false)
|
|
let edit_book_list = ref<Array<number>>([])
|
|
let edit_book_list = ref<Array<number>>([])
|
|
let is_selected_all = ref(false)
|
|
let is_selected_all = ref(false)
|
|
let bottom_tools_real_height = ref(98)
|
|
let bottom_tools_real_height = ref(98)
|
|
let bottom_tools_all_height = ref(0)
|
|
let bottom_tools_all_height = ref(0)
|
|
- let cur_button_status = ref(config.book_action_status.QUAN_BU) //100:全部 0:连载 1:完结
|
|
|
|
|
|
+ let cur_button_status = ref(config.book_action_status.QUAN_BU)
|
|
|
|
|
|
bottom_tools_all_height.value = bottom_tools_real_height.value + uni.getSystemInfoSync().safeAreaInsets.bottom
|
|
bottom_tools_all_height.value = bottom_tools_real_height.value + uni.getSystemInfoSync().safeAreaInsets.bottom
|
|
-
|
|
|
|
|
|
+
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
book_list: Array<book_item_data>,
|
|
book_list: Array<book_item_data>,
|
|
})
|
|
})
|
|
@@ -241,5 +244,11 @@
|
|
background-color: paleturquoise;
|
|
background-color: paleturquoise;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ .empty{
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ align-items: center;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|