<!--pages/regular_msg/regular_msg.wxml-->
<zyh-details-card title="{{language=='ch'?'认证信息':'Authentication information'}}" msg="{{msg}}" userInfo="{{userInfo}}" qrCodeUrl="{{qrCodeUrl}}" language="{{language}}" type="my"></zyh-details-card>
<view wx:if="{{qrCodeUrl || errorMsg  }}" class="qrcode-box">
  <view class="tit">梯控二维码</view>
  <view wx:if="{{ qrCodeUrl }}">
    <image class="qrcode-img" mode="scaleToFill" src="{{qrCodeUrl}}" />
    <view class="qrcode-tip">
      二维码用于在电梯处自主刷码乘梯至指定楼层
    </view>
  </view>
  <view wx:if="{{ errorMsg }}" class="qrcode-tip1">
    <text>{{errorMsg}}</text>
  </view>
</view>

<canvas style="background:#fff;width:400rpx;height: 400rpx; display:block; left:-800rpx;position:absolute;" canvas-id="myQrcode1"></canvas>