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