小程序自定义组件

83 阅读1分钟

1.在conponents里面创建组件

image.png

2.在页面的json上引入

image.png

3.使用

image.png