Commit f616c445eb7b12ef706b2e79f0452b10112de9a3

Authored by vking
1 parent b4278eb5

search

<!--pages/reserve/indexList.wxml-->
<nav>
<view class="view header flex align-center justify-center text-blue" style="right:{{right}}px;" wx:if="{{right>0}}">
<view class="view flex flex-direction" style="width: 174rpx;" bindtap="dispalySearchHow">
<view class="view header flex align-center justify-center text-blue padding-left" style="right:{{right}}px;" wx:if="{{right>0}}">
<view class="view flex flex-direction" bindtap="dispalySearchHow">
<view class="view txt-26-h">{{headerHows[0]}}</view>
<view class="view txt-26-h">{{headerHows[1]}}</view>
</view>
<view class="line margin-lr"></view>
<view class="flex justify-around align-center" style="width: 292rpx;">
<view class="flex justify-around align-center" bindtap="searchKeyword">
<image class="margin-right-sm" wx:if="{{!keyword}}"
style="width: 32rpx; height: 32rpx;" src="http://nosqn.colorcun.com/search/s%20%2811%29.png"></image>
<view class="view text-cut txt-34-h" catchtap="searchKeyword">{{keyword||'搜索餐厅…'}}</view>
<view class="clean margin-left-sm" catchtap="moveToLocation" wx:if="{{keyword}}"></view>
<view class="view text-cut txt-34-h text-left margin-right-sm"
style="width: 170rpx;">{{keyword||'搜索餐厅…'}}</view>
<view class="margin-right-sm clean view"
wx:if="{{keyword}}" catchtap="moveToLocation"></view>
</view>
</view>
</nav>
... ...
... ... @@ -7,14 +7,6 @@
position: relative;
z-index: 99998;
}
.header{
height: 81rpx;
position: fixed;
width: 100%;
z-index: 10;
background-color: #fefefe;
border-bottom: 1rpx solid #F5F5F5;
}
.transverse-search{
background-color: #fefefe;
height: 60rpx;
... ... @@ -232,7 +224,7 @@
.header{
width: 468rpx;
max-width: 468rpx;
height: 80rpx;
background: #F4FAFF;
border-radius: 48rpx;
... ... @@ -247,18 +239,16 @@
}
.header .clean{
position: relative;
width: 100rpx;
height: 60rpx;
min-width: 100rpx;
background-image: url("http://nosqn.colorcun.com/clean.png");
width: 28rpx;
height: 28rpx;
}
.header .clean:after{
background-image: url("http://nosqn.colorcun.com/clean.png");
background-size: 100% 100%;
display: block;
content: "";
width:28rpx;
height:28rpx;
width:80rpx;
height:80rpx;
position: absolute;
top:16rpx;
left:32rpx;
top:-30rpx;
left:-30rpx;
}
\ No newline at end of file
... ...
... ... @@ -460,7 +460,7 @@
{
"name": "pages/reserve/indexList",
"pathName": "pages/reserve/indexList",
"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\"}",
"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\"}",
"scene": null
},
{
... ...