现金支付插件支持手机+细节优化

This commit is contained in:
gongfuxiang
2021-12-04 20:36:20 +08:00
parent 8170ff07ba
commit 36eccdb4e6
3 changed files with 43 additions and 48 deletions

View File

@ -1186,7 +1186,6 @@ function HexToRgb($hex_color) {
'b' => hexdec(substr($color, 4, 2))
];
} else {
$color = $hex_color;
$r = substr($color, 0, 1) . substr($color, 0, 1);
$g = substr($color, 1, 1) . substr($color, 1, 1);
$b = substr($color, 2, 1) . substr($color, 2, 1);