register.vue 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <template>
  2. <div class="app-content">
  3. <div class="module-com">
  4. <tui-list-cell class="line-cell" :hover="false">
  5. <div class="tui-title">手机号</div>
  6. <input placeholder-class="phcolor" class="tui-input" name="name" placeholder="请输入手机号" maxlength="50" type="number" />
  7. </tui-list-cell>
  8. <tui-list-cell class="line-cell code-wrap" :hover="false">
  9. <div class="tui-title">验证码</div>
  10. <input placeholder-class="phcolor" class="tui-input" name="phone" placeholder="请输入验证码" maxlength="50" type="number" />
  11. <div class="tui-code">获取验证码</div>
  12. </tui-list-cell>
  13. <tui-list-cell class="line-cell" :hover="false">
  14. <div class="tui-title">姓名</div>
  15. <input placeholder-class="phcolor" class="tui-input" name="phone" placeholder="选填" maxlength="50" type="number" />
  16. </tui-list-cell>
  17. <tui-list-cell class="line-cell" :hover="false">
  18. <div class="tui-title">生日</div>
  19. <input placeholder-class="phcolor" class="tui-input" name="phone" placeholder="选填" maxlength="50" type="number" />
  20. </tui-list-cell>
  21. <div class="btn-wrap">
  22. <button class="button-com red big">确认</button>
  23. </div>
  24. </div>
  25. </div>
  26. </template>
  27. <script>
  28. import tuiListCell from '@/components/plugin/list-cell'
  29. export default {
  30. name: 'register',
  31. components: {
  32. tuiListCell
  33. },
  34. data() {
  35. return {}
  36. }
  37. }
  38. </script>
  39. <style lang="scss" scoped>
  40. // 公共
  41. .line-cell {
  42. .tui-title {
  43. width: 210px;
  44. color: $fontColor2;
  45. }
  46. .tui-input {
  47. width: calc(100% - 210px);
  48. font-size: 28px;
  49. }
  50. .tui-placeholder {
  51. color: #ccc;
  52. }
  53. .phcolor {
  54. color: #ccc;
  55. }
  56. }
  57. .btn-wrap {
  58. width: 90%;
  59. margin: 60px auto;
  60. .button-com {
  61. width: 100%;
  62. margin: 0 auto;
  63. }
  64. }
  65. .code-wrap {
  66. .tui-input {
  67. width: calc(100% - 410px);
  68. font-size: 28px;
  69. }
  70. .tui-code {
  71. width: 200px;
  72. text-align: center;
  73. border-left: 1px solid $borderColor;
  74. color: $mainColor;
  75. }
  76. }
  77. </style>