罗世杰:fixed修改了使用展示商铺列表组件的地方

This commit is contained in:
LuoShijie
2023-11-16 20:12:02 +08:00
parent e756b8e046
commit 971bf5efa6
5 changed files with 13 additions and 14 deletions

View File

@@ -54,12 +54,12 @@
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg', imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
title: '琴行铺面转让', title: '琴行铺面转让',
promotionNum: 23, promotionNum: 23,
price: 6000, price: 5000,
date: '2023-11-02', date: '2023-11-02',
pos: '锦江区', pos: '锦江区',
exactPos: '锦江区-汇源南路366号', exactPos: '锦江区-汇源南路366号',
sqr: 100, sqr: 100,
zrfText: "转让费20万", zrfText: "转让费20000万",
category: '餐饮美食', category: '餐饮美食',
uname: "张先生", uname: "张先生",
phoneNum: 13348946108, phoneNum: 13348946108,
@@ -68,13 +68,13 @@
shopid: 2, shopid: 2,
imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg', imageUrl: 'https://alifei01.cfp.cn/creative/vcg/800/new/VCG41175510742.jpg',
title: '琴行铺面转让', title: '琴行铺面转让',
promotionNum: 28, promotionNum: 23,
price: 5000, price: 5000,
date: '2023-11-02', date: '2023-11-02',
pos: '锦江区', pos: '锦江区',
exactPos: '锦江区-汇源南路366号', exactPos: '锦江区-汇源南路366号',
sqr: 200, sqr: 200,
zrfText: "转让费:30万", zrfText: "转让费:20000万",
category: '餐饮美食', category: '餐饮美食',
uname: "王先生", uname: "王先生",
phoneNum: 13348946108, phoneNum: 13348946108,

View File

@@ -30,13 +30,13 @@
</view> </view>
<view class="rent-and-date"> <view class="rent-and-date">
<text>租金{{shopInfo.price}}/</text> <text>租金{{shopInfo.price}}/</text>
<text v-if="showStyle==0">发布日期{{shopInfo.date}}</text> <text v-if="showStyle == 0">发布日期{{shopInfo.date}}</text>
<text v-else="showStyle==1 ">{{shopInfo.zrfText}}</text> <text v-if="showStyle == 1">{{shopInfo.zrfText}}</text>
</view> </view>
</view> </view>
</view> </view>
<view class="cart-and-date bottom-common" v-if="showStyle==1"> <view class="cart-and-date bottom-common" v-if="showStyle == 1 || showStyle == 2">
<view> <view>
<view> <view>
<u-image src="/static/shoplist/sy_icon_lbpm.png" width="12px" height="15px"></u-image> <u-image src="/static/shoplist/sy_icon_lbpm.png" width="12px" height="15px"></u-image>

View File

@@ -15,7 +15,7 @@
<DropDown></DropDown> <DropDown></DropDown>
</view> </view>
<view class="marginLR10"> <view class="marginLR10">
<ShowShopList :showStyle="1"/> <ShowShopList :showStyle="2"/>
</view> </view>
</view> </view>
</template> </template>

View File

@@ -15,7 +15,7 @@
<DropDown></DropDown> <DropDown></DropDown>
</view> </view>
<view class="marginLR10"> <view class="marginLR10">
<ShowShopList :showStyle="1"/> <ShowShopList :showStyle="2"/>
</view> </view>
</view> </view>
</template> </template>

View File

@@ -9,12 +9,11 @@
</view> </view>
<view class="content"> <view class="content">
<ShowShopList v-if="listId == 0" class="list" :isEdit="true" :showStyle="1"></ShowShopList> <ShowShopList v-if="listId == 0" class="list" :isEdit="true" :showStyle="1"></ShowShopList>
<SearchShopList v-if="listId == 1" class="list" :is-edit="true" :showStyle="1"></SearchShopList> <SearchShopList v-if="listId == 1" class="list" :is-edit="true" :showStyle="1"></SearchShopList>
<ShowShopList v-if="listId == 2" class="list" :is-edit="true" :showStyle="1"></ShowShopList> <ShowShopList v-if="listId == 2" class="list" :is-edit="true" :showStyle="2"></ShowShopList>
<ShowShopList v-if="listId == 3" class="list" :is-edit="true" :showStyle="1"></ShowShopList> <ShowShopList v-if="listId == 3" class="list" :is-edit="true" :showStyle="2"></ShowShopList>
<ShowShopList v-if="listId == 4" class="list" :showStyle="1"></ShowShopList> <ShowShopList v-if="listId == 4" class="list" :showStyle="0"></ShowShopList>
</view> </view>
</view> </view>
</template> </template>