Code Monkey home page Code Monkey logo

Comments (24)

transtone avatar transtone commented on August 20, 2024 9

这么好用的v-bind和v-on居然全给改了。5555555555555

上一篇:Weex快速上手教程
下一篇:style和class

from article.

sospartan avatar sospartan commented on August 20, 2024

@transtone 你可以去主项目发起issue让大家来讨论 如果支持的人多 我觉得开发同学会考虑的 😄

from article.

Luoxinfang avatar Luoxinfang commented on August 20, 2024

我现在用的vue.js 准备切到weex 有什么建议吗

from article.

samyzh avatar samyzh commented on August 20, 2024

@Luoxinfang ,会vue.js上手快。我花了三天看下vue文档,现在看weex感觉很轻松,会点原生那就跟nice啦😄

from article.

lxc7923 avatar lxc7923 commented on August 20, 2024

小白请教下为什么更新了数据绑定的组件却没有更新呢?是有更改这块吗?

from article.

Jinjiang avatar Jinjiang commented on August 20, 2024

这么好用的v-bind和v-on居然全给改了。5555555555555

这两个语法印象中是 vue 0.13 / 0.14 提出来的,已经接近 1.0 了,我们的语法相对是一个老版本的 vue,其实不是我们要刻意”改“掉,后期我们做了一些调查,大家对 {{...}} 的接受度更高,所以我们暂没有冒然升级到最新版的 vue 语法 @transtone

from article.

Jinjiang avatar Jinjiang commented on August 20, 2024

@lxc7923 可以来我们的中文聊天室具体说一下你遇到的问题 https://gitter.im/weexteam/cn

from article.

FF-Zack avatar FF-Zack commented on August 20, 2024

image标签好像不加宽高就不能显示的是么?

from article.

iceyao avatar iceyao commented on August 20, 2024

@FF-Zack image 不加宽高不显示,查看 weex-html5 版就会发现最终转换成了 div 的 background-image 的形式来展示一张图片

from article.

hisland avatar hisland commented on August 20, 2024

原来是基于 vue 0.13 / 0.14 , 那 vue2.0 不知如何

from article.

sospartan avatar sospartan commented on August 20, 2024

@hisland WIP

from article.

hisland avatar hisland commented on August 20, 2024

@sospartan that's cool, https://twitter.com/youyuxi/status/766753137717829633
image

from article.

liuguangli avatar liuguangli commented on August 20, 2024

有没有网格布局呀(grid),如果有如何绑定列表?

from article.

codercuixin avatar codercuixin commented on August 20, 2024

试了一下,好像
data: {
size: 48,
title: 'Alibaba Weex Team'
}

data: {
title: {
size: 48,
value: 'Alibaba Weex Team'
}
}
两种数据绑定方式不能混用

from article.

Jam1zhu avatar Jam1zhu commented on August 20, 2024

script标签内改变了data里的数据,template不是时时更新的吗?

from article.

happybobo avatar happybobo commented on August 20, 2024

查看更多关于style和class的内容 的 链接 https://github.com/weexteam/article/issues/style-n-class.md 都不能点。。。文档能不能用点心

from article.

WLDragon avatar WLDragon commented on August 20, 2024

感觉能和vue一致就好了,现在从vue切换过来感觉会混乱

from article.

DoranYun avatar DoranYun commented on August 20, 2024

@Jam1zhu 是实时更新的。

from article.

Jam1zhu avatar Jam1zhu commented on August 20, 2024

from article.

DoranYun avatar DoranYun commented on August 20, 2024

@Luoxinfang 看看新版文档呗。http://alibaba.github.io/weex/cn/doc/

from article.

DoranYun avatar DoranYun commented on August 20, 2024

@lxc7923
看看是否有报错,可以参考下新文档中的各种例子 http://alibaba.github.io/weex/cn/doc/syntax/data-binding.html

from article.

DoranYun avatar DoranYun commented on August 20, 2024

@FF-Zack
image 必须明确指定 宽高,否则无法显示

http://alibaba.github.io/weex/cn/doc/components/image.html

from article.

DoranYun avatar DoranYun commented on August 20, 2024

@liuguangli
可以使用 flex 实现网格布局,可参考新文档中的示例 http://alibaba.github.io/weex/cn/doc/references/common-style.html#示例

在线预览 http://dotwe.org/ee6a898fcac2242308c24fe5882c52ac

from article.

DoranYun avatar DoranYun commented on August 20, 2024

新版中文网站及文档已经上线,请访问 https://weex-project.io/cn/ , 此处后续不再维护,谢谢理解。

from article.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.