zhangxiaoxu123
2023-01-03 4b5b989a31cbbd9f7738450516eed2f146bf1f1e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<template>
    <div class="invoiceDetail-wrap">
        <div class="title">
            订单发票
            <i class="el-icon-arrow-left goback" @click="goback"></i>
        </div>
        <div class="invoiceDetail-main">
            <div class="money-box">
                <h1>发票总额</h1>
                <h2>245</h2>
            </div>
            <div class="invoiceDetail-block">
                <div class="invoiceDetail-line">
                    <h1>地点:</h1>
                    <h2>石家庄市裕华区长江大道</h2>
                </div>
                <div class="invoiceDetail-line">
                    <h1>时间:</h1>
                    <h2>2022-10-12 15:30:20</h2>
                </div>
                <div class="invoiceDetail-line">
                    <h1>金额:</h1>
                    <h2>245</h2>
                </div>
            </div>
        </div>
    </div>
</template>
 
<script>
    export default {
        name: "invoiceDetail",
        methods: {
            goback() {
                this.$router.go(-1)
            }
        }
    }
</script>
 
<style lang="scss" scoped>
.invoiceDetail-wrap{
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    .title{
        font-size: 4vw  /* 30/7.5 */;
        font-weight: bolder;
        text-align: center;
        height:11.73vw  /* 88/7.5 */;
        line-height: 11.73vw  /* 88/7.5 */;
        background: #fff;
        border-bottom: 1px solid #f5f5f5;
        position: relative;
        .goback{
            position: absolute;
            left: 2.67vw  /* 20/7.5 */;
            font-size: 26px;
            top: 50%;
            transform: translateY(-50%);
        }
    }
    .invoiceDetail-main{
        padding: 2.67vw  /* 20/7.5 */;
        width: 100%;
        box-sizing: border-box;
        background: #fff;
    }
    .money-box{
        text-align: center;
        padding-bottom: 4vw  /* 30/7.5 */;
        h1{
            font-size: 3.73vw  /* 28/7.5 */;
            color: #888;
        }
        h2{
            font-size: 5.33vw  /* 40/7.5 */;
            color: #323232;
        }
    }
    .invoiceDetail-block{
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .invoiceDetail-line{
        display: flex;
        h1,h2{
            font-size: 3.73vw  /* 28/7.5 */;
            line-height: 1.5;
        }
        h1{
            color: #888;
        }
        h2{
            color: #313131;
        }
    }
}
</style>