|
@@ -90,6 +90,7 @@
|
|
|
import { Toast } from 'vant'
|
|
|
import RoundTurntable from './component/roundTurntable.vue'
|
|
|
const RSA = require('../../../plugins/wx_rsa');
|
|
|
+const uni = require('../../../plugins/uni');
|
|
|
export default {
|
|
|
name: 'Lottery',
|
|
|
auth: false,
|
|
@@ -209,6 +210,15 @@ export default {
|
|
|
actualPrice: this.actualPrice
|
|
|
});
|
|
|
}
|
|
|
+ if (this.$userAgent.isSzxBrowser) {
|
|
|
+ uni.webView.postMessage({
|
|
|
+ data: {
|
|
|
+ payType: this.payType === 'aliPay' ? 3 : 2,
|
|
|
+ orderNum: res.data.myOrderNum,
|
|
|
+ buyType: 1
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
} catch (error) {
|
|
|
Toast({
|
|
|
message: error.message,
|