|
@@ -10,69 +10,60 @@
|
|
|
<view class="touming_txt">尊敬的老师,您辛苦了,欢迎入住!</view>
|
|
<view class="touming_txt">尊敬的老师,您辛苦了,欢迎入住!</view>
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 第二层表单 -->
|
|
<!-- 第二层表单 -->
|
|
|
- <view class="two_item">
|
|
|
|
|
- <view class="two_all">
|
|
|
|
|
- <view class="select-time" @click="openCalendar">
|
|
|
|
|
- <view class="select-time-one">
|
|
|
|
|
- <text class="select-list">周四入住</text>
|
|
|
|
|
- <text class="select-list-time">07月21日</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="select-center">
|
|
|
|
|
- <view class="select-line1"></view>
|
|
|
|
|
- <view class="select-circle">1晚</view>
|
|
|
|
|
- <view class="select-line2"></view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="select-time-one">
|
|
|
|
|
- <text class="select-list">周五离店</text>
|
|
|
|
|
- <text class="select-list-time">07月22日</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <uni-calendar ref="calendar" class="uni-calendar--hook" :clear-date="true" :date="info.date" :insert="info.insert" :lunar="info.lunar" :startDate="info.startDate"
|
|
|
|
|
- :endDate="info.endDate" :range="info.range" @confirm="confirm" @close="close"/>
|
|
|
|
|
|
|
+ <view class="two_all">
|
|
|
|
|
+ <view class="select-time" @click="openCalendar">
|
|
|
|
|
+ <view class="select-time-one">
|
|
|
|
|
+ <text class="select-list">周四入住</text>
|
|
|
|
|
+ <text class="select-list-time">07月21日</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="form_bg">
|
|
|
|
|
- <view class="form_title">01户型</view>
|
|
|
|
|
- <!-- 自定义表单 -->
|
|
|
|
|
- <view class="form-name">李希</view>
|
|
|
|
|
- <view class="form-line"></view>
|
|
|
|
|
- <view class="form-phone">13548790024</view>
|
|
|
|
|
- <view class="form-line" style="margin-top: 389rpx;"></view>
|
|
|
|
|
- <view class="uni-list-cell">
|
|
|
|
|
- <view class="uni-list-cell-left">
|
|
|
|
|
- 当前选择
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="uni-list-cell-db">
|
|
|
|
|
- <picker @change="bindPickerChange" :value="index" :range="array">
|
|
|
|
|
- <view class="uni-input">{{array[index]}}</view>
|
|
|
|
|
- </picker>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view class="select-center">
|
|
|
|
|
+ <view class="select-line1"></view>
|
|
|
|
|
+ <view class="select-circle">1晚</view>
|
|
|
|
|
+ <view class="select-line2"></view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="select-time-one">
|
|
|
|
|
+ <text class="select-list">周五离店</text>
|
|
|
|
|
+ <text class="select-list-time">07月22日</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <uni-calendar ref="calendar" class="uni-calendar--hook" :clear-date="true" :date="info.date" :insert="info.insert" :lunar="info.lunar" :startDate="info.startDate"
|
|
|
|
|
+ :endDate="info.endDate" :range="info.range" @confirm="confirm" @close="close"/>
|
|
|
</view>
|
|
</view>
|
|
|
- <button style="margin-bottom: 0rpx;" type="primary" @click="submit('customForm')">提交</button>
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
- <!-- 第三层订房 -->
|
|
|
|
|
- <view class="room-list">
|
|
|
|
|
- <!-- 房型列表 -->
|
|
|
|
|
- <!-- <view class="room-kuang">
|
|
|
|
|
- <view class="room-xinxi" v-for="(item,index) in room" :key="index">
|
|
|
|
|
- <image class="room-image" src="../../static/index/room_image.svg"></image>
|
|
|
|
|
- <view class="room-name">{{item.name}}</view>
|
|
|
|
|
- <view class="room-mark">{{item.mark1}} {{item.mark2}} {{item.mark3}}</view>
|
|
|
|
|
- <view class="room-icon">
|
|
|
|
|
- <image src="../../static/index/index_wifi.svg" style="width: 22rpx;height: 22rpx;"></image>
|
|
|
|
|
- <image src="../../static/index/index_kongtiao.svg" style="width: 20rpx;height: 20rpx;margin-left: 10rpx;"></image>
|
|
|
|
|
- <image src="../../static/index/index_nosmoking.svg" style="width: 22rpx;height: 22rpx;margin-left: 10rpx;"></image>
|
|
|
|
|
- <image src="../../static/index/index_lock.svg" style="width: 23rpx;height: 23rpx;margin-left: 10rpx;"></image>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="before-price"><strike>{{item.before_price}}</strike></view>
|
|
|
|
|
- <view class="room-price">{{item.price}}</view>
|
|
|
|
|
- <view class="room-button" @click="navigateToOrderRoom"><text>订</text></view>
|
|
|
|
|
- <view class="room-line" v-if="index<(room.length-1)"></view>
|
|
|
|
|
|
|
+ <view class="form_bg">
|
|
|
|
|
+ <view class="form_title">01户型</view>
|
|
|
|
|
+ <!-- 自定义表单 -->
|
|
|
|
|
+ <view class="form-name">李希</view>
|
|
|
|
|
+ <view class="form-line"></view>
|
|
|
|
|
+ <view class="form-phone">13548790024</view>
|
|
|
|
|
+ <view class="form-line" style="margin-top: 389rpx;"></view>
|
|
|
|
|
+ <view class="uni-list-cell-db">
|
|
|
|
|
+ <picker @change="bindPickerChange" :value="index" :range="array">
|
|
|
|
|
+ <view class="uni-input">{{array[index]}}</view>
|
|
|
|
|
+ <text class="jiantou">〉</text>
|
|
|
|
|
+ </picker>
|
|
|
</view>
|
|
</view>
|
|
|
- </view> -->
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <view class="form-line" style="margin-top: 477rpx;"></view>
|
|
|
|
|
+ <view class="uni-textarea">
|
|
|
|
|
+ <textarea @blur="bindTextAreaBlur" placeholder="在此填写您的要求" maxlength="50" auto-height /><text class="textsrea-txt">{{textNum}}/50</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <!-- 第三层表单 -->
|
|
|
|
|
+ <view class="three_all">
|
|
|
|
|
+ <view class="three-title">您是【教师】</view>
|
|
|
|
|
+ <view class="three-mark">本人可以免费入住,需要预交费<text style="color: rgba(255, 87, 51, 1);">20.00</text>元,即可享受权益</view>
|
|
|
|
|
+ <view class="three-zhu">注:水费为0.62元/吨,电费为1.1元/度;补助吨数为3吨,补助度数
|
|
|
|
|
+ 为10度,超出标准需在预付款中扣除,未超出原路返回预付款</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <!-- 注释 -->
|
|
|
|
|
+ <view class="zhushi">
|
|
|
|
|
+ <text class="zhushi-mark">低价保证</text> <text class="zhushi-mark">入住免房费</text> <text class="zhushi-mark">提前选好房</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <!-- 支付框 -->
|
|
|
|
|
+ <view class="fukuan">
|
|
|
|
|
+ <view class="fu-price"><text style="font-size: 28rpx;">总计:</text>¥20.00</view>
|
|
|
|
|
+ <view class="fu-zhifu">立即支付</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -88,6 +79,7 @@
|
|
|
},
|
|
},
|
|
|
array: ['18:00前到店', '19:00前到店', '20:00前到店', '21:00前到店'],
|
|
array: ['18:00前到店', '19:00前到店', '20:00前到店', '21:00前到店'],
|
|
|
index: 0,
|
|
index: 0,
|
|
|
|
|
+ textNum:0,//输入框当前字数
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onLoad() {
|
|
onLoad() {
|
|
@@ -108,6 +100,12 @@
|
|
|
// console.log('picker发送选择改变,携带值为', e.detail.value)
|
|
// console.log('picker发送选择改变,携带值为', e.detail.value)
|
|
|
this.index = e.detail.value
|
|
this.index = e.detail.value
|
|
|
},
|
|
},
|
|
|
|
|
+ // 输入框
|
|
|
|
|
+ bindTextAreaBlur: function (e) {
|
|
|
|
|
+ // console.log(e.detail.cursor)
|
|
|
|
|
+ // console.log(e.detail.value)
|
|
|
|
|
+ this.textNum=e.detail.cursor
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|