index.axml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <view class="healthy-card-qrcode-container">
  2. <view class="card-container">
  3. <view class="card-header">
  4. <view class="card-header-left">
  5. <view class="user-name">
  6. {{cardInfo.userName || '用户姓名'}}
  7. </view>
  8. <view class="user-id-card">
  9. {{cardInfo.idCard || '用户身份证号码'}}
  10. </view>
  11. </view>
  12. <view
  13. onTap="onRefresh"
  14. class="card-header-right"
  15. >
  16. <image
  17. class="refresh-icon"
  18. src="{{refreshIcon}}"
  19. />
  20. <text>刷新</text>
  21. </view>
  22. </view>
  23. <view class="qrcode-container">
  24. <view class="loading-container" a:if="{{loading}}">
  25. <loading />
  26. </view>
  27. <block a:else>
  28. <image
  29. class="qrcode-img"
  30. src="{{cardInfo.qrCodeUrl}}"
  31. />
  32. </block>
  33. </view>
  34. </view>
  35. <view class="butBox">
  36. <button onTap="onBack" class="but">
  37. 返回
  38. </button>
  39. </view>
  40. </view>