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

116 lines
1.9 KiB

6 months ago
4 months ago
6 months ago
4 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 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="item.notebookId_dictText"
  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. index:0,
  34. },
  35. {
  36. name: '记工',
  37. index:1,
  38. },
  39. ],
  40. }
  41. },
  42. onLoad({apiType}) {
  43. this.apiType = apiType
  44. this.mixinsListApi += apiType || ''
  45. },
  46. onShow() {},
  47. methods: {
  48. }
  49. }
  50. </script>
  51. <style scoped lang="less">
  52. .page {
  53. background-color: #fff;
  54. .page-two {
  55. width: 90%;
  56. margin-left: 5%;
  57. .wire {
  58. border-bottom: 4rpx dashed rgb(168, 197, 255);
  59. }
  60. .option {
  61. padding: 40rpx 40rpx 40rpx 0rpx;
  62. .select {
  63. background-color: #EBF0FC;
  64. padding: 15rpx 20rpx;
  65. border: none;
  66. color: #4280FD;
  67. }
  68. }
  69. .select-date {
  70. padding: 30rpx 0;
  71. .select {
  72. padding: 15rpx 0rpx;
  73. border: none;
  74. color: #4280FD;
  75. }
  76. }
  77. .card {
  78. display: flex;
  79. justify-content: space-around;
  80. align-items: center;
  81. background-color: #F2F5FD;
  82. .card-one,
  83. .card-two {
  84. display: flex;
  85. justify-content: center;
  86. align-items: center;
  87. height: 150rpx;
  88. width: 50%;
  89. font-size: 28rpx;
  90. line-height: 40rpx;
  91. }
  92. image {
  93. height: 50rpx;
  94. width: 50rpx;
  95. margin-right: 20rpx;
  96. }
  97. }
  98. }
  99. }
  100. </style>