-
+
![avatar]()
+
@@ -32,11 +33,11 @@ type TpAvatarProps = { data: TGApp.BBS.Post.User; position: "left" | "right" };
const props = defineProps();
+const avatarUrl = computed(() => getUserAvatar(props.data));
const authorDesc = computed(() => {
if (props.data.certification.label !== "") return props.data.certification.label;
return props.data.introduce;
});
-
const levelColor = computed(() => {
if (!props.data.level_exp) return "var(--tgc-od-white)";
const level = props.data.level_exp.level;