<!--shoppingGuid/page/pages/qrcode/qrcode.wxml-->
<view class='qrcode'>
  <view class='card'>
    <image class='g-qrcode' mode='aspectFit' src='{{codeImg}}'></image>
    <image class='g-logo' mode='aspectFit' src='{{avator}}'></image>
    <text class='name'>{{name}}</text>
  </view>
</view>
<!-- 底部操作按钮 -->
<view class='bottom-operator' bindtap='onTapSaveCardToColumn'>
  <icon type='download' size='16' color="rgb(0, 145, 255)"></icon>保存名片到相册
</view>

<!-- 预览 -->
<view class='preview'>
    <painter palette="{{template}}" bind:imgOK="onImgOK" /> 
</view>


