選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Invoice-mannager.vue 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <template>
  2. <view class="box">
  3. <view class="card" @click="toPage(1)">
  4. <view class="card-left">
  5. <view class="image-box">
  6. <image :src="`${$imgUrl}InvoiceMannager/icon2.png`" mode=""></image>
  7. </view>
  8. <text>开票申请</text>
  9. </view>
  10. <u-icon name="arrow-right" color="#B2B2B2" size="30" ></u-icon>
  11. </view>
  12. <view class="card" @click="toPage(2)">
  13. <view class="card-left">
  14. <view class="image-box">
  15. <image :src="`${$imgUrl}InvoiceMannager/icon1.png`" mode=""></image>
  16. </view>
  17. <text>开票记录</text>
  18. </view>
  19. <u-icon name="arrow-right" color="#B2B2B2" size="30" ></u-icon>
  20. </view>
  21. </view>
  22. </template>
  23. <script setup lang="ts">
  24. import {
  25. reactive
  26. } from "vue";
  27. import {
  28. msg,
  29. navTo
  30. } from '@/utils/utils';
  31. const toPage = (type) => {
  32. if (type == 1) {
  33. navTo('/subpackage/orders/invoiceApply/invoiceList')
  34. } else {
  35. navTo('/subpackage/orders/invoicing-record')
  36. }
  37. }
  38. </script>
  39. <style>
  40. page {
  41. width: 100%;
  42. height: 100%;
  43. }
  44. </style>
  45. <style lang="scss" scoped>
  46. .box {
  47. height: 100%;
  48. // width: 100%;
  49. padding: 30rpx;
  50. border-top: 1rpx solid #EEF7F7;
  51. background: #EEF7F7;
  52. .card {
  53. margin-bottom: 30rpx;
  54. height: 130rpx;
  55. background: #FFFFFF;
  56. box-shadow: 0rpx 2rpx 6rpx 0rpx rgba(223, 223, 223, 0.8);
  57. border-radius: 20rpx;
  58. display: flex;
  59. justify-content: space-between;
  60. align-items: center;
  61. padding: 30rpx;
  62. .card-left {
  63. display: flex;
  64. align-items: center;
  65. .image-box {
  66. width: 60rpx;
  67. height: 60rpx;
  68. background: #00B38B;
  69. border-radius: 50%;
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. image {
  74. width: 40rpx;
  75. height: 40rpx;
  76. }
  77. }
  78. text {
  79. font-size: 32rpx;
  80. font-family: Noto Sans S Chinese;
  81. font-weight: 400;
  82. color: #333333;
  83. margin-left: 30rpx;
  84. }
  85. }
  86. }
  87. }
  88. </style>