mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 07:28:37 +08:00
fix ui
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { useToast } from 'vue-toast-notification'
|
import { useToast } from 'vue-toast-notification'
|
||||||
|
import VersionHistory from '../misc/VersionHistory.vue'
|
||||||
import api from '@/api'
|
import api from '@/api'
|
||||||
import type { Plugin } from '@/api/types'
|
import type { Plugin } from '@/api/types'
|
||||||
import noImage from '@images/logos/plugin.png'
|
import noImage from '@images/logos/plugin.png'
|
||||||
import { getDominantColor } from '@/@core/utils/image'
|
import { getDominantColor } from '@/@core/utils/image'
|
||||||
import VersionHistory from '../misc/VersionHistory.vue'
|
|
||||||
import { isNullOrEmptyObject } from '@/@core/utils'
|
import { isNullOrEmptyObject } from '@/@core/utils'
|
||||||
|
|
||||||
// 输入参数
|
// 输入参数
|
||||||
@@ -135,10 +135,10 @@ const dropdownItems = ref([
|
|||||||
value: 1,
|
value: 1,
|
||||||
show: true,
|
show: true,
|
||||||
props: {
|
props: {
|
||||||
prependIcon: 'mdi-information-outline',
|
prependIcon: 'mdi-github',
|
||||||
click: visitPluginPage,
|
click: visitPluginPage,
|
||||||
},
|
},
|
||||||
},{
|
}, {
|
||||||
title: '更新说明',
|
title: '更新说明',
|
||||||
value: 2,
|
value: 2,
|
||||||
show: !isNullOrEmptyObject(props.plugin?.history || {}),
|
show: !isNullOrEmptyObject(props.plugin?.history || {}),
|
||||||
@@ -242,15 +242,15 @@ const dropdownItems = ref([
|
|||||||
</VCard>
|
</VCard>
|
||||||
</VDialog>
|
</VDialog>
|
||||||
<!-- 更新日志 -->
|
<!-- 更新日志 -->
|
||||||
<VDialog
|
<VDialog
|
||||||
v-if="releaseDialog"
|
v-if="releaseDialog"
|
||||||
v-model="releaseDialog"
|
v-model="releaseDialog"
|
||||||
width="600"
|
width="600"
|
||||||
scrollable
|
scrollable
|
||||||
>
|
>
|
||||||
<VCard>
|
<VCard>
|
||||||
<DialogCloseBtn @click="releaseDialog = false" />
|
<DialogCloseBtn @click="releaseDialog = false" />
|
||||||
<VCardTitle>{{ props.plugin?.plugin_name }} 变更说明</VCardTitle>
|
<VCardTitle>{{ props.plugin?.plugin_name }} 更新说明</VCardTitle>
|
||||||
<VersionHistory :history="props.plugin?.history" />
|
<VersionHistory :history="props.plugin?.history" />
|
||||||
</VCard>
|
</VCard>
|
||||||
</VDialog>
|
</VDialog>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { PropType } from 'vue';
|
import type { PropType } from 'vue'
|
||||||
|
|
||||||
// 输入参数
|
// 输入参数
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@@ -15,7 +15,9 @@ const props = defineProps({
|
|||||||
:key="key"
|
:key="key"
|
||||||
>
|
>
|
||||||
<VListItemTitle>{{ key }}</VListItemTitle>
|
<VListItemTitle>{{ key }}</VListItemTitle>
|
||||||
<VListItemSubtitle>{{ value }}</VListItemSubtitle>
|
<div class="text-gray-500">
|
||||||
|
{{ value }}
|
||||||
|
</div>
|
||||||
</VListItem>
|
</VListItem>
|
||||||
</VList>
|
</VList>
|
||||||
</VCardItem>
|
</VCardItem>
|
||||||
|
|||||||
Reference in New Issue
Block a user