Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Identify UI components 划分UI组件 #44

@ztl8702

Description

@ztl8702

摘要

为了方便新UI设计 (#41) 和Angular升级 (#34),我们需要把界面切分成一个个独立的组件(components)并赋予统一的名称,方便协作。

像这样:

这个 issue 用来划分和记录界面的组件,并定义它们的接口。

已划分出的组件

未完成,请在下面评论补充。

Name Screenshot Interface (设计师请忽略)
player-button
播放按钮
image
  • audioUrl (string) 音频文件地址
  • text (string) 按钮显示文字
idiom-main-display
条目主标题
无高亮: image
有高亮: image
  • text(array of string) 熟语文字
  • highlighted (array of object) 高亮部分的起止位置
menu-item
菜单项
image
  • text(array of string) 熟语文字
search-box
搜索框
idle:
image
focused: image
focused, with text:
image
filter on:
image
filter on, with text:
image
focused, filter on, with text:
image
  • searchText (string) 搜索关键字
  • filter (string) 过滤器
taxonomy-tag
分类标签
image
  • text(string) 标签文字
navbar-button
导航按钮
image
  • icon(string) 按钮图标
  • text(string) 按钮文字

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions