Commit 74d147b4 by yancanhua

fix: 自测问题修改

1 parent dc3f0334
......@@ -6,10 +6,10 @@
<link rel="icon" href="/favicon/favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>专电优拍</title>
<!-- <script type="module" crossorigin src="https://aus.test.glsx.com.cn/assets/index-DZWhTIu2.js"></script>
<link rel="stylesheet" crossorigin href="https://aus.test.glsx.com.cn/assets/index-CAAxcolk.css"> -->
<script type="module" crossorigin src="https://aus.glsx.com.cn/assets/index-CxEhTUxo.js"></script>
<link rel="stylesheet" crossorigin href="https://aus.glsx.com.cn/assets/index-CAAxcolk.css">
<script type="module" crossorigin src="https://aus.test.glsx.com.cn/assets/index-BxuA5MCC.js"></script>
<link rel="stylesheet" crossorigin href="https://aus.test.glsx.com.cn/assets/index-CAAxcolk.css">
<!-- <script type="module" crossorigin src="https://aus.glsx.com.cn/assets/index-CxEhTUxo.js"></script>
<link rel="stylesheet" crossorigin href="https://aus.glsx.com.cn/assets/index-CAAxcolk.css"> -->
</head>
<body>
<div id="app"></div>
......
......@@ -185,7 +185,7 @@ import { Component, Prop, Vue } from "vue-facing-decorator";
import { AuctionOrderController } from "@/api/AuctionOrderController";
import { AuthService } from "@/common/AuthService";
import { BidController } from "@/api/BidController";
import { AuctionController } from "@/api/AuctionController";
@Component({
components: {}
......@@ -281,6 +281,7 @@ export default class roundBidBottom extends Vue {
} else {
if (this.auctionVehicle.auctionState == 'PREVIEW') { //预展中
this.pageState = 'PREVIEW';
this.getAuctionVehicleDetail();
} else if (this.auctionVehicle.auctionState == 'AUCTIONING') { //竞拍中
this.pageState = 'AUCTIONING';
this.getBidRemainSecData();
......@@ -291,6 +292,23 @@ export default class roundBidBottom extends Vue {
});
}
//等待竞拍中获取拍卖详情最新状态
getAuctionVehicleDetail(): void {
const that = this;
AuctionController.getAuctionVehicleDetailById(this.axios, this.auctionVehicle.aucvehId).then(res => {
const data = res.data || {};
if (data.auctionState == 'PREVIEW') { //预展中
this.pageState = 'PREVIEW';
setTimeout(() => {
that.getAuctionVehicleDetail();
}, 1600);
} else if (data.auctionState == 'AUCTIONING') { //竞拍中
this.pageState = 'AUCTIONING';
this.getBidRemainSecData();
}
});
}
//跳转到充值页面
toRechargePage() {
uni.navigateTo({ url: '/module/deposit/RechargePage' });
......@@ -408,7 +426,7 @@ export default class roundBidBottom extends Vue {
this.handleAddBid();
} else {
this.customBid = '';
this.isShowCustom = true;
this.isShowCustom = this.isShowCustom ? false : true;
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!