UI细节调整

This commit is contained in:
kron
2025-06-25 00:09:53 +08:00
parent 6e25124a27
commit 0e73648d6c
14 changed files with 138 additions and 105 deletions

View File

@@ -21,15 +21,10 @@ defineProps({
default: 45,
},
borderColor: {
type: Number,
default: 0,
type: String,
default: "",
},
});
const borderColors = {
0: "#fff",
1: "#64BAFF",
2: "#FF6767",
};
</script>
<template>
@@ -70,7 +65,7 @@ const borderColors = {
width: size + 'px',
height: size + 'px',
minHeight: size + 'px',
borderColor: borderColors[borderColor],
borderColor: borderColor || '#fff',
}"
class="avatar-image"
/>