罗世杰:店铺列表字段绑定

This commit is contained in:
LuoShijie
2023-11-18 00:17:41 +08:00
parent 022da2f0d0
commit f3cec1461e
2 changed files with 15 additions and 64 deletions

View File

@@ -5,7 +5,7 @@
<u-image width="80px" height="80px" :src="shopInfo.pics" radius="8px"></u-image>
</view>
<view class="text-area">
<text style="font-weight: 500;">{{shopInfo.title}}</text>
<text style="font-weight: 500;">{{shopInfo.tt}}</text>
<view v-if="showStyle == 0" class="pos-and-sqr" >
<view>
<view>
@@ -30,8 +30,9 @@
</view>
<view class="rent-and-date">
<text>租金{{shopInfo.zujin}}/</text>
<text v-if="showStyle == 0">发布日期{{shopInfo.create_time}}</text>
<text v-if="showStyle == 0">发布日期{{$u.timeFormat(shopInfo.create_time,'yyyy-mm-dd')}}</text>
<text v-if="showStyle == 1">转让费{{shopInfo.zhuanrangfei}}</text>
<!-- bug -->
</view>
</view>
</view>
@@ -163,7 +164,7 @@
id: this.shopInfo.id,
type: this.shopInfo.type
})
// console.log("query",query);
console.log("query",query);
uni.navigateTo({
url: '/pages/detail/detail' + `${query}`
})