Просмотр исходного кода

feat(manifest): 更新应用名称为 city-gather

将项目中的应用名称从 "wechat-template-v3" 修改为 "city-gather",并同步更新了相关页面内容及 tabbar 配置。
zhangtao 3 недель назад
Родитель
Сommit
2f1e190752
4 измененных файлов с 4 добавлено и 4 удалено
  1. 1 1
      manifest.config.ts
  2. 1 1
      src/composables/useTabbar.ts
  3. 1 1
      src/manifest.json
  4. 1 1
      src/pages/my/index.vue

+ 1 - 1
manifest.config.ts

@@ -1,7 +1,7 @@
 import { defineManifestConfig } from '@uni-helper/vite-plugin-uni-manifest'
 
 export default defineManifestConfig({
-  'name': 'wechat-template-v3',
+  'name': 'city-gather',
   'appid': '__UNI__1208592',
   'description': '',
   'versionName': '1.0.0',

+ 1 - 1
src/composables/useTabbar.ts

@@ -8,7 +8,7 @@ export interface TabbarItem {
 
 const tabbarItems = ref<TabbarItem[]>([
   { name: 'home', value: null, active: true, title: '首页', icon: 'home' },
-  { name: 'about', value: null, active: false, title: '关于', icon: 'user' },
+  { name: 'my', value: null, active: false, title: '我的', icon: 'user' },
 ])
 
 export function useTabbar() {

+ 1 - 1
src/manifest.json

@@ -1,5 +1,5 @@
 {
-  "name": "wechat-template-v3",
+  "name": "city-gather",
   "appid": "__UNI__1208592",
   "description": "",
   "versionName": "1.0.0",

+ 1 - 1
src/pages/my/index.vue

@@ -10,6 +10,6 @@ definePage({
 
 <template>
   <view class="min-h-screen bg-gray-100 py-3 dark:bg-[var(--wot-dark-background)]">
-    123121
+    我的
   </view>
 </template>