提交 8652e8f3 authored 作者: 王绍森's avatar 王绍森

厩肥改成猪厩肥和羊厩肥

上级 99e5cd3a
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL. work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<title>React App</title> <title>仿真软件-磷肥施用技术</title>
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
......
import React from 'react'; import React from 'react';
import styled from 'styled-components'; import styled from 'styled-components';
import WheatBg from '../../../WheatBg'; import WheatBg from '../../../WheatBg';
import StableImg from '../../../../磷肥施用技术切图/默认状态/画面a-2-2厩肥-assets/厩肥.png'; import PigImg from '../../../../磷肥施用技术切图/默认状态/画面a-2-2厩肥-assets/猪厩肥.png';
import GoatImg from '../../../../磷肥施用技术切图/默认状态/画面a-2-2厩肥-assets/羊厩肥.png';
import { BackBtn, HomeBtn } from '../../../SubHome'; import { BackBtn, HomeBtn } from '../../../SubHome';
import { convertpx2vw } from '../../../../config'
const StyledImg = styled.img` const StyledImg = styled.img`
display: block; display: block;
width: 702px; width: ${convertpx2vw(702)};
height: 552px; height: ${convertpx2vw(552)};
`; `;
export default function Stable() { export default function Stable() {
return ( return (
<WheatBg> <WheatBg>
<StyledImg src={StableImg} alt="家畜粪尿肥" /> <StyledImg src={PigImg} alt="猪厩肥" style={{marginRight: convertpx2vw(80)}} />
<StyledImg src={GoatImg} alt="羊厩肥" />
<BackBtn /> <BackBtn />
<HomeBtn /> <HomeBtn />
</WheatBg> </WheatBg>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论