摘要: https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/wxml-wxss.html 外部样式类 有时,组件希望接受外部传入的样式类。此时可以在 Component 中用 externalClasses  阅读全文
posted @ 2019-11-14 22:29 小水皮 阅读(2144) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://www.cnblogs.com/loveyt/p/9946450.htm vue中的插槽————slot 什么是插槽? 插槽(Slot)是Vue提出来的一个概念,正如名字一样,插槽用于决定将所携带的内容,插入到指定的某个位置,从而使模板分块,具有模块化的特质和更大的重用性。 阅读全文
posted @ 2019-11-14 22:13 小水皮 阅读(307) 评论(0) 推荐(0) 编辑