Sanakey
2020-08-13 d98d05000c3d14e1f12a7754ebeea11ec1fa0f0b
提交 | 用户 | age
d98d05 1 <!--pages/store/stores.wxml-->
S 2 <!-- <import src="../template/tabbar/tabbar-template.wxml" /> -->
3
4
5 <view class="page">
6   <view class="page__bd">
7     <!-- <scroll-view scroll-top="{{scrollTop}}" style="height: {{windowHeight}}px; width: {{windowWidth}}px;" scroll-y="true" bindscrolltoupper="pullDownRefresh" bindscroll="scroll" bindscrolltolower="pullUpLoad" class="weui-panel weui-panel_access"> -->
8     <view class="search-container">
9       <view class="weui-panel__hd">
10         <view class="weui-search-bar">
11           <view class="weui-search-bar__form">
12             <view class="weui-search-bar__box">
13               <icon class="weui-icon-search_in-box" type="search" size="14"></icon>
14               <input type="text" class="weui-search-bar__input" placeholder="搜索" value="{{inputVal}}"
15                      focus="{{inputShowed}}" bindinput="inputTyping" bindconfirm="keyboardSearch" confirm-type="search"/>
16               <view class="weui-icon-clear"  bindtap="clearInput">
17                 <icon type="clear" size="14"></icon>
18               </view>
19             </view>
20             <label class="weui-search-bar__label" hidden="{{inputShowed}}" bindtap="showInput">
21               <icon class="weui-icon-search" type="search" size="14"></icon>
22               <view class="weui-search-bar__text">搜索</view>
23             </label>
24           </view>
25           <view class="weui-search-bar__cancel-btn" hidden="{{!inputShowed}}" bindtap="searchData">搜索</view>
26         </view>
27       </view>
28     </view>
29     <!--<view class="store-list">-->
30       <!--<view class="goods-item" wx:for="{{storeList}}" wx:key="{{ShopAreaId.id}}">-->
31         <!--<image src="{{item.Photo}}" class="item-img" />-->
32         <!--<view class="item">-->
33           <!--<view class="item-title">名称:{{item.CcName}}</view>-->
34           <!--<view class="item-text" bindtap="telTap" data-tel-num="{{item.Tel}}">-->
35             <!--<text class="iconfont icon-dianhua"></text>{{item.Tel}}</view>-->
36           <!--<navigator class="item-total" url='../information/information'>-->
37             <!--<text class="iconfont icon-weizhi"></text>{{item.Address}}</navigator>-->
38         <!--</view>-->
39         <!--<icon class="iconfont icon-dianpu" data-shopid="{{item.ShopAreaId}}" data-cccode="{{item.CcCode}}" catch:tap="selectShop"></icon>-->
40       <!--</view>-->
41     <!--</view>-->
42
43
44
45     <!-- </scroll-view> -->
46
47   </view>
48   <c-item wx:if="{{storeList.length>0}}" class="shop-list" store-data="{{storeList}}" catch:selectShop="selectShop"></c-item>
49   <view wx:if="{{storeList.length==0}}" class="result">没有找到搜索结果,换个关键词看看!</view>
50   <!--<c-item class="shop-list" store-data="{{storeList}}" catch:selectShop="selectShop"></c-item>-->
51   <!--<view class="page__ft">-->
52   <!--</view>-->
53   <c-authorize></c-authorize>
54   <!-- <template is="tabBar" data="{{tabBar:bindData.tabBar}}"/> -->
55 </view>