|
|
@ -20,16 +20,23 @@ |
|
|
|
<u-icon name="map-fill" size="33" :color="navTitleColor.color"></u-icon> |
|
|
|
<u-icon name="map-fill" size="33" :color="navTitleColor.color"></u-icon> |
|
|
|
<view style="font-size: 36rpx;margin-left:16rpx;">{{ navTitle || '' }}</view> |
|
|
|
<view style="font-size: 36rpx;margin-left:16rpx;">{{ navTitle || '' }}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="font-size: 26rpx;margin-top:18rpx;margin-left: 50rpx;">距离您{{distance}}</view> |
|
|
|
<!-- <view style="font-size: 26rpx;margin-top:18rpx;margin-left: 50rpx;">距离您{{distance}}</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view |
|
|
|
<!-- <view |
|
|
|
hover-class="hover-search" |
|
|
|
hover-class="hover-search" |
|
|
|
class="search-box u-flex u-row-center u-col-center u-m-r-30" |
|
|
|
class="search-box u-flex u-row-center u-col-center u-m-r-30" |
|
|
|
@tap="$Router.push('/pages/public/search')" |
|
|
|
@tap="$Router.push('/pages/public/search')" |
|
|
|
> |
|
|
|
> |
|
|
|
<view class="u-iconfont uicon-search" :style="[navTitleColor]"></view> |
|
|
|
<view class="u-iconfont uicon-search" :style="[navTitleColor]"></view> |
|
|
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
<view class="searchContainer" @tap="$Router.push('/pages/public/search')"> |
|
|
|
|
|
|
|
<view class="searchBtn"> |
|
|
|
|
|
|
|
搜索 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<u-search bg-color="#fff" border-color="#f2f2f2" placeholder="搜索关键词" :show-action="false" shape="round" :disabled="true" v-model="value"></u-search> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 轮播组件 --> |
|
|
|
<!-- 轮播组件 --> |
|
|
@ -74,7 +81,8 @@ export default { |
|
|
|
navBg: { opacity: 0 }, |
|
|
|
navBg: { opacity: 0 }, |
|
|
|
navTitleColor: { |
|
|
|
navTitleColor: { |
|
|
|
color: '#fff' |
|
|
|
color: '#fff' |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
value:'' |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
props: { |
|
|
|
props: { |
|
|
@ -265,13 +273,15 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.u-navbar-inner { |
|
|
|
.u-navbar-inner { |
|
|
|
@include vue-flex; |
|
|
|
// @include vue-flex; |
|
|
|
justify-content: space-between; |
|
|
|
// justify-content: space-between; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
// align-items: center; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
z-index: 990; |
|
|
|
z-index: 990; |
|
|
|
margin-top: 38rpx; |
|
|
|
margin-top: 38rpx; |
|
|
|
|
|
|
|
padding: 0 24rpx; |
|
|
|
|
|
|
|
margin-bottom: 20rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.u-back-wrap { |
|
|
|
.u-back-wrap { |
|
|
@ -309,4 +319,22 @@ export default { |
|
|
|
.u-iconfont{ |
|
|
|
.u-iconfont{ |
|
|
|
font-size:41rpx; |
|
|
|
font-size:41rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.searchContainer{ |
|
|
|
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
margin-top:20rpx; |
|
|
|
|
|
|
|
.searchBtn{ |
|
|
|
|
|
|
|
height:90%; |
|
|
|
|
|
|
|
position:absolute; |
|
|
|
|
|
|
|
padding:0 20rpx; |
|
|
|
|
|
|
|
right:20rpx; |
|
|
|
|
|
|
|
top:5%; |
|
|
|
|
|
|
|
color:#ffffff; |
|
|
|
|
|
|
|
font-size:26rpx; |
|
|
|
|
|
|
|
z-index:99; |
|
|
|
|
|
|
|
background-color: #17C161; |
|
|
|
|
|
|
|
border-radius:55px; |
|
|
|
|
|
|
|
display:flex; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|