retrieve-pswd.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <view>
  3. <!-- 头部 -->
  4. <headContent>
  5. <template #left>
  6. <view class="head-revers-back iconfont" @click.stop="reversBackBtn()">&#xe604;</view>
  7. </template>
  8. </headContent>
  9. <view class="page-content">
  10. <text class="login-title">找回密码</text>
  11. <text class="login-content">找回您的币王账号</text>
  12. <form class="login-form">
  13. <view class="form-item">
  14. <input class="form-input" v-model="account" placeholder-class="form-input-place" placeholder="请输入您的手机号码或邮箱" />
  15. </view>
  16. <view class="form-btn" style="margin-top: 28rpx;" @click.stop="formSubmit">
  17. 下一步
  18. </view>
  19. </form>
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. import {
  25. reverseBack
  26. } from "@/utils/common.js"
  27. export default {
  28. name: 'retrieve-pswd',
  29. data() {
  30. return {
  31. account:''
  32. };
  33. },
  34. methods: {
  35. reversBackBtn() {
  36. reverseBack()
  37. },
  38. formSubmit(){
  39. // 安全验证
  40. uni.navigateTo({
  41. url:`/pages/login/safety-verification?type=1&account=${this.account}`
  42. })
  43. }
  44. }
  45. }
  46. </script>
  47. <style lang="scss" scoped>
  48. @import "~./common.scss";
  49. .form-item{
  50. margin-top: 40rpx !important;
  51. }
  52. </style>