token/me mobile样式小调整
This commit is contained in:
parent
1e11b81b72
commit
c5a16eb037
|
|
@ -14,10 +14,14 @@
|
|||
background-color: var(--oak-bg-color-container);
|
||||
|
||||
.avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background-color: var(--oak-color-primary);
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nickname {
|
||||
|
|
@ -25,13 +29,12 @@
|
|||
}
|
||||
|
||||
.userIcon {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.list {
|
||||
background-color: #fff;
|
||||
:global {
|
||||
.t-list-item__meta {
|
||||
|
||||
|
|
|
|||
|
|
@ -14,10 +14,14 @@
|
|||
background-color: var(--oak-bg-color-container);
|
||||
|
||||
.avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background-color: var(--oak-color-primary);
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nickname {
|
||||
|
|
@ -25,13 +29,12 @@
|
|||
}
|
||||
|
||||
.userIcon {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.list {
|
||||
background-color: #fff;
|
||||
:global {
|
||||
.t-list-item__meta {
|
||||
|
||||
|
|
|
|||
|
|
@ -99,13 +99,20 @@ export default function Render(props: WebComponentProps<EntityDict, 'token', tru
|
|||
<Input
|
||||
placeholder="请输入昵称"
|
||||
value={nickname}
|
||||
onChange={(e) => updateItem({ user: {
|
||||
id: generateNewId(),
|
||||
action: 'update',
|
||||
data: {
|
||||
nickname: e.target.value
|
||||
}
|
||||
}}, tokenId! )}
|
||||
onChange={(e) =>
|
||||
updateItem(
|
||||
{
|
||||
user: {
|
||||
id: generateNewId(),
|
||||
action: 'update',
|
||||
data: {
|
||||
nickname: e.target.value,
|
||||
},
|
||||
},
|
||||
},
|
||||
tokenId!
|
||||
)
|
||||
}
|
||||
/>
|
||||
</Drawer>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue