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

99 lines
2.4 KiB

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