originally

Was doing small programs, the poster has a qr code, but generated poster plugin, it only supports the online link of the pictures, even if the local generation, still can’t show (in the simulator of preserving local agreement head is http://, but in the real machine is wxfile: / /, so simulator can, in the real machine doesn’t work), so to find a lot of online, Finally find a url that can directly concatenate parameters to return the TWO-DIMENSIONAL code

use

` https://tool.oschina.net/action/qrcode/generate?data=${} 'qr code content' & output = image % 2 fgif & error = L&type = 0 & margin = 0 & size = 4 & ${mom ent().unix()}`Copy the code

Data: indicates the qr code content

You have to add a time stamp at the end

As for several parameters in the middle, you can directly configure the parameters inside tool.oschina.net/qr

demo:

The results of

Encounter can not reference two-dimensional code generation components or must be linked to the case is better, the disadvantage seems to be unable to control the size of the picture

In the end I didn’t use it either, because I found that what I needed was a small program code 😅