| 12345678910111213141516171819202122232425262728293031323334353637 |
- <cu-custom bgColor="bg-lw-header" isCustom="{{true}}">
- <view slot="content">商家</view>
- </cu-custom>
- <!-- <image src="/common/images/business_backgroud.jpg" style="width:750rpx;height:400rpx;" bindtap="toAd"></image> -->
- <!-- 地图 -->
- <view class="business-header">
- <map longitude="{{longitude}}" latitude="{{latitude}}" scale="15" markers="{{markers}}" style="width: 100%; height: 400rpx;"></map>
- <view class="lw-search">
- <view class="search-form">
- <input type="text" placeholder="请输入关键字" placeholder-class="placeholder" model:value="{{keyword}}" confirm-type="search" bindconfirm="bindSearch" bindinput="bindInput"></input>
- </view>
- <view class="search-icon">
- <text class="cuIcon-search" style="font-size:30rpx;color:#687a9c;"></text>
- </view>
- </view>
- </view>
- <view style="width:100%;height: 200px;"></view>
- <!-- 列表 -->
- <view class="site-list">
- <view class="site-item" wx:for="{{list}}" wx:key="key">
- <image class="main_image" mode="aspectFill" src="{{item.main_image ? item.main_image : '/common/images/no_photo.png'}}" bindtap="toDetail" data-id="{{item.id}}"></image>
- <view class="content">
- <view class="site-name" bindtap="toDetail" data-id="{{item.id}}">
- {{item.title}}
- </view>
- <view class="site-address" bindtap="setLocation" data-lat="{{item.latitude}}" data-lon="{{item.longitude}}" data-title="{{item.title}}">
- <image src="/common/images/location.png"></image>
- <view class="address">{{item.address}}</view>
- </view>
- <view class="site-mobile" bindtap="callMobile" data-mobile="{{item.mobile}}">
- <image src="/common/images/phone.png"></image> {{item.mobile}}
- </view>
- </view>
- </view>
- </view>
- <view wx:if="no_more" class="no_more">没有更多数据</view>
|