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>
|
||||
|
||||
<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]">
|
||||
<div>{{
|
||||
`${t('live_room.confirm')} ${auctionData?.nowAuctionPrice?.currency} ${auctionData?.nowAuctionPrice?.nowPrice ?? 0}`
|
||||
|
@ -1,6 +1,7 @@
|
||||
<script setup>
|
||||
import pdfView from './pdfView'
|
||||
import { contractView } from "~/api/goods/index.js"
|
||||
import { signOnline } from "~/api/goods/index.js"
|
||||
import { authStore } from "~/stores/auth/index.js"
|
||||
import {useI18n} from "vue-i18n";
|
||||
|
||||
@ -45,10 +46,24 @@ const handleCollapseChange = (name) => {
|
||||
}
|
||||
}
|
||||
|
||||
const goSignature = () => {
|
||||
router.push({
|
||||
path: '/signature/panel'
|
||||
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({
|
||||
path: '/signature/panel'
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
console.log('goSignature')
|
||||
// router.push({
|
||||
// path: '/signature/panel'
|
||||
// })
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user