style: 订单详情nav展示问题

This commit is contained in:
2026-07-14 15:56:55 +08:00
parent 74a4f25ebd
commit 585fd6fb7e
3 changed files with 37 additions and 5 deletions
+5 -3
View File
@@ -51,6 +51,7 @@
<script setup>
import { ref, onMounted, onUnmounted, watch } from 'vue'
import * as IndexApi from '@/sheep/api/index/index'
import sheep from '@/sheep'
const USE_STATIC_START_PAGE = false
@@ -73,6 +74,8 @@ let nativeSkipViewId = ''
let plusReadyListenerBound = false
let lastVideoTime = 0
const appStore = sheep.$store('app')
const normalizeAppFileUrl = (path) => {
const p = String(path || '')
if (!p) return ''
@@ -387,9 +390,8 @@ onUnmounted(() => {
function toHome() {
clearTimers()
isLoading.value = false
uni.reLaunch({
url: '/pages/index/index',
})
const url = appStore?.bizMode === 'merchant' ? '/pages/merchant/pickupList' : '/pages/index/index'
uni.reLaunch({ url })
}
function onMediaClick() {
+1 -1
View File
@@ -20,7 +20,7 @@
</view>
<view
class="detail-goods"
:style="[{ marginTop: state.orderInfo.receiverAreaId > 0 ? '0' : '-40rpx' }]"
:style="[{ marginTop: state.orderInfo.receiverAreaId > 0 ? '0' : '0' }]"
>
<card_order
class="order-goods"