register.vue 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <template>
  2. <div class="app-content">
  3. <div class="module-com input-line-wrap">
  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. aaa: {
  37. cat_id: '',
  38. limit: 5,
  39. name: '',
  40. order: 'newest',
  41. owner_user_id: '7',
  42. page: 1
  43. }
  44. }
  45. },
  46. onLoad(option) {
  47. console.log(this.$util.parse(this.aaa))
  48. },
  49. methods: {}
  50. }
  51. </script>
  52. <style lang="scss" scoped>
  53. // 公共
  54. .line-cell {
  55. .tui-title {
  56. width: 210px;
  57. color: $fontColor2;
  58. }
  59. .tui-input {
  60. width: calc(100% - 210px);
  61. font-size: 28px;
  62. }
  63. .tui-placeholder {
  64. color: #ccc;
  65. }
  66. .phcolor {
  67. color: #ccc;
  68. }
  69. }
  70. .btn-wrap {
  71. width: 90%;
  72. margin: 60px auto;
  73. .button-com {
  74. width: 100%;
  75. margin: 0 auto;
  76. }
  77. }
  78. .code-wrap {
  79. .tui-input {
  80. width: calc(100% - 410px);
  81. font-size: 28px;
  82. }
  83. .tui-code {
  84. width: 200px;
  85. text-align: center;
  86. border-left: 1px solid $borderColor;
  87. color: $mainColor;
  88. }
  89. }
  90. </style>