123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <template>
- <view class="pages">
- <view class="customer">
- <view class="">
- <span style="margin-right: 20rpx;"> 吴易航</span>
- <span>18160883036</span>
- </view>
- <view class="" @click="textMessage()"><u-icon name="chat" size="34"></u-icon></view>
- </view>
- <view class="roomInfo">
- <view class="info1">
- <span>海景房-305</span>
- <text :class="statusClass[0]">{{status[0]}}</text>
- </view>
- <view class="info2">
- <span>2023-12-16入住 1晚</span>
- <text style="color: #245BED;">¥200.00</text>
- </view>
- <view class="info3">
- <span>入住人</span>
- <text>0人 ></text>
- </view>
- </view>
- <view class="orderInfo">
- <view class="orderInfo1">
- 订单号<span class='left'>A20231213102359619119</span>
- </view>
- <view class="orderInfo1">
- 创建时间 <span class='left'>2023-12-11 17:27:09</span>
- </view>
- <view class="orderInfo1">
- 办理员工 <span class='left'>何炜亭</span>
- </view>
- <view class="orderInfo1">
- 取消原因<span class='left'>-</span>
- </view>
- <view class="orderInfo2">
- 备注 <span class='left'>-</span>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- loading: true,
- statusClass: [
- 'green',
- 'blue',
- 'grey',
- 'orange'
- ],
- status: [
- '已预订',
- '已入住',
- '已取消',
- '待确认'
- ],
- }
- },
- methods: {
- textMessage() {
- uni.navigateTo({
- url: '/pagesMy/orderList/textMessage'
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .pages {
- background: #F9FAFC;
- height: 100vh;
- padding: 20rpx;
- font-size: 28rpx;
- .customer {
- background: #fff;
- padding: 20rpx;
- border-radius: 16rpx;
- margin-bottom: 20rpx;
- font-weight: 700;
- display: flex;
- justify-content: space-between;
- }
- .roomInfo {
- background: #fff;
- padding: 20rpx;
- border-radius: 16rpx;
- margin-bottom: 20rpx;
- .info1 {
- display: flex;
- justify-content: space-between;
- margin-bottom: 20rpx;
- .green {
- color: #39CE77;
- }
- .blue {
- color: #1372FF;
- }
- .grey {
- color: #4C5F76;
- }
- .orange {
- color: #FF9100;
- }
- }
- .info2 {
- margin-bottom: 20rpx;
- display: flex;
- justify-content: space-between;
- color: #777777;
- }
- .info3 {
- display: flex;
- justify-content: space-between;
- color: #777777;
- }
- }
- .orderInfo {
- border-radius: 16rpx;
- background: #fff;
- color: #777777;
- padding: 0 20rpx;
- .orderInfo1 {
- border-bottom: 1px #f3f3f3 solid;
- padding: 20rpx 0;
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- .left {
- width: 80%;
- text-align: left;
- }
- }
- .orderInfo2 {
- padding: 20rpx 0;
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- .left {
- width: 80%;
- text-align: left;
- }
- }
- }
- }
- </style>
|