fix: 移除页脚平台外链,分支机构页补充办公场地图
汇吉采已独立,官网页脚不应再出现指向 SaaS 平台的「Powered by 云·企业官网」 外链(site.websoft.top)——这是全站唯一会请求外部的地方。 - 10 个模板的 Footer.vue 移除该外链(三种结构变体:带 Powered by 包裹 div 的 01/02/05/07、单行 <a> 的 06、icp/police 行内的 03/04/08/09/10) - template-07 分支机构页补充办公场地图片 - BranchOffice.vue 与 template-09/Footer.vue 换行符归一为 LF, 消除整文件级的 CRLF 噪声(真实改动分别是 1 行新增、6 行删除)
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
# 2026-09-08
|
||||
|
||||
## 本地开发接口切换(cms-api → 127.0.0.1:9500)
|
||||
- 需求:把 CMS/内容接口从 `https://hjc-api.sitelnk.cn/api` 切到本地 `http://127.0.0.1:9500/api`。
|
||||
- 改法:只动 `.env`,未改 `nuxt.config.ts` 默认值(保持生产配置不变)。新增 `NUXT_PUBLIC_MODULES_API_BASE=http://127.0.0.1:9500/api`;NUXT_ 前缀环境变量会覆盖 `runtimeConfig.public.modulesApiBase`。
|
||||
- 关联:`modulesApiBase` 被 server/api 下 site/info、page/*、article/*、product/*、case/*、banner、form/submit、sitemap、domain/resolve 共用;文件/图片走另一个变量 `fileServerBase`(默认 origin(serverApiBase)=server.websoft.top),已在 .env 留注释开关。
|
||||
- 顺带修复:原 `.env` 中 `NUXT_PUBLIC_TENANT_ID` / `NUXT_PUBLIC_TEMPLATE_ID` 两行有前导空格,dotenv 无法解析 → 配置一直没生效。已去除空格(tenant 10626 / template-07 将真正生效,若之前靠默认 template-01 调试需注意行为变化)。
|
||||
- 验证:9500 端口有服务(/api 返回 404,端口通);改动后需重启 `pnpm dev` 才生效。
|
||||
@@ -96,15 +96,6 @@
|
||||
<p v-if="siteInfo?.policeNo" class="text-sm text-gray-500">
|
||||
{{ siteInfo.policeNo }}
|
||||
</p>
|
||||
<div class="flex items-center gap-2 text-xs">
|
||||
<span class="text-gray-500">Powered by</span>
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="https://site.websoft.top"
|
||||
target="_blank"
|
||||
class="text-gray-500 hover:text-gray-200 transition-colors"
|
||||
>云·企业官网</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -96,15 +96,6 @@
|
||||
<p v-if="siteInfo?.policeNo" class="text-sm text-gray-500">
|
||||
{{ siteInfo.policeNo }}
|
||||
</p>
|
||||
<div class="flex items-center gap-2 text-xs">
|
||||
<span class="text-gray-500">Powered by</span>
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="https://site.websoft.top"
|
||||
target="_blank"
|
||||
class="text-gray-500 hover:text-gray-200 transition-colors"
|
||||
>云·企业官网</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -61,12 +61,6 @@
|
||||
<div class="flex items-center gap-3">
|
||||
<span v-if="icpNo">{{ icpNo }}</span>
|
||||
<span v-if="siteInfo?.policeNo">{{ siteInfo.policeNo }}</span>
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="https://site.websoft.top"
|
||||
target="_blank"
|
||||
class="hover:text-[#8b6f47] transition-colors"
|
||||
>Powered by 云·企业官网</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -61,12 +61,6 @@
|
||||
<div class="flex items-center gap-3">
|
||||
<span v-if="icpNo">{{ icpNo }}</span>
|
||||
<span v-if="siteInfo?.policeNo">{{ siteInfo.policeNo }}</span>
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="https://site.websoft.top"
|
||||
target="_blank"
|
||||
class="hover:text-[#d4af37] transition-colors"
|
||||
>Powered by 云·企业官网</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -97,15 +97,6 @@
|
||||
<p v-if="siteInfo?.policeNo" class="text-sm text-[#8A7B6B]">
|
||||
{{ siteInfo.policeNo }}
|
||||
</p>
|
||||
<div class="flex items-center gap-2 text-xs">
|
||||
<span class="text-[#8A7B6B]">Powered by</span>
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="https://site.websoft.top"
|
||||
target="_blank"
|
||||
class="text-[#8A7B6B] hover:text-[#F2A900] transition-colors"
|
||||
>云·企业官网</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -62,10 +62,6 @@
|
||||
<div class="flex items-center gap-4">
|
||||
<p v-if="icpNo" class="text-sm text-[#6B7488]">{{ icpNo }}</p>
|
||||
<p v-if="siteInfo?.policeNo" class="text-sm text-[#6B7488]">{{ siteInfo.policeNo }}</p>
|
||||
<div class="flex items-center gap-2 text-xs">
|
||||
<span class="text-[#6B7488]">Powered by</span>
|
||||
<a rel="nofollow" href="https://site.websoft.top" target="_blank" class="text-[#6B7488] hover:text-[#FF6B6B] transition-colors">云·企业官网</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -110,15 +110,6 @@
|
||||
<p v-if="siteInfo?.policeNo" class="text-sm text-gray-500">
|
||||
{{ siteInfo.policeNo }}
|
||||
</p>
|
||||
<div class="flex items-center gap-2 text-xs">
|
||||
<span class="text-gray-500">Powered by</span>
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="https://site.websoft.top"
|
||||
target="_blank"
|
||||
class="text-gray-500 hover:text-gray-200 transition-colors"
|
||||
>云·企业官网</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -55,6 +55,7 @@ const content = `<h2>广西全域服务网络</h2>
|
||||
<li><strong>贺州市</strong></li>
|
||||
<li><strong>玉林市</strong></li>
|
||||
</ul>
|
||||
<img src="https://oss.wsdns.cn/20260929/7bdccc2c61924a5a8ad59b25ccc2fd84.png">
|
||||
<p>七地分支机构与南宁总部紧密联动,可在采购需求调查、招标文件编制、评审组织、合同履约等关键环节提供本地化贴身响应,让专业服务不因地域差异而打折。</p>
|
||||
|
||||
<h3>服务范围</h3>
|
||||
|
||||
@@ -61,12 +61,6 @@
|
||||
<div class="flex items-center gap-3">
|
||||
<span v-if="icpNo">{{ icpNo }}</span>
|
||||
<span v-if="siteInfo?.policeNo">{{ siteInfo.policeNo }}</span>
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="https://site.websoft.top"
|
||||
target="_blank"
|
||||
class="hover:text-[var(--t8-primary-light)] transition-colors"
|
||||
>Powered by 云·企业官网</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -57,12 +57,6 @@
|
||||
rel="nofollow"
|
||||
class="hover:text-white transition-colors"
|
||||
>{{ siteInfo.policeNo }}</a>
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="https://site.websoft.top"
|
||||
target="_blank"
|
||||
class="hover:text-white transition-colors"
|
||||
>Powered by 云·企业官网</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -83,12 +83,6 @@
|
||||
rel="nofollow"
|
||||
class="hover:text-white transition-colors"
|
||||
>{{ siteInfo.policeNo }}</a>
|
||||
<a
|
||||
rel="nofollow"
|
||||
href="https://site.websoft.top"
|
||||
target="_blank"
|
||||
class="hover:text-white transition-colors"
|
||||
>Powered by 云·企业官网</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user