56 lines
1000 B
Vue
56 lines
1000 B
Vue
<template>
|
|
<view>
|
|
<ShowShopListItem
|
|
v-for="item in shopInfoList"
|
|
:shopInfo="item"
|
|
></ShowShopListItem>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
/**
|
|
* @property {Array} shopInfoList 对象数组,(带图片)需要展示的商铺列表
|
|
*/
|
|
export default {
|
|
name:"ShowShopList",
|
|
data() {
|
|
return {
|
|
|
|
};
|
|
},
|
|
props: {
|
|
shopInfoList: {
|
|
type: Array,
|
|
default() {
|
|
return [
|
|
{
|
|
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
|
|
title: '琴行铺面转让',
|
|
promotionNum: 23,
|
|
price: 6000,
|
|
date: '2023-11-02',
|
|
pos: '锦江区',
|
|
sqr: 100
|
|
},
|
|
{
|
|
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
|
|
title: '琴行铺面转让',
|
|
promotionNum: 28,
|
|
price: 5000,
|
|
date: '2023-11-02',
|
|
pos: '锦江区',
|
|
sqr: 200
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
computed: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
|
|
</style> |