<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script src="js/vue.js" type="text/javascript"></script>
<script src="js/jquery-3.6.0.js" type="text/javascript"></script>
<div id="app" >
<div it="container">
<my-cart></my-cart>
</div>
</div>
<style>
* {
padding: 0;
margin: 0
}
a {
text-decoration: none;
}
.container {
width: 500px;
margin: 10px auto;
}
.title {
width: 500px;
height: 50px;
text-align: center;
line-height: 50px;
font-size: 20px;
background-color: paleturquoise;
}
.item {
width: 500px;
position: relative;
height: 50px;
border-bottom: 1px solid rgb(0, 0, 0);
}
.item img {
float: left;
width: 100px;
height: 50px;
}
/* .item name {
position: absolute;
float: left;
width: 120px;
margin-left: 10px;
top: 15px;
left: 100px;
} */
/* .item .price {
position: absolute;
float: left;