How does Mini Program's picture not center in mode= "aspectFit" mode?

The effect of

UI is similar to the image above. To ensure that the picture is scaled proportionally, you must use the mode= "aspectFit" mode, but then the picture will be centered.
can"t find a solution, call for help here, gods


this is a difficult problem ~


who said scaling must use aspectFit . Aren't the following three scaled

?

clipboard.png


I also studied it for a long time and couldn't find a solution.
flex has tried, and it certainly won't work.


have you finally solved the same problem? help me,


here is a similar solution https://blog.csdn.net/qq_4283.

.
Menu