| | |
| | | <template> |
| | | <view class="hz"> |
| | | <view style="width: 100%; height: 100rpx;"></view> |
| | | <view class="search"> |
| | | <view class="search" :style="{top: searchTop + 'rpx'}"> |
| | | <view class="search_sou"> |
| | | <view class="search_sou_input"> |
| | | <image src="@/static/icon/ic_search@2x.png" mode="widthFix"></image> |
| | |
| | | }, |
| | | props: { |
| | | label: String, |
| | | list: Array |
| | | list: Array, |
| | | searchTop: { |
| | | type: Number, |
| | | default: () => 0 |
| | | }, |
| | | topNum: { |
| | | type: String, |
| | | default: () => '100rpx' |
| | | } |
| | | }, |
| | | methods: { |
| | | sou() { |
| | |
| | | }, |
| | | open() { |
| | | if (this.top === '-724rpx') { |
| | | this.top = '100rpx' |
| | | this.top = this.topNum |
| | | this.display = 'black' |
| | | } else { |
| | | this.top = '-724rpx' |