my.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <template>
  2. <view class="tabPage" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title='我的' :showback="false" bgColor='transparent'></cus-header>
  4. <image class="topbg" src="../static/my_topbg.png"></image>
  5. <div class="info adffcacjc">
  6. <image src="../static/my_avatat_default.png"></image>
  7. <p>{{'187 **** 8769'}}</p>
  8. </div>
  9. <div class="items">
  10. <div class="item adfacjb" @tap="toTurn('/pagesMy/device')">
  11. <div class="il adfac">
  12. <image src="http://106.54.209.120:8188/static/my_device.png"></image>
  13. <text>我的设备</text>
  14. </div>
  15. <div class="ir">
  16. <u-icon name="arrow-right" color="#D3D2D2" size="34"></u-icon>
  17. </div>
  18. </div>
  19. <div class="item adfacjb" @tap="toTurn('/pagesMy/useBook')">
  20. <div class="il adfac">
  21. <image src="http://106.54.209.120:8188/static/my_book.png"></image>
  22. <text>用户使用手册</text>
  23. </div>
  24. <div class="ir">
  25. <u-icon name="arrow-right" color="#D3D2D2" size="34"></u-icon>
  26. </div>
  27. </div>
  28. <div class="item adfacjb" @tap="toTurn('/pagesMy/feedback')">
  29. <div class="il adfac">
  30. <image src="http://106.54.209.120:8188/static/myu_idea.png"></image>
  31. <text>意见反馈</text>
  32. </div>
  33. <div class="ir">
  34. <u-icon name="arrow-right" color="#D3D2D2" size="34"></u-icon>
  35. </div>
  36. </div>
  37. <div class="item adfacjb">
  38. <div class="il adfac">
  39. <image src="http://106.54.209.120:8188/static/my_version.png"></image>
  40. <text>版本</text>
  41. </div>
  42. <div class="ir">{{'1.0.0'}}</div>
  43. </div>
  44. </div>
  45. <div class="exit">退出登录</div>
  46. <cus-tabbar :tabbarIndex="2"></cus-tabbar>
  47. </view>
  48. </template>
  49. <script>
  50. import cusTabbar from '@/components/CusTabbar/index.vue'
  51. export default {
  52. components:{
  53. cusTabbar
  54. },
  55. data(){
  56. return {
  57. }
  58. },
  59. methods:{
  60. toTurn(url){
  61. if(!url) return
  62. uni.navigateTo({ url })
  63. }
  64. }
  65. }
  66. </script>
  67. <style scoped lang="less">
  68. .tabPage{
  69. background: #FFFFFF;
  70. padding: 0 30rpx 192rpx;
  71. box-sizing: border-box;
  72. .topbg{
  73. width: 100%;
  74. height: 720rpx;
  75. position: fixed;
  76. top: 0;
  77. left: 0;
  78. }
  79. .info{
  80. position: relative;
  81. margin-top: 68rpx;
  82. &>image{
  83. width: 200rpx;
  84. height: 200rpx;
  85. border-radius: 50%;
  86. }
  87. p{
  88. font-family: PingFang-SC, PingFang-SC;
  89. font-weight: bold;
  90. font-size: 48rpx;
  91. color: #111111;
  92. line-height: 32rpx;
  93. text-align: center;
  94. margin-top: 40rpx;
  95. }
  96. }
  97. .items{
  98. position: relative;
  99. margin-top: 93rpx;
  100. .item{
  101. width: 100%;
  102. padding: 39rpx 20rpx;
  103. box-sizing: border-box;
  104. background: #FFFFFF;
  105. box-shadow: inset 0rpx -1rpx 0rpx 0rpx #ECECEC;
  106. border-radius: 16rpx 16rpx 0rpx 0rpx;
  107. .il{
  108. image{
  109. width: 36rpx;
  110. height: 36rpx;
  111. }
  112. text{
  113. font-family: PingFangSC, PingFang SC;
  114. font-weight: 400;
  115. font-size: 30rpx;
  116. color: #111111;
  117. line-height: 32rpx;
  118. margin-left: 34rpx;
  119. }
  120. }
  121. .ir{
  122. font-family: PingFang-SC, PingFang-SC;
  123. font-weight: bold;
  124. font-size: 30rpx;
  125. color: #111111;
  126. line-height: 32rpx;
  127. text-align: right;
  128. }
  129. }
  130. }
  131. .exit{
  132. width: 100%;
  133. height: 88rpx;
  134. background: #F8F8F7;
  135. border-radius: 24rpx;
  136. margin-top: 190rpx;
  137. font-family: PingFangSC, PingFang SC;
  138. font-weight: 400;
  139. font-size: 30rpx;
  140. color: #111111;
  141. line-height: 88rpx;
  142. text-align: center;
  143. letter-spacing: 2rpx;
  144. }
  145. }
  146. </style>