|
|
@@ -21,9 +21,18 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- created() {
|
|
|
+ onLoad(options) {
|
|
|
+ console.log("商品小票",options)
|
|
|
this.customStyle.background = this.vuex_theme.bgColor;
|
|
|
},
|
|
|
+ onReady() {
|
|
|
+ let mchData = {
|
|
|
+ action: 'onIframeReady',
|
|
|
+ displayStyle: 'SHOW_CUSTOM_PAGE'
|
|
|
+ };
|
|
|
+ let postData = JSON.stringify(mchData);
|
|
|
+ parent.postMessage(postData, 'https://payapp.weixin.qq.com');
|
|
|
+ },
|
|
|
|
|
|
methods: {
|
|
|
goback() {
|