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

关于weex的几个问题 #139

Closed
Demon-liao opened this issue May 4, 2016 · 4 comments
Closed

关于weex的几个问题 #139

Demon-liao opened this issue May 4, 2016 · 4 comments

Comments

@Demon-liao
Copy link

这几天简单的在玩weex。有几个问题请教下:
1.weex里面如何请求数据?能跨域请求吗?
2.能否引入类似zepto这样的库来操作DOM呢?
3.可否引入外部的CSS文件?
4.UI上的高宽等设置,单位只能是px吗?能否用rem计算的?
5.我了解到组件中 this指针上有很多的方法,但是文档上没有详细讲解里面有些什么内容。控制台也没法打印出来显示。请问怎么样才能看到里面具体包含些什么呢?

@terrykingcha
Copy link
Contributor

  1. Can not be support CORS yet! But soon.
  2. Sorry! It's a data-binding framework, zepto/jquery is evil.
  3. Maybe [weex-loader](https://www.npmjs.com/package/weex-loader) will help to solve the problem.
  4. Just px now.
  5. Only in docs is stable.

@a83988029
Copy link

仍然不支持跨域,这个soon好久

@gracer-lyl
Copy link

weex现在还不支持跨域访问。。。

@bekind
Copy link

bekind commented Jan 23, 2017

以前都是写静态页面,这第一次写网络请求,被跨域拦在了门外,弄得我一脸懵逼……话说,这个不是要优先解决的么

sospartan pushed a commit that referenced this issue Jan 24, 2017
* [android] enhancement SliderNeighbor no actor with dom.

* Update WXSliderNeighbor.java
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

5 participants