2025-06-06 15:07:26 +08:00

61 lines
2.8 KiB
Plaintext

<view>
<!-- <view class="search-bar"> -->
<!-- <view class="search-bar__city"> -->
<!-- <image style="width: 33rpx; height: 33rpx;" src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/User/_assets/location.png"></image> -->
<!-- <text style="margin: 0 10rpx;">{{ '衡水市' }}</text> -->
<!-- <image -->
<!-- style="width: 12rpx; height: 22rpx; transform: rotate(90deg);" -->
<!-- src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/User/_assets/more.primary.12x22.png" -->
<!-- > -->
<!-- </image> -->
<!-- </view> -->
<!-- <view class="search-bar__input"> -->
<!-- <image style="width: 33rpx; height: 33rpx;" src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/User/_assets/search.png"></image> -->
<!-- <input class="search-bar__input-inner" placeholder="输入要搜索的社区名称"></input> -->
<!-- </view> -->
<!-- </view> -->
<view class="community-list">
<view
wx:for="{{list}}"
wx:for-item="item"
wx:key="item.id"
class="community-list-item"
>
<view class="community-list-item__cover">
<image class="community-list-item__image" mode="aspectFill" src="{{item.cover}}"></image>
</view>
<view class="community-list-item__content">
<view class="community-list-item__title">
<text>{{ item.title }}</text>
<text>{{ item.distance }}</text>
</view>
<view class="community-list-item__property">
<text>物业公司:</text>
<text>{{ item.property_company }}</text>
</view>
<view class="community-list-item__address">
<!-- <image src=""></image> -->
<text>{{ item.address }}</text>
</view>
<view class="community-list-item__actions">
<view class="community-list-item__action community-list-item__nav">
<image style="width: 24rpx; height: 24rpx;" src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/User/_assets/send.png"></image>
<text style="margin-left: 9rpx;">导航</text>
</view>
<view class="community-list-item__action community-list-item__call">
<image style="width: 24rpx; height: 24rpx;" src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/User/_assets/phone.png"></image>
<text style="margin-left: 9rpx;">电话</text>
</view>
<view style="flex: 1;"></view>
<navigator class="community-list-item__detail" url="{{'/pages/community/detail?id=' + item.id}}">
进入小区
</navigator>
</view>
</view>
</view>
<view wx:if="{{!loading && !list.length}}" style="padding: 100rpx 30rpx; text-align: center;">
暂无数据
</view>
</view>
</view>