Code Monkey home page Code Monkey logo

Comments (7)

Akimotorakiyu avatar Akimotorakiyu commented on May 22, 2024 1

阿里开发工具更新到0.32.3之后,模拟器上不能显示了
#75 (comment)

from wemark.

TooBug avatar TooBug commented on May 22, 2024

没有关注支付宝小程序,欢迎尝试和反馈。

from wemark.

Akimotorakiyu avatar Akimotorakiyu commented on May 22, 2024

这里应该就是,看起来是成功了拉拉♪(^∇^*)!就是样式有一点奇怪。。。

图片
图片
图片
图片

from wemark.

TooBug avatar TooBug commented on May 22, 2024

@silverleaves 引入后是否需要做修改,或者引入过程中有哪些需要注意的?可否提供一下,我放到Readme中。

from wemark.

Akimotorakiyu avatar Akimotorakiyu commented on May 22, 2024

需要做修改

阿里小程序的文档真的很坑,鬼知道它在什么地方把很重要的事情一笔带过了。所以一定要抠字眼呀呀呀呀

用来传值的组件属性

props:{}

父子组件的事件绑定

父组件中标签on+大写开头的事件名(小写不知道可以不)

<my-component onEvent="eventHandler">

函数引用会传递到子组件的props中,函数中的this指向仍是父组件

更新数据的生命周期事件

didUpdate(prevProps,prevData){}

标签属性

属性是区分大小写的,事件属性是驼峰命名

<tag onTap a:if a:for a:key a:for-index a:for-item></tag>

文件后缀

.acss .axml

?es6 module?

我是先改成了es6module的导出导入方式的,然后再看的其它问题的。所以,是不是一定要用es6module的导出导入方式,你要试一下。

from wemark.

TooBug avatar TooBug commented on May 22, 2024

收到,非常感谢。 @silverleaves

from wemark.

fanzhiri avatar fanzhiri commented on May 22, 2024

阿里开发工具更新到0.32.3之后,模拟器上不能显示了
#75 (comment)
@TooBug @Akimotorakiyu
能否把你适配好的分支分享一下?谢谢,😊

from wemark.

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.