Skip to content

Alon-SOL/ValuesCorrector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

价值观纠正器 (Values Corrector)

一个将加密货币价格转换为现实生活物品数量的工具。

功能特性

  • 🔄 实时获取加密货币价格 (BTC, ETH, SOL, BNB, OKB)
  • 🍚 转换为多种实物物品 (馒头、猪脚饭、KFC套餐、MacBook Air、iPhone 17、小米SU7)
  • 💰 自动计算美元和人民币价值
  • 📱 响应式设计,支持移动设备
  • ⚡ 实时联动更新,输入任何值自动更新其他值

使用方法

  1. 选择加密货币类型
  2. 输入加密货币数量
  3. 选择要转换的实物物品
  4. 系统会自动计算对应的物品数量

部署到 GitHub Pages

此项目已配置自动部署到 GitHub Pages。

部署步骤:

  1. 在 GitHub 上创建新仓库

  2. 将代码推送到仓库:

    git init
    git add .
    git commit -m "Initial commit"
    git branch -M main
    git remote add origin https://github.com/yourusername/your-repo-name.git
    git push -u origin main
  3. 在仓库设置中启用 GitHub Pages:

    • 进入 Settings → Pages
    • Source 选择 "GitHub Actions"
  4. 等待部署完成,访问 https://yourusername.github.io/your-repo-name

技术栈

  • HTML5
  • CSS3 (Grid & Flexbox)
  • JavaScript ES6+
  • CoinGecko API
  • GitHub Pages

数据来源

  • 加密货币价格:CoinGecko API
  • 汇率:1 USD = 7.2 CNY
  • 实物价格:参考市场价

许可证

MIT License

About

加密货币价格转换为现实生活物品数量的工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published