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