You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.4 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!--pages/coupon/applyShop.wxml-->
<view class="page">
<loading hidden="{{hidden}}">
加载中
</loading>
<view class='title_fixed'>
<view class="zan-panel" style="padding:0px;margin:0px; line-height: 15px;">
<view class="zan-cell">
<view class="zan-cell__bd">共个{{totalCount}}适用门店</view>
</view>
</view>
<view class="weui-search-bar">
<view class="weui-search-bar__form">
<view class="weui-search-bar__box">
<icon class="weui-icon-search_in-box" type="search" size="14"></icon>
<input type="text" class="weui-search-bar__input" placeholder="请输入门店名称" value="{{inputVal}}" focus="{{inputShowed}}" bindinput="inputTyping" />
<view class="weui-icon-clear" wx:if="{{inputVal.length > 0}}" bindtap="clearInput">
<icon type="clear" size="14"></icon>
</view>
</view>
</view>
<view class="weui-search-bar__cancel-btn" hidden="{{!inputShowed}}" bindtap="hideInput">取消</view>
</view>
</view>
<view class="container margin" style="padding:0px;">
<view class="zan-panel2" style="border-bottom:0px;">
<block wx:if="{{dataList.length > 0}}" wx:for="{{dataList}}" wx:for-index="idx" wx:for-item="item" wx:key="*this">
<view class="zan-row border">
<view class="zan-col zan-col-18" style="padding:10px;padding-right:0px;">
<view class="weui-media-box__title" style='margin-bottom0rpx;'>{{item.name}}</view>
<view class="weui-media-box__desc fontStyle" >
<image src='/images/icon-location.png' class='icon'></image> {{item.address == '' ? '暂无地址信息' : item.address}}</view>
<view class="weui-media-box__desc" style='padding-top:15rpx;'>
<image src='/images/time.png' class='icon'></image> 营业时间00:00-24:00</view>
<view class='bottom' >
<view class='num'>
<image src='/images/phone2.png' class='icon'></image>
{{item.phoneNum}}
</view>
<view class='phone' bindtap='phone' data-phone="{{item.phoneNum}}">电话</view>
<view class='dh' bindtap='onLocation' data-latitude='{{item.latitude}}' data-longitude='{{item.longitude}}' style='background:{{color}};'> 导航</view>
</view>
</view>
<view class='distance zan-col-5'>{{item.distance}}km</view>
</view>
</block>
</view>
</view>
</view>