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

有没有交流社群 #8

Open
ghost opened this issue Oct 26, 2017 · 6 comments
Open

有没有交流社群 #8

ghost opened this issue Oct 26, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Oct 26, 2017

搜遍了都没有tabris.js相关的社区,连QQ群都没有.
你有可以交流的地方吗?

@Youjingyu
Copy link
Owner

Youjingyu commented Oct 26, 2017

@anUglyOldDog 没有。有问题可以到官方github仓库的issues提。我做过一些tabris的开发,有我能解决的问题,我也可以解答。

@ghost
Copy link
Author

ghost commented Oct 30, 2017

你用TS开发过tabris应用吗?

我在 tsconfig 里配置了 baseUrlpaths ,然后编译完 require 是相同的路径,所以执行肯定会报错的,怎么解决呢?

@Youjingyu
Copy link
Owner

@anUglyOldDog 我没有使用ts开发。
可以参考build里关于es6和ts的使用。
使用ts或者不支持的es6的语法时,需要编译打包。最终tabris使用的是/dist/app.js,应该和ts的配置无关。

@ghost
Copy link
Author

ghost commented Nov 5, 2017

试了几天就放弃了,老老实实相对路径吧,不过为啥子图片路径可以加/从根目录下读取到,也可以images/读取到根目录下的文件 (此时并不是相对于当前文件的) .
国庆后你翻译速度变慢了啊.

@Youjingyu
Copy link
Owner

加载图片使用的是ImageView控件吧,框架会处理ImageView的相对路径,和你TS
里面使用的相对路径是不一样的。我建议你看看TS编译出的JS中require的路径,是否满足模块系统的要求。
ps: 国庆后开始搬砖了,速度确实变慢了,闲下来会再开始翻译的。

@ghost
Copy link
Author

ghost commented Nov 12, 2017

为啥子安卓里TextInput输入框文字会出现文字上面被遮住不显示的情况.
我设置了height是35和font[size]14px,但是文字还是被遮住了.

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