information.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <template>
  2. <view class="jpmain ">
  3. <view class="body">
  4. <view class="page">
  5. <view class="page-content">
  6. <view class="item">
  7. <view class="title">
  8. 头像
  9. </view>
  10. <view class="goto ">
  11. <view class="photo">
  12. <img class="img" src="@/assets/img/center/icon1.png" alt="">
  13. </view>
  14. <u-icon name="arrow-right" style="margin-left: 8rpx;" size="24" color="#BBBBBB"></u-icon>
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="page">
  20. <view class="page-content">
  21. <view class="item">
  22. <view class="title">
  23. 用户昵称
  24. </view>
  25. <view class="goto">
  26. 未设置
  27. <u-icon name="arrow-right" style="margin-left: 8rpx;" size="24" color="#BBBBBB"></u-icon>
  28. </view>
  29. </view>
  30. <view class="item">
  31. <view class="title">
  32. 手机号码
  33. </view>
  34. <view class="goto">
  35. 13111111111
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="page">
  41. <view class="button">
  42. 退出账号
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. data() {
  51. return {
  52. }
  53. },
  54. methods: {
  55. }
  56. }
  57. </script>
  58. <style>
  59. page {
  60. background-color: rgba(242, 244, 246, 1);
  61. }
  62. </style>
  63. <style scoped lang="scss">
  64. /* styles.css */
  65. .body {
  66. padding: 32rpx;
  67. }
  68. .page {
  69. border-radius: 16rpx;
  70. background-color: rgba(255, 255, 255, 1);
  71. color: rgba(16, 16, 16, 1);
  72. padding:0 32rpx;
  73. margin-bottom: 32rpx;
  74. font-size: 32rpx;
  75. color: rgb(16, 16, 16);
  76. .page-content {
  77. .item:not(:last-child) {
  78. border-bottom:1px solid rgba(232,232,232,1);
  79. }
  80. .item {
  81. padding: 32rpx 0;
  82. display: flex;
  83. justify-content: space-between;
  84. align-items: center;
  85. font-size: 32rpx;
  86. .title {
  87. display: flex;
  88. justify-content: space-between;
  89. display: flex;
  90. align-items: center;
  91. color: rgba(51,51,51,1);
  92. }
  93. .goto{
  94. display: flex;
  95. align-items: center;
  96. color: rgba(119,119,119,1);
  97. }
  98. .photo {
  99. border-radius: 50px;
  100. background-color: rgba(229, 229, 229, 1);
  101. height: 80rpx;
  102. width: 80rpx;
  103. overflow: hidden;
  104. .img {
  105. width: 100%;
  106. height: 100%;
  107. }
  108. }
  109. }
  110. }
  111. .button{
  112. text-align: center;
  113. color: red;
  114. padding: 32rpx 0;
  115. }
  116. }
  117. </style>