还原AppLayout header

This commit is contained in:
2025-12-25 09:40:42 +08:00
parent 95c22f6d0f
commit b0a62b6921
3 changed files with 5 additions and 10 deletions

View File

@@ -6,7 +6,6 @@
>
<!-- 顶部头部区域 -->
<view
v-if="showHeader || defaultShow"
class="container-header"
:style="border ? { borderBottom: `2rpx solid ${borderColor}` } : { borderBottom: 'none' }"
>
@@ -88,15 +87,11 @@ defineProps({
type: Boolean,
default: true,
},
showHeader: {
type: Boolean,
default: false,
},
});
const defaultShow = computed(()=>{
return isMiniProgram.value
})
// const defaultShow = computed(()=>{
// return isMiniProgram.value
// })
const handleScrollToLower = () => {
emit('onScrollBottom');

View File

@@ -1,5 +1,5 @@
<template>
<AppLayout title="" :use-scroll-view="false" showHeader>
<AppLayout title="" :use-scroll-view="false" >
<template #headerleft v-if="isMiniProgram">
<view class="btnback">
<image src="@/static/icon/back.png" @click="navBack"></image>

View File

@@ -1,5 +1,5 @@
<template>
<AppLayout title="" backGorundColor="#F4F4F4" showHeader>
<AppLayout title="" backGorundColor="#F4F4F4" >
<template #headerleft v-if="isMiniProgram">
<view class="btnback">
<image src="@/static/icon/back.png" @click="navBack"></image>