Showing
3 changed files
with
17 additions
and
8 deletions
| @@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
| 26 | </cover-view> | 26 | </cover-view> |
| 27 | <cover-view class="searchAddr flex-ll"> | 27 | <cover-view class="searchAddr flex-ll"> |
| 28 | <cover-image class="icon" src="http://qn.colorcun.com/custom/lite-online/image/search26.png"></cover-image> | 28 | <cover-image class="icon" src="http://qn.colorcun.com/custom/lite-online/image/search26.png"></cover-image> |
| 29 | - <cover-view class="title">{{hasSuggestion?suggestion.title:'搜索地点或商圈'}}</cover-view> | 29 | + <cover-view class="title">{{hasSuggestion?suggestion.title:'搜索店铺、地点或商圈'}}</cover-view> |
| 30 | </cover-view> | 30 | </cover-view> |
| 31 | </cover-view> | 31 | </cover-view> |
| 32 | </formids> | 32 | </formids> |
| 1 | <!--pages/reserve/search.wxml--> | 1 | <!--pages/reserve/search.wxml--> |
| 2 | <nav>搜索</nav> | 2 | <nav>搜索</nav> |
| 3 | <view class="pages"> | 3 | <view class="pages"> |
| 4 | - <view class="searchAddr flex-ll"> | ||
| 5 | - <image class="icon" src="http://qn.colorcun.com/custom/lite-online/image/search26.png"></image> | ||
| 6 | - <input style="width: 100%;" placeholder="搜索地点或商圈" | ||
| 7 | - type="text" confirm-type="done" | ||
| 8 | - focus | ||
| 9 | - bindinput="getsuggest" value="{{backfill}}"/> | ||
| 10 | - <view class="search-but" bindtap="nearby_search">搜索</view> | 4 | + <view class="searchAddrView"> |
| 5 | + <view class="searchAddr flex-ll"> | ||
| 6 | + <image class="icon" src="http://qn.colorcun.com/custom/lite-online/image/search26.png"></image> | ||
| 7 | + <input style="width: 100%;" placeholder="搜索店铺、地点或商圈" | ||
| 8 | + type="text" confirm-type="done" | ||
| 9 | + focus | ||
| 10 | + bindinput="getsuggest" value="{{backfill}}"/> | ||
| 11 | + <view class="search-but" bindtap="nearby_search">搜索</view> | ||
| 12 | + </view> | ||
| 11 | </view> | 13 | </view> |
| 12 | <view class="res-view"> | 14 | <view class="res-view"> |
| 13 | <!--绑定回填事件--> | 15 | <!--绑定回填事件--> |
| @@ -4,6 +4,13 @@ | @@ -4,6 +4,13 @@ | ||
| 4 | margin: 5% auto; | 4 | margin: 5% auto; |
| 5 | color:#353535; | 5 | color:#353535; |
| 6 | } | 6 | } |
| 7 | +.searchAddrView{ | ||
| 8 | + position: fixed; | ||
| 9 | + top:100rpx; | ||
| 10 | + width: 90%; | ||
| 11 | + height: 110rpx; | ||
| 12 | + background-color: #fefefe; | ||
| 13 | +} | ||
| 7 | .searchAddr { | 14 | .searchAddr { |
| 8 | position: fixed; | 15 | position: fixed; |
| 9 | top:150rpx; | 16 | top:150rpx; |
-
Please register or login to post a comment