diff --git a/app/api/goods/index.js b/app/api/goods/index.js index 3e2a5e7..5540093 100644 --- a/app/api/goods/index.js +++ b/app/api/goods/index.js @@ -54,6 +54,14 @@ export async function logSendlog(data) { data }) } +export async function signOnline(data) { + + return await request( { + url:'/api/v1/contract/sign-online', + method: 'POST', + data + }) +} export async function signOffline(data) { return await request( { @@ -69,4 +77,20 @@ export async function fddCheck(data) { method: 'POST', data }) +} +export async function createBuyOrder(data) { + + return await request( { + url:'/api/v1/m/auction/createBuyOrder', + method: 'POST', + data + }) +} +export async function orderQuery(data) { + + return await request( { + url:'/api/v1/payment/order/query', + method: 'POST', + data + }) } \ No newline at end of file diff --git a/app/app.vue b/app/app.vue index a373a9a..a1611f7 100644 --- a/app/app.vue +++ b/app/app.vue @@ -82,5 +82,7 @@ provide('slideDirection', slideDirection) :root { --safe-area-inset-bottom: env(safe-area-inset-bottom); } - +.van-cell.van-field .van-cell__title, .van-cell__value{ + flex: initial; +} \ No newline at end of file diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index 598c472..3164524 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -7,7 +7,7 @@ const route = useRoute() const router = useRouter() const {auctionDetail} = goodStore(); function onBack() { - if (fullLive.value){ + if (fullLive.value&&route.name==='index'){ fullLive.value=false return } @@ -31,7 +31,7 @@ const subTitle = computed(() => { return route.meta.subTitle ? t(route.meta.subTitle) : '' }) const showLeftArrow = computed(() => route.name && routeWhiteList.includes(route.name)) - +console.log('route.name',route.name)