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.

101 lines
2.5 KiB

8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
  1. <template>
  2. <view class="content">
  3. <view class="status_bar"></view>
  4. <!-- <view class="" style="height: 30rpx;"></view> -->
  5. <view class="userInfo">
  6. <view class="tit">Hi,{{ vuex_userInfo.name }}</view>
  7. <view class="flex userRow">
  8. <view class="schoolIcon">
  9. <image src="@/static/images/index/ic_jiaxiao.png" mode=""></image>
  10. </view>
  11. <view class="schoolName oneRowText">{{ vuex_userInfo.schoolName}}</view>
  12. <view class="tag">{{ identity }}</view>
  13. </view>
  14. </view>
  15. <view class="card priceBox">
  16. <view class="blueLab">今日已结算金额</view>
  17. <view class="price">36333.66</view>
  18. <view class="toDay">
  19. <view class="row">
  20. <view class="lab">今日学员退款</view>
  21. <view class="val">900</view>
  22. </view>
  23. <!-- <view class="row">
  24. <view class="lab">今日代收费</view>
  25. <view class="val">900</view>
  26. </view> -->
  27. <view class="row">
  28. <view class="lab">今日学员退款</view>
  29. <view class="val">900</view>
  30. </view>
  31. </view>
  32. <view class="flex-b">
  33. <view class="data">截止2023/08/08 11:00:00</view>
  34. <view class="refresh">
  35. <view class="text">刷新</view>
  36. <view class="icon">
  37. <image src="@/static/images/index/ic_shuaxin.png" mode=""></image>
  38. </view>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="h1"> 收入统计</view>
  43. <view class="tab_box">
  44. <tabDate/>
  45. </view>
  46. <view class="card">
  47. <view class="chart">
  48. <columnChart/>
  49. </view>
  50. </view>
  51. <view class="flex-b">
  52. <view class="h1">收入明细</view>
  53. <moreRight text="更多"/>
  54. </view>
  55. <view class="record">
  56. <view class="card" v-for="(item,index) in 10" :key="index">
  57. <stage/>
  58. </view>
  59. </view>
  60. <view class="moreBtn" @click="$goPage('/pages/indexEntry/settlement/settlement')">查看更多</view>
  61. <UserTab name ='统计'></UserTab>
  62. </view>
  63. </template>
  64. <script>
  65. import stage from './stage'
  66. import columnChart from './columnChart'
  67. import tabDate from './tabDate'
  68. export default {
  69. components: { stage, columnChart, tabDate },
  70. data() {
  71. return {
  72. value1: '',
  73. currentTab: 1,
  74. showDatePicker: false,
  75. }
  76. },
  77. onLoad() {
  78. },
  79. methods: {
  80. tabClick(num) {
  81. this.currentTab = num
  82. if(num==4) {
  83. this.showDatePicker = true
  84. }
  85. },
  86. // 2选择时间选择器里的时间
  87. confirmDatePicker(val) {
  88. this.showDatePicker = false
  89. let date = uni.$u.date(val.value, 'yyyy-mm-dd')
  90. console.log(date)
  91. },
  92. }
  93. }
  94. </script>
  95. <style lang="scss" scoped>
  96. @import './comp.scss'
  97. </style>