payConfirm.vue
1.77 KB
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
<template>
<!-- 确认支付页 -->
<div class="payConfirm">
<!-- 弹窗 -->
<div class="PlayCh">
<!-- 正中 -->
<div class="middle">
<!-- 查询订单 -->
<p class="query">查询订单</p>
<!-- 支付成功按钮 -->
<div class="success"></div>
<!-- 支付失败按钮 -->
<div class="fail"></div>
</div>
</div>
</div>
</template>
<script>
export default {
name: "PayConfirm",
};
</script>
<style lang="scss" scoped>
// 页面适配
@function vw($px) {
@return 100 * $px/720 + vw;
}
* {
margin: 0;
padding: 0;
}
// 确认支付页面
.payConfirm {
width: 100vw;
height: 100vh;
background-color: black;
// 弹窗
.PlayCh {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(146, 146, 146, 0.384);
// 正中
.middle {
width: vw(620);
height: vw(368);
background: #ffffff;
border-radius: vw(16);
display: flex;
align-items: center;
flex-direction: column;
justify-content: space-around;
// 查询订单
.query {
font-size: vw(34);
color: #333333;
font-weight: 600;
}
// 支付成功按钮
.success {
width: vw(532);
height: vw(100);
background: #d62020;
border-radius: vw(16);
font-size: vw(31);
text-align: center;
line-height: vw(100);
color: white;
}
// 支付失败按钮
.fail {
width: vw(532);
height: vw(100);
background: #d62020;
border-radius: vw(16);
font-size: vw(31);
text-align: center;
line-height: vw(100);
color: white;
}
}
}
}
</style>