style: 通知管理列表卡片图表宽高统一

This commit is contained in:
JiangQiming 2023-02-23 10:07:22 +08:00
parent afdef48c20
commit 9678a2512a
2 changed files with 15 additions and 1 deletions

View File

@ -48,10 +48,10 @@
<template #img> <template #img>
<slot name="img"> <slot name="img">
<img <img
style="width: 80px; height: 80px"
:src=" :src="
getLogo(slotProps.type, slotProps.provider) getLogo(slotProps.type, slotProps.provider)
" "
class="logo"
/> />
</slot> </slot>
</template> </template>
@ -429,3 +429,9 @@ const getActions = (
} }
}; };
</script> </script>
<style lang="less" scoped>
.logo {
width: 88px;
height: 88px;
}
</style>

View File

@ -51,6 +51,7 @@
:src=" :src="
getLogo(slotProps.type, slotProps.provider) getLogo(slotProps.type, slotProps.provider)
" "
class="logo"
/> />
</slot> </slot>
</template> </template>
@ -388,3 +389,10 @@ const getActions = (
return actions; return actions;
}; };
</script> </script>
<style lang="less" scoped>
.logo {
width: 88px;
height: 88px;
}
</style>