特易招,招聘小程序
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.

131 lines
2.5 KiB

8 months ago
5 months ago
8 months ago
5 months ago
8 months ago
8 months ago
8 months ago
8 months ago
5 months ago
8 months ago
  1. <template>
  2. <!-- 全年收支 -->
  3. <view class="page">
  4. <navbar title="全年收支" leftClick @leftClick="$utils.navigateBack" />
  5. <view class="page-two">
  6. <view class="option">
  7. <select class="select">
  8. <option value="option1">选择项目</option>
  9. </select>
  10. </view>
  11. <view class="wire"></view>
  12. <view class="select-date">
  13. <select class="select">
  14. <option value="option1">2024</option>
  15. </select>
  16. </view>
  17. <view class="card">
  18. <view class="card-one" style="border-right: 1px dashed #BCD2FE;">
  19. <image src="../../static/image/keepAccounts/BlueWallet.png" mode="aspectFill" />
  20. <view>
  21. <view>总收入()</view>
  22. <view style="color: #3889FF;">1223</view>
  23. </view>
  24. </view>
  25. <view class="card-two">
  26. <image src="../../static/image/keepAccounts/YellowWallet.png" mode="aspectFill" />
  27. <view>
  28. <view>总支出()</view>
  29. <view style="color: #FD961A;">1223</view>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="cell" style="margin-top: 40rpx;">
  34. <uv-cell v-for="(item,index) in list"
  35. :key="index"
  36. :label="item.billDate"
  37. title="佣金收入"
  38. :value="`${typeNo[item.type]}${item.amount}`"></uv-cell>
  39. </view>
  40. </view>
  41. </view>
  42. </template>
  43. <script>
  44. import mixinList from '@/mixins/list.js'
  45. export default {
  46. mixins : [mixinList],
  47. data() {
  48. return {
  49. mixinsListApi : 'queryBill',
  50. apiType : '',
  51. typeNo : ['+', '-'],
  52. }
  53. },
  54. onLoad({apiType}) {
  55. this.apiType = apiType
  56. this.mixinsListApi += apiType || ''
  57. },
  58. onShow() {},
  59. methods: {
  60. }
  61. }
  62. </script>
  63. <style scoped lang="less">
  64. .page {
  65. background-color: #fff;
  66. .page-two {
  67. width: 90%;
  68. margin-left: 5%;
  69. .wire {
  70. border-bottom: 4rpx dashed rgb(168, 197, 255);
  71. }
  72. .option {
  73. padding: 40rpx 40rpx 40rpx 0rpx;
  74. .select {
  75. background-color: #EBF0FC;
  76. padding: 15rpx 0rpx;
  77. border: none;
  78. color: #4280FD;
  79. width: 150rpx;
  80. text-align: center;
  81. }
  82. }
  83. .select-date {
  84. padding: 30rpx 0;
  85. .select {
  86. padding: 15rpx 0rpx;
  87. border: none;
  88. color: #4280FD;
  89. }
  90. }
  91. .card {
  92. display: flex;
  93. justify-content: space-around;
  94. align-items: center;
  95. background-color: #F2F5FD;
  96. .card-one,
  97. .card-two {
  98. display: flex;
  99. justify-content: center;
  100. align-items: center;
  101. height: 150rpx;
  102. width: 50%;
  103. font-size: 28rpx;
  104. line-height: 40rpx;
  105. }
  106. image {
  107. height: 50rpx;
  108. width: 50rpx;
  109. margin-right: 20rpx;
  110. }
  111. }
  112. }
  113. }
  114. </style>