C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
281 B

  1. //index.js
  2. const util = require('../../../utils/util');
  3. Page({
  4. data: {
  5. code: '1234567890123456789'
  6. },
  7. onLoad: function() {
  8. util.barcode('barcode', '1234567890123456789', 680, 200);
  9. util.qrcode('qrcode', '1234567890123456789', 420, 420);
  10. }
  11. })