Commit d16cfea7 by liguokang

feat:

parent 26cc67a8
/*
* @Author: liguokang
* @Date: 2021-07-27 20:25:45
* @LastEditors: liguokang
* @LastEditTime: 2021-07-27 20:31:33
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/
module.exports = {
presets: [['next/babel']],
plugins: [['import', { libraryName: 'antd', style: true }]],
};
......@@ -2,7 +2,7 @@
* @Author: liguokang
* @Date: 2021-07-15 10:28:10
* @LastEditors: liguokang
* @LastEditTime: 2021-07-15 11:49:41
* @LastEditTime: 2021-07-27 20:57:53
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/
......@@ -13,6 +13,7 @@ import Link from 'next/link';
import { withRouter } from 'next/router';
import { StaticImg } from '@/api/interfaces';
import style from './laHeader.less';
import { Button } from 'antd';
class LaHeader extends React.Component {
constructor(props) {
super(props);
......@@ -27,6 +28,7 @@ class LaHeader extends React.Component {
<Link href="/">
<div className={style.title_item}>
<span>头部头部头部头部</span>
<Button>头部头部头部头部</Button>
<img src={StaticImg + '/logo.png'} width={121} alt="" />
</div>
</Link>
......
......@@ -2,7 +2,7 @@
* @Author: liguokang
* @Date: 2021-07-14 20:36:28
* @LastEditors: liguokang
* @LastEditTime: 2021-07-15 11:09:40
* @LastEditTime: 2021-07-27 20:57:22
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/
......@@ -25,7 +25,6 @@ module.exports = withLessExcludeAntd({
exportPathMap: async function (defaultPathMap) {
return Object.assign({
'/': { page: '/' },
'/BusinessService': { page: '/BusinessService' },
'/404.html': { page: '/404' },
});
},
......
......@@ -49,6 +49,30 @@
"@babel/highlight": "^7.10.4"
}
},
"@babel/helper-module-imports": {
"version": "7.14.5",
"resolved": "https://registry.nlark.com/@babel/helper-module-imports/download/@babel/helper-module-imports-7.14.5.tgz",
"integrity": "sha1-bRpE32o4yVeqfDEtoHZCnxG0IvM=",
"requires": {
"@babel/types": "^7.14.5"
},
"dependencies": {
"@babel/helper-validator-identifier": {
"version": "7.14.8",
"resolved": "https://registry.nlark.com/@babel/helper-validator-identifier/download/@babel/helper-validator-identifier-7.14.8.tgz",
"integrity": "sha1-Mr4zp1bynieKDWRPoIosng+Io0w="
},
"@babel/types": {
"version": "7.14.8",
"resolved": "https://registry.nlark.com/@babel/types/download/@babel/types-7.14.8.tgz",
"integrity": "sha1-OBCd6PytwGQV+9m3TfAGXU1Bxyg=",
"requires": {
"@babel/helper-validator-identifier": "^7.14.8",
"to-fast-properties": "^2.0.0"
}
}
}
},
"@babel/helper-validator-identifier": {
"version": "7.14.5",
"resolved": "https://registry.nlark.com/@babel/helper-validator-identifier/download/@babel/helper-validator-identifier-7.14.5.tgz?cache=0&sync_timestamp=1623280305128&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40babel%2Fhelper-validator-identifier%2Fdownload%2F%40babel%2Fhelper-validator-identifier-7.14.5.tgz",
......@@ -521,6 +545,18 @@
"requires": {
"@zeit/next-css": "1.0.1",
"less-loader": "4.1.0"
},
"dependencies": {
"less-loader": {
"version": "4.1.0",
"resolved": "https://registry.nlark.com/less-loader/download/less-loader-4.1.0.tgz?cache=0&sync_timestamp=1625230515316&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fless-loader%2Fdownload%2Fless-loader-4.1.0.tgz",
"integrity": "sha1-LBNSxbCaT4QQFJAnT9UWdN5BNj4=",
"requires": {
"clone": "^2.1.1",
"loader-utils": "^1.1.0",
"pify": "^3.0.0"
}
}
}
},
"accepts": {
......@@ -582,9 +618,9 @@
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
},
"antd": {
"version": "4.16.7",
"resolved": "https://registry.nlark.com/antd/download/antd-4.16.7.tgz",
"integrity": "sha1-xR+xQyiK24sAinhu/o1d8TMgrEw=",
"version": "4.16.9",
"resolved": "https://registry.nlark.com/antd/download/antd-4.16.9.tgz?cache=0&sync_timestamp=1627380612688&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fantd%2Fdownload%2Fantd-4.16.9.tgz",
"integrity": "sha1-iPtSmWBwTHmlfwEYRWkfxjNDgIM=",
"requires": {
"@ant-design/colors": "^6.0.0",
"@ant-design/icons": "^4.6.2",
......@@ -598,7 +634,7 @@
"rc-cascader": "~1.4.0",
"rc-checkbox": "~2.3.0",
"rc-collapse": "~3.1.0",
"rc-dialog": "~8.5.1",
"rc-dialog": "~8.6.0",
"rc-drawer": "~4.3.0",
"rc-dropdown": "~3.2.0",
"rc-field-form": "~1.20.0",
......@@ -618,7 +654,7 @@
"rc-steps": "~4.1.0",
"rc-switch": "~3.2.0",
"rc-table": "~7.15.1",
"rc-tabs": "~11.9.1",
"rc-tabs": "~11.10.0",
"rc-textarea": "~0.3.0",
"rc-tooltip": "~5.1.1",
"rc-tree": "~4.2.1",
......@@ -775,6 +811,15 @@
"js-tokens": "^3.0.2"
}
},
"babel-plugin-import": {
"version": "1.13.3",
"resolved": "https://registry.nlark.com/babel-plugin-import/download/babel-plugin-import-1.13.3.tgz",
"integrity": "sha1-nbu6fRrHK9QSkXqDDUReAJQdJtc=",
"requires": {
"@babel/helper-module-imports": "^7.0.0",
"@babel/runtime": "^7.0.0"
}
},
"babel-plugin-syntax-jsx": {
"version": "6.18.0",
"resolved": "https://registry.npm.taobao.org/babel-plugin-syntax-jsx/download/babel-plugin-syntax-jsx-6.18.0.tgz",
......@@ -1607,9 +1652,9 @@
"integrity": "sha1-WUuJc5OMW8LDMEZTV4U0GrxPNjY="
},
"date-fns": {
"version": "2.22.1",
"resolved": "https://registry.nlark.com/date-fns/download/date-fns-2.22.1.tgz?cache=0&sync_timestamp=1622203607219&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fdate-fns%2Fdownload%2Fdate-fns-2.22.1.tgz",
"integrity": "sha1-Hlr5WYMeux2CmSv2e3ZQUtjw78Q="
"version": "2.23.0",
"resolved": "https://registry.nlark.com/date-fns/download/date-fns-2.23.0.tgz",
"integrity": "sha1-TohslBZZrwz3sw+v3R6qN+iHiKk="
},
"dayjs": {
"version": "1.10.6",
......@@ -3164,13 +3209,20 @@
}
},
"less-loader": {
"version": "4.1.0",
"resolved": "https://registry.nlark.com/less-loader/download/less-loader-4.1.0.tgz?cache=0&sync_timestamp=1625230515316&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fless-loader%2Fdownload%2Fless-loader-4.1.0.tgz",
"integrity": "sha1-LBNSxbCaT4QQFJAnT9UWdN5BNj4=",
"version": "5.0.0",
"resolved": "https://registry.nlark.com/less-loader/download/less-loader-5.0.0.tgz?cache=0&sync_timestamp=1625230515316&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fless-loader%2Fdownload%2Fless-loader-5.0.0.tgz",
"integrity": "sha1-SY3eOmxsT4h0WO6e0/CGoSrRtGY=",
"requires": {
"clone": "^2.1.1",
"loader-utils": "^1.1.0",
"pify": "^3.0.0"
"pify": "^4.0.1"
},
"dependencies": {
"pify": {
"version": "4.0.1",
"resolved": "https://registry.nlark.com/pify/download/pify-4.0.1.tgz",
"integrity": "sha1-SyzSXFDVmHNcUCkiJP2MbfQeMjE="
}
}
},
"loader-runner": {
......@@ -4653,9 +4705,9 @@
}
},
"rc-dialog": {
"version": "8.5.2",
"resolved": "https://registry.nlark.com/rc-dialog/download/rc-dialog-8.5.2.tgz",
"integrity": "sha1-Uw4onCWjHBXIWg6KS6PzNBS/9Bg=",
"version": "8.6.0",
"resolved": "https://registry.nlark.com/rc-dialog/download/rc-dialog-8.6.0.tgz?cache=0&sync_timestamp=1627272051827&other_urls=https%3A%2F%2Fregistry.nlark.com%2Frc-dialog%2Fdownload%2Frc-dialog-8.6.0.tgz",
"integrity": "sha1-OyKNrAhd5e7YxiN/MRYhBGh0Quc=",
"requires": {
"@babel/runtime": "^7.10.1",
"classnames": "^2.2.6",
......@@ -4702,6 +4754,19 @@
"classnames": "^2.2.6",
"rc-dialog": "~8.5.0",
"rc-util": "^5.0.6"
},
"dependencies": {
"rc-dialog": {
"version": "8.5.3",
"resolved": "https://registry.nlark.com/rc-dialog/download/rc-dialog-8.5.3.tgz?cache=0&sync_timestamp=1627272051827&other_urls=https%3A%2F%2Fregistry.nlark.com%2Frc-dialog%2Fdownload%2Frc-dialog-8.5.3.tgz",
"integrity": "sha1-hPsfdjfdiq3XCbqQXqwqOi4H0hs=",
"requires": {
"@babel/runtime": "^7.10.1",
"classnames": "^2.2.6",
"rc-motion": "^2.3.0",
"rc-util": "^5.6.1"
}
}
}
},
"rc-input-number": {
......@@ -4886,9 +4951,9 @@
}
},
"rc-tabs": {
"version": "11.9.1",
"resolved": "https://registry.nlark.com/rc-tabs/download/rc-tabs-11.9.1.tgz?cache=0&sync_timestamp=1621867452307&other_urls=https%3A%2F%2Fregistry.nlark.com%2Frc-tabs%2Fdownload%2Frc-tabs-11.9.1.tgz",
"integrity": "sha1-Wy502ponaXjCFy75oFrorxTadMs=",
"version": "11.10.0",
"resolved": "https://registry.nlark.com/rc-tabs/download/rc-tabs-11.10.0.tgz?cache=0&sync_timestamp=1626861953850&other_urls=https%3A%2F%2Fregistry.nlark.com%2Frc-tabs%2Fdownload%2Frc-tabs-11.10.0.tgz",
"integrity": "sha1-HO64P6vFP31/fz+m7CkT5zhXiMA=",
"requires": {
"@babel/runtime": "^7.11.2",
"classnames": "2.x",
......
......@@ -8,18 +8,21 @@
"start": "next start"
},
"dependencies": {
"antd": "^4.3.3",
"axios": "^0.19.2",
"@zeit/next-css": "^1.0.1",
"@zeit/next-less": "^1.0.1",
"antd": "^4.16.9",
"axios": "^0.19.2",
"babel-plugin-import": "^1.13.3",
"less": "^4.1.1",
"less-loader": "5.0.0",
"lottie-web": "^5.7.1",
"next": "10.2.3",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-cookie": "^3.1.2",
"react-cookies": "^0.1.0",
"react-dom": "17.0.2",
"react-lazyload": "^2.5.0",
"react-redux": "^7.0.3",
"lottie-web": "^5.7.1",
"redux": "^4.0.1"
},
"devDependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment