摘要:
一、自定义弹框组件 1、组件定义 在components目录下创建dialog文件夹,然后选择文件夹,右键,点击"新建Component",就会创建四个文件。如下所示: wxml <!--components/dialog/index.wxml--> <view wx:if="{{isShow}}" 阅读全文
摘要:
wxml <view> <button bindtap='createQrcode' type="primary" style="width: 400rpx;margin-top: 400rpx;">生成二维码</button> <canvas id='qrcode' type="2d" style 阅读全文