| | |
| | | <van-button class="disable flex-1 h-80 enter" color="#CCCFD6" type="primary">{{ $t('我已确认收款') }} |
| | | </van-button> |
| | | </div> |
| | | <van-popup class="w-full h-full" position="right" v-model="isShowCancelOrder"> |
| | | <van-popup class="w-full h-full" position="right" v-model:show="isShowCancelOrder"> |
| | | <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" |
| | |
| | | import OtcCircle from "@/components/otcCircle/index.vue"; |
| | | import CancelSuccess from "../../c2cOrder/components/order-generation/CancelSuccess.vue"; |
| | | import loading from "@/components/loading/index.vue"; |
| | | |
| | | import { onBeforeUnmount } from "vue"; |
| | | import otcApi from "@/service/otc"; |
| | | |
| | | import { formatTime } from "@/utils/utis"; |
| | |
| | | clearTimeout(this.timeStatus) |
| | | } |
| | | }, |
| | | setup() { |
| | | onBeforeUnmount(()=>{ |
| | | let end = setInterval(function () { }, 10000); |
| | | for (let i = 1; i <= end; i++) { |
| | | clearInterval(i); |
| | | } |
| | | }) |
| | | }, |
| | | methods: { |
| | | async getOrderDetail() { |
| | | console.log(this.orderNumber) |