罗世杰:feat:初始化统计色块,完成店铺列表和找店列表的切换,完成首页导航

This commit is contained in:
LuoShijie
2023-11-06 00:08:37 +08:00
parent 79d26d70cf
commit 237f2451b8
19 changed files with 323 additions and 115 deletions

View File

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