reset.wxml 1.3 KB

123456789101112131415161718192021222324252627
  1. <background background="{{background}}"></background>
  2. <view class="font-18 white" style="opacity:{{0.85}}">
  3. <view class="cu-bar bg-white solid-bottom margin-top">
  4. <view class="action">
  5. <text class="cuIcon-title text-orange "></text> 公钥
  6. </view>
  7. </view>
  8. <view class="cu-form-group">
  9. <textarea name="note" id="note" maxlength="-1" readonly bindinput="textareaAInput" placeholder="公钥" data-id="publicKey" value="{{publicKey}}"></textarea>
  10. </view>
  11. <view class="cu-bar bg-white solid-bottom margin-top">
  12. <view class="action">
  13. <text class="cuIcon-title text-orange "></text> 私钥
  14. </view>
  15. </view>
  16. <view class="cu-form-group">
  17. <textarea name="note" id="note" maxlength="-1" disabled="{{modalName!=null}}" bindinput="textareaAInput" placeholder="私钥" data-id="privateKey" value="{{privateKey}}"></textarea>
  18. </view>
  19. <view class="padding flex flex-wrap justify-between align-center margin-top">
  20. <button class="cu-btn bg-yellow round justify-middle" bindtap='savePrivateKey'>保存</button>
  21. <button class="cu-btn bg-red round justify-middle" bindtap='resetPrivateKey'>重置公私钥</button>
  22. </view>
  23. </view>
  24. <view class="margin-top margin-20 font-18 red">
  25. 您正在重置您的公私钥,一旦重置,所有已保存的密码将全部丢失。服务端仅保存您的公钥用于加密使用,请您妥善保管您的私钥。
  26. </view>