1、创建组件 2、编写wxml文件 3、写样式 4、dialog.js 5、引入组件index.json 6、父组件index.js 7、使用组件 转载于:https://www.cnblogs.com/vhen/p/8557013.html