<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>
|