Commit 670536e9 authored by wuhao's avatar wuhao 🎯

asder

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