From 9a1dcad104d41c612211826a62e5367ff66ae4f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com>
Date: Wed, 21 Jan 2026 13:03:01 +0800
Subject: [PATCH] =?UTF-8?q?feat(homepage):=20=E6=9B=B4=E6=96=B0=E9=A6=96?=
=?UTF-8?q?=E9=A1=B5=E5=86=85=E5=AE=B9=E4=B8=BA=E7=A0=B4=E4=BA=A7=E4=BA=8B?=
=?UTF-8?q?=E5=8A=A1=E6=9C=8D=E5=8A=A1=E5=B9=B3=E5=8F=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 将默认租户ID从10398更新为10586
- 更改网站名称为"行于思破产事务服务平台"
- 替换首页为破产事务相关的新闻、公告和申报系统
- 更新头部导航栏和底部信息显示新的网站名称
- 修改应用布局背景为透明
- 更新PM2配置中的应用名称和端口设置
- 调整导航栏结构,增加搜索功能和品牌展示区域
---
.env.example | 4 +-
app/components/SiteFooter.vue | 2 +-
app/components/SiteHeader.vue | 455 ++++++++++--
app/config/setting.ts | 2 +-
app/layouts/default.vue | 2 +-
app/pages/index.vue | 650 +++++++++++++-----
app/pages/qr-confirm.vue | 2 +-
app/utils/domain.ts | 2 +-
ecosystem.config.cjs | 6 +-
nuxt.config.ts | 4 +-
server/api/cms/cms-website/getSiteInfo.get.ts | 2 +-
11 files changed, 880 insertions(+), 251 deletions(-)
diff --git a/.env.example b/.env.example
index 4f95a49..5d8152a 100644
--- a/.env.example
+++ b/.env.example
@@ -1,12 +1,12 @@
# Tenant / headers
# - TenantId header will be sent on every request.
# - Authorization header is taken from client storage (AccessToken) and forwarded by the Nuxt proxy.
-NUXT_PUBLIC_TENANT_ID=10398
+NUXT_PUBLIC_TENANT_ID=10586
# Upstream APIs (required)
NUXT_PUBLIC_SERVER_API_BASE=https://server.websoft.top/api
NUXT_PUBLIC_MODULES_API_BASE=https://cms-api.websoft.top/api
-
+
# Optional (only if file server is not the same origin as SERVER_API_BASE)
# Defaults to the origin of `NUXT_PUBLIC_SERVER_API_BASE` (e.g. https://server.websoft.top)
# NUXT_PUBLIC_FILE_SERVER_BASE=https://file.wsdns.cn
diff --git a/app/components/SiteFooter.vue b/app/components/SiteFooter.vue
index b81bc18..d72fa1f 100644
--- a/app/components/SiteFooter.vue
+++ b/app/components/SiteFooter.vue
@@ -39,7 +39,7 @@
diff --git a/app/config/setting.ts b/app/config/setting.ts
index 3f01918..cec79ca 100644
--- a/app/config/setting.ts
+++ b/app/config/setting.ts
@@ -3,5 +3,5 @@ export const MODULES_API_URL = '/api/_modules'
export const FILE_SERVER = '/api/_file'
// Some endpoints use this as a special TenantId override (defaults to current tenant)
-export const TEMPLATE_ID = '10398'
+export const TEMPLATE_ID = '10586'
diff --git a/app/layouts/default.vue b/app/layouts/default.vue
index 0a574ac..647574b 100644
--- a/app/layouts/default.vue
+++ b/app/layouts/default.vue
@@ -54,7 +54,7 @@ if (import.meta.client) {
+
diff --git a/app/pages/qr-confirm.vue b/app/pages/qr-confirm.vue
index ae7c1e0..991a3d7 100644
--- a/app/pages/qr-confirm.vue
+++ b/app/pages/qr-confirm.vue
@@ -57,7 +57,7 @@ const userInfo = ref(null)
const confirmLoading = ref(false)
const cancelLoading = ref(false)
-const appName = ref('网宿软件')
+const appName = ref('行于思破产事务服务平台')
const appLogo = ref('/favicon.ico')
const deviceInfo = ref({
diff --git a/app/utils/domain.ts b/app/utils/domain.ts
index 7da1016..d1b3a67 100644
--- a/app/utils/domain.ts
+++ b/app/utils/domain.ts
@@ -1,4 +1,4 @@
-export function getTenantId(defaultTenantId = '10398') {
+export function getTenantId(defaultTenantId = '10586') {
if (!import.meta.client) return defaultTenantId
try {
return localStorage.getItem('TenantId') || defaultTenantId
diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs
index c109a9a..8b452c5 100644
--- a/ecosystem.config.cjs
+++ b/ecosystem.config.cjs
@@ -1,7 +1,7 @@
module.exports = {
apps: [
{
- name: 'nuxt4-10398',
+ name: 'nuxt4-10586',
cwd: __dirname,
script: '.output/server/index.mjs',
interpreter: 'node',
@@ -9,8 +9,8 @@ module.exports = {
env: {
NODE_ENV: 'production',
NITRO_HOST: '0.0.0.0',
- NITRO_PORT: 10398,
- PORT: 10398,
+ NITRO_PORT: 10586,
+ PORT: 10586,
},
},
],
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 56443bd..3488101 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -6,7 +6,7 @@ function getOrigin(url: string) {
}
}
-const tenantId = process.env.NUXT_PUBLIC_TENANT_ID || '10398'
+const tenantId = process.env.NUXT_PUBLIC_TENANT_ID || '10586'
const serverApiBase =
process.env.NUXT_PUBLIC_SERVER_API_BASE ||
process.env.NUXT_PUBLIC_SERVER_API ||
@@ -42,7 +42,7 @@ export default defineNuxtConfig({
modules: ['@nuxtjs/tailwindcss', './modules/fix-tailwind-postcss'],
app: {
head: {
- titleTemplate: (titleChunk) => (titleChunk ? `${titleChunk} - 网宿软件` : '网宿软件'),
+ titleTemplate: (titleChunk) => (titleChunk ? `${titleChunk} - 行于思破产事务服务平台` : '行于思破产事务服务平台'),
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
diff --git a/server/api/cms/cms-website/getSiteInfo.get.ts b/server/api/cms/cms-website/getSiteInfo.get.ts
index 9de267c..d491b5c 100644
--- a/server/api/cms/cms-website/getSiteInfo.get.ts
+++ b/server/api/cms/cms-website/getSiteInfo.get.ts
@@ -12,7 +12,7 @@ export default defineEventHandler(async (event) => {
getHeader(event, 'tenantid') ||
config.public.tenantId ||
config.public.TenantId ||
- '10398'
+ '10586'
const authorization = getHeader(event, 'authorization')
try {