You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.vue 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <template>
  2. <view class='content'>
  3. <view class="money_wrap">
  4. <view>账户余额</view>
  5. <view>¥0</view>
  6. </view>
  7. <view class='item_wrap'>
  8. <view class='item' @click='navTo(`/pages/recharge/select-car`)'>
  9. <view class='left_content'>
  10. <image :src="fileURL + 'image/index/item-1.png'" ></image>
  11. <view>去圈层</view>
  12. </view>
  13. <u-icon name="arrow-right" color='#ccc'></u-icon>
  14. </view>
  15. <view class='item' @click='navTo(`/subpackage/after-sale/account-recharge/consumption-record`)'>
  16. <view class='left_content'>
  17. <image :src="fileURL + 'image/index/item-1.png'" ></image>
  18. <view>消费明细</view>
  19. </view>
  20. <u-icon name="arrow-right" color='#ccc'></u-icon>
  21. </view>
  22. <view class='item' @click='navTo(`/subpackage/after-sale/account-recharge/recharge-record`)'>
  23. <view class='left_content'>
  24. <image :src="fileURL + 'image/index/item-1.png'" ></image>
  25. <view>充值明细</view>
  26. </view>
  27. <u-icon name="arrow-right" color='#ccc'></u-icon>
  28. </view>
  29. <view class='item' @click='navTo(`/subpackage/personal-center/setting/bank-card/bank-card?name=state.name`)'>
  30. <view class='left_content'>
  31. <image :src="fileURL + 'image/index/item-1.png'" ></image>
  32. <view>银行卡管理</view>
  33. </view>
  34. <u-icon name="arrow-right" color='#ccc'></u-icon>
  35. </view>
  36. </view>
  37. <view class='item item_wrap' @click='navTo(`/subpackage/after-sale/account-recharge/login`)'>
  38. <view class='left_content'>
  39. <image :src="fileURL + 'image/index/item-1.png'" ></image>
  40. <view>退出</view>
  41. </view>
  42. </view>
  43. </view>
  44. </template>
  45. <script setup lang='ts'>
  46. import { navTo } from "@/utils/utils";
  47. import {fileURL} from "@/datas/fileURL.js";
  48. import { onLoad} from "@dcloudio/uni-app";
  49. import { reactive } from "vue";
  50. const state = reactive({
  51. name:''
  52. })
  53. onLoad((option : any) => {
  54. state.name=option.name;
  55. })
  56. </script>
  57. <style scoped>
  58. .content{
  59. background-color:rgb(239,239,239);
  60. width:100%;
  61. height:100vh;
  62. overflow: hidden;
  63. }
  64. .money_wrap{
  65. background-color:white;
  66. padding: 8rpx 0 16rpx 0;
  67. }
  68. .money_wrap>view:first-child{
  69. text-align: center;
  70. font-size: 30rpx;
  71. /* margin-top: 10rpx; */
  72. }
  73. .money_wrap>view:last-child{
  74. text-align: center;
  75. font-size: 44rpx;
  76. margin-top: 14rpx;
  77. color:red;
  78. }
  79. .item_wrap{
  80. margin-top: 26rpx;
  81. }
  82. .item{
  83. background-color:white;
  84. border-bottom:1rpx solid rgb(239,239,239);
  85. display:flex;
  86. font-size: 30rpx;
  87. padding:34rpx 30rpx;
  88. align-items: center;
  89. justify-content: space-between;
  90. }
  91. .item image{
  92. width:60rpx;
  93. height:60rpx;
  94. margin-right:30rpx;
  95. }
  96. .left_content{
  97. display:flex;
  98. align-items: center;
  99. }
  100. </style>