小程序编译0.0.0
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<view class="Box">
|
||||
<navseat :opacity='false' :title='"微信扫码开票"' :titleshow='true' :namecolor='"#fff"' iconcolor='#fff'></navseat>
|
||||
<view class="Box_item" v-show="qrodeshow == 0">
|
||||
<view id="Box">
|
||||
<view class="Box_item_content flex-colum">
|
||||
@@ -50,8 +51,14 @@
|
||||
import html2canvas from 'html2canvas';
|
||||
// #endif
|
||||
import uQRCode from '@/uni_modules/Sansnn-uQRCode/js_sdk/uqrcode/uqrcode.js'; // npm install uqrcodejs
|
||||
import getLodop from '@/common/js/LodopFuncs.js'
|
||||
// // #ifndef H5
|
||||
// import getLodop from '@/common/js/LodopFuncs.js'
|
||||
// // #endif
|
||||
import navseat from '@/components/navseat.vue'
|
||||
export default {
|
||||
components: {
|
||||
navseat
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
text: 'uQRCode',
|
||||
@@ -67,19 +74,36 @@
|
||||
fowxAuditInfo: {},
|
||||
imgShow: false,
|
||||
img: '',
|
||||
datares:{
|
||||
tope:''
|
||||
datares: {
|
||||
tope: ''
|
||||
}
|
||||
};
|
||||
},
|
||||
onLoad(e) {
|
||||
console.log(e)
|
||||
if(e.tope == 0){
|
||||
// #ifdef MP-WEIXIN
|
||||
// 获取参数并解码
|
||||
var decodedParam = decodeURIComponent(e.data);
|
||||
// 使用解码后的参数
|
||||
console.log(decodedParam);
|
||||
decodedParam = JSON.parse(decodedParam)
|
||||
if (decodedParam.tope == 0) {
|
||||
this.datares = decodedParam
|
||||
this.datares.tope = 0
|
||||
} else {
|
||||
this.datares = decodedParam
|
||||
}
|
||||
// #endif
|
||||
// #ifndef MP-WEIXIN
|
||||
if (e.tope == 0) {
|
||||
this.datares = e
|
||||
this.datares.tope = 0
|
||||
}else{
|
||||
} else {
|
||||
this.datares = e
|
||||
}
|
||||
// #endif
|
||||
|
||||
console.log(e)
|
||||
|
||||
},
|
||||
onReady() {
|
||||
this.merchantStoreshowMerchantStoreReceipt();
|
||||
@@ -139,7 +163,7 @@
|
||||
uni.navigateBack();
|
||||
},
|
||||
savealbum(e) {
|
||||
// #ifdef APP
|
||||
// #ifdef APP || MP-WEIXIN
|
||||
uni.showLoading({
|
||||
//加载框
|
||||
title: '保存中...',
|
||||
|
||||
Reference in New Issue
Block a user