This commit is contained in:
zhangjianjun 2026-07-15 15:30:29 +08:00
parent d90ee01d79
commit 5e8c4b2813
2 changed files with 16 additions and 3 deletions

View File

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

View File

@ -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>
)
}