|
@@ -47,7 +47,12 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="day-num">
|
|
|
- <u-text :text="dayNumText" color="#333333" size="15" bold></u-text>
|
|
|
+ <view>
|
|
|
+ <u-text :text="dayNumText" color="#333333" size="15" bold></u-text>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <u-text :text="breakfastNumText" color="#333333" size="15" bold></u-text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="guest-info">
|
|
@@ -131,7 +136,10 @@
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState('m_user', ['userInfo']),
|
|
|
- ...mapState('m_business', ['currentHotel'])
|
|
|
+ ...mapState('m_business', ['currentHotel']),
|
|
|
+ breakfastNumText() {
|
|
|
+ return this.checkinInfo.breakfastNum ? `含${this.checkinInfo.breakfastNum}早` : '不含早'
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
...mapMutations('m_business', ['updateCheckinInfo']),
|
|
@@ -517,8 +525,9 @@
|
|
|
|
|
|
.day-num {
|
|
|
display: flex;
|
|
|
+ flex-direction: column;
|
|
|
align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
+ justify-content: space-around;
|
|
|
}
|
|
|
}
|
|
|
|