|
|
|
@ -1,27 +1,15 @@ |
|
|
|
|
<template> |
|
|
|
|
<view class="v-pages v-pages-bg sort"> |
|
|
|
|
<view class="v-pages-search"> |
|
|
|
|
<view class="v-pages v-pages-bg tab"> |
|
|
|
|
<view class="v-pages-search bg"> |
|
|
|
|
<view class="search_box row flex-align-center"> |
|
|
|
|
<view class="col"> |
|
|
|
|
<input @input="write" type="text" class="input" @confirm="confirm" confirm-type="search" |
|
|
|
|
color="#A0A7B2" placeholder-style="color:#999" placeholder="请输入酒店名称搜索" /> |
|
|
|
|
color="#A0A7B2" placeholder-style="color:#999" placeholder="请输入民宿名称搜索" /> |
|
|
|
|
</view> |
|
|
|
|
<view class="btn_img" @click="search()"> |
|
|
|
|
<image src="/subPageB/static/img/icon-search.png" class="img"></image> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="dy_fx amt_30"> |
|
|
|
|
<view class="search-tip-bar"> |
|
|
|
|
<view @tap="changePanel" :class="[searchItemClass, selectedParam.hiddenSortPanel ? 'active' : '']" |
|
|
|
|
data-type="hiddenSortPanel">智能排序</view> |
|
|
|
|
<view @tap="changePanel" |
|
|
|
|
:class="[searchItemClass, selectedParam.hiddenAttributePanel ? 'active' : '']" |
|
|
|
|
data-type="hiddenAttributePanel"> |
|
|
|
|
分类筛选 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<!-- 列表 --> |
|
|
|
|
<mescroll-uni :up="upOption" @down="downCallback" @up="upCallback" :fixed="false"> |
|
|
|
@ -528,10 +516,11 @@ |
|
|
|
|
lng: this.$param.clng, |
|
|
|
|
lat: this.$param.clat, |
|
|
|
|
userkey: this.$param.userkey, |
|
|
|
|
name: this.searchTitle |
|
|
|
|
hotelName: this.searchTitle |
|
|
|
|
}; |
|
|
|
|
console.log('===============',this.searchTitle) |
|
|
|
|
//console.log(this.$config.getHotelList); |
|
|
|
|
this.$Request.get(this.$config.getHomestayList, requestData, '', '', true, '').then(res => { |
|
|
|
|
this.$Request.get(this.$config.getHomestayList, requestData, '', '', false, '').then(res => { |
|
|
|
|
var list = res.data.list, |
|
|
|
|
dataListLen = res.data.list.length, |
|
|
|
|
that = this; |
|
|
|
@ -587,18 +576,14 @@ |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<style> |
|
|
|
|
page { |
|
|
|
|
background: #fff; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* .list-item{ padding: 20rpx; box-sizing: border-box; box-shadow: none; margin-top:0; margin-bottom: 20rpx;} */ |
|
|
|
|
page{background-color: #fff;} |
|
|
|
|
.sort-page { |
|
|
|
|
top: 210rpx !important |
|
|
|
|
top: 180rpx !important |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.filter-page { |
|
|
|
|
height: auto; |
|
|
|
|
top: 210rpx !important; |
|
|
|
|
top: 180rpx !important; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.search-container { |
|
|
|
|