Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

transfer-verification.vue 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <template>
  2. <view class="formBox">
  3. <view class="from_item">
  4. <text class="label">账号验证</text>
  5. <input type="text" placeholder="输入验证码" v-model="model1.uname" placeholder-style="color:#000">
  6. </view>
  7. <view class="from_item">
  8. <text class="label">手机号码</text>
  9. <input type="text" placeholder="" v-model="model1.phone" placeholder-style="color:#000" disabled="true">
  10. </view>
  11. <view class="from_item">
  12. <text class="label">验证码</text>
  13. <input type="text" placeholder="请输入验证码" placeholder-style="color:#000">
  14. <text class="btn" @click="getCode">获取验证码</text>
  15. </view>
  16. <button class="submit" @click="toPage">验证</button>
  17. </view>
  18. </template>
  19. <script setup lang="ts">
  20. import {
  21. reactive
  22. } from "vue";
  23. import {
  24. navTo
  25. } from "@/utils/utils"
  26. let model1 = reactive({
  27. uname: '输入验证码',
  28. phone: '135****9090',
  29. code: ''
  30. })
  31. const getCode = () => {
  32. console.log(123);
  33. }
  34. const toPage=()=>{
  35. navTo('/after-sale/transfer-ownership/transfer')
  36. }
  37. </script>
  38. <style>
  39. page {
  40. width: 100%;
  41. height: 100%;
  42. }
  43. </style>
  44. <style lang="scss" scoped>
  45. .formBox {
  46. height: 90%;
  47. width: 100%;
  48. // background-color: red;
  49. .from_item {
  50. padding: 30rpx;
  51. padding-top: 60rpx;
  52. position: relative;
  53. .label {
  54. font-size: 28rpx;
  55. font-family: Microsoft YaHei;
  56. font-weight: 400;
  57. color: #777777;
  58. }
  59. input {
  60. font-size: 32rpx;
  61. font-family: Microsoft YaHei;
  62. font-weight: 400;
  63. color: #333333;
  64. line-height: 58rpx;
  65. border-bottom: 1rpx solid #DCDCDC;
  66. margin-top: 50rpx;
  67. padding-bottom: 10rpx;
  68. }
  69. .btn {
  70. position: absolute;
  71. right: 45rpx;
  72. bottom: 48rpx;
  73. background: transparent;
  74. font-size: 30rpx;
  75. color: #15E5C1;
  76. z-index: 999;
  77. }
  78. }
  79. .submit {
  80. background: linear-gradient(to left, #43A1E0 0%, #13E7C1 100%);
  81. width: 670rpx;
  82. height: 80rpx;
  83. line-height: 80rpx;
  84. color: #fff;
  85. border-radius: 100rpx;
  86. position: fixed;
  87. bottom: 100rpx;
  88. left: 50%;
  89. transform: translate(-50%);
  90. font-size: 32rpx;
  91. font-family: Microsoft YaHei;
  92. font-weight: 400;
  93. color: #FFFFFF;
  94. line-height: 80rpx;
  95. }
  96. }
  97. </style>