@@ -262,7 +265,7 @@ export default {
},
{
title: '实际支付',
- key: 'pay_price',
+ slot: 'pay_price',
align: 'center',
width: 100,
},
diff --git a/template/uni-app/App.vue b/template/uni-app/App.vue
index bb19b2424..9ac4667c4 100644
--- a/template/uni-app/App.vue
+++ b/template/uni-app/App.vue
@@ -123,6 +123,13 @@
async onLaunch(option) {
uni.hideTabBar()
let that = this;
+ // #ifdef H5
+ if (option.query.hasOwnProperty('type') && option.query.type == "iframeWindow") {
+ this.globalData.isIframe = true;
+ } else {
+ this.globalData.isIframe = false;
+ }
+ // #endif
colorChange('color_change').then(res => {
uni.setStorageSync('is_diy', res.data.is_diy)
uni.$emit('is_diy', res.data.is_diy)
@@ -245,13 +252,7 @@
}
// #endif
- // #ifdef H5
- if (option.query.hasOwnProperty('type') && option.query.type == "iframeWindow") {
- this.globalData.isIframe = true;
- } else {
- this.globalData.isIframe = false;
- }
- // #endif
+
// #ifdef MP
// 小程序静默授权
// if (!this.$store.getters.isLogin) {