diff --git a/bundle/reserve/details.vue b/bundle/reserve/details.vue index 3c7c584..dc3b658 100644 --- a/bundle/reserve/details.vue +++ b/bundle/reserve/details.vue @@ -62,7 +62,7 @@ - + 预定 @@ -71,35 +71,8 @@ - {{ item + 5 }} - - - - - - - - - - - - - 这个是场馆的分场名称 - - - - - - 预定 - - - - - - - - {{ item + 5 }} - + {{ item + 5 }} + @@ -159,6 +132,31 @@ handleChangeTab(e) { this.currentTab = e.type; }, + + // 跳转预定页面 + heandleToReserve() { + uni.navigateTo({ + url: '/bundle/reserve/reserve' + }); + }, + + // 处理导航 + handleLocation() { + uni.openLocation({ + latitude: 30.74621, + longitude: 120.76055, + name: '秀湖网球中心', + address: '嘉兴市秀洲区秀园路秀湖公园(西南角)', + scale: 18 + }); + }, + + // 处理拨打电话 + handleCall() { + uni.makePhoneCall({ + phoneNumber: '0573-82069999' + }); + }, } }; diff --git a/bundle/reserve/reserve.vue b/bundle/reserve/reserve.vue new file mode 100644 index 0000000..23f7dec --- /dev/null +++ b/bundle/reserve/reserve.vue @@ -0,0 +1,370 @@ + + + + + diff --git a/common/style.scss b/common/style.scss index b78c450..0cdf8d9 100644 --- a/common/style.scss +++ b/common/style.scss @@ -633,6 +633,10 @@ button.btn-gray-border[disabled][type=primary] { align-items: start; } +.j-c-c { + justify-content: center; +} + .d-c-c { display: flex; justify-content: center; @@ -1726,4 +1730,17 @@ uni-image { } .tl{ text-align: left; +} + +.mx-30 { + margin-left: 30rpx; + margin-right: 30rpx; +} + +.mt-28 { + margin-top: 28rpx; +} + +.mt-30 { + margin-top: 30rpx; } \ No newline at end of file diff --git a/components/navbar.vue b/components/navbar.vue index 68c4fc1..77c93f1 100644 --- a/components/navbar.vue +++ b/components/navbar.vue @@ -1,6 +1,6 @@