zhengyiming
2025-07-11 cd837f7efcfaf427b478236c5cd2eb98e78d170b
fix: s
2个文件已添加
9个文件已修改
101 ■■■■ 已修改文件
.env 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.production 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.gitignore 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.umirc.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pnpm-lock.yaml 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/Home/Content9.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/Home/Footer.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/Home/data.source.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/Home/less/content9.less 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/Home/less/feature5.less 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env
New file
@@ -0,0 +1 @@
UMI_APP_PUBLIC_PATH=/
.env.production
New file
@@ -0,0 +1 @@
UMI_APP_PUBLIC_PATH=/v2/
.gitignore
@@ -1,13 +1,17 @@
/node_modules
/.env.local
/.umirc.local.ts
/config/config.local.ts
/src/.umi
/src/.umi-production
/src/.umi-test
/.umi
/.umi-production
/.umi-test
/dist
/.mfsu
node_modules
.env.local
.umirc.local.ts
config/config.local.ts
src/.umi
src/.umi-production
src/.umi-test
.umi
.umi-production
.umi-test
dist
.mfsu
.swc
*.zip
*.local
.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,7 +11,7 @@
    slave: {},
  },
  base: '/v2/',
  publicPath: '/v2/',
  publicPath: process.env.UMI_APP_PUBLIC_PATH,
  // layout: {
  //   title: '@umijs/max',
  // },
package.json
@@ -3,7 +3,7 @@
  "private": true,
  "author": "",
  "scripts": {
    "build": "max build",
    "build": "cross-env NODE_ENV=production REACT_APP_ENV=production UMI_ENV=production max build",
    "dev": "max dev",
    "format": "prettier --cache --write .",
    "postinstall": "max setup",
@@ -30,6 +30,7 @@
    "@types/file-saver": "^2.0.7",
    "@types/react": "^18.0.33",
    "@types/react-dom": "^18.0.11",
    "cross-env": "^7.0.3",
    "husky": "^9",
    "lint-staged": "^13.2.0",
    "prettier": "^2.8.7",
pnpm-lock.yaml
@@ -55,6 +55,9 @@
  '@types/react-dom':
    specifier: ^18.0.11
    version: 18.3.7(@types/react@18.3.23)
  cross-env:
    specifier: ^7.0.3
    version: 7.0.3
  husky:
    specifier: ^9
    version: 9.1.7
@@ -4625,6 +4628,14 @@
      object-assign: 4.1.1
    dev: false
  /cross-env@7.0.3:
    resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==}
    engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'}
    hasBin: true
    dependencies:
      cross-spawn: 7.0.6
    dev: true
  /cross-spawn@7.0.6:
    resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
    engines: {node: '>= 8'}
src/Home/Content9.jsx
@@ -1,6 +1,6 @@
import React from 'react';
import OverPack from 'rc-scroll-anim/lib/ScrollOverPack';
import QueueAnim from 'rc-queue-anim';
import OverPack from 'rc-scroll-anim/lib/ScrollOverPack';
import React from 'react';
import { getChildrenToRender } from './utils';
class Content9 extends React.PureComponent {
src/Home/Footer.jsx
@@ -39,15 +39,15 @@
        </Title>
        <div className="contact-item">
          <PhoneOutlined style={{ fontSize: 18, marginRight: 12 }} />
          <Text style={{ fontSize: 16 }}>400-123-4567</Text>
          <Text style={{ fontSize: 16 }}>0574-83867368,0574-83867307</Text>
        </div>
        <div className="contact-item">
          <MailOutlined style={{ fontSize: 18, marginRight: 12 }} />
          <Text style={{ fontSize: 16 }}>contact@example.com</Text>
          <Text style={{ fontSize: 16 }}>nb-cyds@cnnbhr.com</Text>
        </div>
        <div className="contact-item">
          <GlobalOutlined style={{ fontSize: 18, marginRight: 12 }} />
          <Text style={{ fontSize: 16 }}>www.example.com</Text>
          <Text style={{ fontSize: 16 }}>www.cnnbhr.com</Text>
        </div>
      </Col>
src/Home/data.source.js
@@ -202,7 +202,7 @@
};
export const Content90DataSource = {
  wrapper: { className: 'home-page-wrapper content9-wrapper' },
  page: { className: 'home-page content9' },
  page: { className: 'home-page content9 hor' },
  titleWrapper: {
    className: 'title-wrapper',
    children: [
@@ -544,7 +544,7 @@
          img: {
            className: 'content7-img',
            children:
              'https://zos.alipayobjects.com/rmsportal/xBrUaDROgtFBRRL.png',
              'https://hrvsnetfile.oss-cn-hangzhou.aliyuncs.com/NBHRXH/Review/20250609/4_154743149.JPG',
            md: 10,
            xs: 24,
          },
@@ -595,7 +595,7 @@
            md: 10,
            xs: 24,
            children:
              'https://zos.alipayobjects.com/rmsportal/xBrUaDROgtFBRRL.png',
              'https://hrvsnetfile.oss-cn-hangzhou.aliyuncs.com/NBHRXH/Review/20250609/5_154752393.JPG',
          },
        },
      },
@@ -638,7 +638,7 @@
            md: 10,
            xs: 24,
            children:
              'https://zos.alipayobjects.com/rmsportal/xBrUaDROgtFBRRL.png',
              'https://hrvsnetfile.oss-cn-hangzhou.aliyuncs.com/NBHRXH/Review/20250609/13_154905399.JPG',
          },
        },
      },
src/Home/less/content9.less
@@ -7,10 +7,25 @@
    overflow: initial;
  }
  .@{content9} {
    // min-height: 800px;
    // min-height: 400px;
    height: 1110px;
    box-sizing: content-box;
    padding: 64px 0 0;
    &.hor {
      height: 658px;
      .timeline {
        display: flex;
        flex-wrap: wrap;
        &:before {
          display: none;
        }
        .block-wrapper {
          width: 50%;
        }
      }
    }
  }
  .timeline {
    position: relative;
@@ -103,6 +118,19 @@
    .@{content9} {
      height: 722px;
      padding: 64px 24px;
      &.hor {
        .timeline {
          display: block;
          &:before {
            display: block;
          }
          .block-wrapper {
            width: auto;
          }
        }
      }
    }
    .timeline {
      &:before {
src/Home/less/feature5.less
@@ -38,10 +38,11 @@
      align-items: center;
    }
    &-text {
      padding: 24px 48px;
      // padding: 24px 48px;
      padding-left: 200px;
    }
    &-img {
      padding: 24px 48px;
      // padding: 24px 48px;
    }
    .ant-tabs-tabpane {
      margin-top: 40px;