upgrade framework7 to 9.0

This commit is contained in:
MaysWind
2025-11-30 03:22:53 +08:00
parent 608411feab
commit 96561ec2be
28 changed files with 423 additions and 238 deletions
@@ -3,20 +3,19 @@
style="height: auto" :opened="show" @sheet:open="onSheetOpen" @sheet:closed="onSheetClosed">
<f7-toolbar>
<div class="swipe-handler"></div>
<div class="left"></div>
<div class="right">
<f7-link sheet-close :text="tt('Done')"></f7-link>
</div>
</f7-toolbar>
<f7-searchbar ref="searchbar" custom-searchs
:value="filterContent"
:placeholder="filterPlaceholder"
:disable-button="false"
v-if="enableFilter"
@input="filterContent = $event.target.value"
@focus="onSearchBarFocus">
</f7-searchbar>
<f7-page-content :class="'no-padding-top ' + heightClass">
<f7-page-content :class="heightClass">
<f7-searchbar ref="searchbar" custom-searchs
:value="filterContent"
:placeholder="filterPlaceholder"
:disable-button="false"
v-if="enableFilter"
@input="filterContent = $event.target.value"
@focus="onSearchBarFocus">
</f7-searchbar>
<f7-list class="no-margin-top no-margin-bottom" v-if="!filteredItems || !filteredItems.length">
<f7-list-item :title="filterNoItemsText"></f7-list-item>
</f7-list>
@@ -150,23 +149,23 @@ function onSheetClosed(): void {
<style>
.tree-view-selection-default-sheet {
height: 200px;
height: 310px;
}
@media (min-height: 630px) {
.tree-view-selection-large-sheet {
height: 260px;
height: 370px;
}
.tree-view-selection-huge-sheet {
height: 380px;
height: 500px;
}
}
@media (max-height: 629px) {
.tree-view-selection-large-sheet,
.tree-view-selection-huge-sheet {
height: 240px;
height: 360px;
}
}
</style>