Commit 670536e9 authored by wuhao's avatar wuhao 🎯

asder

parent ae6efadc
...@@ -393,8 +393,8 @@ const Mtable = (props) => { ...@@ -393,8 +393,8 @@ const Mtable = (props) => {
showTotal: (total, range) => <span>{total}</span>, showTotal: (total, range) => <span>{total}</span>,
showQuickJumper: true, showQuickJumper: true,
showSizeChanger: true, showSizeChanger: true,
pageSizeOptions: [5, 10, 15, 30, 50, 100, 200], pageSizeOptions: [12, 24, 36, 120],
defaultPageSize: pageSize || 15, defaultPageSize: pageSize || 12,
} }
} }
search={{ search={{
......
...@@ -315,6 +315,7 @@ body, ...@@ -315,6 +315,7 @@ body,
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
overflow: hidden; overflow: hidden;
padding: 0 !important;
} }
.ant-card-cover { .ant-card-cover {
flex: 1; flex: 1;
...@@ -468,7 +469,7 @@ body, ...@@ -468,7 +469,7 @@ body,
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.img { .img {
background-size: cover; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
} }
......
...@@ -103,13 +103,13 @@ export default () => { ...@@ -103,13 +103,13 @@ export default () => {
<div> <div>
<Row style={{ display: 'flex', justifyContent: 'space-around' }}> <Row style={{ display: 'flex', justifyContent: 'space-around' }}>
<Col xs={24} sm={8} xl={8} xxl={6}> <Col xs={24} sm={8} xl={8} xxl={6}>
<ContentList title="关于南高" listData={list1} /> <ContentList key="12" title="关于南高" listData={list1} />
</Col> </Col>
<Col xs={24} sm={8} xl={8} xxl={6}> <Col xs={24} sm={8} xl={8} xxl={6}>
<ContentList title="智能工厂解决方案" listData={list2} /> <ContentList key="13" title="智能工厂解决方案" listData={list2} />
</Col> </Col>
<Col xs={24} sm={8} xl={8} xxl={6}> <Col xs={24} sm={8} xl={8} xxl={6}>
<ContentList title="下载中心" listData={list3} /> <ContentList key="14" title="下载中心" listData={list3} />
</Col> </Col>
<Col xs={24} sm={24} xl={24} xxl={6}> <Col xs={24} sm={24} xl={24} xxl={6}>
<div className="footer-content"> <div className="footer-content">
......
...@@ -96,7 +96,7 @@ function Layout({ children, location }) { ...@@ -96,7 +96,7 @@ function Layout({ children, location }) {
window.onload = function () { window.onload = function () {
setLoading(false); setLoading(false);
}; };
}, [location.pathname]); }, [location.pathname, location.search]);
function setval(key, val) { function setval(key, val) {
setvals((s) => ({ setvals((s) => ({
...@@ -154,15 +154,21 @@ function Layout({ children, location }) { ...@@ -154,15 +154,21 @@ function Layout({ children, location }) {
'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/logo.svg' 'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/logo.svg'
} }
alt="" alt=""
style={{ width: '100%' }} style={{ width: '100%', cursor: 'pointer' }}
onClick={() => {
history.push('/home');
}}
/> />
) : ( ) : (
<img <img
src={ src={
'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/logo.svg' 'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/logo.svg'
} }
style={{ height: 52 }} style={{ height: 52, cursor: 'pointer' }}
alt="" alt=""
onClick={() => {
history.push('/home');
}}
/> />
)} )}
</div> </div>
...@@ -226,12 +232,12 @@ function Layout({ children, location }) { ...@@ -226,12 +232,12 @@ function Layout({ children, location }) {
arrs={arrs} arrs={arrs}
></MenuRender> ></MenuRender>
<div <div
className="center bglight" className="center"
style={{ style={{
width: 130, width: 130,
height: 80, height: 80,
marginRight: -24, marginRight: -24,
color: '#fff', color: '#1890ff',
cursor: 'pointer', cursor: 'pointer',
fontSize: 17, fontSize: 17,
}} }}
...@@ -272,7 +278,7 @@ function Layout({ children, location }) { ...@@ -272,7 +278,7 @@ function Layout({ children, location }) {
}} }}
> >
<PlayCircleFilled <PlayCircleFilled
style={{ fontSize: 20, color: '#ffffff', marginRight: 6 }} style={{ fontSize: 20, color: '#1890ff', marginRight: 6 }}
/> />
产品演示 产品演示
</div> </div>
......
...@@ -42,6 +42,7 @@ function Insert() { ...@@ -42,6 +42,7 @@ function Insert() {
height: '100%', height: '100%',
minHeight: 330, minHeight: 330,
paddingBottom: '1rem', paddingBottom: '1rem',
backgroundSize: 'cover',
}} }}
></div> ></div>
</Col> </Col>
......
...@@ -10,7 +10,7 @@ const col = { xs: 24, sm: 12, md: 12, lg: 8, xl: 8, xxl: 6 }; ...@@ -10,7 +10,7 @@ const col = { xs: 24, sm: 12, md: 12, lg: 8, xl: 8, xxl: 6 };
const { Meta } = Card; const { Meta } = Card;
function Insert() { function Insert() {
const [page, setpage] = useState({ pageIndex: 1, pageSize: 10 }); const [page, setpage] = useState({ pageIndex: 1, pageSize: 12 });
const [total, settotal] = useState(); const [total, settotal] = useState();
const { data, loading } = useRequest( const { data, loading } = useRequest(
async () => { async () => {
...@@ -50,6 +50,7 @@ function Insert() { ...@@ -50,6 +50,7 @@ function Insert() {
style={{ style={{
backgroundImage: `url(${it?.picUrl})`, backgroundImage: `url(${it?.picUrl})`,
height: '288px', height: '288px',
backgroundSize: 'cover',
}} }}
className="img" className="img"
/> />
......
...@@ -10,7 +10,7 @@ const col = { xs: 24, sm: 12, md: 12, lg: 8, xl: 8, xxl: 6 }; ...@@ -10,7 +10,7 @@ const col = { xs: 24, sm: 12, md: 12, lg: 8, xl: 8, xxl: 6 };
const { Meta } = Card; const { Meta } = Card;
function Insert({ location: { query } }) { function Insert({ location: { query } }) {
const [curid, setcurid] = useState(query.id); const curid = query?.id;
const { data, loading } = useRequest( const { data, loading } = useRequest(
async () => { async () => {
...@@ -53,7 +53,14 @@ function Insert({ location: { query } }) { ...@@ -53,7 +53,14 @@ function Insert({ location: { query } }) {
<p <p
className="hoverable" className="hoverable"
onClick={() => { onClick={() => {
prev?.data?.prev?.id && setcurid(prev?.data?.prev?.id); if (prev?.data?.prev?.id) {
history.push({
pathname: '/about/newsdetail',
query: {
id: prev?.data?.prev?.id,
},
});
}
}} }}
> >
上一篇:{' '} 上一篇:{' '}
...@@ -64,7 +71,14 @@ function Insert({ location: { query } }) { ...@@ -64,7 +71,14 @@ function Insert({ location: { query } }) {
<p <p
className="hoverable" className="hoverable"
onClick={() => { onClick={() => {
prev?.data?.next?.id && setcurid(prev?.data?.next?.id); if (prev?.data?.next?.id) {
history.push({
pathname: '/about/newsdetail',
query: {
id: prev?.data?.next?.id,
},
});
}
}} }}
> >
下一篇: {prev?.data?.next?.title ?? '已是最后一篇'} 下一篇: {prev?.data?.next?.title ?? '已是最后一篇'}
......
...@@ -10,7 +10,7 @@ const col = { xs: 24, sm: 12, md: 12, lg: 8, xl: 8, xxl: 6 }; ...@@ -10,7 +10,7 @@ const col = { xs: 24, sm: 12, md: 12, lg: 8, xl: 8, xxl: 6 };
const { Meta } = Card; const { Meta } = Card;
function Case() { function Case() {
const [page, setpage] = useState({ pageIndex: 1, pageSize: 10 }); const [page, setpage] = useState({ pageIndex: 1, pageSize: 12 });
const [total, settotal] = useState(); const [total, settotal] = useState();
const { data, loading } = useRequest( const { data, loading } = useRequest(
async () => { async () => {
......
...@@ -44,7 +44,7 @@ export default () => { ...@@ -44,7 +44,7 @@ export default () => {
> >
<Col {...col} className="centerv"> <Col {...col} className="centerv">
<img <img
style={{ width: '100%', margin: 0 }} style={{ width: '100%', margin: 0, minWidth: 100 }}
src={ src={
'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/Z.png' 'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/Z.png'
} }
...@@ -128,7 +128,7 @@ export default () => { ...@@ -128,7 +128,7 @@ export default () => {
> >
<Col {...col} className="centerv"> <Col {...col} className="centerv">
<img <img
style={{ width: '100%', margin: 0 }} style={{ width: '100%', margin: 0, minWidth: 10 }}
src={ src={
'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/S.png' 'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/S.png'
} }
...@@ -208,7 +208,7 @@ export default () => { ...@@ -208,7 +208,7 @@ export default () => {
> >
<Col {...col} className="centerv"> <Col {...col} className="centerv">
<img <img
style={{ width: '100%', margin: 0 }} style={{ width: '100%', margin: 0, minWidth: 10 }}
src={ src={
'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/C.png' 'https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/C.png'
} }
......
...@@ -21,7 +21,7 @@ export default () => { ...@@ -21,7 +21,7 @@ export default () => {
<div className="cpjs bgjs"> <div className="cpjs bgjs">
<h3>系统介绍</h3> <h3>系统介绍</h3>
<p> <p>
南高IoT数据采集系统通过组合各种物联网硬件,可以对设备开关、模拟量数据进行采集,通过配置传感器,还可以实现对设备温度、震动及环境湿度等多种数据进行采集;通过配套平台—南高工业互联网平台,用户既可以在工控机上实现数据监测和设备控制,也可以通过手机、平板等联网终端进行远程监控。{' '} 南高IoT数据采集系统通过组合各种物联网硬件,可以对设备开关、模拟量数据进行采集,通过配置传感器,还可以实现对设备温度、震动及环境湿度等多种数据进行采集;通过配套平台—南高工业互联网平台,用户既可以在工控机上实现数据监测和设备控制,也可以通过手机、平板等联网终端进行远程监控。{' '}
</p> </p>
</div> </div>
<div className="ywkj cpjs"> <div className="ywkj cpjs">
...@@ -34,18 +34,18 @@ export default () => { ...@@ -34,18 +34,18 @@ export default () => {
<div> <div>
<div> <div>
<div className="syfw-leftcontent"> <div className="syfw-leftcontent">
通过直接连接设备或部署传感器,实现工业制造业检测环节的环境信息、设备信息的检测; 通过直接连接设备或部署传感器实现工业制造业检测环节的环境信息、设备信息的检测;
</div> </div>
<div className="syfw-rightcontent"> <div className="syfw-rightcontent">
通过直接连接或通过PLC设备,在工业制造业的控制环节中实现各种设备的操控; 通过直接连接或通过PLC设备在工业制造业的控制环节中实现各种设备的操控;
</div> </div>
</div> </div>
<div> <div>
<div className="syfw-leftcontent"> <div className="syfw-leftcontent">
通过连接RFID或其他硬件,实现工业制造业中各种产品、步骤的辨识; 通过连接RFID或其他硬件实现工业制造业中各种产品、步骤的辨识;
</div> </div>
<div className="syfw-rightcontent"> <div className="syfw-rightcontent">
通过监测信息的分析,实现工业制造业中的产品、设备诊断等。 通过监测信息的分析实现工业制造业中的产品、设备诊断等。
</div> </div>
</div> </div>
</div> </div>
......
...@@ -413,7 +413,7 @@ function IndexPage({ route }) { ...@@ -413,7 +413,7 @@ function IndexPage({ route }) {
className="tabs" className="tabs"
style={{ display: 'block', width: '66vw', margin: '1.6rem auto' }} style={{ display: 'block', width: '66vw', margin: '1.6rem auto' }}
> >
江苏南高自主申请知识产权逾100项,其中发明专利65个。技术研究团队人数占员工总数87%。公司建立了数据融合与质量科学、AI与智能装备创意设计机床结构动态优化创新设计及数字化、智能化设计与制造等共性技术研发平台. 江苏南高自主申请知识产权逾100项,其中发明专利65个。技术研究团队人数占员工总数87%。公司建立了数据融合与质量科学、AI与智能装备创意设计机床结构动态优化创新设计及数字化、智能化设计与制造等共性技术研发平台
</p> </p>
<div <div
className={styles.cards} className={styles.cards}
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
} }
} }
.compare { .compare {
padding: 0 4rem; padding: 0 2vw;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
......
...@@ -20,7 +20,7 @@ const qsarr = [ ...@@ -20,7 +20,7 @@ const qsarr = [
}, },
{ {
title: '集成方便', title: '集成方便',
desc: '提供标准范的API接口,支持统一登陆,零代码无缝集成组织架构用户等,实现与各个业务系统的快速集成,解决业务系统确实流程引擎的问题。', desc: '提供标准范的API接口,支持统一登陆,零代码无缝集成组织架构用户等,实现与各个业务系统的快速集成,解决业务系统确实流程引擎的问题。',
}, },
{ {
title: '可视化流程工具', title: '可视化流程工具',
......
...@@ -19,6 +19,7 @@ function Together() { ...@@ -19,6 +19,7 @@ function Together() {
style={{ style={{
backgroundImage: `url(https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/lefts.jpg)`, backgroundImage: `url(https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/lefts.jpg)`,
height: '100%', height: '100%',
backgroundSize: 'cover',
}} }}
className="img" className="img"
> >
...@@ -79,13 +80,23 @@ function Together() { ...@@ -79,13 +80,23 @@ function Together() {
onClick={() => { onClick={() => {
window.open('http://www.jsiea.com/'); window.open('http://www.jsiea.com/');
}} }}
style={{ flex: 1 }}
> >
<img <img
src={`https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/icon1.png`} src={`https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/icon1.png`}
alt="" alt=""
style={{ marginTop: '1rem' }}
/> />
<span style={{ fontSize: '0.6rem', marginTop: 12 }}> <span
江苏省智能装备产业联盟 style={{
fontSize: '0.6rem',
marginTop: 12,
textAlign: 'center',
}}
>
<b style={{ opacity: 0, userSelect: 'none' }}></b>
江苏省智能装备产业联盟 &nbsp;{' '}
<b style={{ opacity: 0, userSelect: 'none' }}></b>
</span> </span>
</Card> </Card>
<Card <Card
...@@ -93,12 +104,20 @@ function Together() { ...@@ -93,12 +104,20 @@ function Together() {
onClick={() => { onClick={() => {
window.open('http://njime.cn/'); window.open('http://njime.cn/');
}} }}
style={{ flex: 1 }}
> >
<img <img
src={`https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/icon2.png`} src={`https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/icon2.png`}
alt="" alt=""
style={{ marginTop: '1rem' }}
/> />
<span style={{ fontSize: '0.6rem', marginTop: 12 }}> <span
style={{
fontSize: '0.6rem',
marginTop: 12,
textAlign: 'center',
}}
>
南京市智能制造装备产业促进会 南京市智能制造装备产业促进会
</span> </span>
</Card> </Card>
...@@ -109,6 +128,7 @@ function Together() { ...@@ -109,6 +128,7 @@ function Together() {
style={{ style={{
backgroundImage: `url(${`https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/org.jpg`})`, backgroundImage: `url(${`https://ng-website.oss-cn-hangzhou.aliyuncs.com/assets/org.jpg`})`,
height: '100%', height: '100%',
backgroundSize: 'cover',
}} }}
className="img" className="img"
> >
......
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