style: 页面提示信息优化调整

This commit is contained in:
v03413
2026-04-15 16:15:55 +08:00
parent 5e7f9ca701
commit a596ebc875
3 changed files with 30 additions and 5 deletions
+23 -3
View File
@@ -300,7 +300,11 @@
`;
modal.innerHTML = `
<div style="font-size: 48px; margin-bottom: 20px;">⏰</div>
<div style="margin-bottom: 20px;">
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#e53e3e" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="13" r="8"/><path d="M12 9v4l2 2"/><path d="M5 3 2 6"/><path d="m22 6-3-3"/>
</svg>
</div>
<h3 style="color: #e53e3e; margin-bottom: 15px;">${t('payment.paymentTimeout')}</h3>
<p style="color: #666; margin-bottom: 25px; line-height: 1.5;">
${t('payment.timeoutMessage')}
@@ -363,7 +367,13 @@
`;
modal.innerHTML = `
<div style="font-size: 48px; margin-bottom: 20px; animation: spin 2s linear infinite;">⏳</div>
<div style="margin-bottom: 20px;">
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#667eea" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" style="animation: spin 2s linear infinite;">
<path d="M5 22h14"/><path d="M5 2h14"/>
<path d="M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22"/>
<path d="M7 2v4.172a2 2 0 0 1 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"/>
</svg>
</div>
<h3 style="color: #667eea; margin-bottom: 15px;">${t('payment.waitingConfirmation')}</h3>
<p style="color: #666; margin-bottom: 20px; line-height: 1.5;">
<span style="color: #059669; font-weight: 600; background: linear-gradient(135deg, #ecfdf5, #f0fdf4); padding: 8px 12px; border-radius: 6px; border-left: 3px solid #10b981;">${t('payment.confirmationMessage')}</span><br>
@@ -375,6 +385,9 @@
<p style="color: #999; font-size: 12px;">
${t('payment.estimatedTime')}
</p>
<div style="margin-top: 15px; padding-top: 12px; border-top: 1px solid #f0f0f0; font-size: 12px; color: #aaa;">
Powered by <a href="https://github.com/v03413/BEpusdt" target="_blank" style="color: #667eea; text-decoration: none; font-weight: 600;">BEpusdt</a> · Github
</div>
`;
const style = document.createElement('style');
@@ -434,7 +447,11 @@
`;
modal.innerHTML = `
<div style="font-size: 48px; margin-bottom: 20px;">✅</div>
<div style="margin-bottom: 20px;">
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 24 24" fill="none" stroke="#48bb78" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/>
</svg>
</div>
<h3 style="color: #48bb78; margin-bottom: 15px;">${t('payment.paymentSuccess')}</h3>
<p style="color: #666; margin-bottom: 20px; line-height: 1.5;">
${t('payment.transactionHash')}<br>
@@ -451,6 +468,9 @@
cursor: pointer;
font-size: 14px;
">${t('payment.returnToMerchant')}</button>
<div style="margin-top: 15px; padding-top: 12px; border-top: 1px solid #f0f0f0; font-size: 12px; color: #aaa;">
Powered by <a href="https://github.com/v03413/BEpusdt" target="_blank" style="color: #667eea; text-decoration: none; font-weight: 600;">BEpusdt</a> · Github
</div>
`;
overlay.appendChild(modal);
+4
View File
@@ -3,6 +3,10 @@
<a-row align="center" :gutter="[0, 16]">
<a-col :span="24">
<a-card title="API设置">
<a-alert type="info" style="margin-bottom: 16px">
系统兼容彩虹易支付 <strong>submit.php</strong> 接口收单,对接时 PID 固定为 <strong>1000</strong>,KEY
则是和对接令牌保持一致。
</a-alert>
<a-form :model="form" :rules="rules" :style="{ width: '600px' }" @submit="onSubmit">
<a-form-item field="api_auth_token" label="对接令牌" extra="API对接的身份验证令牌,请妥善保管">
<a-input-group class="token-input-group">
+3 -2
View File
@@ -2,9 +2,10 @@
<div>
<a-row align="center" :gutter="[0, 16]">
<a-col :span="24">
<a-card title="MQTT 广播设置">
<a-card title="MQTT 发布设置">
<a-alert type="info" style="margin-bottom: 16px">
系统可将扫描到的交易信息广播到 MQTT 服务器,其它系统通过订阅 MQTT 即可实时获取数据
系统可将扫描到的交易信息发布到 MQTT 服务器,其它系统通过订阅实时获取数据,
<a href="https://github.com/v03413/BEpusdt/blob/main/docs/api/mqtt.md" target="_blank">查看文档</a>
</a-alert>
<a-alert type="warning" style="margin-bottom: 16px">
<template #icon><icon-exclamation-circle-fill /></template>