Commit 403aadde authored by 罗超's avatar 罗超

1

parent 59e47805
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<view class="hotel-list"> <view class="hotel-list">
<view class="search-box"> <view class="search-box">
<view class="city-box" @click="showCity"> <view class="city-box" @click="showCity">
<u-icon name="location" :size="28"></u-icon>
{{city}} {{city}}
</view> </view>
<view style="width: 1px; flex: 1;"> <view style="width: 1px; flex: 1;">
...@@ -513,18 +514,20 @@ ...@@ -513,18 +514,20 @@
<style scoped> <style scoped>
.city-box { .city-box {
width: 90rpx; width: 105rpx;
height: 40rpx; height: 40rpx;
line-height: 30rpx; /* line-height: 30rpx; */
padding: 8rpx 10rpx 8rpx 0rpx; padding: 0rpx 10rpx 8rpx 0rpx;
margin-right: 20rpx; margin-right: 20rpx;
text-align: center; text-align: center;
/* color: #DFBE6E; */ /* color: #DFBE6E; */
border-right: 1px solid #E2E2E2; border-right: 1px solid #E2E2E2;
font-size: 24rpx; font-size: 28rpx;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: flex;
align-items: center;
} }
/deep/.u-flex { /deep/.u-flex {
justify-content: center; justify-content: center;
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<view class="hotel-list"> <view class="hotel-list">
<view class="search-box"> <view class="search-box">
<view class="city-box" @click="showCity"> <view class="city-box" @click="showCity">
<u-icon name="location" :size="28"></u-icon>
{{city}} {{city}}
</view> </view>
<view style="width: 1px; flex: 1;"> <view style="width: 1px; flex: 1;">
...@@ -397,18 +398,20 @@ ...@@ -397,18 +398,20 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.city-box { .city-box {
width: 90rpx; width: 105rpx;
height: 40rpx; height: 40rpx;
line-height: 30rpx; /* line-height: 30rpx; */
padding: 8rpx 10rpx 8rpx 0rpx; padding: 0rpx 10rpx 8rpx 0rpx;
margin-right: 20rpx; margin-right: 20rpx;
text-align: center; text-align: center;
/* color: #DFBE6E; */ /* color: #DFBE6E; */
border-right: 1px solid #E2E2E2; border-right: 1px solid #E2E2E2;
font-size: 24rpx; font-size: 28rpx;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: flex;
align-items: center;
} }
.hotel-rate { .hotel-rate {
width: 215rpx; width: 215rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment