C端小程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
299 B

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