privatekey.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. <background background="{{background}}"></background>
  2. <cu-custom bgColor="#39b54a" isBack="true">
  3. <view class="nav_content" slot="backText">返回</view>
  4. <view class="nav_content" slot="content">{{title}}</view>
  5. </cu-custom>
  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="publicKey" value="{{publicKey}}" readonly='true'></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="privateKey" value="{{privateKey}}"></textarea>
  22. </view>
  23. <view class="padding flex flex-wrap justify-between align-center margin-top">
  24. <button class="cu-btn bg-yellow round justify-middle" bindtap='resetPrivateKey'>重置公私钥</button>
  25. <button class="cu-btn bg-red round justify-middle" bindtap='verifyPrivateKey'>校验私钥</button>
  26. </view>
  27. </view>
  28. <view class="margin-top margin-20 font-18 red">
  29. 如果您的私钥丢失,请重置您的公私钥,一旦重置,密码将因为无法解密全部丢失。。
  30. </view>