mine.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. <template>
  2. <view>
  3. <view class="head">
  4. <view class="photo">
  5. <img src="../../../assets/img/qrLogo.png" alt="">
  6. </view>
  7. <view class="name">
  8. 地方铁路食堂
  9. </view>
  10. <view class="switch">
  11. <view class="img"><img src="../../../assets/img/riLine-exchange-line@1x.png" alt="">
  12. </view>
  13. <view class="text">
  14. 切换帐号
  15. </view>
  16. </view>
  17. </view>
  18. <!-- 功能 -->
  19. <view class="function-group group1" >
  20. <view class="item">
  21. <view class="title">
  22. <view class="icon">
  23. <img src="../../../assets/img/riLine-qr-code-line@1x.png" alt="">
  24. </view>
  25. <view class="text">
  26. 收款二维码
  27. </view>
  28. </view>
  29. <view class="right">
  30. <u-icon name="arrow-right" size="32" color="#cccccc"></u-icon>
  31. </view>
  32. </view>
  33. <view class="item" >
  34. <view class="title">
  35. <view class="icon">
  36. <img src="../../../assets/img/riLine-file-edit-line@1x.png" alt="">
  37. </view>
  38. <view class="text">
  39. 意见反馈
  40. </view>
  41. </view>
  42. <view class="right">
  43. <u-icon name="arrow-right" size="32" color="#cccccc"></u-icon>
  44. </view>
  45. </view>
  46. <view class="item" >
  47. <view class="title">
  48. <view class="icon">
  49. <img src="../../../assets/img/riLine-customer-service-2-line@1x.png" alt="">
  50. </view>
  51. <view class="text">
  52. 联系我们
  53. </view>
  54. </view>
  55. <view class="right">
  56. <text class="tel">
  57. 0716-8888888
  58. </text>
  59. <u-icon name="arrow-right" size="32" color="#cccccc"></u-icon>
  60. </view>
  61. </view>
  62. <view class="item" >
  63. <view class="title">
  64. <view class="icon">
  65. <img src="../../../assets/img/riLine-logout-box-r-line@1x.png" alt="">
  66. </view>
  67. <view class="text">
  68. 退出账号
  69. </view>
  70. </view>
  71. <view class="right">
  72. <u-icon name="arrow-right" size="32" color="#cccccc"></u-icon>
  73. </view>
  74. </view>
  75. </view>
  76. <canteenTabbar ref="mytabbar"
  77. current="2"></canteenTabbar>
  78. </view>
  79. </template>
  80. <script>
  81. import canteenTabbar from "../../../components/canteenTabbar.vue"
  82. export default {
  83. components: {
  84. canteenTabbar
  85. },
  86. data() {
  87. return {
  88. }
  89. },
  90. methods: {
  91. }
  92. }
  93. </script>
  94. <style lang="scss" scoped>
  95. page{
  96. font-family: 'PingFang Regular';
  97. padding-bottom: 100px;
  98. }
  99. .head{
  100. padding: 48rpx 0 48rpx 32rpx;
  101. display: flex;
  102. align-items: center;
  103. .photo{
  104. width: 120rpx;
  105. height: 120rpx;
  106. border-radius: 50px;
  107. background-color: rgba(255, 255, 255, 1);
  108. box-shadow: 0px 2px 8px 0px rgba(35, 72, 75, 15);
  109. border: 2px solid rgba(255, 255, 255, 1);
  110. overflow: hidden;
  111. img{
  112. width: 100%;
  113. height: 100%;
  114. }
  115. }
  116. .name{
  117. color: rgba(51, 51, 51, 1);
  118. font-size: 40rpx;
  119. margin-left: 24rpx;
  120. font-weight: bold;
  121. }
  122. .switch{
  123. width: 216rpx;
  124. height: 76rpx;
  125. border-radius: 50px 0px 0px 50px;
  126. background-color: rgba(255, 255, 255, 1);
  127. text-align: center;
  128. box-shadow: 0px 2px 4px 0px rgba(79, 125, 226, 15);
  129. margin-left: auto;
  130. display: flex;
  131. justify-content: center;
  132. align-items: center;
  133. color: rgba(31, 74, 153, 1);
  134. .img{
  135. margin-right: 8rpx;
  136. img{
  137. vertical-align: middle;
  138. }
  139. }
  140. }
  141. }
  142. .function-group {
  143. border-radius: 8px;
  144. background-color: rgba(255, 255, 255, 1);
  145. padding: 0 0 0 24rpx;
  146. margin: 0 32rpx;
  147. margin-top: 24rpx;
  148. .item {
  149. display: flex;
  150. justify-content: space-between;
  151. align-items: center;
  152. height: 96rpx;
  153. border-bottom: 1px solid #E6E6E6;
  154. .title {
  155. display: flex;
  156. align-items: center;
  157. .icon {
  158. margin-right: 24rpx;
  159. img {
  160. width: 40rpx;
  161. height: 40rpx;
  162. vertical-align: middle;
  163. }
  164. }
  165. .text {
  166. color: rgba(119, 119, 119, 1);
  167. }
  168. }
  169. .right {
  170. margin-right: 16rpx;
  171. margin-left: 8rpx;
  172. display: flex;
  173. }
  174. }
  175. .tel{
  176. margin-right: 16rpx;
  177. color: rgba(119, 119, 119, 1);
  178. }
  179. }
  180. </style>