This commit is contained in:
parent
d90ee01d79
commit
5e8c4b2813
|
|
@ -545,6 +545,15 @@ p {
|
|||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.success-tip {
|
||||
font-family: PingFang SC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 17px;
|
||||
color: #666666;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#Twins {
|
||||
|
|
|
|||
|
|
@ -14,9 +14,13 @@ function PayResultPage() {
|
|||
{isSuccess ? "支付成功" : "抱歉,订单支付失败"}
|
||||
</div>
|
||||
</div>
|
||||
<button className={`btn ${!isSuccess ? 'failed-btn' : ''}`} onClick={() => navigate("/")}>
|
||||
{isSuccess ? "返回" : "重新支付"}
|
||||
</button>
|
||||
{isSuccess ? (
|
||||
<div className="success-tip">请返回APP进行查看</div>
|
||||
) : (
|
||||
<button className="btn failed-btn" onClick={() => navigate("/")}>
|
||||
重新支付
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue