Commit 2d4fd797 by yancanhua

fix: 前端代码优化

1 parent c89d74ba
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<van-button class="dialog-footer_but" type="default" round block @click="handleClose()">取消</van-button> <van-button class="dialog-footer_but" type="default" round block @click="handleClose()">取消</van-button>
<van-button class="dialog-footer_but" type="primary" style="margin-left: 12px;" hairline round block @click="toNextAucVeh()"> <van-button class="dialog-footer_but" type="primary" style="margin-left: 12px;" hairline round block @click="toNextAucVeh()">
继续参拍 继续参拍
<text v-if="nextAucVehData.remainSecond">({{ nextAucVehData.remainSecond || 0 }}s)</text> <text v-if="nextAucVehData.remainSecond">({{ Math.floor(nextAucVehData.remainSecond || 0) }}s)</text>
</van-button> </van-button>
</view> </view>
......
...@@ -348,7 +348,7 @@ export default class roundBidBottom extends Vue { ...@@ -348,7 +348,7 @@ export default class roundBidBottom extends Vue {
if (data.significantPriceIncrease) { if (data.significantPriceIncrease) {
setTimeout(() => { setTimeout(() => {
uni.showToast({ title: '有用户大幅度加价!最新价升至' + this.resultPrice + '万', icon: 'none' }); uni.showToast({ title: '有用户大幅度加价!最新价升至' + this.resultPrice + '万', icon: 'none' });
}, 300); }, 700);
} }
const pages = getCurrentPages(); const pages = getCurrentPages();
const currentPage = pages[pages.length - 1]; const currentPage = pages[pages.length - 1];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!