Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2019.01.08 更新内容 #22

Open
panpanxiong3 opened this issue Jan 8, 2020 · 0 comments
Open

2019.01.08 更新内容 #22

panpanxiong3 opened this issue Jan 8, 2020 · 0 comments

Comments

@panpanxiong3
Copy link
Owner

新增列表头部组件以及交互动画

新增组件【shelf-title / shelf-search / shelf-list 】三个组件

shelf-title:标题组件,设置状态判断是否固定定位
shelf-search:标题分类搜索组件,判断页面下拉时是否点击进行判断是否固定定位
shelf-list:书架列表组件

书架列表组件动态组件布局

书架组件存在三种状态,因此创建三种动态组件进行样式布局
【shelfItemImage \ shelfItemCategory \ shelfItemAdd】

判断数据【tyep】进行判断哪种类型的书架信息

computed: {
      item () {
        return this.data.type === 1 ? this.book : ( this.data.type === 2 ? this.category : this.add );
      }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant