UPDATE

上级 e531b46c
......@@ -9,7 +9,7 @@
<Goods v-for="item in list" :key="item.id" :title="item.goods_name" :pic="item.goods_img" :chstate="item.goods_state"
:id="item.id" :price="item.goods_price" :count="item.goods_count" @good_check_change="updateGoodState"></Goods>
<Footer :full_checked="allChecked" :amount="amt" @changAllGoodsState="changeState"></Footer>
<Footer :full_checked="allChecked" :amount="amt" @changAllGoodsState="changeState" ref="FooterRef"></Footer>
</div>
</template>
......@@ -19,7 +19,7 @@ import axios from 'axios' // 导入 axios 模块
import Header from '@/components/Header/Header.vue' // 导入 Header 组件
import Goods from '@/components/Goods/Goods.vue' // 导入 Goods 组件
import Footer from '@/components/Footer/Footer.vue'
import { EventBus } from './components/eventBus.js'
export default {
components: {
......
......@@ -11,7 +11,8 @@
<script>
import bus from '../eventBus.js';
import bus from '../eventBus' ;
export default {
......@@ -27,7 +28,7 @@ export default {
},
methods:{
add(){
}
},
}
......
......@@ -18,7 +18,7 @@
</template>
<script>
import bus from '../eventBus';
export default {
props:{
full_checked:{
......@@ -33,7 +33,8 @@ export default {
methods:{
changAppListGoodsSState(e){
this.$emit('changAllGoodsState',{value: e.target.checked})
}
},
}
}
</script>
......
......@@ -19,7 +19,7 @@
<div class="goods-info-bottom">
<!-- 商品价格 -->
<span class="goods-price">{{price}}</span>
<Counter :num="count" :count_id="id"></Counter>
<Counter :num="count" :count_id="id" ></Counter>
</div>
</div>
</div>
......
export function helloWorld() {
console.log("Hello, World!");
}
\ No newline at end of file
import { createApp } from 'vue';
export default createApp({});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册