1
李凌
2025-09-19 e1e51991ad91c14fa00c5cf46f95e514f676ac4d
src/views/C2C/c2c-trade/page/SellGenerate.vue
@@ -10,7 +10,7 @@
            <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">
@@ -87,9 +87,10 @@
          :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>
@@ -110,6 +111,7 @@
import otcApi from "@/service/otc";
import { formatTime } from "@/utils/utis";
import { customerServiceUrl } from "@/config";
import { SET_ORDER_INFO } from "@/store/const.store";
export default {
@@ -141,10 +143,10 @@
    }
  },
  setup() {
    onBeforeUnmount(()=>{
    onBeforeUnmount(() => {
      let end = setInterval(function () { }, 10000);
      for (let i = 1; i <= end; i++) {
          clearInterval(i);
        clearInterval(i);
      }
    })
  },
@@ -214,7 +216,11 @@
      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: {
@@ -252,6 +258,7 @@
<style lang="scss" scoped>
@import "@/assets/css/copy2.scss";
.border-ra {
  border-radius: 20px;
}