<template>
	<view class="shop">
		 <van-cell :title="defaultAddr === '' ? '默认收货地址' : defaultAddr" is-link  link-type="navigateTo" url="/pages/address/address"/>
       
	</view>
</template>

<script>
	import {shopCartInfo,totalPay,orderCount} from '../../api/shop.js'
	export default {
		data() {
			return {
            defaultAddr: "",
            basketIds: [],
						shopCartInfo:[]
			}
		},
		async	onLoad() {
		const aaa = await totalPay(this.basketIds)
		console.log(aaa,'aaa')
			this.init();
		},
		methods:{
			 init() {
				 shopCartInfo({}).then(res => {
					 console.log(res,'购物车')
				 })
			}
		}
	}
</script>

<style>
</style>