<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="vue.min.js"></script>
<link rel="stylesheet" type="text/css" href="bootstrap.min.css">
<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
</head>
<body>
<div id="app">
<table class="table table-bordered" id="productListTable" >
<thead>
<tr>
<th>商品名称</th>
<th>单价</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr v-for="product in products ">
<td>{
{product.name}}</td>
<
Vue实现简单的购物车
最新推荐文章于 2023-07-18 19:45:01 发布