[UI] load apps fail warning

This commit is contained in:
xue jiahao
2024-12-05 17:55:12 +08:00
parent 4336462ff1
commit b26877ef58
2 changed files with 21 additions and 14 deletions

View File

@@ -1,10 +1,10 @@
<template>
<q-card :class="['domain-card', small ? 'small' : '', item.id == activeId ? 'default': '']">
<q-card-section :class="[small ? 'q-py-sm' : '']">
<q-card :class="['domain-card', item.id == activeId ? 'default': '']">
<q-card-section>
<div class="row no-wrap">
<div class="col">
<div :class="[small ? 'text-subtitle2' : 'text-h6', 'ellipsis']">{{ item.name }}</div>
<div :class="[small ? 'text-caption' : 'text-subtitle2']">{{ item.url }}</div>
<div class="text-h6 ellipsis">{{ item.name }}</div>
<div class="text-subtitle2">{{ item.url }}</div>
</div>
<div v-if="!isOwnerFunc(item.owner.id)" class="col-auto">
<!-- <q-badge color="secondary" text-color="white" align="middle" class="q-mb-xs" label="他人の所有" /> -->
@@ -41,7 +41,6 @@ import { useAuthStore } from 'stores/useAuthStore';
const props = defineProps<{
item: IDomainOwnerDisplay;
small: boolean;
activeId: number;
}>();
@@ -53,9 +52,6 @@ const isOwnerFunc = computed(() => (ownerId: string) => {
</script>
<style lang="scss" scoped>
.domain-card.small {
width: 18rem;
}
.domain-card.default {
box-shadow: 0 6px 6px -3px rgba(0, 0, 0, 0.2),
0 10px 14px 1px rgba(0, 0, 0, 0.14),