jufubao-base 1.0.35 → 1.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -78,6 +78,9 @@ import XdUnit from "@/components/XdUnit/XdUnit";
|
|
|
78
78
|
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
79
79
|
import componentsMixins from "@/mixins/componentsMixins";
|
|
80
80
|
import extsMixins from "@/mixins/extsMixins";
|
|
81
|
+
import {mapState} from "vuex";
|
|
82
|
+
|
|
83
|
+
|
|
81
84
|
export default {
|
|
82
85
|
name: "JfbBaseCardSweepInfo",
|
|
83
86
|
components: {
|
|
@@ -119,12 +122,14 @@ export default {
|
|
|
119
122
|
},
|
|
120
123
|
},
|
|
121
124
|
computed: {
|
|
125
|
+
...mapState(["jfbAuthorize"]),
|
|
122
126
|
prod_bottom() {
|
|
123
127
|
return this.fixedStyle({ height: 0, zIndex: 111 });
|
|
124
128
|
},
|
|
125
129
|
},
|
|
126
130
|
created() {
|
|
127
131
|
this.init(this.container);
|
|
132
|
+
|
|
128
133
|
},
|
|
129
134
|
methods: {
|
|
130
135
|
handleToLink(path) {
|
|
@@ -139,9 +144,22 @@ export default {
|
|
|
139
144
|
this.$xdAlert({
|
|
140
145
|
content: "绑定成功",
|
|
141
146
|
close: () => {
|
|
147
|
+
//#ifdef H5
|
|
148
|
+
let base = this.jfbAuthorize.getBasePath(this);
|
|
149
|
+
let url = `${location.origin}${base}${this.backUrl}`;
|
|
150
|
+
this.$xdLog.setARMSInfo({url}, 'static_qr_card_bind');
|
|
151
|
+
setTimeout(()=>{
|
|
152
|
+
window.location.href = url;
|
|
153
|
+
},50);
|
|
154
|
+
// #endif
|
|
155
|
+
|
|
156
|
+
//#ifndef H5
|
|
142
157
|
this.$xdUniHelper.redirectTo({
|
|
143
158
|
url: this.backUrl,
|
|
144
159
|
});
|
|
160
|
+
// #endif
|
|
161
|
+
|
|
162
|
+
|
|
145
163
|
},
|
|
146
164
|
});
|
|
147
165
|
})
|
|
@@ -600,20 +600,12 @@
|
|
|
600
600
|
</view>
|
|
601
601
|
<view
|
|
602
602
|
style="height: 100rpx"
|
|
603
|
-
v-if="
|
|
604
|
-
info.status.status_type !== 'success' &&
|
|
605
|
-
info.buttons &&
|
|
606
|
-
info.buttons.length > 0
|
|
607
|
-
"
|
|
603
|
+
v-if="info.buttons &&info.buttons.length > 0"
|
|
608
604
|
></view>
|
|
609
605
|
<view
|
|
610
606
|
class="jfb-base-order-detail__body-btn"
|
|
611
607
|
:style="prod_bottom"
|
|
612
|
-
v-if="
|
|
613
|
-
info.status.status_type !== 'success' &&
|
|
614
|
-
info.buttons &&
|
|
615
|
-
info.buttons.length > 0
|
|
616
|
-
"
|
|
608
|
+
v-if="info.buttons && info.buttons.length > 0"
|
|
617
609
|
>
|
|
618
610
|
<view v-for="(item, index) in info.buttons" :key="index">
|
|
619
611
|
<view
|