This commit is contained in:
dzc committed 2026-07-31 13:56:18 +08:00
1 parent 25a3dba931
commit 2191e6e4cf
7 files changed
+117 -39

No files matched your search

+3 -5
View File
@@ -5,6 +5,7 @@ import $wxsdk from '@/sheep/libs/sdk-h5-weixin';
import { getRootUrl } from '@/sheep/helper';
import { h5Url } from '@/sheep/config';
import PayOrderApi from '@/sheep/api/pay/order';
import { openExternalUrl } from './h5-shell';
/**
* 支付
@@ -206,11 +207,8 @@ export default class SheepPay {
}
openH5PayUrl(url, title) {
// #ifdef H5
window.location.href = url;
// #endif
// #ifdef APP-PLUS
plus.runtime.openURL(url);
// #ifndef MP
openExternalUrl(url, `h5-pay:${title}`);
// #endif
// #ifdef MP
uni.showModal({