This commit is contained in:
jxxghp
2024-04-18 22:33:03 +08:00
parent 62bb6de80d
commit b0f28b7e7c
4 changed files with 288 additions and 281 deletions
+6
View File
@@ -18,6 +18,11 @@ function handleImport() {
</script>
<template>
<VDialog
width="40rem"
scrollable
max-height="85vh"
>
<VCard
:title="props.title"
class="rounded-t"
@@ -36,4 +41,5 @@ function handleImport() {
</VBtn>
</VCardActions>
</VCard>
</VDialog>
</template>
@@ -266,6 +266,10 @@ onMounted(() => {
</script>
<template>
<VDialog
scrollable
max-width="60rem"
>
<VCard
:title="`${props.default ? `${props.type}默认订阅规则` : `编辑订阅 - ${subscribeForm.name} ${subscribeForm.season ? `第 ${subscribeForm.season} 季` : ''}`}`"
class="rounded-t"
@@ -426,4 +430,5 @@ onMounted(() => {
</VBtn>
</VCardActions>
</VCard>
</VDialog>
</template>
+6
View File
@@ -105,6 +105,10 @@ const dropdownItems = ref([
</script>
<template>
<VDialog
scrollable
max-width="50rem"
>
<VCard
class="mx-auto"
width="100%"
@@ -125,6 +129,7 @@ const dropdownItems = ref([
lines="two"
>
<VInfiniteScroll
v-if="historyList.length > 0"
mode="intersect"
side="end"
:items="historyList"
@@ -194,4 +199,5 @@ const dropdownItems = ref([
没有数据
</VCardText>
</VCard>
</VDialog>
</template>
+2 -12
View File
@@ -118,31 +118,21 @@ const filteredDataList = computed(() => {
@click="historyDialog = true"
/>
<!-- 订阅编辑弹窗 -->
<VDialog
<SubscribeEditForm
v-if="subscribeEditDialog"
v-model="subscribeEditDialog"
scrollable
max-width="60rem"
>
<SubscribeEditForm
:default="true"
:type="props.type"
@save="subscribeEditDialog = false"
@close="subscribeEditDialog = false"
/>
</VDialog>
<!-- 历史记录弹窗 -->
<VDialog
<SubscribeHistory
v-if="historyDialog"
v-model="historyDialog"
scrollable
max-width="50rem"
>
<SubscribeHistory
:type="props.type"
@close="historyDialog = false"
/>
</VDialog>
</template>
<style lang="scss">