# hytrip
**Repository Path**: ginvip/hytrip
## Basic Information
- **Project Name**: hytrip
- **Description**: vue3+vite+pinia+vant4开发类弘源旅途
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-02-18
- **Last Updated**: 2024-02-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# hytrip
This template should help get you started developing with Vue 3 in Vite.
## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
## Customize configuration
See [Vite Configuration Reference](https://vitejs.dev/config/).
## 创建项目
```sh
npm init vue@latest
npm install
npm run dev
npm run build
```
## 关于 tabbar 栏跳转到部分页面需要隐藏的方案
### 方案一:通过路由中的 meta 属性实现
1. 给需要隐藏的路由设置 meta
```
{
path: "/city",
component: () => import("@/views/city/city.vue"),
meta: {
hideTabBar: true,
},
},
```
2. 在指定的组件中设置 v-if
```
```
### 方案二:通过 css 样式实现
```
/* 遮罩tabbar栏 */
.top-page {
position: relative;
z-index: 9;
height: 100vh;
background-color: #fff;
overflow-y: auto;
}
```