create-young-proj 0.5.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/template-uni-app/.vscode/vue-html.code-snippets +14 -0
- package/template-uni-app/README.md +24 -1
- package/template-uni-app/_env +3 -1
- package/template-uni-app/auto-imports.d.ts +3 -0
- package/template-uni-app/components.d.ts +1 -4
- package/template-uni-app/custom-plugins/multiconf.ts +3 -4
- package/template-uni-app/manifest.config.ts +88 -0
- package/template-uni-app/package.json +7 -0
- package/template-uni-app/pages.config.ts +58 -0
- package/template-uni-app/pnpm-lock.yaml +212 -1
- package/template-uni-app/src/App.vue +6 -1
- package/template-uni-app/src/apis/index.ts +17 -3
- package/template-uni-app/src/components/young-loading/young-loading.vue +2 -2
- package/template-uni-app/src/components/young-loading-mini/young-loading-mini.vue +38 -0
- package/template-uni-app/src/components/young-navbar/young-navbar.vue +3 -3
- package/template-uni-app/src/components/young-tabbar/young-tabbar.vue +14 -10
- package/template-uni-app/src/config/enum.ts +4 -3
- package/template-uni-app/src/env.d.ts +5 -4
- package/template-uni-app/src/layouts/default.vue +24 -0
- package/template-uni-app/src/layouts/tabbar.vue +28 -0
- package/template-uni-app/src/manifest.json +1 -9
- package/template-uni-app/src/pages/demo/index.vue +24 -0
- package/template-uni-app/src/pages/index.vue +22 -34
- package/template-uni-app/src/pages/my.vue +18 -22
- package/template-uni-app/src/pages.json +23 -18
- package/template-uni-app/src/static/back.png +0 -0
- package/template-uni-app/src/static/h.png +0 -0
- package/template-uni-app/src/static/home.png +0 -0
- package/template-uni-app/src/static/home_active.png +0 -0
- package/template-uni-app/src/static/more.png +0 -0
- package/template-uni-app/src/static/my.png +0 -0
- package/template-uni-app/src/static/my_active.png +0 -0
- package/template-uni-app/src/static/network.png +0 -0
- package/template-uni-app/src/store/system.ts +10 -2
- package/template-uni-app/src/utils/map.ts +3 -2
- package/template-uni-app/src/utils/system.ts +2 -2
- package/template-uni-app/tsconfig.json +5 -2
- package/template-uni-app/vite.config.ts +20 -24
- package/template-uni-app/volar.config.js +6 -0
- package/template-uni-app/src/components/young-tabbar-layout/young-tabbar-layout.vue +0 -27
@@ -1,27 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
* @Author: zhangyang
|
3
|
-
* @Date: 2023-07-18 18:04:48
|
4
|
-
* @LastEditTime: 2023-07-19 16:49:58
|
5
|
-
* @Description:
|
6
|
-
-->
|
7
|
-
<script lang="ts" setup>
|
8
|
-
withDefaults(defineProps<{
|
9
|
-
scrollY?: boolean;
|
10
|
-
bg?: string;
|
11
|
-
top?: number | string;
|
12
|
-
}>(), {
|
13
|
-
scrollY: true,
|
14
|
-
bg: 'transparent',
|
15
|
-
top: 0
|
16
|
-
});
|
17
|
-
const bottom = getNavbarHeihgt().safeBottom;
|
18
|
-
</script>
|
19
|
-
|
20
|
-
<template>
|
21
|
-
<div class="flex flex-col" :style="{ height: `calc(100vh - ${top}px - ${bottom}px - 44px)` }">
|
22
|
-
<scroll-view :scroll-y="scrollY" class="flex-1" :style="{ backgroundColor: bg }">
|
23
|
-
<slot></slot>
|
24
|
-
</scroll-view>
|
25
|
-
<young-tabbar :z="999" />
|
26
|
-
</div>
|
27
|
-
</template>
|