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

能否添加瀑布流组件? #567

Closed
chairy11 opened this issue May 1, 2019 · 3 comments
Closed

能否添加瀑布流组件? #567

chairy11 opened this issue May 1, 2019 · 3 comments

Comments

@chairy11
Copy link

chairy11 commented May 1, 2019

hi,我想使用瀑布流效果,本想使用Pinterest的gestalt组件库(React),但报错

错误  组件编译  组件node_modules/gestalt/dist/gestalt.js编译失败!
{ Error: ENOENT: no such file or directory, open '/client/node_modules/gestalt/dist/prop-types'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.readFileSync (fs.js:551:33)
    at buildSingleComponent (/.config/yarn/global/node_modules/@tarojs/cli/src/weapp.js:1746:31)
    at buildSingleComponent (/.config/yarn/global/node_modules/@tarojs/cli/src/weapp.js:1782:20)
    at Promise.all.componentPathList.map.componentObj (/.config/yarn/global/node_modules/@tarojs/cli/src/weapp.js:1679:60)
    at Array.map (<anonymous>)
    at buildDepComponents (/.config/yarn/global/node_modules/@tarojs/cli/src/weapp.js:1679:40)
    at buildSinglePage (/.config/yarn/global/node_modules/@tarojs/cli/src/weapp.js:1398:40)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/client/node_modules/gestalt/dist/prop-types' }

后来翻ISSUE看到说不支持第三方UI库。
那京东购物小程序也用到了瀑布流,你们会把这个抽成一个组件添加进Taro-UI吗?

@taro-bot
Copy link

taro-bot bot commented May 1, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@yuche yuche transferred this issue from NervJS/taro May 5, 2019
@Lizhooh
Copy link

Lizhooh commented May 23, 2019

@chairy11 肯定不行啦,小程序又不兼容 Web。

@jimczj
Copy link
Contributor

jimczj commented Jun 12, 2019

这种 Taro 做不了哦,需要对 dom 进行遍历,小程序支持不了

@jimczj jimczj closed this as completed Jun 12, 2019
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

3 participants