|
@@ -345,11 +345,10 @@ export default {
|
|
|
this.wxPayDialog = false;
|
|
this.wxPayDialog = false;
|
|
|
},
|
|
},
|
|
|
getH5MallQrCode(id) {
|
|
getH5MallQrCode(id) {
|
|
|
- MerchantService.getH5MallQrCode(1).then(res=>{
|
|
|
|
|
- console.log(res)
|
|
|
|
|
- })
|
|
|
|
|
- this.$alert('<strong>这是 <i>HTML</i> 片段</strong>', 'H5商城', {
|
|
|
|
|
- dangerouslyUseHTMLString: true
|
|
|
|
|
|
|
+ MerchantService.getH5MallQrCode(id).then(res => {
|
|
|
|
|
+ this.$alert("<img src='"+res.imgUrl+"' style='width:200px;margin:0 auto;' />", 'H5商城', {
|
|
|
|
|
+ dangerouslyUseHTMLString: true
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|