This commit is contained in:
杨鹏
2025-09-09 22:07:09 +08:00
parent 4e5d687c18
commit 1a1bbec15c
9 changed files with 404 additions and 9 deletions
+7 -2
View File
@@ -14,6 +14,7 @@
:opacityBgUi="opacityBgUi"
@search="(e) => emits('search', e)"
:defaultSearch="defaultSearch"
:leftIcon="leftIcon"
/>
<!-- 顶部导航栏-情况2装修组件导航栏-标准 -->
@@ -135,6 +136,10 @@
type: Boolean,
default: false,
},
leftIcon: {
type: String,
default: 'left',
},
});
const emits = defineEmits(['search']);
@@ -213,11 +218,11 @@
// #endif
// 组件中使用 onMounted 监听页面加载,不是页面组件不使用 onShow
onMounted(()=>{
onMounted(() => {
if (!isEmpty(shareInfo.value)) {
sheep.$platform.share.updateShareInfo(shareInfo.value);
}
})
});
</script>
<style lang="scss" scoped>