江西小程序管理端
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.

64 lines
1.2 KiB

1 year ago
  1. <template>
  2. <view class="pageBgImg">
  3. <topNavbar title="指标充值记录"></topNavbar>
  4. <view class="pad">
  5. <view class="navBox">
  6. <cardNav :navData="navData" :currentNav="currentNav" @changeNav="changeNav"></cardNav>
  7. </view>
  8. <view class="ul">
  9. <view class="card" v-for="(item,index) in 10" :key="index">
  10. <view class="num">+20</view>
  11. <view class="date">2023/08/08 10:55:21</view>
  12. </view>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {
  21. navData: [
  22. {text: '科目二', id: 1},
  23. {text: '科目三', id: 2},
  24. ],
  25. currentNav: 1
  26. }
  27. },
  28. methods: {
  29. changeNav(id) {
  30. this.currentNav = id
  31. }
  32. }
  33. }
  34. </script>
  35. <style lang="scss" scoped>
  36. .navBox {
  37. padding: 24rpx 0;
  38. }
  39. .ul {
  40. width: 100%;
  41. .card {
  42. display: flex;
  43. width: 100%;
  44. height: 100rpx;
  45. align-items: center;
  46. margin-bottom: 20rpx;
  47. justify-content: space-between;
  48. padding: 0 32rpx;
  49. margin-bottom: 20rpx;
  50. .num {
  51. color: $themC;
  52. font-weight: 500;
  53. font-size: 36rpx;
  54. &::after {
  55. content: '个';
  56. font-size: 24rpx;
  57. font-weight: 400;
  58. margin-left: 6rpx;
  59. }
  60. }
  61. }
  62. }
  63. </style>