代码拉取完成,页面将自动刷新
开发流程
pnpm create vite hkzf-client -- --template react
pnpm i react-router-dom
pnpm i @reduxjs/toolkit
,pnpm i react-redux
//pnpm add antd-mobile
pnpm i axios
pnpm i less
pnpm i ahooks
pnpm i classnames
,pnpm i prop-types
,pnpm i styled-components
pnpm install react-bmapgl --save
//at.alicdn.com/t/c/font_4202928_u87ote5tyak.css
,//at.alicdn.com/t/c/font_4207438_srxfliblx1c.css
在 src 中新增的文件夹
*,
::after,
::before {
box-sizing: inherit;
-webkit-tap-highlight-color: transparent;
}
html {
box-sizing: border-box;
color: #333;
font-family: "Helvetica Neue", Tahoma, Arial, PingFangSC-Regular,
"Hiragino Sans GB", "Microsoft Yahei", sans-serif;
line-height: 1.2;
user-select: none;
-webkit-font-smoothing: antialiased;
touch-action: manipulation;
text-size-adjust: none;
}
body,
button,
dd,
dl,
ol,
ul {
margin: 0;
padding: 0;
}
ol,
ul {
list-style: none;
}
a {
outline: 0;
color: inherit;
text-decoration: none;
}
a,
img {
-webkit-touch-callout: none;
}
button,
input,
select,
textarea {
outline: 0;
border: none;
font-size: inherit;
font-family: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
margin: 0;
font-weight: 400;
}
img {
max-width: 100%;
}
textarea {
resize: none;
}
select {
background-color: transparent;
appearance: none;
}
input[type="button"],
input[type="reset"],
input[type="submit"] {
appearance: button;
}
input:-webkit-autofill {
box-shadow: 0 0 0 100px #fff inset;
}
.clearfix::before,
.clearfix::after {
display: block;
width: 0;
height: 0;
visibility: hidden;
clear: both;
}
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。