Commit d982de17 authored by youjie's avatar youjie

no message

parent 3c19873b
......@@ -4,7 +4,7 @@
height: 100%;
display: flex;
flex-direction: column;">
<view style="width: 100%; height: 740rpx">
<view style="width: 100%; height: 740rpx;">
<canlendar v-if="showTimePopup"
:defaultDate="dayObj.start"
@finish="chosenDateResult" title="日期和人数"></canlendar>
......
......@@ -3,7 +3,6 @@
<scroll-view
:scroll-y="true"
class="hotelSign-scroll"
scroll-with-animation="true"
style="height: 100%; flex: 1; box-sizing: border-box"
:scroll-top="scrollTop"
>
......@@ -14,9 +13,10 @@
color: #111;
text-align: center;
padding: 30rpx 0;
"
>
<text>{{ title }}</text>
display: flex;
">
<text style="width: 1px;flex: 1;">{{ title }}</text>
<u-icon class="close" name="close" color="#000" size="50" @click="submit"/>
</view>
<view class="week">
<view></view>
......@@ -231,6 +231,14 @@ export default {
this.end = this.setDefaultDate(this.getDefaultDate(1));
},
});
setTimeout(()=>{
const that =this
const query = uni.createSelectorQuery().in(this);
query.selectAll('.hotelSign-scroll').boundingClientRect((rects) => {
that.scrollHeight = rects[0].height
that.calcDefautlOffset()
}).exec();
},300)
// #ifdef MP-ALIPAY
uni.setNavigationBarTitle({
title: "",
......@@ -264,14 +272,7 @@ export default {
// }
// });
// }
setTimeout(()=>{
const that =this
const query = uni.createSelectorQuery().in(this);
query.selectAll('.hotelSign-scroll').boundingClientRect((rects) => {
that.scrollHeight = rects[0].height
that.calcDefautlOffset()
}).exec();
},500)
},
onShow(){
......@@ -729,7 +730,10 @@ export default {
};
</script>
<style>
<style scoped>
.close{
margin-right: 30rpx;
}
/**确认按钮**/
.submit {
width: 100%;
......
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