<!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">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css"
crossorigin="anonymous">
<script src="vue.global.js"></script>
<title></title>
</head>
<body>
<div id="application">
<div class="container-md">
<template v-if="productList.length">
<table class="table" v-for="(tableItem,tableIndex) in productList">
<thead class="thead-light">
<tr>
<th>
<input type="checkbox" :checked="isCheckedTableItem(tableItem)" @click="handleTableItem(tableItem)" />{
{tableItem.name}}
</th>
<th scope="col">序号</th>
<th scope="col">商品名称</th>
<th scope="col">商品单价</th>
<th scope="col">购买数量</th>
<th scope="col">操作</th>
</tr>
</thead>
<tbody>
<tr v-for="(item,index) in tableItem.list">
<th>
<input type="checkbox" :checked="item.status" @click="handleChecked(item)">
</th>
<th scope=&#
Vue框架购物车结算页面
最新推荐文章于 2023-05-31 20:52:24 发布