mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 16:23:26 +08:00
uniapp【修复】: 修复页面容器冲突
This commit is contained in:
@@ -19,17 +19,18 @@
|
||||
const _useLoginStore = useLoginStore();
|
||||
|
||||
const props = withDefaults(defineProps<{
|
||||
isBack : boolean,
|
||||
bgColor : string,
|
||||
titleColor : string,
|
||||
mode : "left" | "center",
|
||||
title : string,
|
||||
isShowStatusBarHeight : boolean;
|
||||
customStyle : any;
|
||||
contentStyle : any;
|
||||
handleCustomRouteJump : () => void | null,
|
||||
showLoginModalDom : boolean;
|
||||
placeholder : boolean;
|
||||
isBack ?: boolean,
|
||||
bgColor ?: string,
|
||||
titleColor ?: string,
|
||||
mode ?: "left" | "center",
|
||||
title ?: string,
|
||||
isShowStatusBarHeight ?: boolean;
|
||||
customStyle ?: any;
|
||||
contentStyle ?: any;
|
||||
handleCustomRouteJump ?: () => void,
|
||||
showLoginModalDom ?: boolean;
|
||||
placeholder ?: boolean;
|
||||
|
||||
}>(), {
|
||||
isBack: true,
|
||||
bgColor: '#eef2f6',
|
||||
@@ -39,7 +40,6 @@
|
||||
isShowStatusBarHeight: true,
|
||||
customStyle: {},
|
||||
contentStyle: {},
|
||||
handleCustomRouteJump: null,
|
||||
showLoginModalDom: false,
|
||||
placeholder: true,
|
||||
});
|
||||
|
||||
@@ -20,26 +20,27 @@
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
const props = withDefaults(defineProps<{
|
||||
isBack : boolean,
|
||||
bgColor : string,
|
||||
titleColor : string,
|
||||
mode : "left"| "center",
|
||||
title : string;
|
||||
isShowStatusBarHeight : boolean;
|
||||
customStyle : any;
|
||||
contentStyle : any;
|
||||
handleCustomRouteJump : () => void | null,
|
||||
showLoginModalDom : boolean;
|
||||
needSkeleton : boolean;
|
||||
isBack ?: boolean,
|
||||
bgColor ?: string,
|
||||
titleColor ?: string,
|
||||
mode ?: "left" | "center",
|
||||
title ?: string;
|
||||
isShowStatusBarHeight ?: boolean;
|
||||
customStyle ?: any;
|
||||
contentStyle ?: any;
|
||||
handleCustomRouteJump ?: () => void,
|
||||
showLoginModalDom ?: boolean;
|
||||
needSkeleton ?: boolean;
|
||||
skeleton ?: Array<{ [key : string] : any }>;
|
||||
skeletonLoading : boolean;
|
||||
placeholder : boolean;
|
||||
loadingPage : boolean;
|
||||
needLoadingPage : boolean;
|
||||
loadingText : string;
|
||||
loadingTextFontSize : string;
|
||||
loadingBgColor : string;
|
||||
loadingColor : string;
|
||||
skeletonLoading ?: boolean;
|
||||
placeholder ?: boolean;
|
||||
loadingPage ?: boolean;
|
||||
needLoadingPage ?: boolean;
|
||||
loadingText ?: string;
|
||||
loadingTextFontSize ?: string;
|
||||
loadingBgColor ?: string;
|
||||
loadingColor ?: string;
|
||||
|
||||
}>(), {
|
||||
isBack: true,
|
||||
bgColor: '#eef2f6',
|
||||
@@ -49,7 +50,6 @@
|
||||
isShowStatusBarHeight: true,
|
||||
customStyle: {},
|
||||
contentStyle: {},
|
||||
handleCustomRouteJump: null,
|
||||
showLoginModalDom: false,
|
||||
needSkeleton: false,
|
||||
skeleton: [],
|
||||
@@ -67,4 +67,4 @@
|
||||
.coreshop-skeleton {
|
||||
background-color: #fff;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
Reference in New Issue
Block a user