|
@@ -1,6 +1,7 @@
|
|
|
<!-- 使用 type="home" 属性设置首页,其他页面不需要设置,默认为page;推荐使用json5,更强大,且允许注释 -->
|
|
<!-- 使用 type="home" 属性设置首页,其他页面不需要设置,默认为page;推荐使用json5,更强大,且允许注释 -->
|
|
|
<route lang="json5" type="home">
|
|
<route lang="json5" type="home">
|
|
|
{
|
|
{
|
|
|
|
|
+ layout: 'tabbar',
|
|
|
style: {
|
|
style: {
|
|
|
navigationStyle: 'custom',
|
|
navigationStyle: 'custom',
|
|
|
navigationBarTitleText: '首页',
|
|
navigationBarTitleText: '首页',
|
|
@@ -28,7 +29,6 @@
|
|
|
<text class="text-green-500">tabbar</text>
|
|
<text class="text-green-500">tabbar</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <fg-tabbar />
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|