cashier_wx/pages/index/text.vue

40 lines
733 B
Vue

<template>
<view>
<Nav />
<view class="content">
</view>
</view>
</template>
<script setup>
import {
ref,
reactive,
onMounted
} from "vue";
import {
onLoad,
onReady,
onShow
} from '@dcloudio/uni-app'
import Nav from '@/components/CustomNavbar.vue'; //导航栏
// pinia管理
import {
useNavbarStore
} from '@/stores/navbarStore';
const store = useNavbarStore();
// 动态更新导航栏配置
store.updateNavbarConfig({
showBack: true, //左边返回键
rightText: '', //右边文字
showSearch: true, //true是标题其他事文字
title: '我的页面',
isTransparent: false,
hasPlaceholder: false //是否要占位符
});
</script>
<style lang="scss" scoped>
.content {}
</style>