keys.wxml 1.4 KB

123456789101112131415161718192021222324252627282930
  1. <cu-custom bgColor="#39b54a" isBack="true">
  2. <view class="nav_content" slot="backText">返回</view>
  3. <view class="nav_content" slot="content">{{title}}</view>
  4. </cu-custom>
  5. <background background="{{background}}"></background>
  6. <view class="font-18" style="opacity:{{0.85}}">
  7. <view class="cu-bar bg-white solid-bottom margin-top">
  8. <view class="action">
  9. <text class="cuIcon-title text-orange "></text> 公钥
  10. </view>
  11. </view>
  12. <view class="cu-form-group">
  13. <textarea name="note" id="note" maxlength="-1" readonly bindinput="textareaAInput" placeholder="公钥" bindinput="inputAction" data-id="public_key" value="{{publicKey}}"></textarea>
  14. </view>
  15. <view class="cu-bar bg-white solid-bottom margin-top">
  16. <view class="action">
  17. <text class="cuIcon-title text-orange "></text> 私钥
  18. </view>
  19. </view>
  20. <view class="cu-form-group">
  21. <textarea name="note" id="note" maxlength="-1" disabled="{{modalName!=null}}" bindinput="textareaAInput" placeholder="私钥" bindinput="inputAction" data-id="private_key" value="{{privateKey}}"></textarea>
  22. </view>
  23. <view class="padding flex flex-wrap justify-between align-center margin-top">
  24. <button class="cu-btn bg-red round justify-middle" bindtap='savePrivateKey'>保存私钥到本地</button>
  25. </view>
  26. </view>
  27. <view class="margin-top margin-20 font-18 red">
  28. 请妥善保存您的私钥,一旦私钥丢失,所有密码将无法解密。
  29. </view>