perry-mall/pages/tabbar/cart/cart.vue

51 lines
856 B
Vue
Raw Normal View History

<template>
<view>
<!-- 状态栏 -->
<status-nav
:ifTitle="true"
:ifReturn="true"
:ifCenter="true"
:navBarTitle="'购物车'"
:fromWhere="1"></status-nav>
<!-- 容器 -->
<container-subgroup>
2022-02-24 03:21:51 +00:00
<view slot="content">
<cart></cart>
</view>
</container-subgroup>
</view>
</template>
<script>
import cart from '@/components/cart-subgroup/cart.vue';
export default {
components:{
cart
},
data() {
return {
}
},
2022-02-25 09:24:06 +00:00
onLoad(options) {
if(uni.getStorageSync('phone_active')){
this.$toolAll.tools.clearShare();
} else {
uni.setStorageSync('outside',2);
uni.setStorageSync('existCode',options.invite_code)
uni.setStorageSync('transientUrl',`/pages/tabbar/cate/cate`);
uni.navigateTo({
url:'/pages/login/login'
})
}
},
methods: {
}
}
</script>
<style>
</style>