<template>
	<view>
		<SearchShopListItem
			v-for="item in shopInfoList"
			:key="searchid"
			:shopInfo="item"
		></SearchShopListItem>
	</view>
</template>

<script>
	/**
	 * @property {Array}    shopInfoList     对象数组，（不带图片）需要展示的商铺列表
	 */
	export default {
		name:"SearchShopList",
		data() {
			return {
				
			};
		},
		props: {
			shopInfoList: {
				type: Array,
				default() {
					return [
						{
							searchid: 1,
							title: '寻找旺铺,200平米左右，寻找旺铺,200平米左右寻找旺铺,200平米左右寻找旺铺,200平米左右',
							price: 5000,
							date: '2023-11-02',
							phoneNum: 13348946108,
							pos: '锦江区',
							category: '餐饮美食',
							uname: 'A先生',
							sqr: 500
						},
						{
							searchid: 2,
							title: '寻找旺铺,200平米左右，寻找旺铺,200平米左右寻找旺铺,200平米左右寻找旺铺,200平米左右',
							price: 7000,
							date: '2023-11-02',
							phoneNum: 13348946108,
							pos: '锦江区',
							category: '餐饮美食',
							uname: '王先生',
							sqr: 200
						}
					]
				}
			}
		}
	}
</script>

<style lang="scss">

</style>