Commit 73525da6 authored by Xuguangxing's avatar Xuguangxing

Merge branch 'feat/group-buy' of git.quantgroup.cn:ui/group-buy-ui into feat/group-buy

parents 44a5b3ab 39d1485a
......@@ -38,7 +38,7 @@ export default {
confirmButtonText: '登录',
onConfirm: () => {
if (isWxMp) {
this.nativeBridge.getToken();
this.nativeBridge.getToken({ from: 'groupbuy' });
} else if (isApp) {
// native调用getToken
this.getToken();
......
......@@ -32,8 +32,8 @@ class Mp {
wx.miniProgram.postMessage({ data });
}
}
getToken(callback = () => {}) {
this.run({ event: 'getToken' }, callback, true);
getToken(data, callback = () => {}) {
this.run({ event: 'getToken', ...data }, callback, true);
}
closeBrowser() {
const { wx } = this;
......
......@@ -152,6 +152,7 @@ export default {
activated() {
this.showLoops = true;
this.$nextTick(() => {
console.log(this.$refs.swipeRota);
this.$refs.swipeRota && this.$refs.swipeRota.onSlidePrevChange();
});
},
......
......@@ -139,7 +139,7 @@ export default {
},
2: {
class: 'Ol__head-success',
message: '已成团,等待发货!',
message: '已成团',
footTxt: '退款将原路返还,请注意帐户变动'
},
3: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment