feat:共富商城商品列表和商品详细信息

This commit is contained in:
weiwei committed 2025-09-09 19:13:16 +08:00
1 parent 46c1c41331
commit 4ef150f57b
7 files changed
+200 -49

No files matched your search

@@ -21,6 +21,7 @@ const props = withDefaults(defineProps<Props>(), {
mainIsScroll: false,
bg: "",
})
const emit = defineEmits(["scroll"])
const state = reactive({
navBgTitleColor_: props.navBgTitleColor,
@@ -46,10 +47,11 @@ onMounted(() => {
})
function scroll(e) {
if (!router.hasTabbar()) return
if (!props.scrollHideTabbar) return
const offset = 50
const top = e.target.scrollTop
// if (!router.hasTabbar()) return
// if (!props.scrollHideTabbar) return
// const offset = 50
// const top = e.target.scrollTop
emit("scroll", e)
}
function defaultPage() {
@@ -67,7 +69,7 @@ function initBackStyle() {
break
case "just-flot-back":
state.visble.topSafe = true
state.visble.topNav = false
state.visble.topNav = true
break
default:
break