| | |
| | | <div class="pt-30 px-32 pb-32 tabBackground"> |
| | | <template v-if="detail.direction == 'buy'"> |
| | | <template v-if="detail.state == 0"> |
| | | <div class="font-40 c2cColor" v-if="time > 0">{{ $t('订单将在倒计时结束时取消。') }} <span class="text-blue">{{ time }}</span></div> |
| | | <div class="font-40 c2cColor" v-if="time > 0">{{ $t('订单将在倒计时结束时取消。') }} <span class="text-blue">{{ time |
| | | }}</span></div> |
| | | |
| | | <div class="font-40 c2cColor" v-else>{{ $t('您的订单已超时') }}</div> |
| | | <van-count-down class="flex font-700 mx-10" :time="time"> |
| | | <template #default="timeData"> |
| | | <span class="block">{{ timeData.hours }}</span> |
| | | <span class="colon">:</span> |
| | | <span class="block">{{ timeData.minutes }}</span> |
| | | <span class="colon">:</span> |
| | | <span class="block">{{ timeData.seconds }}</span> |
| | | </template> |
| | | </van-count-down> |
| | | <template #default="timeData"> |
| | | <span class="block">{{ timeData.hours }}</span> |
| | | <span class="colon">:</span> |
| | | <span class="block">{{ timeData.minutes }}</span> |
| | | <span class="colon">:</span> |
| | | <span class="block">{{ timeData.seconds }}</span> |
| | | </template> |
| | | </van-count-down> |
| | | <!-- <span class="block" v-if="time.hours">{{ |
| | | time.hours |
| | | }}</span> |
| | |
| | | }, 2000) |
| | | } |
| | | }) |
| | | |
| | | |
| | | }, |
| | | onMore() { // 加载更多 |
| | | this.fetchList(this.lastMsgId) |
| | |
| | | this.fetchList() |
| | | setTimeout(() => { |
| | | this.bottomScrollClick() |
| | | },1000) |
| | | }, 1000) |
| | | // setTimeout(() => { |
| | | // window.scrollTo(0, document.documentElement.scrollHeight) |
| | | // }, 1000) |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | @import "@/assets/css/copy2.scss"; |
| | | |
| | | .bg-left { |
| | | background: #fff !important; |
| | | } |
| | |
| | | outline: none; |
| | | } |
| | | } |
| | | .chat-page{ |
| | | |
| | | .chat-page { |
| | | overflow: auto; |
| | | } |
| | | |
| | |
| | | top: 50%; |
| | | transform: translateY(-50%); |
| | | } |
| | | .bottom-box{ |
| | | background: $main_background !important; |
| | | |
| | | .bottom-box { |
| | | @include themify() { |
| | | background: themed("main_background"); |
| | | } |
| | | } |
| | | </style> |