press-next
Version:
Vue3 组件库,支持 Composition API
66 lines (60 loc) • 2.12 kB
text/typescript
export interface RoleInfo {
id: string;
name: string;
avatar: string;
tagList?: string[];
}
export const ROLE_LIST: RoleInfo[] = [
{
id: '1',
name: '角色昵称素柚窝窝窝窝角色昵称素柚窝窝窝窝角色昵称素柚窝窝窝窝角色昵称素柚窝窝窝窝',
avatar: 'https://image-1251917893.file.myqcloud.com/general-match-components/img/match-modify-role-popup/user-avatar.png',
tagList: ['IOS微信', 'ID:123456789'],
},
{
id: '2',
name: '角色昵称素柚窝窝窝窝',
avatar: 'https://image-1251917893.file.myqcloud.com/general-match-components/img/match-modify-role-popup/user-avatar.png',
tagList: ['安卓QQ', 'Lv.50'],
},
{
id: '3',
name: '角色昵称素柚窝窝窝窝',
avatar: 'https://image-1251917893.file.myqcloud.com/general-match-components/img/match-modify-role-popup/user-avatar.png',
tagList: ['Steam', 'VIP用户'],
},
{
id: '4',
name: '角色昵称素柚窝窝窝窝',
avatar: 'https://image-1251917893.file.myqcloud.com/general-match-components/img/match-modify-role-popup/user-avatar.png',
tagList: ['手机登录'],
},
{
id: '5',
name: '角色昵称素柚窝窝窝窝',
avatar: 'https://image-1251917893.file.myqcloud.com/general-match-components/img/match-modify-role-popup/user-avatar.png',
tagList: ['微信', '新手'],
},
];
// 演示不同文案的角色列表
export const ROLE_LIST_CUSTOM: RoleInfo[] = [
{
id: '1',
name: '游戏角色A',
avatar: 'https://image-1251917893.file.myqcloud.com/general-match-components/img/match-modify-role-popup/user-avatar.png',
tagList: ['主账号', '已认证'],
},
{
id: '2',
name: '游戏角色B',
avatar: 'https://image-1251917893.file.myqcloud.com/general-match-components/img/match-modify-role-popup/user-avatar.png',
tagList: ['小号', '未认证'],
},
];
export const CURRENT_ACCOUNT_NAME = '素柚窝窝窝(微信)';
const DEMO_DATA = {
roleList: ROLE_LIST,
roleListCustom: ROLE_LIST_CUSTOM,
currentAccountName: CURRENT_ACCOUNT_NAME,
};
export default DEMO_DATA;