| | |
| | | <div class="font-48">{{ $t('等待买家付款') }}</div> |
| | | <div class="mt-16 font-24">{{ $t('预计收到付款') }} <span style="color: #1D91FF">{{ |
| | | orderDetail.expireTime |
| | | }}{{ $t('分钟') }}</span> |
| | | }}{{ $t('分钟') }}</span> |
| | | </div> |
| | | </div> |
| | | <div class="w-140 h-144"> |
| | |
| | | :create-order-time="fullTime(orderDetail.createTime)" :seller-name="orderDetail.c2cUserNickName" |
| | | :unit-price="orderDetail.symbolValue" /> |
| | | <!-- 已超时 --> |
| | | <cancel-success v-if="timeout" :title="$t('出售')" :count="orderDetail.coinAmount" :total-price="orderDetail.amount" |
| | | :order-number="orderDetail.orderNo" :create-order-time="fullTime(orderDetail.createTime)" |
| | | :seller-name="orderDetail.c2cUserNickName" :unit-price="orderDetail.symbolValue"> |
| | | <cancel-success v-if="timeout" :title="$t('出售')" :count="orderDetail.coinAmount" |
| | | :total-price="orderDetail.amount" :order-number="orderDetail.orderNo" |
| | | :create-order-time="fullTime(orderDetail.createTime)" :seller-name="orderDetail.c2cUserNickName" |
| | | :unit-price="orderDetail.symbolValue"> |
| | | <template #title>{{ $t('已超时') }}</template> |
| | | <template #desc>{{ $t('买家付款超时,您的订单已取消') }}</template> |
| | | </cancel-success> |
| | |
| | | import otcApi from "@/service/otc"; |
| | | |
| | | import { formatTime } from "@/utils/utis"; |
| | | import { customerServiceUrl } from "@/config"; |
| | | import { SET_ORDER_INFO } from "@/store/const.store"; |
| | | |
| | | export default { |
| | |
| | | } |
| | | }, |
| | | setup() { |
| | | onBeforeUnmount(()=>{ |
| | | onBeforeUnmount(() => { |
| | | let end = setInterval(function () { }, 10000); |
| | | for (let i = 1; i <= end; i++) { |
| | | clearInterval(i); |
| | | clearInterval(i); |
| | | } |
| | | }) |
| | | }, |
| | |
| | | return formatTime(new Date(time), 'yyyy-MM-dd hh:mm:ss') |
| | | }, |
| | | tokefu() { |
| | | this.$router.push('/customerService') |
| | | if (customerServiceUrl) { |
| | | window.location.href = customerServiceUrl; |
| | | } else { |
| | | this.$router.push('/customerService') |
| | | } |
| | | } |
| | | }, |
| | | watch: { |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | @import "@/assets/css/copy2.scss"; |
| | | |
| | | .border-ra { |
| | | border-radius: 20px; |
| | | } |