How does Mini Program realize the group avatar of Wechat

I now know everyone"s avatar and how to draw it in groups, such as
clipboard.png

.

call wx.downloadFile to download the picture resources, and then draw them with canvas

Menu