When Taro build applets picture adaptation issues

        In the front-end development process, in accordance to the design of the picture, the front of the picture processing to make pictures with the change of the screen to maintain a certain aspect ratio. On the PC side, as long as a given height or width can be set. First a small program that uses Taro building, in the processing of the picture, only to find a given set high or wide, always on the phone screen picture distortion, while the width and height as designed to write after the death, in different screen on the screen width and height will vary with changes, but basically the same aspect ratio distortion is not a problem.

Guess you like

Origin www.cnblogs.com/anguoff/p/11234514.html