51 lines
856 B
Vue
51 lines
856 B
Vue
<template>
|
|
<view>
|
|
<!-- 状态栏 -->
|
|
<status-nav
|
|
:ifTitle="true"
|
|
:ifReturn="true"
|
|
:ifCenter="true"
|
|
:navBarTitle="'购物车'"
|
|
:fromWhere="1"></status-nav>
|
|
<!-- 容器 -->
|
|
<container-subgroup>
|
|
<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 {
|
|
|
|
}
|
|
},
|
|
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>
|