|
|
@ -10,18 +10,12 @@ import logic from '../logic'
|
|
|
|
export default v('voa-account', [
|
|
|
|
export default v('voa-account', [
|
|
|
|
v('voa-account-header', [v('voa-ah-1', '我的账户'), v('voa-ah-2')]),
|
|
|
|
v('voa-account-header', [v('voa-ah-1', '我的账户'), v('voa-ah-2')]),
|
|
|
|
v('voa-account-body', [
|
|
|
|
v('voa-account-body', [
|
|
|
|
// v('voa-ab-ico', [v('img', '', (d) => { d.setAttribute('src', cfg.user.icon) })]),
|
|
|
|
v('voa-ab-ico', [v({ typ: 'img', attrs: { 'src': () => `${logic.user.icon}` } })]),
|
|
|
|
v('voa-ab-ico', [v({ typ: 'img', attrs: { 'src': () => `https://public.veypi.com/img/avatar/000${logic.user.id}.jpg`, test: () => logic.user.id } })]),
|
|
|
|
|
|
|
|
v('voa-ab-info', [
|
|
|
|
v('voa-ab-info', [
|
|
|
|
v('voa-abi-1', [v('span', '昵称:'), v('span', () => logic.user.nickname)]),
|
|
|
|
v('voa-abi-1', [v('span', '昵称:'), v('span', () => logic.user.nickname)]),
|
|
|
|
v('voa-abi-2', [v('span', '账户:'), v('span', () => logic.user.username)]),
|
|
|
|
v('voa-abi-2', [v('span', '账户:'), v('span', () => logic.user.username)]),
|
|
|
|
v('voa-abi-3', [v('span', '邮箱:'), v('span', () => logic.user.email)]),
|
|
|
|
v('voa-abi-3', [v('span', '邮箱:'), v('span', () => logic.user.email)]),
|
|
|
|
v('voa-abi-4', [v('span', '手机:'), v('span', () => logic.user.phone)]),
|
|
|
|
v('voa-abi-4', [v('span', '手机:'), v('span', () => logic.user.phone)]),
|
|
|
|
v({
|
|
|
|
|
|
|
|
typ: 'input',
|
|
|
|
|
|
|
|
attrs: { 'type': 'number' },
|
|
|
|
|
|
|
|
vbind: [logic.user, 'id']
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
])
|
|
|
|
])
|
|
|
|
])
|
|
|
|
])
|
|
|
|
])
|
|
|
|
])
|
|
|
|