editProfile.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <template>
  2. <view>
  3. <u-navbar title="编辑资料"></u-navbar>
  4. <view class="main">
  5. <view class="photo">
  6. <img src="../../../assets/img/photowoman.png" alt="">
  7. <view class="camera">
  8. <img src="../../../assets/img/md-camera_alt@1x.png" alt="">
  9. </view>
  10. </view>
  11. <view class="infos">
  12. <view class="item">
  13. <view class="title">
  14. 姓名
  15. </view>
  16. <view class="content">
  17. 夏奕琳
  18. </view>
  19. </view>
  20. <view class="item">
  21. <view class="title">
  22. 手机号
  23. </view>
  24. <view class="content">
  25. 13477489404
  26. </view>
  27. </view>
  28. <view class="item">
  29. <view class="title">
  30. 所属学部
  31. </view>
  32. <view class="content">
  33. 文艺部
  34. </view>
  35. </view>
  36. <view class="item">
  37. <view class="title">
  38. 所属项目中心
  39. </view>
  40. <view class="content">
  41. 中国舞项目中心
  42. </view>
  43. </view>
  44. <view class="item">
  45. <view class="title">
  46. 所属学科
  47. </view>
  48. <view class="content">
  49. 芭蕾舞
  50. </view>
  51. </view>
  52. <view class="honour">
  53. <view class="title">
  54. 荣誉奖项
  55. </view>
  56. <textarea name="" id="" cols="30" rows="10" placeholder="请简短描述您所获得的荣誉奖项及教学优质案例"></textarea>
  57. </view>
  58. </view>
  59. </view>
  60. <!-- 底部 -->
  61. <view class="bottom">
  62. <button class="btn">保存</button>
  63. </view>
  64. </view>
  65. </template>
  66. <script>
  67. export default {
  68. data() {
  69. return {
  70. }
  71. },
  72. methods: {
  73. }
  74. }
  75. </script>
  76. <style lang="scss" scoped>
  77. .main{
  78. background-color: #fff;
  79. .photo{
  80. width: 108px;
  81. height: 108px;
  82. margin: auto;
  83. padding-top: 20px;
  84. position: relative;
  85. img{
  86. width: 108px;
  87. height: 108px;
  88. border-radius: 999px;
  89. }
  90. .camera{
  91. width: 52rpx;
  92. height: 52rpx;
  93. border-radius: 999px;
  94. background-color: rgba(13, 186, 199, 1);
  95. text-align: center;
  96. border: 2px solid rgba(255, 255, 255, 1);
  97. position: absolute;
  98. bottom: -32rpx;
  99. right: 0;
  100. img{
  101. width: 32rpx;
  102. height: 32rpx;
  103. vertical-align: middle;
  104. }
  105. }
  106. }
  107. .infos{
  108. padding: 40px 16px 20px 16px;
  109. .item{
  110. display: flex;
  111. justify-content: space-between;
  112. line-height:44px;
  113. border-bottom: 1px solid rgba(229, 231, 234, 1);
  114. .title{
  115. color: rgba(119, 119, 119, 1);
  116. }
  117. .content{
  118. color: rgba(16, 16, 16, 1);
  119. }
  120. }
  121. .honour{
  122. padding-top: 12px;
  123. .title{
  124. color: rgba(119, 119, 119, 1);
  125. }
  126. uni-textarea{
  127. width: 100%;
  128. height: 160rpx;
  129. border-radius: 8px;
  130. background-color: rgba(229, 231, 234, 1);
  131. margin-top:8px;
  132. text-indent: 14px;
  133. }
  134. }
  135. }
  136. }
  137. .bottom{
  138. position: fixed;
  139. left: 0;
  140. right: 0;
  141. bottom: 0;
  142. background-color: #fff;
  143. padding: 10px 0;
  144. .btn{
  145. width: 91.4%;
  146. background-color: rgba(13, 186, 199, 1);
  147. color: rgba(255, 255, 255, 1);
  148. font-size: 16px;
  149. line-height: 40px;
  150. border-radius: 50px;
  151. }
  152. }
  153. </style>