mall-laonong/pages/cart/cart.vue

40 lines
694 B
Vue
Raw Normal View History

2022-07-31 02:14:22 +00:00
<template>
2022-08-01 09:46:21 +00:00
<view class="pad-x170">
2022-07-31 02:14:22 +00:00
<status-nav :ifReturn="true" navBarTitle="购物车" :marginBottom="0"></status-nav>
<view class="cart-content">
<cart-slide ref="cart" :skuId='skuId'></cart-slide>
</view>
</view>
</template>
<script>
// 底部组件
import cartSlide from '@/components/shopping-carts/cart-slide';
export default {
components:{
cartSlide
},
data() {
return {
skuId:''
}
},
2022-08-01 09:46:21 +00:00
onLoad(op) {
if(op.skuId) this.skuId = op.skuId;
2022-07-31 02:14:22 +00:00
},
onShow() {
uni.removeStorageSync('buyList');
},
2022-08-01 09:46:21 +00:00
onReachBottom() {
// this.$refs.cart.getList();
2022-07-31 02:14:22 +00:00
},
methods: {
}
}
</script>
<style>
</style>