fix: 更新头像组件的图片源和样式,调整头像大小以提升用户体验
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user