ticket.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <template>
  2. <view class="page-wrap">
  3. <view class="nav-row" v-for="(item, index) in typeList" :key="index">
  4. <view class="label">{{ item.label }}</view>
  5. <view class="state">{{ item.value }}</view>
  6. <image class="arrow" src="../../../static/svg/arrow.svg"></image>
  7. </view>
  8. <button class="submit-btn">本月到票截止确认</button>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return {
  15. typeList: [
  16. {
  17. label: '开出的收入发票',
  18. value: 2
  19. },
  20. {
  21. label: '收到的进项发票',
  22. value: 6
  23. },
  24. {
  25. label: '成本费用发票',
  26. value: 3
  27. },
  28. {
  29. label: '银行对账单/回单',
  30. value: 1
  31. },
  32. {
  33. label: '工资表',
  34. value: 1
  35. }
  36. ]
  37. };
  38. },
  39. methods: {}
  40. };
  41. </script>
  42. <style lang="scss" scoped>
  43. .page-wrap {
  44. padding-bottom: 130.49rpx;
  45. }
  46. .nav-row {
  47. display: flex;
  48. align-items: center;
  49. height: 96.15rpx;
  50. padding: 0 41.21rpx;
  51. font-size: 27.47rpx;
  52. background: #fff;
  53. border-top: 1rpx solid #e0e0e0;
  54. &:first-child {
  55. border: none;
  56. }
  57. .label {
  58. flex: 1;
  59. }
  60. .warn {
  61. color: #f97631;
  62. }
  63. .arrow {
  64. width: 34.34rpx;
  65. height: 34.34rpx;
  66. margin: 0 -13.74rpx 0 6.87rpx;
  67. }
  68. }
  69. .submit-btn {
  70. position: fixed;
  71. left: 50%;
  72. bottom: 27.47rpx;
  73. transform: translateX(-50%);
  74. width: 549.45rpx;
  75. height: 75.55rpx;
  76. line-height: 75.55rpx;
  77. background: #079eff;
  78. border-radius: 8.24rpx;
  79. font-size: 30.22rpx;
  80. color: #fff;
  81. margin: 82.42rpx auto 0;
  82. }
  83. </style>