中俄汇率换算工具

/* 工具容器 */
.exchange-tool-wrap {
max-width: 860px;
margin: 0 auto;
font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, sans-serif;
color: #1a1a2e;
}

/* 标题区 */
.exchange-tool-wrap .tool-header {
text-align: center;
margin-bottom: 28px;
}
.exchange-tool-wrap .tool-header h2 {
font-size: 1.6em;
color: #0052CC;
margin-bottom: 8px;
}
.exchange-tool-wrap .tool-header p {
color: #666;
font-size: 0.95em;
}

/* 实时汇率横条 */
.exchange-tool-wrap .rate-bar {
background: linear-gradient(135deg, #0052CC 0%, #0065ff 100%);
color: #fff;
padding: 12px 20px;
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
flex-wrap: wrap;
gap: 8px;
}
.exchange-tool-wrap .rate-bar .rate-main {
font-size: 1.15em;
font-weight: 600;
}
.exchange-tool-wrap .rate-bar .rate-update {
font-size: 0.82em;
opacity: 0.85;
}
.exchange-tool-wrap .rate-bar .rate-source {
font-size: 0.78em;
opacity: 0.7;
}

/* 换算面板 */
.exchange-tool-wrap .convert-panel {
background: #f7f9fc;
border-radius: 12px;
padding: 24px;
margin-bottom: 24px;
border: 1px solid #e2e8f0;
}
.exchange-tool-wrap .convert-row {
display: flex;
gap: 12px;
align-items: flex-end;
flex-wrap: wrap;
margin-bottom: 16px;
}
.exchange-tool-wrap .convert-row .field {
flex: 1;
min-width: 180px;
}
.exchange-tool-wrap .convert-row .field label {
display: block;
font-size: 0.85em;
color: #555;
margin-bottom: 6px;
font-weight: 500;
}
.exchange-tool-wrap .convert-row .field input,
.exchange-tool-wrap .convert-row .field select {
width: 100%;
padding: 10px 14px;
border: 1.5px solid #d1d5db;
border-radius: 8px;
font-size: 1em;
transition: border-color 0.2s;
background: #fff;
box-sizing: border-box;
}
.exchange-tool-wrap .convert-row .field input:focus,
.exchange-tool-wrap .convert-row .field select:focus {
border-color: #0052CC;
outline: none;
box-shadow: 0 0 0 3px rgba(0,82,204,0.12);
}

/* 换算按钮 */
.exchange-tool-wrap .btn-swap {
background: #0052CC;
color: #fff;
border: none;
border-radius: 50%;
width: 42px;
height: 42px;
cursor: pointer;
font-size: 1.2em;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
flex-shrink: 0;
margin-bottom: 2px;
}
.exchange-tool-wrap .btn-swap:hover {
background: #0040a0;
transform: rotate(180deg);
}

/* 换算结果 */
.exchange-tool-wrap .convert-result {
background: #fff;
border: 2px solid #0052CC;
border-radius: 10px;
padding: 18px 22px;
margin-top: 16px;
}
.exchange-tool-wrap .convert-result .result-value {
font-size: 1.8em;
font-weight: 700;
color: #0052CC;
margin-bottom: 4px;
}
.exchange-tool-wrap .convert-result .result-label {
font-size: 0.88em;
color: #666;
}

/* 手续费说明 */
.exchange-tool-wrap .fee-section {
background: #fff9e6;
border: 1px solid #f0d060;
border-radius: 10px;
padding: 16px 20px;
margin-bottom: 24px;
}
.exchange-tool-wrap .fee-section h4 {
color: #b8860b;
margin: 0 0 10px 0;
font-size: 0.95em;
}
.exchange-tool-wrap .fee-section .fee-item {
display: flex;
justify-content: space-between;
padding: 5px 0;
border-bottom: 1px dashed #f0d060;
font-size: 0.9em;
}
.exchange-tool-wrap .fee-section .fee-item:last-child {
border-bottom: none;
font-weight: 600;
color: #333;
}
.exchange-tool-wrap .fee-section .fee-item .fee-label {
color: #555;
}
.exchange-tool-wrap .fee-section .fee-item .fee-value {
color: #333;
}

/* 快捷金额 */
.exchange-tool-wrap .quick-amounts {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 16px;
}
.exchange-tool-wrap .quick-amounts button {
padding: 6px 16px;
border: 1.5px solid #0052CC;
background: #fff;
color: #0052CC;
border-radius: 20px;
cursor: pointer;
font-size: 0.88em;
transition: all 0.2s;
}
.exchange-tool-wrap .quick-amounts button:hover,
.exchange-tool-wrap .quick-amounts button.active {
background: #0052CC;
color: #fff;
}

/* 汇率趋势 */
.exchange-tool-wrap .trend-section {
background: #f7f9fc;
border-radius: 10px;
padding: 20px;
margin-bottom: 24px;
border: 1px solid #e2e8f0;
}
.exchange-tool-wrap .trend-section h4 {
margin: 0 0 14px 0;
color: #333;
font-size: 1em;
}
.exchange-tool-wrap .trend-table {
width: 100%;
border-collapse: collapse;
font-size: 0.9em;
}
.exchange-tool-wrap .trend-table th,
.exchange-tool-wrap .trend-table td {
padding: 8px 12px;
text-align: center;
border-bottom: 1px solid #e2e8f0;
}
.exchange-tool-wrap .trend-table th {
background: #eef2f7;
color: #555;
font-weight: 600;
}
.exchange-tool-wrap .trend-table .up { color: #e53e3e; }
.exchange-tool-wrap .trend-table .down { color: #38a169; }

/* 提示框 */
.exchange-tool-wrap .tip-box {
background: #e6f7ff;
border-left: 4px solid #0052CC;
padding: 14px 18px;
border-radius: 0 8px 8px 0;
margin-bottom: 24px;
font-size: 0.9em;
color: #333;
line-height: 1.6;
}
.exchange-tool-wrap .tip-box strong {
color: #0052CC;
}

/* 免责 */
.exchange-tool-wrap .disclaimer {
text-align: center;
color: #999;
font-size: 0.8em;
margin-top: 20px;
line-height: 1.5;
}

@media (max-width: 600px) {
.exchange-tool-wrap .convert-row {
flex-direction: column;
}
.exchange-tool-wrap .convert-row .field {
min-width: 100%;
}
.exchange-tool-wrap .btn-swap {
align-self: center;
transform: rotate(90deg);
}
.exchange-tool-wrap .btn-swap:hover {
transform: rotate(270deg);
}
.exchange-tool-wrap .rate-bar {
flex-direction: column;
text-align: center;
}
}

💱 中俄汇率换算工具

专为Ozon卖家设计 · 人民币(CNY) ⇄ 卢布(RUB) · 含实际到账手续费计算

1 CNY = RUB
更新时间:加载中…

数据来源:frankfurter.app (欧洲央行)

快捷金额:





人民币 (¥) → 卢布 (₽)
卢布 (₽) → 人民币 (¥)

换算结果

💰 Ozon卖家实际到账计算

输入Ozon账户卢布余额,计算实际到账人民币金额

银行卡直接提现 (≈1.5%手续费)
第三方代收 (≈2.5%手续费)
Payoneer (≈1%+固定费)

Ozon余额
提现手续费
汇率换算
实际到账 (¥)

📈 近期汇率走势 (CNY/RUB)

日期 汇率 涨跌
加载中…

💡 卖家小贴士:
• 汇率每交易日更新,周末/节假日延后更新
• Ozon结算以卢布为准,提现时银行按实时汇率结算
• 建议关注汇率走势,选择较优时机提现
• 第三方代收通常有额外汇损(约0.5%-1%),本工具按保守估算
• 实际到账金额可能因银行汇率差异略有不同
* 汇率数据仅供参考,实际交易汇率以银行/支付平台报价为准
* 手续费率为常见估算值,具体费率请以您的支付服务商为准

(function() {
let currentRate = null;
let rateDate = ”;

// 获取汇率
async function fetchRate() {
try {
// 获取最近30天汇率用于趋势
const endDate = new Date().toISOString().split(‘T’)[0];
const startDate = new Date(Date.now() – 35 * 86400000).toISOString().split(‘T’)[0];

const resp = await fetch(
‘https://api.frankfurter.app/’ + startDate + ‘..’ + endDate + ‘?from=CNY&to=RUB’
);
const data = await resp.json();

const rates = data.rates;
const dates = Object.keys(rates).sort();
if (dates.length === 0) throw new Error(‘No data’);

const latestDate = dates[dates.length – 1];
currentRate = rates[latestDate].RUB;
rateDate = latestDate;

// 更新显示
document.getElementById(‘rateDisplay’).textContent = currentRate.toFixed(4);
document.getElementById(‘rateTime’).textContent = rateDate;

// 渲染趋势表(最近10天)
renderTrend(dates.slice(-10), rates);

convert();
calcFee();
} catch(e) {
console.error(‘汇率获取失败:’, e);
document.getElementById(‘rateDisplay’).textContent = ‘获取失败’;
document.getElementById(‘rateTime’).textContent = ‘请稍后刷新重试’;
document.getElementById(‘trendBody’).innerHTML = ‘

汇率数据加载失败,请稍后刷新页面

‘;

// 使用备用估算
currentRate = 12.80;
document.getElementById(‘rateDisplay’).textContent = currentRate.toFixed(4) + ‘ (估算)’;
}
}

// 渲染趋势表
function renderTrend(dates, rates) {
const tbody = document.getElementById(‘trendBody’);
let html = ”;
let prevRate = null;

for (let i = dates.length – 1; i >= 0; i–) {
const d = dates[i];
const r = rates[d].RUB;
let changeHtml = ‘–‘;
if (prevRate !== null) {
const diff = r – prevRate;
const pct = ((diff / prevRate) * 100).toFixed(2);
if (diff > 0) {
changeHtml = ‘▲ +’ + diff.toFixed(4) + ‘ (+’ + pct + ‘%)‘;
} else if (diff < 0) {
changeHtml = '▼ ‘ + diff.toFixed(4) + ‘ (‘ + pct + ‘%)‘;
} else {
changeHtml = ‘0.0000‘;
}
}
html += ‘

‘ + d + ‘ ‘ + r.toFixed(4) + ‘ ‘ + changeHtml + ‘

‘;
prevRate = r;
}
tbody.innerHTML = html;
}

// 快捷金额
window.setQuickAmount = function(amount) {
document.getElementById(‘inputAmount’).value = amount;
// 高亮按钮
document.querySelectorAll(‘.quick-amounts button’).forEach(b => b.classList.remove(‘active’));
event.target.classList.add(‘active’);
convert();
};

// 换算
window.convert = function() {
if (!currentRate) return;
const amount = parseFloat(document.getElementById(‘inputAmount’).value);
const dir = document.getElementById(‘convertDirection’).value;
const resultBox = document.getElementById(‘resultBox’);
const resultValue = document.getElementById(‘resultValue’);
const resultLabel = document.getElementById(‘resultLabel’);

if (isNaN(amount) || amount 0 && currentRate) {
if (sel.value === ‘rub_to_cny’) {
amountInput.value = (currentVal * currentRate).toFixed(2);
} else {
amountInput.value = (currentVal / currentRate).toFixed(2);
}
}
convert();
};

// 手续费计算
window.calcFee = function() {
if (!currentRate) return;
const balance = parseFloat(document.getElementById(‘ozonBalance’).value);
const method = document.getElementById(‘withdrawMethod’).value;
const detail = document.getElementById(‘feeDetail’);

if (isNaN(balance) || balance <= 0) {
detail.style.display = 'none';
return;
}
detail.style.display = 'block';

let feeRate, feeName;
switch(method) {
case 'bank':
feeRate = 0.015; feeName = '银行卡提现 (1.5%)'; break;
case 'third_party':
feeRate = 0.025; feeName = '第三方代收 (2.5%)'; break;
case 'payoneer':
feeRate = 0.01; feeName = 'Payoneer (1%+固定费)'; break;
}

const fee = balance * feeRate;
const afterFee = balance – fee;
const cnyAmount = afterFee / currentRate;

document.getElementById('feeOzonAmount').textContent = '₽ ' + balance.toLocaleString('ru-RU', {minimumFractionDigits: 2});
document.getElementById('feeWithdraw').textContent = '- ₽ ' + fee.toLocaleString('ru-RU', {minimumFractionDigits: 2}) + ' (' + feeName + ')';
document.getElementById('feeExchange').textContent = '÷ ' + currentRate.toFixed(4) + ' (RUB/CNY)';
document.getElementById('feeFinal').textContent = '¥ ' + cnyAmount.toLocaleString('zh-CN', {minimumFractionDigits: 2, maximumFractionDigits: 2});
};

// 初始化
fetchRate();
})();

返回顶部