041e6873810de6858a75d0c31481c469a1fc3dd7.svn-base 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <template>
  2. <div style="height:100vh">
  3. <yd-navbar title="个人资料" color="#fff">
  4. <router-link :to="{path: '/PersonalCenter' }" slot="left">
  5. <yd-navbar-back-icon style="color: #fff"></yd-navbar-back-icon>
  6. </router-link>
  7. </yd-navbar>
  8. <div class="tips">
  9. 请完善您的个人资料,以便尽情享受我们网站提供的所有服务。
  10. </div>
  11. <div class="form">
  12. <ul>
  13. <li>
  14. <label for="user">账号</label>
  15. <input class="disabled" id="user" type="text" placeholder="账号不能修改" disabled="disabled">
  16. </li>
  17. <li>
  18. <label for="password">密码</label>
  19. <input class="disabled" id="password" type="text" placeholder="****" disabled="disabled">
  20. </li>
  21. <li>
  22. <label for="photo">头像</label>
  23. <input type="file" placeholder="上传头像">
  24. </li>
  25. <li>
  26. <label for="name">昵称</label>
  27. <input class="nodisabled" id="name" type="text" placeholder="请输入昵称">
  28. </li>
  29. <li>
  30. <label for="qq">QQ号</label>
  31. <input class="nodisabled" id="qq" type="text" placeholder="请输入QQ号">
  32. </li>
  33. <li>
  34. <label for="phone">手机号</label>
  35. <input class="nodisabled" id="phone" type="text" placeholder="请输入手机号">
  36. </li>
  37. <li>
  38. <label for="email">邮箱地址</label>
  39. <input class="nodisabled" id="email" type="text" placeholder="请输入邮箱">
  40. </li>
  41. </ul>
  42. </div>
  43. <yd-tabbar slot="tabbar">
  44. <yd-button size="large" type="primary">完成注册</yd-button>
  45. </yd-tabbar>
  46. </div>
  47. </template>
  48. <script>
  49. export default {
  50. name: "PersonInfo"
  51. }
  52. </script>
  53. <style scoped>
  54. .yd-btn-block {
  55. margin-top: 0.6rem;
  56. }
  57. .yd-navbar {
  58. background-image: linear-gradient(0deg, #565656 0%, #999999 100%);
  59. }
  60. .tips {
  61. text-align: center;
  62. color: #FF6600;
  63. height:0.8rem;
  64. line-height: 0.8rem;
  65. background:rgba(255,235,196,1);
  66. }
  67. .form {
  68. background:#E4E4E4;
  69. border-radius:10px;
  70. padding:0.3rem;
  71. }
  72. .form ul {
  73. padding:0.3rem;
  74. background:#EFEFEF;
  75. border-radius:10px;
  76. }
  77. .form ul li {
  78. height: 0.8rem;
  79. line-height: 0.8rem;
  80. margin-bottom: 0.2rem;
  81. }
  82. .form ul li label {
  83. width: 1.2rem;
  84. display: inline-block;
  85. }
  86. .form ul li input.disabled {
  87. width: 70%;
  88. height: 0.8rem;
  89. line-height: 0.8rem;
  90. border:none;
  91. outline:none;
  92. background:rgba(228,228,228,1);
  93. border:1px solid rgba(228,228,228,1);
  94. padding-left: 0.2rem;
  95. }
  96. .form ul li input.nodisabled {
  97. width: 70%;
  98. height: 0.8rem;
  99. line-height: 0.8rem;
  100. border:none;
  101. outline:none;
  102. background:#fff;
  103. border:1px solid rgba(228,228,228,1);
  104. padding-left: 0.2rem;
  105. }
  106. .yd-tabbar {
  107. margin: 0 auto;
  108. width: 80%;
  109. background-color: transparent !important;
  110. }
  111. .yd-btn-block {
  112. margin-top: 0;
  113. border-radius: 10px;
  114. background:linear-gradient(0deg,rgba(90,90,90,1) 0%,rgba(138,138,138,1) 100%);
  115. }
  116. </style>