Commit dcd4bd87 authored by beisir's avatar beisir

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

parents c6b9bb50 154d6a1a
...@@ -2,10 +2,15 @@ ...@@ -2,10 +2,15 @@
<div class="group-info-desc"> <div class="group-info-desc">
<div class="desc-item"> <div class="desc-item">
<template v-if="groupInfo.groupBuyStatus == 1"> <template v-if="groupInfo.groupBuyStatus == 1">
<p class="desc"> <template v-if="!groupInfo.joinGroup && !groupInfo.canJoinGroupBuyAgain">
还差<span>{{ groupInfo.groupBuyNeedUserCount }}</span>成团,距结束还剩 拼团失败!
</p> </template>
<countDown v-if="!!timestemp" :block-no-bg="true" :end-time="timestemp" /> <template v-else>
<p class="desc">
还差<span>{{ groupInfo.groupBuyNeedUserCount }}</span>成团,距结束还剩
</p>
<countDown v-if="!!timestemp" :block-no-bg="true" :end-time="timestemp" />
</template>
</template> </template>
<template v-else> <template v-else>
<template v-if="groupInfo.groupBuyStatus != 2"> <template v-if="groupInfo.groupBuyStatus != 2">
......
...@@ -235,6 +235,8 @@ export default { ...@@ -235,6 +235,8 @@ export default {
this.nativeBridge.openNewUrl({ this.nativeBridge.openNewUrl({
newUrl: `/pages/pay/index?orderNo=${data.orderNo}` newUrl: `/pages/pay/index?orderNo=${data.orderNo}`
}); });
// const wx = require('weixin-js-sdk');
// wx.miniProgram.redirectTo();
} else if (isApp) { } else if (isApp) {
this.$router.replace({ path: `/pay?orderNo=${data.orderNo}` }); this.$router.replace({ path: `/pay?orderNo=${data.orderNo}` });
} else { } else {
......
...@@ -539,7 +539,7 @@ export default { ...@@ -539,7 +539,7 @@ export default {
reason: error, reason: error,
orderNo: this.orderNo, orderNo: this.orderNo,
payType: this.payType, payType: this.payType,
finalAmt: this.amountInfo.finalAmt || '', amount: this.amountInfo.finalAmt || '',
freeAmount: this.amountInfo.freeAmount || '' freeAmount: this.amountInfo.freeAmount || ''
} }
}); });
......
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