Commit e53f021a authored by GuanHua's avatar GuanHua

style:商品详情样式修改

parent 2dddbbf0
......@@ -81,6 +81,10 @@
}
&>img {
position: absolute;
top: 0;
bottom: 0;
margin: auto;
width: 100%;
display: block;
......
......@@ -12,28 +12,6 @@ interface ExhibitionPropsType {
imgList: imgItemType[]
}
// const imgList = [
// {
// url: "https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/09/product-furniture-1.jpg"
// },
// {
// url: "https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/09/product-furniture-1-5.jpg"
// },
// {
// url: "https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/09/product-furniture-1-3.jpg"
// },
// {
// url: "https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/09/product-furniture-1-2.jpg"
// },
// {
// url: "https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/09/product-furniture-1-6.jpg"
// },
// {
// url: "https://woodmartcdn-cec2.kxcdn.com/wp-content/uploads/2016/09/product-furniture-1.jpg"
// }
// ]
const Exhibition: React.FC<ExhibitionPropsType> = (props) => {
const { imgList = [] } = props
const [previewImg, setPreviewImg] = useState<any>()
......
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