This commit is contained in:
jxxghp
2024-06-01 22:07:19 +08:00
parent f29f408b67
commit 5018f96786
7 changed files with 36 additions and 44 deletions
+1 -1
View File
@@ -456,7 +456,7 @@ watch(
<VCardText class="min-h-40"> <VCardText class="min-h-40">
<PageRender @action="loadPluginPage" v-for="(item, index) in pluginPageItems" :key="index" :config="item" /> <PageRender @action="loadPluginPage" v-for="(item, index) in pluginPageItems" :key="index" :config="item" />
</VCardText> </VCardText>
<VFab icon="mdi-cog" location="bottom end" size="x-large" fixed app appear @click="showPluginConfig" /> <VFab icon="mdi-cog" location="bottom" size="x-large" fixed app appear @click="showPluginConfig" />
</VCard> </VCard>
</VDialog> </VDialog>
+1 -1
View File
@@ -314,7 +314,7 @@ onBeforeMount(async () => {
</draggable> </draggable>
<!-- 底部操作按钮 --> <!-- 底部操作按钮 -->
<VFab icon="mdi-view-dashboard-edit" location="bottom end" size="x-large" fixed app appear @click="dialog = true" /> <VFab icon="mdi-view-dashboard-edit" location="bottom" size="x-large" fixed app appear @click="dialog = true" />
<!-- 弹窗根据配置生成选项 --> <!-- 弹窗根据配置生成选项 -->
<VDialog v-model="dialog" max-width="35rem" scrollable> <VDialog v-model="dialog" max-width="35rem" scrollable>
+2 -11
View File
@@ -133,21 +133,12 @@ onMounted(() => {
<VFab <VFab
v-if="viewType === 'list'" v-if="viewType === 'list'"
icon="mdi-view-grid" icon="mdi-view-grid"
location="bottom end" location="bottom"
size="x-large" size="x-large"
fixed fixed
app app
appear appear
@click="setViewType('card')" @click="setViewType('card')"
/> />
<VFab <VFab v-else icon="mdi-view-list" location="bottom" size="x-large" fixed app appear @click="setViewType('list')" />
v-else
icon="mdi-view-list"
location="bottom end"
size="x-large"
fixed
app
appear
@click="setViewType('list')"
/>
</template> </template>
+2 -2
View File
@@ -323,7 +323,7 @@ function handleRepoUrl(url: string | undefined) {
// 跳转tab // 跳转tab
function jumpTab(tab: string) { function jumpTab(tab: string) {
router.push("/plugins?tab=" + tab) router.push('/plugins?tab=' + tab)
} }
// 加载时获取数据 // 加载时获取数据
@@ -443,7 +443,7 @@ onBeforeMount(async () => {
<VFab <VFab
icon="mdi-magnify" icon="mdi-magnify"
color="info" color="info"
location="bottom end" location="bottom"
class="mb-2" class="mb-2"
size="x-large" size="x-large"
fixed fixed
+26 -25
View File
@@ -414,6 +414,32 @@ onMounted(fetchData)
</VPagination> </VPagination>
</div> </div>
</VCard> </VCard>
<!-- 底部操作按钮 -->
<span>
<VFab
v-if="selected.length > 0"
icon="mdi-trash-can-outline"
color="error"
location="bottom"
size="x-large"
fixed
app
appear
@click="removeHistoryBatch"
/>
<VFab
v-if="selected.length > 0"
class="mb-16"
icon="mdi-redo-variant"
location="bottom"
size="x-large"
fixed
app
appear
@click="retransferBatch"
/>
</span>
<!-- 底部弹窗 --> <!-- 底部弹窗 -->
<VBottomSheet v-model="deleteConfirmDialog" inset> <VBottomSheet v-model="deleteConfirmDialog" inset>
<VCard class="text-center rounded-t"> <VCard class="text-center rounded-t">
@@ -452,31 +478,6 @@ onMounted(fetchData)
" "
@close="redoDialog = false" @close="redoDialog = false"
/> />
<!-- 底部操作按钮 -->
<span>
<VFab
v-if="selected.length > 0"
icon="mdi-trash-can-outline"
color="error"
location="bottom end"
size="x-large"
fixed
app
appear
@click="removeHistoryBatch"
/>
<VFab
v-if="selected.length > 0"
class="mb-2"
icon="mdi-redo-variant"
location="bottom end"
size="x-large"
fixed
app
appear
@click="retransferBatch"
/>
</span>
</template> </template>
<style lang="scss"> <style lang="scss">
+1 -1
View File
@@ -67,7 +67,7 @@ onBeforeMount(fetchData)
error-description="已添加并支持的站点将会在这里显示" error-description="已添加并支持的站点将会在这里显示"
/> />
<!-- 新增站点按钮 --> <!-- 新增站点按钮 -->
<VFab icon="mdi-plus" location="bottom end" size="x-large" fixed app appear @click="siteAddDialog = true" /> <VFab icon="mdi-plus" location="bottom" size="x-large" fixed app appear @click="siteAddDialog = true" />
<!-- 新增站点弹窗 --> <!-- 新增站点弹窗 -->
<SiteAddEditDialog <SiteAddEditDialog
v-if="siteAddDialog" v-if="siteAddDialog"
+3 -3
View File
@@ -81,7 +81,7 @@ const filteredDataList = computed(() => {
<VFab <VFab
v-if="store.state.auth.superUser" v-if="store.state.auth.superUser"
icon="mdi-clipboard-edit" icon="mdi-clipboard-edit"
location="bottom end" location="bottom"
size="x-large" size="x-large"
fixed fixed
app app
@@ -92,8 +92,8 @@ const filteredDataList = computed(() => {
v-if="store.state.auth.superUser" v-if="store.state.auth.superUser"
icon="mdi-history" icon="mdi-history"
color="info" color="info"
location="bottom end" location="bottom"
class="mb-2" class="mb-16"
size="x-large" size="x-large"
fixed fixed
app app