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

129 lines
2.4 KiB

4 months ago
4 months ago
4 months ago
4 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 0rpx;
  75. border: none;
  76. color: #4280FD;
  77. width: 150rpx;
  78. text-align: center;
  79. }
  80. }
  81. .select-date {
  82. padding: 30rpx 0;
  83. .select {
  84. padding: 15rpx 0rpx;
  85. border: none;
  86. color: #4280FD;
  87. }
  88. }
  89. .card {
  90. display: flex;
  91. justify-content: space-around;
  92. align-items: center;
  93. background-color: #F2F5FD;
  94. .card-one,
  95. .card-two {
  96. display: flex;
  97. justify-content: center;
  98. align-items: center;
  99. height: 150rpx;
  100. width: 50%;
  101. font-size: 28rpx;
  102. line-height: 40rpx;
  103. }
  104. image {
  105. height: 50rpx;
  106. width: 50rpx;
  107. margin-right: 20rpx;
  108. }
  109. }
  110. }
  111. }
  112. </style>