HomeMainTab.uvue
895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<template>
<!--
简化版首页:仅产品介绍(精品套餐),无多场景切换。
TabBarShell:横/竖 MainTabShell + 槽,见 TabBarShell.uvue
-->
<view class="hf-home-main-tab">
<view class="hf-home-main-inner">
<BoutiqueHomePanel :logic="logic" />
</view>
</view>
</template>
<script setup lang="uts">
import BoutiqueHomePanel from "@/pages/boutique/components/BoutiqueHomePanel.uvue";
import type { BoutiqueLogic } from "@/pages/boutique/useBoutiqueLogic.uts";
const props = defineProps<{
logic: BoutiqueLogic
}>();
const logic = props.logic;
</script>
<style scoped lang="scss">
.hf-home-main-tab {
flex: 1;
width: 100%;
height: 100%;
min-height: 0;
min-width: 0;
display: flex;
flex-direction: column;
}
.hf-home-main-inner {
flex: 1;
width: 100%;
min-height: 0;
min-width: 0;
display: flex;
flex-direction: column;
}
</style>