
<template>
	<view class="content">
		<goods-list :list="goods"/>
	</view>
</template>

<script>
	import keyPhone from '@/public/keyPhone'
	import goodsList from '@/components/goods-list/goods-list'
	export default {
		components:{
			goodsList
		},
		data() {
			return {
				goods: [
					{
						cover: "https://yanxuan-item.nosdn.127.net/d3b072b5006f56935d15d239cbc5c953.jpg",
						title: "片片大果仁，夏威夷坚果脆片 可可味 55克",
						price: "16",
						sales: "25"
					},
					{
						cover: "https://yanxuan-item.nosdn.127.net/8cfaed758404e23bc74c7214505ce5ec.jpg",
						title: "每日坚果亚麻籽谷物燕麦片 600克",
						price: "58",
						sales: "1002"
					},
					{
						cover: "https://yanxuan-item.nosdn.127.net/65af0745153e2dfa3d7c4fafb7472db6.jpg",
						title: "全新升级银罐，玲珑柑普茶 130克（10颗）",
						price: "98",
						sales: "2235"
					},
					{
						cover: "https://yanxuan-item.nosdn.127.net/f3af9b6eaf15e6e3be1f14e14da90930.jpg",
						title: "别致养生设计 猪鬃气垫按摩梳",
						price: "79",
						sales: "992"
					},
					{
						cover: "https://yanxuan-item.nosdn.127.net/cb99e8a2f4597f3a5d05347a9eeb64c5.png",
						title: "2020年新款，日式减压按摩腰靠",
						price: "219",
						sales: "231"
					},
					{
						cover: "https://yanxuan-item.nosdn.127.net/fff6aead2baff207e869f0aa6f276b63.png",
						title: "T300无线吸尘器",
						price: "159",
						sales: "988"
					}
				]
			}
		},
		onLoad() {
			// console.log(this.$store.state)
		},
		methods: {
			// login(){
			// 	keyPhone.keyAuth().then(res => {
			// 		console.log(res)
			// 	}).catch(err =>{
			// 		console.log(err)
			// 	})
			// }
		}
	}
</script>

<style>
	
</style>
