From 73373ad7a1a66e9442bfee7be7adf808bb4877ee Mon Sep 17 00:00:00 2001 From: WUSIJIAN <13825895+wsj0228@user.noreply.gitee.com> Date: Thu, 25 Dec 2025 17:01:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BC=80=E5=8F=91=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E9=85=8D=E7=BD=AE,=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=A0=B9=E8=B7=AF=E5=BE=84=E9=87=8D=E5=AE=9A=E5=90=91=E8=87=B3?= =?UTF-8?q?web=E9=A6=96=E9=A1=B5,?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- public/web/auth.html | 254 ++++++++++++++++++++++++++++++++++++++++++ public/web/index.html | 187 +++++++++++++++++++++++++++++++ public/web/style.css | 69 ++++++++++++ vite.config.ts | 21 +++- 5 files changed, 530 insertions(+), 3 deletions(-) create mode 100644 public/web/auth.html create mode 100644 public/web/index.html create mode 100644 public/web/style.css diff --git a/.env b/.env index c45266c..412f38a 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ VITE_PORT = 8888 # open 运行 npm run dev 时自动打开浏览器 -VITE_OPEN = false +VITE_OPEN = true # 打包是否开启 cdn(源文件 utils/build.ts),可自行修改 VITE_OPEN_CDN = false diff --git a/public/web/auth.html b/public/web/auth.html new file mode 100644 index 0000000..f884466 --- /dev/null +++ b/public/web/auth.html @@ -0,0 +1,254 @@ + + + + + + 商家中心 - 智推科技 + + + + + + + + + + +
+
+ + +
+ + +
+ +
+ +
+
+ + +
+
+ + +
+
+ + 忘记密码? +
+ +
+ + + +
+
+
+ + + + diff --git a/public/web/index.html b/public/web/index.html new file mode 100644 index 0000000..5b7d276 --- /dev/null +++ b/public/web/index.html @@ -0,0 +1,187 @@ + + + + + + 智能营销服务平台 - CID广告 & AI客服 + + + + + + + + + + + +
+ +
+
+ +
+
+

+ 赋能商业增长的
+ 智能营销解决方案 +

+

+ 通过精准的 CID 广告归因技术与 24/7 智能 AI 客服,帮助企业降低获客成本,提升转化效率,实现全链路营销闭环。 +

+ +
+
+
+ + +
+
+
+

核心业务板块

+

专注于电商与服务行业的两大核心痛点:流量获取与用户留存。

+
+ +
+ +
+
+
+
+ +
+

CID 广告业务

+

+ 打破平台数据壁垒,实现跨平台广告投放效果精准归因。 +

+
    +
  • + + 全链路转化数据回传 +
  • +
  • + + 提升 ROI 投产比 +
  • +
  • + + 支持多媒体平台 +
  • +
+
+
+ + +
+
+
+
+ +
+

聚合电商业务

+

+ 一站式聚合主流电商平台资源,实现流量共享与销售增长。 +

+
    +
  • + + 多平台商品一键管理 +
  • +
  • + + 聚合流量分发体系 +
  • +
  • + + 供应链深度整合 +
  • +
+
+
+ + +
+
+
+
+ +
+

AI 智能客服业务

+

+ 基于大模型的智能对话系统,7x24小时在线,秒级响应客户咨询。 +

+
    +
  • + + 自动接待与意图识别 +
  • +
  • + + 智能话术推荐 +
  • +
  • + + 降低人工成本 +
  • +
+
+
+
+
+
+ + +
+
+

准备好提升您的业务了吗?

+

加入数千家已经在使用我们服务的商家行列,开启智能营销新时代。

+ + 免费商家入驻 + +
+
+ + + + + \ No newline at end of file diff --git a/public/web/style.css b/public/web/style.css new file mode 100644 index 0000000..7ebbf34 --- /dev/null +++ b/public/web/style.css @@ -0,0 +1,69 @@ +html { + scroll-behavior: smooth; +} + +body { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* 自定义滚动条 */ +::-webkit-scrollbar { + width: 8px; +} + +::-webkit-scrollbar-track { + background: #f1f1f1; +} + +::-webkit-scrollbar-thumb { + background: #cbd5e1; + border-radius: 4px; +} + +::-webkit-scrollbar-thumb:hover { + background: #94a3b8; +} + +/* 简单的动画类 */ +.fade-in-up { + animation: fadeInUp 0.5s ease-out forwards; +} + +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +@keyframes blob { + 0% { + transform: translate(0px, 0px) scale(1); + } + 33% { + transform: translate(30px, -50px) scale(1.1); + } + 66% { + transform: translate(-20px, 20px) scale(0.9); + } + 100% { + transform: translate(0px, 0px) scale(1); + } +} + +.animate-blob { + animation: blob 7s infinite; +} + +.animation-delay-2000 { + animation-delay: 2s; +} + +.animation-delay-4000 { + animation-delay: 4s; +} diff --git a/vite.config.ts b/vite.config.ts index 737610d..97d67dc 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -17,7 +17,24 @@ const alias: Record = { const viteConfig = defineConfig((mode: ConfigEnv) => { const env = loadEnv(mode.mode, process.cwd()); return { - plugins: [vue(), viteCompression({ disable: true })], + plugins: [ + vue(), + viteCompression({ disable: true }), + // 根路径重定向到 web 首页 + { + name: 'redirect-root-to-web', + configureServer(server) { + server.middlewares.use((req, res, next) => { + if (req.url === '/' || req.url === '') { + res.writeHead(302, { Location: '/web/index.html' }); + res.end(); + return; + } + next(); + }); + }, + }, + ], root: process.cwd(), resolve: { alias }, base: mode.command === 'serve' ? './' : env.VITE_PUBLIC_PATH, @@ -25,7 +42,7 @@ const viteConfig = defineConfig((mode: ConfigEnv) => { server: { host: '0.0.0.0', port: env.VITE_PORT as unknown as number, - open: JSON.parse(env.VITE_OPEN), + open: false, hmr: true, // proxy: { // '/gitee': {