cd837f7efcfaf427b478236c5cd2eb98e78d170b..b0fa289bf8ff6ee35f48ee8ed6c10b22db636f0f
2025-07-15 zhengyiming
fix: s
b0fa28 对比 | 目录
2025-07-15 zhengyiming
fix: s
7bcafd 对比 | 目录
1个文件已添加
2个文件已删除
4个文件已修改
45 ■■■■ 已修改文件
.env 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.production 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.umirc.prod.ts 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.umirc.ts 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/Home/Content9.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/Home/data.source.js 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env
File was deleted
.env.production
File was deleted
.umirc.prod.ts
New file
@@ -0,0 +1,5 @@
import { defineConfig } from '@umijs/max';
export default defineConfig({
  publicPath: '/v2/',
});
.umirc.ts
@@ -1,5 +1,5 @@
import { defineConfig } from '@umijs/max';
console.log('env', process.env.UMI_APP_PUBLIC_PATH);
export default defineConfig({
  antd: {},
  access: {},
@@ -11,10 +11,6 @@
    slave: {},
  },
  base: '/v2/',
  publicPath: process.env.UMI_APP_PUBLIC_PATH,
  // layout: {
  //   title: '@umijs/max',
  // },
  routes: [
    {
      path: '/',
@@ -25,16 +21,6 @@
      path: '/about',
      component: './Home',
    },
    // {
    //   name: '权限演示',
    //   path: '/access',
    //   component: './Access',
    // },
    // {
    //   name: ' CRUD 示例',
    //   path: '/table',
    //   component: './Table',
    // },
  ],
  npmClient: 'pnpm',
});
package.json
@@ -3,7 +3,7 @@
  "private": true,
  "author": "",
  "scripts": {
    "build": "cross-env NODE_ENV=production REACT_APP_ENV=production UMI_ENV=production max build",
    "build": "cross-env max build",
    "dev": "max dev",
    "format": "prettier --cache --write .",
    "postinstall": "max setup",
src/Home/Content9.jsx
@@ -1,6 +1,7 @@
import QueueAnim from 'rc-queue-anim';
import OverPack from 'rc-scroll-anim/lib/ScrollOverPack';
import React from 'react';
import { targetId } from './data.source';
import { getChildrenToRender } from './utils';
class Content9 extends React.PureComponent {
@@ -29,7 +30,7 @@
      </QueueAnim>
    );
    return (
      <OverPack key={i.toString()} {...block}>
      <OverPack key={i.toString()} {...block} targetId={targetId}>
        {isMobile && textWrapper}
        <QueueAnim
          className="image-wrapper"
src/Home/data.source.js
@@ -12,6 +12,10 @@
import Title from '@/components/Title/Title';
import FooterComponent, { FooterApply } from './Footer';
export const targetId = window.__POWERED_BY_QIANKUN__
  ? 'qiankunScrollview'
  : undefined;
export const Nav30DataSource = {
  wrapper: { className: 'header3 home-page-wrapper' },
  page: { className: 'home-page' },
@@ -139,6 +143,7 @@
  OverPack: {
    className: 'home-page-wrapper content13-wrapper mcva2tum4q-editor_css',
    playScale: 0.3,
    targetId: targetId,
  },
  titleWrapper: {
    className: 'title-wrapper',
@@ -409,7 +414,7 @@
};
export const Feature40DataSource = {
  wrapper: { className: 'home-page-wrapper content6-wrapper' },
  OverPack: { className: 'home-page content6' },
  OverPack: { className: 'home-page content6', targetId: targetId },
  textWrapper: { className: 'content6-text', xs: 24, md: 10 },
  titleWrapper: {
    className: 'title-wrapper',
@@ -488,7 +493,7 @@
export const Feature50DataSource = {
  wrapper: { className: 'home-page-wrapper content7-wrapper' },
  page: { className: 'home-page content7' },
  OverPack: {},
  OverPack: { targetId: targetId },
  titleWrapper: {
    className: 'title-wrapper',
    children: [
@@ -648,7 +653,11 @@
export const Pricing20DataSource = {
  wrapper: { className: 'home-page-wrapper pricing2-wrapper' },
  page: { className: 'home-page pricing2' },
  OverPack: { playScale: 0.3, className: 'pricing2-content-wrapper' },
  OverPack: {
    playScale: 0.3,
    className: 'pricing2-content-wrapper',
    targetId: targetId,
  },
  titleWrapper: {
    className: 'pricing2-title-wrapper',
    children: [
@@ -919,6 +928,7 @@
  OverPack: {
    className: 'home-page-wrapper content13-wrapper content131-wrapper',
    playScale: 0.3,
    targetId: targetId,
  },
  titleWrapper: {
    className: 'title-wrapper',
@@ -941,6 +951,7 @@
  OverPack: {
    className: 'home-page-wrapper content13-wrapper content132-wrapper',
    playScale: 0.3,
    targetId: targetId,
  },
  titleWrapper: {
    className: 'title-wrapper',