recharge.vue
3.4 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<template>
<view class="page">
<view class="box">
<view class="title">充值金额</view>
<view class="money">
¥
<input type="text" class="fill" />
</view>
</view>
<view class="cover">
<view class="coverBox">
<view class="top">
<view class="close"><image src="../../static/colose.png" mode="widthFix" /></view>
支付
</view>
<view class="monetall">
<view class="moneyNum">¥2560.00</view>
<view class="moneyTitle">订单总额</view>
</view>
<view class="payBox">
<view class="payItem">
<view class="left">
<image src="../../static/paya.png" mode="widthFix" />
支付宝
</view>
<view class="right"><image src="../../static/nocheck.png" mode="widthFix" class="check" /></view>
</view>
<view class="payItem">
<view class="left">
<image src="../../static/payb.png" mode="widthFix" />
微信
</view>
<view class="right"><image src="../../static/check.png" mode="widthFix" class="check" /></view>
</view>
</view>
<view class="submit">确认支付(¥2560.00)</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {};
},
methods: {}
};
</script>
<style>
page {
background: #f7f7f7;
height: 100%;
}
.box {
margin-top: 20rpx;
padding: 20rpx 32rpx 16rpx;
box-sizing: border-box;
border-bottom: 1px solid #eaeaea;
}
.title {
font-size: 32rpx;
font-family: PingFangHK-Regular, PingFangHK;
font-weight: 400;
color: rgba(8, 18, 31, 1);
margin: 40rpx 0;
}
.money {
display: flex;
align-items: center;
font-size: 72rpx;
font-family: PingFangHK-Regular, PingFangHK;
font-weight: 400;
color: rgba(8, 18, 31, 1);
}
.fill {
margin-left: 20rpx;
}
.cover {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.2);
}
.coverBox {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 766rpx;
background: rgba(255, 255, 255, 1);
border-radius: 24rpx 24rpx 0px 0px;
}
.top {
height: 96rpx;
display: flex;
align-items: center;
justify-content: center;
position: relative;
font-size: 32rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(6, 18, 31, 1);
border-bottom: 1px solid #eeeeee;
}
.close {
width: 48rpx;
position: absolute;
left: 32rpx;
top: 24rpx;
}
.close image {
width: 100%;
}
.monetall {
margin-top: 70rpx;
}
.moneyNum {
font-size: 68rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(194, 148, 69, 1);
text-align: center;
}
.moneyTitle {
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(61, 68, 76, 1);
text-align: center;
}
.payBox {
margin-bottom: 80rpx;
padding: 0 32rpx;
box-sizing: border-box;
}
.payItem {
margin-top: 64rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.left {
display: flex;
align-items: center;
font-size: 32rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(6, 18, 31, 1);
}
.left image {
width: 48rpx;
margin-right: 32rpx;
}
.right {
width: 48rpx;
}
.check {
width: 100%;
}
.submit {
width: 686rpx;
height: 88rpx;
background: #c29445;
border-radius: 10rpx;
font-size: 32rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: rgba(254, 254, 254, 1);
line-height: 88rpx;
text-align: center;
margin: 0 auto;
}
</style>