Showing
3 changed files
with
16 additions
and
24 deletions
| 1 | <!--pages/reserve/indexList.wxml--> | 1 | <!--pages/reserve/indexList.wxml--> |
| 2 | <nav> | 2 | <nav> |
| 3 | - <view class="view header flex align-center justify-center text-blue" style="right:{{right}}px;" wx:if="{{right>0}}"> | ||
| 4 | - <view class="view flex flex-direction" style="width: 174rpx;" bindtap="dispalySearchHow"> | 3 | + <view class="view header flex align-center justify-center text-blue padding-left" style="right:{{right}}px;" wx:if="{{right>0}}"> |
| 4 | + <view class="view flex flex-direction" bindtap="dispalySearchHow"> | ||
| 5 | <view class="view txt-26-h">{{headerHows[0]}}</view> | 5 | <view class="view txt-26-h">{{headerHows[0]}}</view> |
| 6 | <view class="view txt-26-h">{{headerHows[1]}}</view> | 6 | <view class="view txt-26-h">{{headerHows[1]}}</view> |
| 7 | </view> | 7 | </view> |
| 8 | <view class="line margin-lr"></view> | 8 | <view class="line margin-lr"></view> |
| 9 | - <view class="flex justify-around align-center" style="width: 292rpx;"> | 9 | + <view class="flex justify-around align-center" bindtap="searchKeyword"> |
| 10 | <image class="margin-right-sm" wx:if="{{!keyword}}" | 10 | <image class="margin-right-sm" wx:if="{{!keyword}}" |
| 11 | style="width: 32rpx; height: 32rpx;" src="http://nosqn.colorcun.com/search/s%20%2811%29.png"></image> | 11 | style="width: 32rpx; height: 32rpx;" src="http://nosqn.colorcun.com/search/s%20%2811%29.png"></image> |
| 12 | - <view class="view text-cut txt-34-h" catchtap="searchKeyword">{{keyword||'搜索餐厅…'}}</view> | ||
| 13 | - <view class="clean margin-left-sm" catchtap="moveToLocation" wx:if="{{keyword}}"></view> | 12 | + <view class="view text-cut txt-34-h text-left margin-right-sm" |
| 13 | + style="width: 170rpx;">{{keyword||'搜索餐厅…'}}</view> | ||
| 14 | + <view class="margin-right-sm clean view" | ||
| 15 | + wx:if="{{keyword}}" catchtap="moveToLocation"></view> | ||
| 14 | </view> | 16 | </view> |
| 15 | </view> | 17 | </view> |
| 16 | </nav> | 18 | </nav> |
| @@ -7,14 +7,6 @@ | @@ -7,14 +7,6 @@ | ||
| 7 | position: relative; | 7 | position: relative; |
| 8 | z-index: 99998; | 8 | z-index: 99998; |
| 9 | } | 9 | } |
| 10 | -.header{ | ||
| 11 | - height: 81rpx; | ||
| 12 | - position: fixed; | ||
| 13 | - width: 100%; | ||
| 14 | - z-index: 10; | ||
| 15 | - background-color: #fefefe; | ||
| 16 | - border-bottom: 1rpx solid #F5F5F5; | ||
| 17 | -} | ||
| 18 | .transverse-search{ | 10 | .transverse-search{ |
| 19 | background-color: #fefefe; | 11 | background-color: #fefefe; |
| 20 | height: 60rpx; | 12 | height: 60rpx; |
| @@ -232,7 +224,7 @@ | @@ -232,7 +224,7 @@ | ||
| 232 | 224 | ||
| 233 | 225 | ||
| 234 | .header{ | 226 | .header{ |
| 235 | - width: 468rpx; | 227 | + max-width: 468rpx; |
| 236 | height: 80rpx; | 228 | height: 80rpx; |
| 237 | background: #F4FAFF; | 229 | background: #F4FAFF; |
| 238 | border-radius: 48rpx; | 230 | border-radius: 48rpx; |
| @@ -247,18 +239,16 @@ | @@ -247,18 +239,16 @@ | ||
| 247 | } | 239 | } |
| 248 | .header .clean{ | 240 | .header .clean{ |
| 249 | position: relative; | 241 | position: relative; |
| 250 | - width: 100rpx; | ||
| 251 | - height: 60rpx; | ||
| 252 | - min-width: 100rpx; | 242 | + background-image: url("http://nosqn.colorcun.com/clean.png"); |
| 243 | + width: 28rpx; | ||
| 244 | + height: 28rpx; | ||
| 253 | } | 245 | } |
| 254 | .header .clean:after{ | 246 | .header .clean:after{ |
| 255 | - background-image: url("http://nosqn.colorcun.com/clean.png"); | ||
| 256 | - background-size: 100% 100%; | ||
| 257 | display: block; | 247 | display: block; |
| 258 | content: ""; | 248 | content: ""; |
| 259 | - width:28rpx; | ||
| 260 | - height:28rpx; | 249 | + width:80rpx; |
| 250 | + height:80rpx; | ||
| 261 | position: absolute; | 251 | position: absolute; |
| 262 | - top:16rpx; | ||
| 263 | - left:32rpx; | 252 | + top:-30rpx; |
| 253 | + left:-30rpx; | ||
| 264 | } | 254 | } |
| @@ -460,7 +460,7 @@ | @@ -460,7 +460,7 @@ | ||
| 460 | { | 460 | { |
| 461 | "name": "pages/reserve/indexList", | 461 | "name": "pages/reserve/indexList", |
| 462 | "pathName": "pages/reserve/indexList", | 462 | "pathName": "pages/reserve/indexList", |
| 463 | - "query": "lat=39.65157&lng=118.15044&keyword=1&multiIndex=0&city={\"code\":\"130200\",\"pid\":\"130000\",\"name\":\"唐山市\",\"status\":\"1\",\"last_date\":\"1598949575\"}&hows={\"params\":{\"pnum\":{\"index\":5,\"val\":6,\"type\":\"pnum\"},\"date\":{\"index\":1,\"val\":1607399207,\"type\":\"date\"},\"dur\":{\"index\":2,\"val\":3,\"type\":\"dur\"}},\"paramObj\":{\"when_date\":\"2020-12-08\",\"several\":6,\"daily\":3},\"paramStr\":\"12月08日(明天) 晚餐 6位\"}&filter={\"consumeStr\":\"¥101-220\",\"min\":\"101\",\"max\":\"220\",\"active\":\"101,220\"}", | 463 | + "query": "lat=39.65157&lng=118.15044&keyword=大声道多所所多&multiIndex=0&city={\"code\":\"130200\",\"pid\":\"130000\",\"name\":\"唐山市\",\"status\":\"1\",\"last_date\":\"1598949575\"}&hows={\"params\":{\"pnum\":{\"index\":5,\"val\":6,\"type\":\"pnum\"},\"date\":{\"index\":1,\"val\":1607399207,\"type\":\"date\"},\"dur\":{\"index\":2,\"val\":3,\"type\":\"dur\"}},\"paramObj\":{\"when_date\":\"2020-12-08\",\"several\":6,\"daily\":3},\"paramStr\":\"12月08日(明天) 晚餐 6位\"}&filter={\"consumeStr\":\"¥101-220\",\"min\":\"101\",\"max\":\"220\",\"active\":\"101,220\"}", |
| 464 | "scene": null | 464 | "scene": null |
| 465 | }, | 465 | }, |
| 466 | { | 466 | { |
-
Please register or login to post a comment