fix: 更新头像组件的图片源和样式,调整头像大小以提升用户体验

This commit is contained in:
2026-01-08 00:52:48 +07:00
parent cb120c6592
commit ff970092f0
2 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ defineExpose({} as ComponentInstance<typeof IonAvatar>);
<template>
<ion-avatar v-bind="$attrs" :ref="changeRef">
<img
src="https://api.iconify.design/material-icon-theme:drizzle.svg"
src="https://r2.riwsan1.com/riwsan/avatar/avatar.png"
alt="Avatar"
>
</ion-avatar>
@@ -23,7 +23,7 @@ defineExpose({} as ComponentInstance<typeof IonAvatar>);
ion-avatar {
--padding: 10px;
background-color: #e7f6e1;
padding: var(--padding);
border: 2px solid #e3ffcb;
/* padding: var(--padding); */
/* border: 2px solid #e3ffcb; */
}
</style>