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

113 lines
1.9 KiB

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