revert: 所有代码与custom/common分支同

This commit is contained in:
2026-01-05 15:56:49 +08:00
parent 8ef6975ee1
commit 60a0e5133e
219 changed files with 14860 additions and 15585 deletions

View File

@@ -43,6 +43,9 @@
<!-- 旧版支付组件 订单表不为order表 的订单支付时使用该组件 -->
<script>
import uniPopup from '@/components/uni-popup/uni-popup.vue';
import nsSwitch from '@/components/ns-switch/ns-switch.vue';
// #ifdef H5
import { Weixin } from 'common/js/wx-jssdk.js';
// #endif
@@ -50,8 +53,8 @@
export default {
name: 'ns-payment',
components: {
uniPopup: () => import('@/components/uni-popup/uni-popup.vue'),
nsSwitch: () => import('@/components/ns-switch/ns-switch.vue'),
uniPopup,
nsSwitch
},
props: {
balanceDeduct: {
@@ -109,12 +112,11 @@
};
},
created(e) {
let url = '';
// #ifdef H5
url = window.location.href
let url = window.location.href
// #endif
// #ifndef H5
url = getCurrentPages()[getCurrentPages().length - 1].route
let url = getCurrentPages()[getCurrentPages().length - 1].route
// #endif
let list = url.match('presale/order_list/order_list')
let detail = url.match('presale/order_detail/order_detail')