| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <template>
- <div class="invoice">
- <div class="gap10 invoice-title">
- <div class="line_vertical"></div>
- <div class="">{{$t('personalCenter.myInvoice')}}</div>
- </div>
- <ul class="invoice-list">
- <li v-for="(item, index) in 5" :key="index">
- <div class="invoice-list-t flex-center-between">
- <div class="">这是订单名称</div>
- <div class="">¥5000.00</div>
- </div>
- <div class="flex-center-between invoice-list-c">
- <div class="">{{ $t('personalCenter.orderNumber') }}:</div>
- <div class="">20251024001</div>
- </div>
- <div class="flex-center-between invoice-list-time">
- <div class="">{{ $t('common.orderCreateTime') }}:</div>
- <div class="">2025-10-24 13:00</div>
- </div>
- <div class="flex-center-between invoice-list-b">
- <div class=""></div>
- <div class="">
- <img src="/src/assets/imgs/my/jilu@2x.png" alt="">
- <span>{{ $t('common.viewDetails') }}</span>
- </div>
- </div>
- </li>
- </ul>
- <Pagination :total="20" :page-size="10" :current-page="1" @page-change="handlePageChange" />
- </div>
- </template>
- <script setup lang="ts">
- import Pagination from '@/components/Pagination.vue'
- </script>
- <style scoped lang="scss">
- .invoice {
- padding-bottom: 20px;
- .invoice-title {
- height: 60px;
- font-size: 20px;
- font-weight: bold;
- color: #333333;
- }
- .invoice-list {
- li {
- padding: 16px;
- margin-bottom: 16px;
- background: #F5F7FA;
- border-radius: 16px;
- &:last-child {
- margin-bottom: 0;
- }
- .invoice-list-t {
- div {
- font-size: 18px;
- font-weight: bold;
- color: #3D3D3D;
- &:last-child {
- color: #FD5F3C;
- }
- }
- }
- .invoice-list-c,
- .invoice-list-time,
- .invoice-list-b {
- margin-top: 8px;
- div {
- font-size: 16px;
- &:first-child {
- color: #666666;
- }
- }
- }
- .invoice-list-b {
- div:last-child {
- display: flex;
- align-items: center;
- cursor: pointer;
- justify-content: center;
- width: 106px;
- height: 32px;
- background: #FFFFFF;
- border-radius: 4px;
- color: #2D71FF;
- font-size: 14px;
- img {
- width: 14px;
- height: 14px;
- margin-right: 4px;
- }
- }
- }
- }
- }
- }
- </style>
|