login_three.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 class="icon">
  16. <uni-icons type="eye" size="25"></uni-icons>
  17. </view>
  18. </view>
  19. <view class="inps">
  20. <input class="inp" type="text" placeholder="输入新密码">
  21. <view class="icon">
  22. <uni-icons type="eye-slash" size="25" color="#bdbdbd"></uni-icons>
  23. </view>
  24. </view>
  25. </view>
  26. <button class="btn">修改并登录</button>
  27. </view>
  28. </template>
  29. <script>
  30. export default {
  31. data() {
  32. return {
  33. navBarData:{
  34. title:'找回密码',
  35. btn:1 //判断是否显示返回按钮
  36. },
  37. };
  38. }
  39. }
  40. </script>
  41. <style lang="scss">
  42. .login_three{
  43. height: 100vh;
  44. background-color: #ffffff;
  45. .inpBlock{
  46. width: 700rpx;
  47. padding-top: 100px;
  48. margin: auto;
  49. .inpTip{
  50. font-size: 14px;
  51. width: 100%;
  52. color: #666666;
  53. padding: 0 45rpx;
  54. margin-bottom: 10px;
  55. text{
  56. color: #73aff4;
  57. }
  58. }
  59. .inps{
  60. width: 100%;
  61. padding: 0 30rpx;
  62. margin-bottom: 20px;
  63. position: relative;
  64. // font-size: 25px;
  65. .inp{
  66. padding: 10rpx 15rpx;
  67. border-bottom: 1px #ccc solid;
  68. }
  69. .yzm{
  70. position: absolute;
  71. bottom: 10rpx;
  72. right: 20rpx;
  73. font-size: 12px;
  74. background-color: #7eb5f6;
  75. color: #fff;
  76. }
  77. .icon{
  78. position: absolute;
  79. right: 10px;
  80. top: 5px;
  81. }
  82. }
  83. .inps:nth-child(1){
  84. margin-bottom: 10px;
  85. }
  86. }
  87. .btn{
  88. background-color: #999999;
  89. color: #ffffff;
  90. border-radius: 30px;
  91. margin: 40rpx 55rpx;
  92. font-size: 16px;
  93. margin-top: 50px;
  94. }
  95. }
  96. </style>