information.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. import * as API from '@/apis/pagejs/index.js'
  50. export default {
  51. data() {
  52. return {
  53. }
  54. },
  55. methods: {
  56. }
  57. }
  58. </script>
  59. <style>
  60. page {
  61. background-color: rgba(242, 244, 246, 1);
  62. }
  63. </style>
  64. <style scoped lang="scss">
  65. /* styles.css */
  66. .body {
  67. padding: 32rpx;
  68. }
  69. .page {
  70. border-radius: 16rpx;
  71. background-color: rgba(255, 255, 255, 1);
  72. color: rgba(16, 16, 16, 1);
  73. padding:0 32rpx;
  74. margin-bottom: 32rpx;
  75. font-size: 32rpx;
  76. color: rgb(16, 16, 16);
  77. .page-content {
  78. .item:not(:last-child) {
  79. border-bottom:1px solid rgba(232,232,232,1);
  80. }
  81. .item {
  82. padding: 32rpx 0;
  83. display: flex;
  84. justify-content: space-between;
  85. align-items: center;
  86. font-size: 32rpx;
  87. .title {
  88. display: flex;
  89. justify-content: space-between;
  90. display: flex;
  91. align-items: center;
  92. color: rgba(51,51,51,1);
  93. }
  94. .goto{
  95. display: flex;
  96. align-items: center;
  97. color: rgba(119,119,119,1);
  98. }
  99. .photo {
  100. border-radius: 50px;
  101. background-color: rgba(229, 229, 229, 1);
  102. height: 80rpx;
  103. width: 80rpx;
  104. overflow: hidden;
  105. .img {
  106. width: 100%;
  107. height: 100%;
  108. }
  109. }
  110. }
  111. }
  112. .button{
  113. text-align: center;
  114. color: red;
  115. padding: 32rpx 0;
  116. }
  117. }
  118. </style>