retrieve-method.vue 909 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <template>
  2. <view class="container">
  3. <view @click="gotoAccountPassword()" class="h-method">
  4. <view class="h-img">
  5. <u-icon name="lock-fill" color="#333" size="30"></u-icon>
  6. </view>
  7. <view class="h-name">
  8. <text>通过账号密码找回</text>
  9. </view>
  10. </view>
  11. </view>
  12. </template>
  13. <script>
  14. export default {
  15. data() {
  16. return {
  17. userInfo: {
  18. telphone: '',
  19. code: '',
  20. },
  21. tips2: '',
  22. }
  23. },
  24. onLoad(option) {
  25. // 判断Openid是否为空
  26. this.userInfo.telphone = option.data;
  27. },
  28. onReady() {
  29. },
  30. methods: {
  31. // 去找回账号页面
  32. gotoAccountPassword(){
  33. let that = this;
  34. uni.navigateTo({
  35. url: '/pages/login/retrieve-account-password?data=' + that.userInfo.telphone,
  36. })
  37. },
  38. }
  39. }
  40. </script>
  41. <style lang="scss" scoped>
  42. page,body{
  43. background: #fff;
  44. }
  45. .container{
  46. }
  47. .h-method{
  48. height: 70vh;
  49. display: flex;
  50. justify-content: center;
  51. align-items: center;
  52. }
  53. </style>