Commit 5d5db745 by daqian

add: 券码详情参数

parent 6f328c30
...@@ -34,13 +34,14 @@ wxService.page({ ...@@ -34,13 +34,14 @@ wxService.page({
// lineColor:"#2196f3",//设置条和文本的颜色。 // lineColor:"#2196f3",//设置条和文本的颜色。
// margin:15//设置条形码周围的空白边距 // margin:15//设置条形码周围的空白边距
// }); // });
wxbarcode.barcode('barcode', '1234567890123456789', 700, 150);
const {title,cardno} = this.options const {title,cardno} = this.options
this.setData({ this.setData({
couponDetailTitle: title couponDetailTitle: title
}) })
wxbarcode.barcode('barcode', cardno, 700, 150);
this.getCouponDetail(cardno) this.getCouponDetail(cardno)
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment