head_data.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <template>
  2. <view>
  3. <view class="head_data row-justify-sb center m-lr30 m-t30">
  4. <view class="data_item page-box-bg-fff column-c r-30 p-tb25">
  5. <image class="wh-80" src="/static/img/task/task-all.png" mode=""></image>
  6. <view class="row-c p-tb20">
  7. <text class="size-40 sys-weight-600 text-color-E83">{{(moneyData.out_money).toFixed(2)}}</text>
  8. <text class="size-24 text-color-666 m-l10">万</text>
  9. </view>
  10. <text class="num r-10 sys-from-background-color size-24 text-color-666">放款{{moneyData.out_num}}笔</text>
  11. </view>
  12. <view class="data_item page-box-bg-fff column-c r-30 p-tb25">
  13. <image class="wh-80" src="/static/img/task/task-all.png" mode=""></image>
  14. <view class="row-c p-tb20">
  15. <text class="size-40 text-color-108 sys-weight-600">{{(moneyData.put_money).toFixed(2)}}</text>
  16. <text class="size-24 text-color-666 m-l10">万</text>
  17. </view>
  18. <text class="num r-10 sys-from-background-color size-24 text-color-666">回款{{moneyData.put_num}}笔</text>
  19. </view>
  20. </view>
  21. </view>
  22. </template>
  23. <script>
  24. import {getSysCashier} from "@/api/statistics";
  25. export default {
  26. name: 'head_filter',
  27. props:{
  28. 'moneyData':{
  29. default:()=>{
  30. return {
  31. out_money: 0,
  32. out_num: 0,
  33. put_money: 0,
  34. put_num: 0,
  35. }
  36. }
  37. }
  38. },
  39. data() {
  40. return {
  41. };
  42. },
  43. }
  44. </script>
  45. <style lang="scss" scoped>
  46. .head_data {
  47. text-align: center;
  48. .data_item {
  49. width: 330rpx;
  50. .num{
  51. width: 140rpx;
  52. height: 50rpx;
  53. line-height: 50rpx;
  54. }
  55. }
  56. }
  57. </style>