login_three.vue 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <template>
  2. <view class="login_three">
  3. <statusBar :item="navBarData"></statusBar>
  4. <view class="inpBlock">
  5. <view class="inps">
  6. <input class="inp" type="text" placeholder="输入验证码">
  7. <button class="yzm">获取验证码</button>
  8. </view>
  9. <view class="inpTip">
  10. 验证码已发送到您的手机
  11. <text>17739460336</text>
  12. </view>
  13. <view class="inps">
  14. <input class="inp" type="text" placeholder="输入新密码">
  15. </view>
  16. <view class="inps">
  17. <input class="inp" type="text" placeholder="输入新密码">
  18. </view>
  19. </view>
  20. <button class="btn">修改并登录</button>
  21. </view>
  22. </template>
  23. <script>
  24. export default {
  25. data() {
  26. return {
  27. navBarData:{
  28. title:'找回密码',
  29. btn:1 //判断是否显示返回按钮
  30. },
  31. };
  32. }
  33. }
  34. </script>
  35. <style lang="scss">
  36. .login_three{
  37. height: 100vh;
  38. background-color: #ffffff;
  39. .inpBlock{
  40. width: 700rpx;
  41. padding-top: 100px;
  42. margin: auto;
  43. .inpTip{
  44. font-size: 14px;
  45. width: 100%;
  46. color: #666666;
  47. padding: 0 45rpx;
  48. margin-bottom: 10px;
  49. text{
  50. color: #73aff4;
  51. }
  52. }
  53. .inps{
  54. width: 100%;
  55. padding: 0 30rpx;
  56. margin-bottom: 20px;
  57. position: relative;
  58. .inp{
  59. padding: 10rpx 15rpx;
  60. border-bottom: 1px #ccc solid;
  61. }
  62. .yzm{
  63. position: absolute;
  64. bottom: 10rpx;
  65. right: 20rpx;
  66. font-size: 12px;
  67. background-color: #7eb5f6;
  68. color: #fff;
  69. }
  70. }
  71. .inps:nth-child(1){
  72. margin-bottom: 10px;
  73. }
  74. }
  75. .btn{
  76. background-color: #0056a8;
  77. color: #ffffff;
  78. border-radius: 30px;
  79. margin: 30rpx 55rpx;
  80. font-size: 16px;
  81. }
  82. }
  83. </style>