通过扩展库引入weui,页面json引入组件,结果不生效?控制台也没有错误!!
<mp-half-screen-dialog bindbuttontap="buttontap" show="{{showSearch}}" maskClosable="{{false}}" title="测试标题B" subTitle="测试标题B的副标题" desc="辅助描述内容,可根据实际需要安排" tips="辅助提示内容,可根据实际需要安排" buttons="{{buttons}}">
</mp-half-screen-dialog>
按照稳定:https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html,提供一个可复现的代码片段吧
1.app.json
"useExtendedLib": { "weui": true }
2.page.json
"mp-half-screen-dialog": "weui-miniprogram/half-screen-dialog/half-screen-dialog"
https://developers.weixin.qq.com/community/develop/article/doc/000e402bfe8320d2f9de2e23f5b813