소스 검색

二维码生成修改

tags/湖南版5.1.4
刘晖 6 년 전
부모
커밋
41f3ad221b
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -0
      pages/main/index.js
  2. +1
    -1
      pages/main/index.wxml

+ 1
- 0
pages/main/index.js 파일 보기

@@ -100,6 +100,7 @@ Page({
TYPE: "memberCode",
ID: that.data.memberId,
});
console.log(url,777777777)
that.createQrCode(url, "mycanvas2", size.w, size.h);;
that.setData({
maskHidden: true


+ 1
- 1
pages/main/index.wxml 파일 보기

@@ -14,7 +14,7 @@
<image src="{{duihuan}}" class='duihuanimg' mode='widthFix'></image>
</view>
</view>
<view class='barcode'>
<view class='barcode' bindtap='qrcode'>
<image src="{{barcode}}" class='barcodeimg' mode='widthFix'></image>
</view>
</view>


불러오는 중...
취소
저장