InvoiceTitleManagement.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <template>
  2. <view>
  3. <u-navbar title="发票抬头管理" title-color="#101010" ></u-navbar>
  4. <!-- 企业单位 -->
  5. <view class="enterprise">
  6. <view class="title">
  7. 企业单位
  8. <image class="img" src="@/assets/img/riFill-building-fill.svg" mode=""></image>
  9. </view>
  10. <view class="infos">
  11. <view class="name">
  12. 联通公司
  13. </view>
  14. <view class="number">
  15. 91421000706966173Y
  16. </view>
  17. </view>
  18. </view>
  19. <!-- 非企业 -->
  20. <view class="nonbusiness">
  21. <view class="title">
  22. 企业单位
  23. <image class="img" src="@/assets/img/riFill-user-2-fill.svg" mode=""></image>
  24. </view>
  25. <view class="infos">
  26. <view class="name">
  27. 李广宵 <view class="default">默认</view>
  28. </view>
  29. </view>
  30. </view>
  31. <!-- 底部 -->
  32. <view class="bottom">
  33. <button class="add" @click="gotoUrl('/pages/businessHall/invoiceManagement/addInvoiceTitle')" >新增发票抬头</button>
  34. </view>
  35. </view>
  36. </template>
  37. <script>
  38. export default {
  39. data() {
  40. return {
  41. }
  42. },
  43. methods: {
  44. }
  45. }
  46. </script>
  47. <style lang="scss" scoped>
  48. .enterprise,.nonbusiness{
  49. border-radius: 8px;
  50. margin: 24rpx 32rpx;
  51. background-color: #fff;
  52. overflow: hidden;
  53. .title{
  54. padding: 32rpx;
  55. background: linear-gradient(90deg, rgba(49,110,207,1) 2%,rgba(20,73,159,1) 100%);
  56. color: rgba(255,255,255,1);
  57. font-size: 40rpx;
  58. position: relative;
  59. font-weight: 600;
  60. .img{
  61. width: 96rpx;
  62. height: 96rpx;
  63. position: absolute;
  64. top: 16rpx;
  65. right: 16rpx;
  66. }
  67. }
  68. .infos{
  69. padding: 24rpx 32rpx;
  70. .name{
  71. color: rgba(51,51,51,1);
  72. font-size: 36rpx;
  73. display: flex;
  74. align-items: center;
  75. .default{
  76. width: 96rpx;
  77. height: 48rpx;
  78. line-height: 48rpx;
  79. border-radius: 4px;
  80. background-color: rgba(22,119,255,1);
  81. color: rgba(255,255,255,1);
  82. margin-left: 16rpx;
  83. font-size: 28rpx;
  84. text-align: center;
  85. }
  86. }
  87. .number{
  88. color: rgba(119,119,119,1);
  89. margin-top: 2rpx;
  90. }
  91. }
  92. }
  93. .nonbusiness{
  94. .title{
  95. background: linear-gradient(90deg, rgba(0,187,170,1) 2%,rgba(0,161,119,1) 100%);
  96. }
  97. }
  98. // 底部
  99. .bottom{
  100. padding: 24rpx 32rpx;
  101. background-color: rgba(255,255,255,1);
  102. position: fixed;
  103. bottom: 0;
  104. left: 0;
  105. right: 0;
  106. .add{
  107. line-height: 88rpx;
  108. border-radius: 50px;
  109. background: linear-gradient(-88.46deg, rgba(34,109,198,1) 2.59%,rgba(9,158,237,1) 97.02%);
  110. color: rgba(255,255,255,1);
  111. font-size: 36rpx;
  112. }
  113. }
  114. </style>