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

114 lines
1.9 KiB

6 months ago
4 months ago
6 months ago
  1. <template>
  2. <!-- 记工记账 -->
  3. <view class="page">
  4. <navbar title="记工记账" leftClick @leftClick="$utils.navigateBack" />
  5. <view style="font-weight: 500; margin-top: 20rpx;">
  6. <uv-tabs :list="tabsSatus" lineWidth="0"
  7. lineHeight="0"
  8. :scrollable="false"
  9. activeStyle="color: #3796F8;"></uv-tabs>
  10. </view>
  11. <view class="page-two">
  12. <view class="cell" style="margin-top: 40rpx;">
  13. <uv-cell v-for="(item,index) in list"
  14. :key="index"
  15. :label="item.billDate"
  16. title="佣金收入"
  17. :value="item.amount"></uv-cell>
  18. </view>
  19. </view>
  20. </view>
  21. </template>
  22. <script>
  23. import mixinList from '@/mixins/list.js'
  24. export default {
  25. mixins : [mixinList],
  26. data() {
  27. return {
  28. mixinsListApi : 'commonQueryBill',
  29. apiType : '',
  30. tabsSatus : [
  31. {
  32. name: '记账',
  33. },
  34. {
  35. name: '记工',
  36. },
  37. ],
  38. }
  39. },
  40. onLoad({apiType}) {
  41. this.apiType = apiType
  42. this.mixinsListApi += apiType || ''
  43. },
  44. onShow() {},
  45. methods: {
  46. }
  47. }
  48. </script>
  49. <style scoped lang="less">
  50. .page {
  51. background-color: #fff;
  52. .page-two {
  53. width: 90%;
  54. margin-left: 5%;
  55. .wire {
  56. border-bottom: 4rpx dashed rgb(168, 197, 255);
  57. }
  58. .option {
  59. padding: 40rpx 40rpx 40rpx 0rpx;
  60. .select {
  61. background-color: #EBF0FC;
  62. padding: 15rpx 20rpx;
  63. border: none;
  64. color: #4280FD;
  65. }
  66. }
  67. .select-date {
  68. padding: 30rpx 0;
  69. .select {
  70. padding: 15rpx 0rpx;
  71. border: none;
  72. color: #4280FD;
  73. }
  74. }
  75. .card {
  76. display: flex;
  77. justify-content: space-around;
  78. align-items: center;
  79. background-color: #F2F5FD;
  80. .card-one,
  81. .card-two {
  82. display: flex;
  83. justify-content: center;
  84. align-items: center;
  85. height: 150rpx;
  86. width: 50%;
  87. font-size: 28rpx;
  88. line-height: 40rpx;
  89. }
  90. image {
  91. height: 50rpx;
  92. width: 50rpx;
  93. margin-right: 20rpx;
  94. }
  95. }
  96. }
  97. }
  98. </style>