罗世杰:feat:简单完成商铺展示列表
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<template>
|
||||
<view>
|
||||
|
||||
<ShowShopListItem
|
||||
v-for="item in shopInfoList"
|
||||
:shopInfo="item"
|
||||
></ShowShopListItem>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -11,6 +14,32 @@
|
||||
return {
|
||||
|
||||
};
|
||||
},
|
||||
props: {
|
||||
shopInfoList: {
|
||||
type: Array,
|
||||
default() {
|
||||
return [
|
||||
{
|
||||
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
|
||||
title: '琴行铺面转让',
|
||||
promotionNum: 23,
|
||||
price: 5000,
|
||||
date: '2023-11-02'
|
||||
},
|
||||
{
|
||||
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
|
||||
title: '琴行铺面转让',
|
||||
promotionNum: 28,
|
||||
price: 8000,
|
||||
date: '2023-11-02'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
></u-notice-bar>
|
||||
</view>
|
||||
|
||||
<ShowShopListItem></ShowShopListItem>
|
||||
<ShowShopList></ShowShopList>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
BIN
static/shoplist/sy_icon_lbdw.png
Normal file
BIN
static/shoplist/sy_icon_lbdw.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
static/shoplist/sy_icon_lbpm.png
Normal file
BIN
static/shoplist/sy_icon_lbpm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 780 B |
Reference in New Issue
Block a user