🐛 修复跳转异常,调整武器文本溢出

This commit is contained in:
目棃
2024-08-27 10:41:57 +08:00
parent 823c96f3eb
commit a37be91b48
2 changed files with 6 additions and 3 deletions

View File

@@ -94,16 +94,19 @@ const propSub = computed<TGApp.Game.Avatar.PropMapItem | false>(() => {
height: 100%;
flex-direction: column;
align-items: flex-start;
justify-content: flex-end;
justify-content: center;
}
.tua-dcw-title {
overflow: hidden;
font-family: var(--font-title);
text-overflow: ellipsis;
white-space: nowrap;
}
.tua-dcw-sub {
display: flex;
width: 100%;
width: 117px;
align-items: center;
justify-content: space-between;
font-size: 12px;

View File

@@ -90,7 +90,7 @@ const avatarsWidth = computed<string>(() => {
watch(
() => props.avatar,
() => {
avatarTab.value = props.avatar.cid;
if (props.avatar) avatarTab.value = props.avatar.cid;
},
);