updatePassword.vue 928 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <view class="content">
  3. <fxyk-navbar :isSearch="false" title="修改密码"/>
  4. <fxyk-cell ref="password" class="u-m-t-54" title="新密码" bgColor="#fff" :leftSlot="false" :arrow="false" rightSlot placeholder="请输入6位密码"/>
  5. <fxyk-cell ref="affirm_possword" style="margin-top:31rpx" title="确认新密码" bgColor="#fff" :leftSlot="false" :arrow="false" rightSlot placeholder="请输入再次输入新密码"/>
  6. <fxyk-button style="margin-top:100rpx" content="提交" @click.native="submit"></fxyk-button>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. methods: {
  12. // 提交
  13. submit() {
  14. // 密码
  15. this.$refs.password.value
  16. // 确认密码
  17. this.$refs.affirm_possword.value
  18. }
  19. }
  20. }
  21. </script>
  22. <style lang="scss" scoped>
  23. page {
  24. width: 100%;
  25. height: 100%;
  26. }
  27. .content {
  28. width: 100%;
  29. height: 100%;
  30. min-height: 100vh;
  31. background-color: $yk-bg-color;
  32. }
  33. </style>