Commit d9071ae6e34f05537a90ce3e4899faab1421faa0

Authored by vking
1 parent f616c445

search

@@ -161,6 +161,7 @@ Page({ @@ -161,6 +161,7 @@ Page({
161 console.log(rect,getApp().system) 161 console.log(rect,getApp().system)
162 this.setData({ 162 this.setData({
163 right:getApp().system.windowWidth - rect.right + rect.width + 10, 163 right:getApp().system.windowWidth - rect.right + rect.width + 10,
  164 + top:rect.top+(rect.height/2-20),
164 }) 165 })
165 } 166 }
166 }, 167 },
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 padding-left" style="right:{{right}}px;" wx:if="{{right>0}}"> 3 + <view class="view header flex align-center justify-center text-blue padding-left" style="right:{{right}}px;top:{{top}}px;" wx:if="{{right>0}}">
4 <view class="view flex flex-direction" bindtap="dispalySearchHow"> 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>