set.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <template>
  2. <view class="container">
  3. <view class="body">
  4. <!-- 个人头像区域 -->
  5. <view class="body_box">
  6. 个人头像
  7. <view class="box_right">
  8. <img class="img" src="../../static/my/portrait.png" />
  9. <img class="img2" src="../../static/my/right.png" />
  10. </view>
  11. </view>
  12. <!-- 账号名区域 -->
  13. <view class="body_box">
  14. 账号名
  15. <view class="box_right">
  16. <view class="msg">张三</view>
  17. <img class="img2" src="../../static/my/right.png" />
  18. </view>
  19. </view>
  20. <!-- ID区域 -->
  21. <view class="body_box">
  22. ID
  23. <view class="box_right">
  24. <view class="msg">1925689</view>
  25. <img class="img2" src="../../static/my/right.png" />
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </template>
  31. <script>
  32. export default {
  33. data() {
  34. return {}
  35. }
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. .container {
  40. display: flex;
  41. flex-direction: column;
  42. min-height: 100vh;
  43. background-color: #ebeced;
  44. .body {
  45. box-sizing: border-box;
  46. margin-top: 20rpx;
  47. padding: 0 30rpx;
  48. height: calc(100vh - 20rpx);
  49. background-color: #fff;
  50. .body_box {
  51. display: flex;
  52. justify-content: space-between;
  53. align-items: center;
  54. height: 100rpx;
  55. font-size: 28rpx;
  56. border-bottom: 1rpx solid #e6e6e6;
  57. .box_right {
  58. display: flex;
  59. justify-content: flex-end;
  60. align-items: center;
  61. height: 100rpx;
  62. .img {
  63. width: 64rpx;
  64. height: 64rpx;
  65. }
  66. .img2 {
  67. margin-left: 7rpx;
  68. width: 47rpx;
  69. height: 47rpx;
  70. }
  71. .msg {
  72. color: #808080;
  73. }
  74. }
  75. }
  76. }
  77. }
  78. </style>