forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-08-23 22446a5d662b04c69cad7ff4d71f69058e91158d
主题包更改、webpack添加@=src配置
6 files modified
29 ■■■■■ changed files
gz-customerSystem/craco.config.js 10 ●●●● patch | view | raw | blame | history
gz-customerSystem/package.json 1 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/components/Search/index.jsx 2 ●●● patch | view | raw | blame | history
gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx 3 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/views/register/visit/index.jsx 8 ●●●● patch | view | raw | blame | history
gz-customerSystem/yarn.lock 5 ●●●●● patch | view | raw | blame | history
gz-customerSystem/craco.config.js
@@ -8,10 +8,10 @@
 * @Description: less配置
 */
const CracoLessPlugin = require('craco-less');
const path = require('path');
module.exports = {
    plugins: [
        {
    plugins: [{
            plugin: CracoLessPlugin,
            options: {
                lessLoaderOptions: {
@@ -20,6 +20,10 @@
                    },
                },
            },
    }, ],
    webpack: {
        alias: {
            '@': path.resolve(__dirname, 'src'),
        },
    ],
    },
};
gz-customerSystem/package.json
@@ -9,6 +9,7 @@
    "@ant-design/plots": "^1.2.5",
    "@antv/g2": "^4.2.1",
    "@arco-design/web-react": "^2.63.1",
    "@arco-themes/react-gzzz": "^0.0.2",
    "@craco/craco": "^6.4.3",
    "@testing-library/jest-dom": "^5.16.2",
    "@testing-library/react": "^12.1.2",
gz-customerSystem/src/components/Search/index.jsx
@@ -11,7 +11,7 @@
import PropTypes from 'prop-types';
import { Form, Button, TreeSelect, } from 'antd';
import { Grid, Input, Select, DatePicker } from '@arco-design/web-react';
import "@arco-design/web-react/dist/css/arco.css";
import "@arco-themes/react-gzzz/css/arco.css";
import { DownOutlined } from '@ant-design/icons';
import * as $$ from '../../utils/utility';
import './index.less';
gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
@@ -1,7 +1,7 @@
import React, { useState, useEffect, useRef } from "react";
import { Row, Col, Space, Tooltip, Button } from 'antd';
import { Form, Input, Radio, Select, DatePicker, Cascader, Modal, Upload, InputNumber } from '@arco-design/web-react';
import "@arco-design/web-react/dist/css/arco.css";
import '@arco-themes/react-gzzz/index.less';
import PersonCard from '../../../../components/personCard';
import * as $$ from '../../../../utils/utility';
import {
@@ -13,7 +13,6 @@
} from '../../../../assets/images';
import { CheckOutlined, } from '@ant-design/icons';
import "@arco-design/web-react/dist/css/arco.css";
import TableView from '../../../../components/TableView';
import '../../index.less';
import ApplyDialog from "./applyDialog";
gz-customerSystem/src/views/register/visit/index.jsx
@@ -8,10 +8,10 @@
 */
import React, { useState, useEffect, useRef, Fragment } from "react";
import NewPage from '../../../components/NewPage';
import RegisterTab from '../../../components/registerTab';
import * as $$ from '../../../utils/utility';
import "@arco-design/web-react/dist/css/arco.css";
import NewPage from '@/components/NewPage';
import RegisterTab from '@/components/registerTab';
import * as $$ from '@/utils/utility';
import "@arco-themes/react-gzzz/css/arco.css";
import '../index.less';
import { Space } from 'antd';
import { Button } from '@arco-design/web-react';
gz-customerSystem/yarn.lock
@@ -868,6 +868,11 @@
    "@babel/types" "^7.12.12"
    "@types/node" "^16.11.10"
"@arco-themes/react-gzzz@^0.0.2":
  version "0.0.2"
  resolved "https://registry.yarnpkg.com/@arco-themes/react-gzzz/-/react-gzzz-0.0.2.tgz#4a413958e662fff64c1e31b36ccf0484be0e2388"
  integrity sha512-YQGlkswfowsuaodIevDPMx+UPpJW7Is6b3+xFKh49GDNCJf5sIz37bSiK5zxLsIl1pBj16PkUIXzm7Fq4AdHgw==
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.16.0", "@babel/code-frame@^7.24.7", "@babel/code-frame@^7.8.3":
  version "7.24.7"
  resolved "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.24.7.tgz"