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

127 lines
2.4 KiB

6 months ago
6 months ago
6 months ago
6 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. :label="item.billDate"
  36. title="佣金收入"
  37. :value="item.amount"></uv-cell>
  38. </view>
  39. </view>
  40. </view>
  41. </template>
  42. <script>
  43. import mixinList from '@/mixins/list.js'
  44. export default {
  45. mixins : [mixinList],
  46. data() {
  47. return {
  48. mixinsListApi : 'commonQueryBill',
  49. apiType : '',
  50. }
  51. },
  52. onLoad({apiType}) {
  53. this.apiType = apiType
  54. this.mixinsListApi += apiType || ''
  55. },
  56. onShow() {},
  57. methods: {
  58. }
  59. }
  60. </script>
  61. <style scoped lang="less">
  62. .page {
  63. background-color: #fff;
  64. .page-two {
  65. width: 90%;
  66. margin-left: 5%;
  67. .wire {
  68. border-bottom: 4rpx dashed rgb(168, 197, 255);
  69. }
  70. .option {
  71. padding: 40rpx 40rpx 40rpx 0rpx;
  72. .select {
  73. background-color: #EBF0FC;
  74. padding: 15rpx 20rpx;
  75. border: none;
  76. color: #4280FD;
  77. }
  78. }
  79. .select-date {
  80. padding: 30rpx 0;
  81. .select {
  82. padding: 15rpx 0rpx;
  83. border: none;
  84. color: #4280FD;
  85. }
  86. }
  87. .card {
  88. display: flex;
  89. justify-content: space-around;
  90. align-items: center;
  91. background-color: #F2F5FD;
  92. .card-one,
  93. .card-two {
  94. display: flex;
  95. justify-content: center;
  96. align-items: center;
  97. height: 150rpx;
  98. width: 50%;
  99. font-size: 28rpx;
  100. line-height: 40rpx;
  101. }
  102. image {
  103. height: 50rpx;
  104. width: 50rpx;
  105. margin-right: 20rpx;
  106. }
  107. }
  108. }
  109. }
  110. </style>