修改倒计时不显示,以及微信支付的问题
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
:hourText="' 时 '"
|
||||
:minuteText="' 分 '"
|
||||
:secondText="' 秒'"
|
||||
:datatime="item.datatime/1000"
|
||||
:datatime="item.datatime"
|
||||
></count-down>
|
||||
<view class="money font-color-red">
|
||||
已砍至
|
||||
|
@ -72,7 +72,7 @@
|
||||
<text class="font-color-red" v-text="item.count"></text>
|
||||
<text>人成团</text>
|
||||
</view>
|
||||
<count-down :isDay="true" :tipText="'剩余 '" :dayText="' 天 '" :hourText="' : '" :minuteText="' : '" :secondText="' '" :datatime="item.stopTime / 1000"></count-down>
|
||||
<count-down :isDay="true" :tipText="'剩余 '" :dayText="' 天 '" :hourText="' : '" :minuteText="' : '" :secondText="' '" :datatime="item.stopTime"></count-down>
|
||||
</view>
|
||||
<view class="spellBnt" @click="groupRule(item.id)">
|
||||
去拼单
|
||||
|
@ -19,8 +19,9 @@
|
||||
<view class="tui-group__box tui-mtop__20">
|
||||
<tui-divider backgroundColor="#fff" width="70%" gradual >
|
||||
<view class="tui-divider__content">
|
||||
<text v-if="pinkBool == 0">拼团失败</text>
|
||||
<text v-if="pinkBool == 0">进行中</text>
|
||||
<text v-if="pinkBool == 1">拼团成功</text>
|
||||
<text v-if="pinkBool == -1">拼团失败</text>
|
||||
</view>
|
||||
</tui-divider>
|
||||
<view class="tui-group__title" v-if="pinkBool == 0">
|
||||
@ -30,7 +31,7 @@
|
||||
</view>
|
||||
<view class="tui-group-countdown" v-if="pinkBool == 0">
|
||||
<view class="tui-countdown-right">剩余</view>
|
||||
<count-down :isDay="true" :tipText="'倒计时 '" :dayText="' 天 '" :hourText="' 时 '" :minuteText="' 分 '" :secondText="' 秒'" :datatime="pinkT.stopTime / 1000"></count-down>
|
||||
<count-down :isDay="true" :tipText="'倒计时 '" :dayText="' 天 '" :hourText="' 时 '" :minuteText="' 分 '" :secondText="' 秒'" :datatime="pinkT.stopTime"></count-down>
|
||||
<view class="tui-countdown-left">结束</view>
|
||||
</view>
|
||||
<view class="tui-user__box">
|
||||
|
@ -306,15 +306,13 @@ export default {
|
||||
useIntegral() {
|
||||
this.computedPrice()
|
||||
},
|
||||
$yroute(n) {
|
||||
if (n.name === NAME) this.getCartInfo()
|
||||
},
|
||||
shipping_type() {
|
||||
this.computedPrice()
|
||||
},
|
||||
},
|
||||
onShow: function() {
|
||||
onLoad: function() {
|
||||
let that = this
|
||||
console.log('loadddddddd')
|
||||
this.$store.dispatch('getUser', true)
|
||||
that.getCartInfo()
|
||||
console.log(that.$yroute)
|
||||
@ -402,7 +400,8 @@ export default {
|
||||
this.storeSelfMention = res.data.storeSelfMention
|
||||
this.computedPrice()
|
||||
})
|
||||
.catch(() => {
|
||||
.catch((error) => {
|
||||
console.log(error)
|
||||
uni.showToast({
|
||||
title: '加载订单数据失败',
|
||||
icon: 'none',
|
||||
|
Reference in New Issue
Block a user