我正在使用money-rails
最新版本。辅助货币符号与值重叠,humanized_money_with_symbol
如下图所示:
代码 -
p = humanized_money_with_symbol product.price
这适用于最新的设备,如 MacBook、像素、iPhone。该问题仅出现在某些设备上。
宝石详情 -
ruby '3.0.0'
rails, '~> 6.1.4'
money-rails, '~> 1.15.0'
bootstrap 5
网络包版本 -latest
fonts
-Source Sans Pro, arial, sans-serif
下面附上视频链接了解更多详情——