adjust code style and add render qrcode by em