<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style type="text/css">
.tomact {
display: flex;
width: 100%;
height: 1060px;
background-color: #03274b;
}
.head {
width: 1410px;
height: 1070px;
}
.info {
width: 1400px;
height: 810px;
}
.info-th {
width: 1400px;
height: 810px;
}
.item {
width: 490px;
height: 100px;
background-color: #03274b;
position: absolute;
top: 1%;
left: 24%;
}
.item-th {
display: flex;
justify-content: center;
align-items: center;
height: 100px;
color: white;
font-size: 50px;
}
.item-th p {
margin-top: 40px;
}
.text {
display: flex;
width: 1400px;
height: 250px;
background-color: #03274b;
box-shadow: inset 0 0 50px 2px hwb(214 7% 45%);
}
.origin {
margin: 55px 0;
width: 400px;
height: 165px;
border-right: 3px solid hwb(214 7% 45%);
}
.origin-th {
margin: auto;
width: 65%;
font-weight: bolder;
color: white;
font-size: 35px;
font-family: Serif;
}
.origin-th p {
margin-top: 0;
line-height: 1;
}
.profile {
margin: 55px 0;
width: 540px;
height: 165px;
border-right: 3px solid hwb(214 7% 45%);
}
.profile-th {
margin: auto;
width: 75%;
font-weight: bolder;
color: white;
font-size: 35px;
font-family: Serif;
}
.profile-th p {
margin-top: 0;
line-height: 1;
}
.price {
margin: 55px 0;
width: 470px;
height: 165px;
}
.price-th {
margin: auto;
width: 70%;
font-weight: bolder;
color: white;
font-size: 35px;
font-family: Serif;
}
.price-th p {
margin-top: 0;
line-height: 1;
}
.price-th label {
color: yellow;;
}
.sidebar {
width: 495px;
height: 1060px;
background-color: #03274b;
box-shadow: inset 0 0 50px 2px hwb(214 7% 45%);
position: absolute;
right: 0;
padding: 30px;
box-sizing: border-box;
}
.sidebar h2 {
font-size: 30px;
color: white;
text-align: center;
margin-bottom: 50px;
margin-top: 70px;
font-family: Serif;
}
.sidebar p {
font-size: 25px;
margin: 0 20px;
color: white;
line-height: 1.5;
margin-bottom: 60px;
font-family: Serif;
}
.sidebar .image-placeholder {
width: 90%;
height: 180px;
background-color: #0066cc;
display: block;
margin: 40px auto;
color: #fff;
}
</style>
</head>
<body>
<div class="tomact">
<div class="head">
<div class="info">
<img class="info-th" src="/img/chicken.jpg">
<div class="item">
<div class="item-th">
<p>琵琶腿</p>
</div>
</div>
</div>
<div class="text">
<div class="origin">
<div class="origin-th">
<p>产地: </p>
<p>山东省临沂市</p>
</div>
</div>
<div class="profile">
<div class="profile-th">
<p>简介:</p>
<p>鸡腿, 充分熟制后食用</p>
</div>
</div>
<div class="price">
<div class="price-th">
<p>价格:</p>
<p><label>103.00</label>元/箱</p>
</div>
</div>
</div>
</div>
<div class="sidebar">
<h2>公司名称</h2>
<p>简介: 文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容文字内容内容文字内容文字内容文字内容文字内容
</p>
<div class="image-placeholder"></div>
<div class="image-placeholder"></div>
</div>
</div>
</body>
<script>
const list=[
{
img:'./img/chicken.jpg',
price:'价格:103.00元/箱',
desc:'简介:鸡腿, 充分熟制后食用',
title:'琵琶腿',
production:'产地:山东省临沂市',
},
{
img:'./img/butterfly.jpg',
price:'价格:195.00元/箱',
desc:'简介:南美白对虾、水、食用盐、复配水分保持剂,将产品拆袋解冻清洗干净,加热至熟后食用',
title:'国美生蝴蝶虾51/60',
production:'产地:广东省湛江市',
},
{
img:'./img/drumette.jpg',
price:'价格:155.00元/箱',
desc:'简介:精选鸡翅,微波、烧烤、油炸',
title:'安大调理翅根',
production:'产地:山东省潍坊市',
},
{
img:'./img/edamame.jpg',
price:'价格:100.00/箱',
desc:'简介:小青豆, 适合解冻烹饪使用',
title:'琵琶腿',
production:'产地:浙江省杭州市',
},
{
img:'./img/fragrant.jpg',
price:'价格:354.00元/箱',
desc:'简介:对虾、纯净水, 充分熟制后食用',
title:'8/12盐田虾',
production:'产地:海南省琼海市',
},
{
img:'./img/hairtail.jpg',
price:'价格:345.00元/箱',
desc:'简介:带鱼、唐扬粉(小麦粉、淀粉、米粉、香辛料、白砂糖)、酱油、食用盐',
title:'秘制带鱼M',
production:'产地:浙江省舟山市',
},
{
img:'./img/pack.jpg',
price:'价格:120.00元/箱',
desc:'简介:毛豆仁, 适合解冻烹饪使用',
title:'速冻甜青豆中(白)',
production:'产地:浙江省杭州市',
},
{
img:'./img/joint.jpg',
price:'价格:325.00元/箱',
desc:'简介:精选鸡翅,微波、烧烤、油炸',
title:'安大奥尔良翅中(绿胶带)',
production:'产地:山东省潍坊市',
},
{
img:'./img/leg.jpg',
price:'价格:116.00元/箱',
desc:'简介:鸡肉, 充分熟制后食用',
title:'毛毛肉',
production:'产地:山东省济南市',
},
{
img:'./img/maize.jpg',
price:'价格:66.00元/箱',
desc:'简介:玉米粒, 解冻烹饪后使用',
title:'速冻甜玉米粒',
production:'产地:浙江省杭州市',
},
{
img:'./img/meat.jpg',
price:'价格:180.00元/箱',
desc:'简介:南美白对虾、水、食用盐、复配水分保持剂,充分烹调后可食用',
title:'国美生虾仁60/70',
production:'产地:广东省湛江市',
},
{
img:'./img/media.jpg',
price:'价格:420.00元/箱',
desc:'简介:鸡肉, 充分熟制后食用',
title:'40/50翅中',
production:'产地:山东省滨州市',
},
{
img:'./img/pork.jpg',
price:'价格:440.00元/箱',
desc:'简介:带骨猪肉,充分熟制后食用',
title:'猪肋排',
production:'产地:浙江省杭州市',
},
{
img:'./img/prawn.jpg',
price:'价格:0.00元/箱',
desc:'简介:盐田虾,解冻后加水和生姜烧沸关火,将熟虾入沸水中浸泡1分钟,蘸料食用',
title:'熟冻盐田虾',
production:'产地:河北省唐山市',
},
{
img:'./img/wing.jpg',
price:'价格:116.00元/箱',
desc:'简介:鸡肉, 充分熟制后食用',
title:'翅根',
production:'产地:山东省滨州市',
},
]
</script>
</html>例如这个代码我想要把数组里的数据读取出来具体怎么实现,在原代码的基础上整改