feat: 增加标题等信息
This commit is contained in:
parent
a7dcb41d08
commit
763f59d088
@ -75,30 +75,46 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/component-auto-import",
|
"path": "pages/index/demo/component-auto-import",
|
||||||
"type": "page"
|
"type": "page",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "easycom 自动导入"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/mp-weixin-share",
|
"path": "pages/index/demo/mp-weixin-share",
|
||||||
"type": "page"
|
"type": "page",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "微信分享"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/navbar",
|
"path": "pages/index/demo/navbar",
|
||||||
"type": "page",
|
"type": "page",
|
||||||
"style": {
|
"style": {
|
||||||
|
"navigationBarTitleText": "自定义导航栏",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/pages-auto-import",
|
"path": "pages/index/demo/pages-auto-import",
|
||||||
"type": "page"
|
"type": "page",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "pages 自动导入"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/pinia",
|
"path": "pages/index/demo/pinia",
|
||||||
"type": "page"
|
"type": "page",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "pinia+持久化"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/request",
|
"path": "pages/index/demo/request",
|
||||||
"type": "page"
|
"type": "page",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "request请求+请求拦截"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/throughout",
|
"path": "pages/index/demo/throughout",
|
||||||
@ -119,19 +135,31 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/uni-ui-icons",
|
"path": "pages/index/demo/uni-ui-icons",
|
||||||
"type": "page"
|
"type": "page",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "UniUI Icons 使用"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/uni-ui",
|
"path": "pages/index/demo/uni-ui",
|
||||||
"type": "page"
|
"type": "page",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "UniUI 使用"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/unocss-icons",
|
"path": "pages/index/demo/unocss-icons",
|
||||||
"type": "page"
|
"type": "page",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "UnoCss Icons 使用"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/index/demo/unocss",
|
"path": "pages/index/demo/unocss",
|
||||||
"type": "page"
|
"type": "page",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "UnoCss 使用"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"subPackages": []
|
"subPackages": []
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<route lang="json5">
|
||||||
|
{
|
||||||
|
style: { navigationBarTitleText: 'easycom 自动导入' },
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="m-4">
|
<view class="m-4">
|
||||||
<fly-header></fly-header>
|
<fly-header></fly-header>
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<route lang="json5">
|
||||||
|
{
|
||||||
|
style: { navigationBarTitleText: '微信分享' },
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="m-10 text-center">
|
<view class="m-10 text-center">
|
||||||
<view class="text-8">微信分享页</view>
|
<view class="text-8">微信分享页</view>
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<route lang="json5">
|
||||||
|
{
|
||||||
|
style: { navigationBarTitleText: '自定义导航栏', navigationStyle: 'custom' },
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<fly-navbar />
|
<fly-navbar />
|
||||||
<view class="bg-green-300 min-h-20" :style="{ paddingTop: safeAreaInsets?.top + 'px' }">
|
<view class="bg-green-300 min-h-20" :style="{ paddingTop: safeAreaInsets?.top + 'px' }">
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<route lang="json5">
|
||||||
|
{
|
||||||
|
style: { navigationBarTitleText: 'pages 自动导入' },
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="m-4">
|
<view class="m-4">
|
||||||
<view>vite.config.ts里面没有配置exclude的都会自动导入</view>
|
<view>vite.config.ts里面没有配置exclude的都会自动导入</view>
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<route lang="json5">
|
||||||
|
{
|
||||||
|
style: { navigationBarTitleText: 'pinia+持久化' },
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="flex justify-center items-center text-blue-500 mt-4 mb-4">
|
<view class="flex justify-center items-center text-blue-500 mt-4 mb-4">
|
||||||
<view class="w-20">Count: {{ countStore.count }}</view>
|
<view class="w-20">Count: {{ countStore.count }}</view>
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<route lang="json5">
|
||||||
|
{
|
||||||
|
style: { navigationBarTitleText: 'request请求+请求拦截' },
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<button @click="handleRequest">请求</button>
|
<button @click="handleRequest">请求</button>
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<route lang="json5">
|
||||||
|
{
|
||||||
|
style: { navigationBarTitleText: 'UniUI Icons 使用' },
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="m-4">
|
<view class="m-4">
|
||||||
<uni-icons type="contact" size="30"></uni-icons>
|
<uni-icons type="contact" size="30"></uni-icons>
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<route lang="json5">
|
||||||
|
{
|
||||||
|
style: { navigationBarTitleText: 'UniUI 使用' },
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<uni-card>
|
<uni-card>
|
||||||
<text>这是一个基础卡片示例,内容较少,此示例展示了一个没有任何属性不带阴影的卡片。</text>
|
<text>这是一个基础卡片示例,内容较少,此示例展示了一个没有任何属性不带阴影的卡片。</text>
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<route lang="json5">
|
||||||
|
{
|
||||||
|
style: { navigationBarTitleText: 'UnoCss Icons 使用' },
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="m-4">
|
<view class="m-4">
|
||||||
<view class="mb-2">
|
<view class="mb-2">
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
<route lang="json5">
|
||||||
|
{
|
||||||
|
style: { navigationBarTitleText: 'UnoCss 使用' },
|
||||||
|
}
|
||||||
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="flex flex-col justify-center items-center text-5 h-8 leading-8 mt-20">
|
<view class="flex flex-col justify-center items-center text-5 h-8 leading-8 mt-20">
|
||||||
<view class="text-green-500">文字颜色 text-light-50</view>
|
<view class="text-green-500">文字颜色 text-light-50</view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user