提交 37dd3f27 作者: 翁进城

Merge remote-tracking branch 'origin/caoyun'

...@@ -8,6 +8,7 @@ import Image from 'next/image'; ...@@ -8,6 +8,7 @@ import Image from 'next/image';
import errImg from "~/assets/errImg"; import errImg from "~/assets/errImg";
import api,{GetWebDeviceDetailResult,GetWebDeviceWareSkuById} from './api'; import api,{GetWebDeviceDetailResult,GetWebDeviceWareSkuById} from './api';
import { UserContext } from "~/lib/userProvider"; import { UserContext } from "~/lib/userProvider";
import flowPat from './assets/flow-path.png'
const { CheckableTag } = Tag const { CheckableTag } = Tag
...@@ -176,7 +177,7 @@ export default function EquipmentLeasingDetail() { ...@@ -176,7 +177,7 @@ export default function EquipmentLeasingDetail() {
</div> </div>
</div> </div>
<div className='flow-path'> <div className='flow-path'>
<Image className='image' src={require("./assets/flow-path.png")} alt="" /> <Image className='image' fill src={flowPat.src} alt="" />
</div> </div>
<div className='prompt'> <div className='prompt'>
更多租金规则请前往【云享飞】微信小程序查 更多租金规则请前往【云享飞】微信小程序查
......
...@@ -120,6 +120,7 @@ export const Box = styled.div` ...@@ -120,6 +120,7 @@ export const Box = styled.div`
height: 192px; height: 192px;
text-align: center; text-align: center;
margin-top: 72px; margin-top: 72px;
position: relative;
.image{ .image{
margin: 0 auto; margin: 0 auto;
} }
......
...@@ -59,7 +59,7 @@ export default function EquipmentLeasing(props: Props) { ...@@ -59,7 +59,7 @@ export default function EquipmentLeasing(props: Props) {
const rightDom = (item: Advertisement) => { const rightDom = (item: Advertisement) => {
return ( return (
<div key={item.id} className="right-box-item right-item"> <div key={item.id} className="right-box-item right-item">
<Image src={item.imageUrl} alt="error" width={180} height={295} /> <Image src={item.imageUrl} alt="error" fill />
</div> </div>
); );
}; };
......
...@@ -71,6 +71,7 @@ export const Box = styled.div` ...@@ -71,6 +71,7 @@ export const Box = styled.div`
background: #d8d8d8; background: #d8d8d8;
border-radius: 6px; border-radius: 6px;
overflow: hidden; overflow: hidden;
position: relative;
} }
.pagination-page { .pagination-page {
text-align: right; text-align: right;
......
...@@ -23,9 +23,9 @@ export default function JobServicesDetail() { ...@@ -23,9 +23,9 @@ export default function JobServicesDetail() {
{ {
key: '1', key: '1',
label: `团队介绍`, label: `团队介绍`,
children: <div> children: <div className='teamIntroduction'>
{/* <Image width={1100} height={800} src={detail?.teamPoster ? detail?.teamPoster : ''} alt='error'/> */} {/* <Image width={1100} height={800} src={detail?.teamPoster ? detail?.teamPoster : ''} alt='error'/> */}
<img src={detail?.teamPoster ? detail?.teamPoster : ''} alt="error" /> <img style={{width:"100%"}} src={detail?.teamPoster ? detail?.teamPoster : ''} alt="error" />
</div>, </div>,
}, },
{ {
...@@ -57,7 +57,7 @@ export default function JobServicesDetail() { ...@@ -57,7 +57,7 @@ export default function JobServicesDetail() {
<Box> <Box>
<div className='top'> <div className='top'>
<div className="top-image"> <div className="top-image">
<Image width={300} height={300} src={detail?.pictureUrl ? detail?.pictureUrl : ''} alt='error'/> <Image fill src={detail?.pictureUrl ? detail?.pictureUrl : ''} alt='error'/>
</div> </div>
<div className='top-right'> <div className='top-right'>
<div className='right-top'> <div className='right-top'>
......
...@@ -20,6 +20,7 @@ export const Box = styled.div` ...@@ -20,6 +20,7 @@ export const Box = styled.div`
background-color: #F4F5F7; background-color: #F4F5F7;
border-radius: 6px; border-radius: 6px;
margin-right: 32px; margin-right: 32px;
position: relative;
} }
&-right{ &-right{
display: flex; display: flex;
...@@ -106,5 +107,8 @@ export const Box = styled.div` ...@@ -106,5 +107,8 @@ export const Box = styled.div`
.tabs{ .tabs{
padding: 0 24px; padding: 0 24px;
margin-top: 69px; margin-top: 69px;
.teamIntroduction{
width: 100%;
}
} }
` `
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论