Compare commits
2 Commits
9c725735af
...
ae040fb280
Author | SHA1 | Date | |
---|---|---|---|
|
ae040fb280 | ||
|
a6660e6d77 |
@ -147,7 +147,7 @@ const tipOpen = () => {
|
|||||||
<div class="min-w-50px">{{auctionData?.nowAuctionPrice?.nextPrice}}</div>
|
<div class="min-w-50px">{{auctionData?.nowAuctionPrice?.nextPrice}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="quoteStatus&&auctionData?.nowAuctionPrice&&auctionData?.nowAuctionPrice?.nowPrice!=='0'" class="mt-10px mb-10px">
|
<div v-if="quoteStatus&&auctionData?.nowAuctionPrice?.nowPrice&&auctionData?.nowAuctionPrice?.nowPrice!=='0'" class="mt-10px mb-10px">
|
||||||
<van-button @click.stop="goBuy" color="#FFB25F" class="w-344px !h-[40px]">
|
<van-button @click.stop="goBuy" color="#FFB25F" class="w-344px !h-[40px]">
|
||||||
<div>{{
|
<div>{{
|
||||||
`${t('live_room.confirm')} ${auctionData?.nowAuctionPrice?.currency} ${auctionData?.nowAuctionPrice?.nowPrice ?? 0}`
|
`${t('live_room.confirm')} ${auctionData?.nowAuctionPrice?.currency} ${auctionData?.nowAuctionPrice?.nowPrice ?? 0}`
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import pdfView from './pdfView'
|
import pdfView from './pdfView'
|
||||||
import { contractView } from "~/api/goods/index.js"
|
import { contractView } from "~/api/goods/index.js"
|
||||||
|
import { signOnline } from "~/api/goods/index.js"
|
||||||
import { authStore } from "~/stores/auth/index.js"
|
import { authStore } from "~/stores/auth/index.js"
|
||||||
import {useI18n} from "vue-i18n";
|
import {useI18n} from "vue-i18n";
|
||||||
|
|
||||||
@ -45,10 +46,24 @@ const handleCollapseChange = (name) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const goSignature = () => {
|
const goSignature = async () => {
|
||||||
|
const res = await signOnline({
|
||||||
|
auctionArtworkUuid:payment.value.auctionArtworkUuid
|
||||||
|
})
|
||||||
|
if (res.status===0){
|
||||||
|
if(res.data.signType==='fdd'){
|
||||||
|
window.location.href = res.data.fddVerifyUrl
|
||||||
|
}else{
|
||||||
router.push({
|
router.push({
|
||||||
path: '/signature/panel'
|
path: '/signature/panel'
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
console.log('goSignature')
|
||||||
|
// router.push({
|
||||||
|
// path: '/signature/panel'
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user