摘要:
一、自定义弹框组件 1、组件定义 在components目录下创建dialog文件夹,然后选择文件夹,右键,点击"新建Component",就会创建四个文件。如下所示: wxml <!--components/dialog/index.wxml--> <view wx:if="{{isShow}}" 阅读全文
posted @ 2024-01-29 15:38
周文豪
阅读(1772)
评论(0)
推荐(0)
摘要:
wxml <view> <button bindtap='createQrcode' type="primary" style="width: 400rpx;margin-top: 400rpx;">生成二维码</button> <canvas id='qrcode' type="2d" style 阅读全文
posted @ 2024-01-29 10:52
周文豪
阅读(467)
评论(0)
推荐(0)
浙公网安备 33010602011771号